/* ==========================================================================
   MUSCLE LUBRICANTS — MASTER STYLESHEET
   Industrial / cinematic / premium. Static, dependency-free.
   ========================================================================== */

/* ---- Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&family=IBM+Plex+Sans:wght@300;400;500;600&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ---- Tokens ---- */
:root {
  /* Color */
  --c-black-primary: #050505;
  --c-black-secondary: #111111;
  --c-graphite: #242424;
  --c-steel: #505050;
  --c-yellow: #F2D21B;
  --c-gold: #C6A325;
  --c-red: #E52323;
  --c-white: #F8F8F8;

  --c-border: rgba(248, 248, 248, 0.08);
  --c-border-strong: rgba(248, 248, 248, 0.14);
  --c-yellow-glow: rgba(242, 210, 27, 0.18);

  /* Type */
  --f-display: 'Manrope', sans-serif;
  --f-body: 'IBM Plex Sans', sans-serif;
  --f-num: 'Space Grotesk', sans-serif;

  /* Fluid type scale */
  --fs-hero: clamp(3.2rem, 8vw, 8.5rem);
  --fs-h1: clamp(2.4rem, 5vw, 4.8rem);
  --fs-h2: clamp(1.8rem, 3.2vw, 3rem);
  --fs-h3: clamp(1.25rem, 2vw, 1.75rem);
  --fs-lead: clamp(1.05rem, 1.6vw, 1.35rem);
  --fs-body: 1rem;
  --fs-small: 0.85rem;
  --fs-eyebrow: 0.78rem;

  /* Spacing */
  --space-section: clamp(5rem, 12vw, 11rem);
  --space-gutter: clamp(1.5rem, 6vw, 6rem);
  --max-width: 1440px;

  /* Motion */
  --ease-industrial: cubic-bezier(0.16, 0.84, 0.32, 1);
  --dur-slow: 1.1s;
  --dur-med: 0.6s;
  --dur-fast: 0.3s;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; }
body {
  background: var(--c-black-primary);
  color: var(--c-white);
  font-family: var(--f-body);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--c-yellow); color: var(--c-black-primary); }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Focus visibility */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--c-yellow);
  outline-offset: 3px;
}

/* ---- Layout helpers ---- */
.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-inline: var(--space-gutter);
}
.section {
  padding-block: var(--space-section);
  position: relative;
}
.eyebrow {
  font-family: var(--f-num);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-yellow);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--c-yellow);
}

/* ---- Particle canvas (signature element) ---- */
#particle-field {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.55;
}

/* ---- Header / Nav ---- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.4rem var(--space-gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(to bottom, rgba(5,5,5,0.85), transparent);
  transition: background var(--dur-med) var(--ease-industrial), padding var(--dur-med) var(--ease-industrial);
}
.site-header.is-scrolled {
  background: rgba(5, 5, 5, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-border);
  padding-block: 0.9rem;
}
.logo-box {
  background: var(--c-black-primary);
  border: 1px solid var(--c-border-strong);
  padding: 0.5rem 0.9rem;
  display: inline-flex;
  align-items: center;
}
.logo-box img {
  display: block;
  height: 40px;
  width: auto;
}
.footer-col .logo-box img { height: 44px; }
.logo-box span {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  color: var(--c-white);
}
.logo-box span em {
  font-style: normal;
  color: var(--c-yellow);
}
.logo-box small {
  display: block;
  font-family: var(--f-num);
  font-size: 0.55rem;
  letter-spacing: 0.32em;
  color: var(--c-steel);
  text-transform: uppercase;
  margin-top: 0.15rem;
}

/* ---- WhatsApp flotante ---- */
.whatsapp-float {
  position: fixed;
  bottom: clamp(1.2rem, 3vw, 2rem);
  right: clamp(1.2rem, 3vw, 2rem);
  z-index: 95;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.45), 0 0 0 0 rgba(37,211,102,0.5);
  transition: transform var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
  animation: wa-pulse 2.6s ease-out infinite;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 30px; height: 30px; fill: #050505; }
@keyframes wa-pulse {
  0% { box-shadow: 0 8px 24px rgba(0,0,0,0.45), 0 0 0 0 rgba(37,211,102,0.45); }
  70% { box-shadow: 0 8px 24px rgba(0,0,0,0.45), 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 8px 24px rgba(0,0,0,0.45), 0 0 0 0 rgba(37,211,102,0); }
}
@media (prefers-reduced-motion: reduce) {
  .whatsapp-float { animation: none; }
}
.main-nav { display: flex; align-items: center; gap: clamp(1.2rem, 2vw, 2.4rem); }
.main-nav a {
  font-family: var(--f-body);
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  color: rgba(248,248,248,0.72);
  position: relative;
  padding-block: 0.3rem;
  transition: color var(--dur-fast) ease;
}
.main-nav a:hover, .main-nav a.is-active { color: var(--c-white); }
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--c-yellow);
  transition: width var(--dur-med) var(--ease-industrial);
}
.main-nav a:hover::after, .main-nav a.is-active::after { width: 100%; }
.nav-cta {
  border: 1px solid var(--c-yellow);
  color: var(--c-yellow) !important;
  padding: 0.55rem 1.3rem;
  font-size: 0.78rem !important;
  letter-spacing: 0.06em;
}
.nav-cta::after { display: none; }
.nav-cta:hover {
  background: var(--c-yellow);
  color: var(--c-black-primary) !important;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--c-white);
  width: 40px; height: 32px;
  position: relative;
  z-index: 110;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: '';
  position: absolute;
  left: 4px; right: 4px;
  height: 1px;
  background: var(--c-white);
  transition: transform var(--dur-fast) ease, opacity var(--dur-fast) ease;
}
.nav-toggle span { top: 50%; }
.nav-toggle span::before { top: -8px; }
.nav-toggle span::after { top: 8px; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 0.88rem;
  letter-spacing: 0.03em;
  padding: 0.95rem 2rem;
  transition: background var(--dur-fast) ease, color var(--dur-fast) ease, transform var(--dur-fast) ease, border-color var(--dur-fast) ease;
}
.btn-primary {
  background: var(--c-yellow);
  color: var(--c-black-primary);
  border: 1px solid var(--c-yellow);
}
.btn-primary:hover { background: var(--c-white); border-color: var(--c-white); transform: translateY(-2px); }
.btn-secondary {
  background: transparent;
  color: var(--c-white);
  border: 1px solid var(--c-yellow);
}
.btn-secondary:hover { background: var(--c-yellow); color: var(--c-black-primary); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  border: 1px solid var(--c-border-strong);
  color: var(--c-white);
}
.btn-ghost:hover { border-color: var(--c-white); }

/* ---- Hero ---- */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  padding: var(--space-gutter);
  padding-top: 8rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 90% 60% at 30% 20%, rgba(80,80,80,0.35), transparent 60%),
    radial-gradient(ellipse 70% 50% at 80% 80%, rgba(198,163,37,0.14), transparent 60%),
    linear-gradient(160deg, #0a0a0a 0%, #050505 55%, #000 100%);
  will-change: transform;
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(248,248,248,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(248,248,248,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent 75%);
}
.hero-grain {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-content { max-width: 1140px; }
.hero-eyebrow { margin-bottom: 1.6rem; }
.hero h1 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: var(--fs-hero);
  line-height: 0.98;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.hero h1 .accent { color: var(--c-yellow); }
.hero-sub {
  margin-top: 1.8rem;
  max-width: 640px;
  font-size: var(--fs-lead);
  color: rgba(248,248,248,0.68);
  font-weight: 300;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.6rem;
}
.hero-meta {
  margin-top: clamp(3rem, 8vw, 6rem);
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: clamp(2rem, 5vw, 5rem);
  padding-top: 2rem;
  border-top: 1px solid var(--c-border);
  max-width: 900px;
}
.hero-meta .stat-num {
  font-family: var(--f-num);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 600;
  color: var(--c-white);
}
.hero-meta .stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-steel);
  margin-top: 0.35rem;
}
.scroll-cue {
  position: absolute;
  bottom: 2.4rem;
  right: var(--space-gutter);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--f-num);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-steel);
}
.scroll-cue .line { width: 1px; height: 34px; background: linear-gradient(var(--c-yellow), transparent); animation: scrollcue 2.2s ease-in-out infinite; }
@keyframes scrollcue { 0%,100% { transform: scaleY(0.4); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } }

/* ---- Section headers ---- */
.section-head {
  max-width: 760px;
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}
.section-head h2 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: var(--fs-h2);
  letter-spacing: -0.01em;
  margin-top: 1rem;
  text-transform: uppercase;
}
.section-head p {
  margin-top: 1.2rem;
  font-size: var(--fs-lead);
  color: rgba(248,248,248,0.62);
  max-width: 60ch;
}

/* ---- Pillars grid (Home) ---- */
.pillars { border-top: 1px solid var(--c-border); }
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-left: 1px solid var(--c-border);
}
.pillar-card {
  border-right: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  padding: clamp(1.8rem, 3vw, 2.6rem);
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: background var(--dur-med) var(--ease-industrial);
  overflow: hidden;
}
.pillar-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 120%, var(--c-yellow-glow), transparent 60%);
  opacity: 0;
  transition: opacity var(--dur-med) ease;
}
.pillar-card:hover::before { opacity: 1; }
.pillar-card:hover { transform: translateY(-4px); background: var(--c-black-secondary); }
.pillar-index {
  font-family: var(--f-num);
  font-size: 0.75rem;
  color: var(--c-steel);
  letter-spacing: 0.1em;
}
.pillar-card h3 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: var(--fs-h3);
  text-transform: uppercase;
  margin-top: 2rem;
}
.pillar-card p {
  margin-top: 0.8rem;
  font-size: 0.92rem;
  color: rgba(248,248,248,0.55);
}
.pillar-link {
  margin-top: 1.6rem;
  font-family: var(--f-num);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-yellow);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.pillar-link .arrow { transition: transform var(--dur-fast) ease; }
.pillar-card:hover .pillar-link .arrow { transform: translateX(6px); }

/* ---- Split / editorial section ---- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}
.split-visual {
  aspect-ratio: 4 / 5;
  position: relative;
  background: linear-gradient(155deg, var(--c-graphite), #0c0c0c);
  border: 1px solid var(--c-border);
  overflow: hidden;
}
.split-visual .plate {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(115deg, rgba(248,248,248,0.03) 0 2px, transparent 2px 26px),
    radial-gradient(circle at 70% 20%, rgba(242,210,27,0.16), transparent 55%);
}
.split-visual .frame-corner {
  position: absolute;
  width: 34px; height: 34px;
  border-top: 1px solid var(--c-yellow);
  border-left: 1px solid var(--c-yellow);
  top: 20px; left: 20px;
}
.split-body .stat-line {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding-block: 1.1rem;
  border-bottom: 1px solid var(--c-border);
}
.split-body .stat-line .num {
  font-family: var(--f-num);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--c-yellow);
  min-width: 90px;
}
.split-body .stat-line .lbl { font-size: 0.9rem; color: rgba(248,248,248,0.65); }

/* ---- Industries strip ---- */
.industries-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--c-border);
  border-left: 1px solid var(--c-border);
}
.industry-tile {
  border-right: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  padding: 2.2rem 1.6rem;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: rgba(248,248,248,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 140px;
  transition: color var(--dur-fast) ease, background var(--dur-fast) ease;
}
.industry-tile:hover { color: var(--c-white); background: var(--c-black-secondary); }

/* ---- CTA band ---- */
.cta-band {
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  padding-block: clamp(4rem, 10vw, 7rem);
  text-align: center;
}
.cta-band h2 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.6rem);
  text-transform: uppercase;
  max-width: 900px;
  margin-inline: auto;
}
.cta-band .btn { margin-top: 2.4rem; }

/* ---- Footer ---- */
.site-footer {
  border-top: 1px solid var(--c-border);
  padding-block: 4rem 2.2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.footer-grid p { font-size: 0.85rem; color: var(--c-steel); margin-top: 1.2rem; max-width: 32ch; }
.footer-col h4 {
  font-family: var(--f-num);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-steel);
  margin-bottom: 1.1rem;
}
.footer-col a, .footer-col span {
  display: block;
  font-size: 0.88rem;
  color: rgba(248,248,248,0.72);
  padding-block: 0.35rem;
}
.footer-col a:hover { color: var(--c-yellow); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.8rem;
  border-top: 1px solid var(--c-border);
  font-size: 0.75rem;
  color: var(--c-steel);
  flex-wrap: wrap;
  gap: 1rem;
}

/* ---- Reveal animation base state ---- */
[data-reveal] { opacity: 0; transform: translateY(28px); }
.no-js [data-reveal] { opacity: 1; transform: none; }

/* ---- Technology page: cutaway ---- */
.cutaway {
  position: relative;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--c-border);
  background: linear-gradient(160deg, #0c0c0c, #050505);
  overflow: hidden;
}
.cutaway svg { width: 100%; height: 100%; display: block; }
.cutaway-caption {
  position: absolute;
  bottom: 1.6rem; left: 1.6rem;
  font-family: var(--f-num);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-steel);
}
.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--c-border);
  border: 1px solid var(--c-border);
}
.tech-card {
  background: var(--c-black-primary);
  padding: clamp(1.6rem, 2.4vw, 2.4rem);
}
.tech-card .icon-num {
  font-family: var(--f-num);
  font-size: 0.75rem;
  color: var(--c-yellow);
}
.tech-card h3 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  margin-top: 1.2rem;
}
.tech-card p { margin-top: 0.7rem; font-size: 0.88rem; color: rgba(248,248,248,0.55); }

.spec-table { border-top: 1px solid var(--c-border); }
.spec-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  padding-block: 1.3rem;
  border-bottom: 1px solid var(--c-border);
  align-items: center;
}
.spec-row.head {
  font-family: var(--f-num);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-steel);
}
.spec-row span:first-child { font-family: var(--f-display); font-weight: 600; text-transform: uppercase; font-size: 0.92rem; }
.spec-row span { font-size: 0.88rem; color: rgba(248,248,248,0.65); font-family: var(--f-num); }

.lead-copy {
  margin-top: 1rem;
  font-size: var(--fs-lead);
  color: rgba(248,248,248,0.62);
  max-width: 68ch;
}
.lead-copy + .lead-copy { margin-top: 1.1rem; }

/* ---- Contact page ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 6vw, 5rem);
}
.contact-info-list { border-top: 1px solid var(--c-border); margin-top: 2rem; }
.contact-info-row {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-block: 1.3rem;
  border-bottom: 1px solid var(--c-border);
}
.contact-info-row .lbl {
  font-family: var(--f-num);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-steel);
}
.contact-info-row a, .contact-info-row span.val {
  font-size: 1rem;
  color: var(--c-white);
}
.contact-info-row a:hover { color: var(--c-yellow); }

.contact-form { display: flex; flex-direction: column; gap: 1.3rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.field { display: flex; flex-direction: column; gap: 0.55rem; }
.field label {
  font-family: var(--f-num);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-steel);
}
.field input, .field select, .field textarea {
  background: var(--c-black-secondary);
  border: 1px solid var(--c-border-strong);
  color: var(--c-white);
  font-family: var(--f-body);
  font-size: 0.95rem;
  padding: 0.85rem 1rem;
  transition: border-color var(--dur-fast) ease;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--c-yellow);
}
.field input::placeholder, .field textarea::placeholder { color: var(--c-steel); }
.contact-form .btn { align-self: flex-start; margin-top: 0.5rem; }
.form-note { font-size: 0.78rem; color: var(--c-steel); }

.map-frame {
  border: 1px solid var(--c-border);
  filter: grayscale(0.7) invert(0.92) contrast(0.9);
  width: 100%;
  height: 340px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1280px) {
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .industries-strip { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: 1fr; }
  .spec-row { grid-template-columns: 1.2fr 1fr 1fr; font-size: 0.82rem; }
  .contact-grid { grid-template-columns: 1fr; }
}

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

@media (max-width: 768px) {
  .main-nav { position: fixed; inset: 0; background: var(--c-black-primary); flex-direction: column; justify-content: center; align-items: flex-start; padding: 2rem var(--space-gutter); gap: 1.6rem; transform: translateX(100%); transition: transform var(--dur-med) var(--ease-industrial); z-index: 105; }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav a { font-size: 1.3rem; }
  .nav-toggle { display: block; }
  .hero-meta { grid-template-columns: 1fr; gap: 1.4rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .spec-row { grid-template-columns: 1fr 1fr; row-gap: 0.4rem; }
}

@media (max-width: 640px) {
  .pillars-grid { grid-template-columns: 1fr; }
  .industries-strip { grid-template-columns: 1fr; }
  .hero { padding-top: 7rem; }
}

/* ==========================================================================
   SOLUCIONES POR PROBLEMA / INDUSTRIA — extensiones del sistema (v2)
   ========================================================================== */

/* ---- Breadcrumb ---- */
.breadcrumb {
  font-family: var(--f-num);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-steel);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
.breadcrumb a { color: var(--c-steel); transition: color var(--dur-fast) ease; }
.breadcrumb a:hover { color: var(--c-yellow); }
.breadcrumb .sep { opacity: 0.5; }
.breadcrumb [aria-current] { color: rgba(248,248,248,0.7); }

/* ---- Grid de mecanismos de deterioro (¿Por qué fallan las máquinas?) ---- */
.mech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--c-border);
  border-left: 1px solid var(--c-border);
}
.mech-card {
  border-right: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  padding: clamp(1.7rem, 2.6vw, 2.4rem);
  min-height: 240px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  overflow: hidden;
  transition: background var(--dur-med) var(--ease-industrial), transform var(--dur-med) var(--ease-industrial);
}
.mech-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--c-yellow);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--dur-med) var(--ease-industrial);
}
.mech-card:hover { background: var(--c-black-secondary); transform: translateY(-4px); }
.mech-card:hover::before { transform: scaleY(1); }
.mech-card .mech-icon {
  width: 42px; height: 42px;
  color: var(--c-yellow);
  flex: none;
}
.mech-card .mech-icon svg { width: 100%; height: 100%; display: block; stroke: currentColor; fill: none; stroke-width: 1.4; }
.mech-card h3 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: var(--fs-h3);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.05;
}
.mech-card h3 .arrow { color: var(--c-yellow); transition: transform var(--dur-fast) ease; display: inline-block; margin-left: 0.3em; }
.mech-card:hover h3 .arrow { transform: translateX(6px); }
.mech-card p { font-size: 0.92rem; color: rgba(248,248,248,0.55); margin-top: auto; }

/* ---- Callout reutilizable "¿Sabía que...?" ---- */
.callout {
  border: 1px solid var(--c-border-strong);
  border-left: 3px solid var(--c-yellow);
  background: linear-gradient(180deg, rgba(242,210,27,0.05), rgba(17,17,17,0.4));
  padding: clamp(1.4rem, 2.4vw, 2rem);
  position: relative;
}
.callout .callout-label {
  font-family: var(--f-num);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-yellow);
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.9rem;
}
.callout .callout-label svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.callout p { font-size: 0.95rem; color: rgba(248,248,248,0.72); }
.callout p + p { margin-top: 0.7rem; }

/* ---- Layout de artículo (páginas de problema / industria) ---- */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.article-main { max-width: 74ch; }
.article-block { padding-block: clamp(1.6rem, 3vw, 2.4rem); border-top: 1px solid var(--c-border); }
.article-block:first-child { border-top: none; padding-top: 0; }
.article-block h2 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 1.1rem;
}
.article-block h3 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--c-white);
  margin-top: 1.6rem;
  margin-bottom: 0.6rem;
}
.article-block p { font-size: 1.02rem; color: rgba(248,248,248,0.7); line-height: 1.75; }
.article-block p + p { margin-top: 1rem; }

/* Listas con marcador industrial */
.ticks { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.7rem; }
.ticks li {
  position: relative;
  padding-left: 1.8rem;
  font-size: 1rem;
  color: rgba(248,248,248,0.72);
  line-height: 1.6;
}
.ticks li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.55em;
  width: 9px; height: 9px;
  border: 1px solid var(--c-yellow);
  transform: rotate(45deg);
}
.ticks.warn li::before { border-color: var(--c-red); }

/* Tag list (aplicaciones comunes) */
.tag-list { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.2rem; }
.tag-list li {
  font-family: var(--f-num);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  color: rgba(248,248,248,0.7);
  border: 1px solid var(--c-border-strong);
  padding: 0.45rem 0.85rem;
  background: var(--c-black-secondary);
}

/* Chips de producto recomendado (enlazan a la ficha) */
.prod-chips { display: flex; flex-direction: column; gap: 0.7rem; margin-top: 1rem; }
.prod-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid var(--c-border-strong);
  padding: 0.95rem 1.1rem;
  background: var(--c-black-secondary);
  transition: border-color var(--dur-fast) ease, background var(--dur-fast) ease, transform var(--dur-fast) ease;
}
.prod-chip:hover { border-color: var(--c-yellow); transform: translateX(4px); }
.prod-chip .name { font-family: var(--f-display); font-weight: 600; font-size: 0.98rem; text-transform: uppercase; }
.prod-chip .role { display: block; font-family: var(--f-body); font-weight: 300; font-size: 0.78rem; color: var(--c-steel); text-transform: none; letter-spacing: 0; margin-top: 0.15rem; }
.prod-chip .arrow { color: var(--c-yellow); flex: none; }

/* Aside sticky */
.article-aside { position: sticky; top: 6rem; display: flex; flex-direction: column; gap: 1.6rem; }
.aside-block h4 {
  font-family: var(--f-num);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-steel);
  margin-bottom: 0.9rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--c-border);
}

/* Imagen editorial dentro de artículo */
.article-figure { margin: 1.8rem 0; border: 1px solid var(--c-border); overflow: hidden; background: var(--c-black-secondary); }
.article-figure img { width: 100%; height: auto; display: block; }
.article-figure figcaption {
  font-family: var(--f-num);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-steel);
  padding: 0.8rem 1rem;
  border-top: 1px solid var(--c-border);
}

/* ---- Prev/next entre problemas ---- */
.page-nav-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--c-border);
}
.page-nav-strip a {
  padding: clamp(1.6rem, 3vw, 2.4rem) var(--space-gutter);
  transition: background var(--dur-fast) ease;
}
.page-nav-strip a:hover { background: var(--c-black-secondary); }
.page-nav-strip a.next { text-align: right; border-left: 1px solid var(--c-border); }
.page-nav-strip .dir { font-family: var(--f-num); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-steel); }
.page-nav-strip .ttl { font-family: var(--f-display); font-weight: 600; font-size: 1.05rem; text-transform: uppercase; margin-top: 0.4rem; color: var(--c-white); }

/* ---- Product page: hero split con botella ---- */
.product-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-top: 9rem;
}
.product-hero .product-shot {
  aspect-ratio: 4 / 5;
  border: 1px solid var(--c-border);
  background: radial-gradient(circle at 50% 40%, #151515, #050505 70%);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  position: relative;
}
.product-hero .product-shot::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 120%, var(--c-yellow-glow), transparent 60%);
}
.product-hero .product-shot img { max-height: 90%; width: auto; position: relative; z-index: 1; filter: drop-shadow(0 30px 40px rgba(0,0,0,0.6)); }
.product-code { font-family: var(--f-num); font-size: 0.8rem; letter-spacing: 0.2em; color: var(--c-yellow); text-transform: uppercase; }
.benefit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--c-border); border: 1px solid var(--c-border); }
.benefit-grid .benefit { background: var(--c-black-primary); padding: 1.4rem; font-size: 0.92rem; color: rgba(248,248,248,0.72); display: flex; gap: 0.7rem; }
.benefit-grid .benefit .b-mark { color: var(--c-yellow); font-family: var(--f-num); flex: none; }

/* ---- Industria: sección rica ---- */
.industry-block { border-top: 1px solid var(--c-border); padding-block: clamp(2.5rem, 6vw, 5rem); }
.industry-block .industry-head { display: flex; align-items: baseline; gap: 1rem; }
.industry-block .industry-head .idx { font-family: var(--f-num); font-size: 0.85rem; color: var(--c-steel); }
.industry-block .industry-head h2 { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.6rem); text-transform: uppercase; }
.industry-block .tagline { font-size: var(--fs-lead); color: var(--c-yellow); font-weight: 300; margin-top: 0.8rem; max-width: 60ch; }
.industry-cols { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(1.6rem, 4vw, 3.5rem); margin-top: 1.8rem; align-items: start; }

@media (max-width: 1024px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-aside { position: static; }
  .product-hero { grid-template-columns: 1fr; }
  .industry-cols { grid-template-columns: 1fr; }
  .mech-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .mech-grid { grid-template-columns: 1fr; }
  .benefit-grid { grid-template-columns: 1fr; }
  .page-nav-strip { grid-template-columns: 1fr; }
  .page-nav-strip a.next { text-align: left; border-left: none; border-top: 1px solid var(--c-border); }
}

/* ---- Resultados que buscamos (Home) ---- */
.results-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--c-border);
  border: 1px solid var(--c-border);
}
.result-card {
  background: var(--c-black-primary);
  padding: clamp(1.5rem, 2.2vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: background var(--dur-med) var(--ease-industrial);
}
.result-card:hover { background: var(--c-black-secondary); }
.result-card .result-icon { width: 40px; height: 40px; color: var(--c-yellow); }
.result-card .result-icon svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 1.4; }
.result-card h3 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.15;
}
.result-card p { font-size: 0.85rem; color: rgba(248,248,248,0.55); line-height: 1.55; }
@media (max-width: 1024px) { .results-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .results-grid { grid-template-columns: 1fr; } }

/* ---- Hero con foto (Home): completa en escritorio, inmersiva en celular ---- */
/* Hero con foto (reutilizable): la imagen llena + velo negro para legibilidad.
   Cada hero define su imagen con  style="--hero-img:url('assets/xxx.jpg')" */
.hero-media {
  background:
    linear-gradient(to top, rgba(5,5,5,0.90) 0%, rgba(5,5,5,0.76) 50%, rgba(5,5,5,0.66) 100%),
    var(--hero-img) center center / cover no-repeat #050505;
}
.hero-media::before { display: none; }
/* Hero con foto compacto: la foto llena y arranca justo debajo de la cabecera */
.hero--photo { padding-top: 5.5rem; padding-bottom: 2.5rem; }
@media (min-width: 901px) {
  .hero--photo { min-height: 40vw; }
}
@media (max-width: 900px) {
  .hero--photo { min-height: 82svh; }
}

/* ---- Hero de producto con botella flotante ---- */
.phero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  min-height: 80svh;
  padding: 7rem var(--space-gutter) 3rem;
  position: relative;
  overflow: hidden;
}
.phero .hero-bg { z-index: -1; }
.phero-code { font-family: var(--f-num); font-size: 0.8rem; letter-spacing: 0.2em; color: var(--c-yellow); text-transform: uppercase; }
.phero h1 { font-family: var(--f-display); font-weight: 800; font-size: clamp(2.2rem, 5vw, 3.8rem); text-transform: uppercase; line-height: 1.02; letter-spacing: -0.02em; margin-top: 0.8rem; }
.phero .phero-tagline { font-family: var(--f-display); font-weight: 700; font-size: clamp(1rem, 2vw, 1.5rem); text-transform: uppercase; color: var(--c-yellow); margin-top: 0.9rem; }
.phero .phero-intro { margin-top: 1.2rem; color: rgba(248,248,248,0.9); font-size: 1rem; max-width: 52ch; line-height: 1.7; }
.phero-bottle { position: relative; display: flex; align-items: center; justify-content: center; }
.phero-bottle::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 45%, rgba(242,210,27,0.16), transparent 60%);
}
.phero-bottle::after {
  content: ''; position: absolute; bottom: 6%; left: 18%; width: 64%; height: 16px;
  background: radial-gradient(ellipse, rgba(0,0,0,0.55), transparent 70%);
  filter: blur(7px);
}
.phero-bottle img {
  position: relative; z-index: 1; max-height: 66svh; max-width: 100%; width: auto;
  filter: drop-shadow(0 26px 36px rgba(0,0,0,0.55));
  animation: floaty-x 7s ease-in-out infinite;
  will-change: transform;
}
/* Movimiento horizontal muy leve, solo en el hero de producto */
@keyframes floaty-x { 0%, 100% { transform: translateX(-7px); } 50% { transform: translateX(7px); } }
/* Capa de micro partículas: más visibles sobre la botella, se desvanecen a los lados */
#phero-particles { position: absolute; inset: 0; z-index: 2; pointer-events: none; }

/* ---- Grid de productos (3×3, tarjetas amarillas compactas) ---- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.product-card {
  background: var(--c-black-secondary);
  color: var(--c-white);
  border: 1px solid var(--c-border-strong);
  padding: 1.5rem 1.5rem 1.3rem;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  position: relative;
  overflow: hidden;
  transition: transform var(--dur-fast) var(--ease-industrial), box-shadow var(--dur-fast) ease, filter var(--dur-fast) ease, background var(--dur-fast) ease, border-color var(--dur-fast) ease, color var(--dur-fast) ease;
  z-index: 1;
}
/* Al pasar el cursor: la seleccionada se pone amarilla, crece y sale del orden; las demás se oscurecen */
.product-grid:hover .product-card { filter: brightness(0.55); }
.product-card:hover {
  filter: brightness(1);
  background: var(--c-yellow);
  color: var(--c-black-primary);
  border-color: var(--c-yellow);
  transform: scale(1.06);
  z-index: 3;
  box-shadow: 0 22px 48px rgba(0,0,0,0.55);
}
.product-card .idx { font-family: var(--f-num); font-size: 0.72rem; letter-spacing: 0.1em; color: var(--c-steel); }
.product-card:hover .idx { color: rgba(5,5,5,0.5); }
.product-card h3 {
  font-family: var(--f-display); font-weight: 800; font-size: 1.25rem;
  text-transform: uppercase; letter-spacing: -0.01em; line-height: 1.05;
  color: var(--c-white); margin-top: 0.2rem;
}
.product-card:hover h3 { color: var(--c-black-primary); }
.product-card h3 sup { font-size: 0.5em; }
.product-card p { font-size: 0.86rem; line-height: 1.45; color: rgba(248,248,248,0.6); }
.product-card:hover p { color: rgba(5,5,5,0.82); }
.product-card .p-cat {
  margin-top: auto; padding-top: 0.9rem;
  font-family: var(--f-num); font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--c-yellow); display: flex; align-items: center; justify-content: space-between; gap: 0.6rem;
  border-top: 1px solid var(--c-border);
}
.product-card:hover .p-cat { color: rgba(5,5,5,0.7); border-top-color: rgba(5,5,5,0.2); }
.product-card .p-cat .arrow { font-size: 1rem; transition: transform var(--dur-fast) ease; }
.product-card:hover .p-cat .arrow { transform: translateX(5px); }
@media (max-width: 900px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .product-grid { grid-template-columns: 1fr; } }

/* Botones pequeños (fila de acciones sin saturar) */
.btn-sm { padding: 0.62rem 1.1rem; font-size: 0.78rem; gap: 0.45rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.8rem; }

@media (max-width: 900px) {
  .phero { grid-template-columns: 1fr; min-height: auto; padding-top: 5.5rem; gap: 0.6rem; }
  .phero-bottle { order: -1; }
  .phero-bottle img { max-height: 26svh; }
  .phero-bottle::after { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .phero-bottle img, .phero-bottle::after { animation: none; }
}
/* Hero del Home compacto: todo el texto y botones dentro de la foto */
.hero-meta .stat-num { font-size: clamp(1.05rem, 1.7vw, 1.35rem); }
.hero-meta .stat-label { font-size: 0.68rem; }

/* ==========================================================================
   AJUSTES v3 — Sin plecas (eyebrows) + máxima legibilidad de texto en negro
   ========================================================================== */

/* 1) Eliminar TODAS las plecas: la línea amarilla y su etiqueta */
.eyebrow { display: none !important; }

/* 2) Texto de lectura en blanco sobre fondo negro */
.hero-sub,
.lead-copy,
.section-head p,
.article-block p,
.pillar-card p,
.mech-card p,
.tech-card p,
.result-card p,
.split-body .stat-line .lbl,
.prod-chip .role,
.ticks li,
.tag-list li,
.callout p,
.benefit-grid .benefit,
.footer-grid p,
.footer-col a,
.footer-col span,
.contact-info-row .lbl,
.field label,
.industries-strip .industry-tile,
.aside-block p,
.spec-row span {
  color: rgba(248, 248, 248, 0.94) !important;
}

.article-block h3,
.prod-chip .name,
.result-card h3 { color: var(--c-white) !important; }

/* 3) Etiquetas pequeñas / secundarias: legibles (gris claro), no gris oscuro */
.hero-meta .stat-label,
.footer-col h4,
.cutaway-caption,
.pillar-index,
.breadcrumb,
.breadcrumb a,
.breadcrumb [aria-current],
.page-nav-strip .dir,
.industry-head .idx,
.form-note,
.footer-bottom,
.spec-row.head,
.aside-block h4 {
  color: rgba(248, 248, 248, 0.78) !important;
}
