/* ============================
   CSS VARIABLES
   ============================ */
:root {
  --yellow:      #F5C200;
  --yellow-dark: #C49A00;
  --yellow-dim:  rgba(245,194,0,0.14);
  --yellow-faint:rgba(245,194,0,0.07);
  --black:       #080808;
  --dark:        #0F0F0F;
  --dark-2:      #161616;
  --dark-3:      #202020;
  --dark-card:   #1C1C1C;
  --mid:         #252525;
  --gray:        #888888;
  --gray-light:  #BBBBBB;
  --white:       #F5F5F5;
  --white-dim:   rgba(245,245,245,0.70);
  --white-faint: rgba(245,245,245,0.08);
  --accent:      #E87020;

  --font-heading: 'Barlow Condensed', sans-serif;
  --font-body:    'Barlow', sans-serif;

  --radius:    4px;
  --radius-lg: 10px;
  --transition: 0.3s ease;
  --nav-h:     72px;
}

/* ============================
   RESET & BASE
   ============================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  background-color: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ============================
   TYPOGRAPHY UTILITIES
   ============================ */
.section-tag {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 12px;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
  line-height: 1.1;
}

.section-header h2::after {
  content: '';
  display: block;
  width: 56px;
  height: 3px;
  background: var(--yellow);
  margin: 14px auto 0;
  border-radius: 2px;
}

.section-desc { color: var(--white-dim); font-size: 1.05rem; font-weight: 300; }

.accent      { color: var(--yellow); }
.accent-text { color: var(--yellow); }

/* ============================
   BUTTONS
   ============================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: var(--radius);
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--yellow);
  color: var(--black);
  border: 2px solid var(--yellow);
}
.btn-primary:hover {
  background-color: var(--yellow-dark);
  border-color: var(--yellow-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--white);
  border: 2px solid rgba(245,245,245,0.35);
}
.btn-outline:hover {
  border-color: var(--yellow);
  color: var(--yellow);
  transform: translateY(-2px);
}

.btn-full { width: 100%; justify-content: center; }

/* ============================
   NAV
   ============================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background var(--transition), box-shadow var(--transition);
}

#navbar.scrolled {
  background-color: rgba(10,10,10,0.97);
  box-shadow: 0 1px 0 rgba(255,255,255,0.05);
  backdrop-filter: blur(12px);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 52px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-light);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--yellow);
  transition: width var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; background: var(--yellow); }

.nav-right { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }

.lang-toggle {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--yellow);
  border: 1px solid var(--yellow-dark);
  padding: 5px 12px;
  border-radius: var(--radius);
  transition: all var(--transition);
}
.lang-toggle:hover { background: var(--yellow); color: var(--black); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ============================
   HERO
   ============================ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0;
  overflow: hidden;
  background: var(--black);
}

/* Real photo background from PDF */
.hero-photo {
  position: absolute;
  inset: 0;
  background-image: url('../img/hero-bg.webp'), url('../img/hero-bg.jpg');
  background-size: cover;
  background-position: center 30%;
  z-index: 0;
  opacity: 0.55;
  will-change: transform;
}

.hero-texture {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to bottom, rgba(8,8,8,0.55) 0%, rgba(8,8,8,0.20) 50%, rgba(8,8,8,0.80) 100%);
  z-index: 1;
  will-change: transform;
}

#hero::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 220px;
  background: linear-gradient(to top, rgba(245,194,0,0.05) 0%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding-top: var(--nav-h);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 60px;
}

.hero-logo-svg {
  width: 210px;
  height: auto;
  margin-bottom: 28px;
  filter: drop-shadow(0 0 24px rgba(245,194,0,0.15));
}

.hero-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 16px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(3.5rem, 10vw, 8rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}

.hero-subtitle {
  max-width: 580px;
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--white-dim);
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-tagline {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 44px;
}
.tagline-sep { color: var(--yellow); font-size: 0.5rem; }

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--white-dim);
  font-size: 1.1rem;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ============================
   STATS BAR
   ============================ */
#stats {
  background: var(--yellow);
  padding: 0;
}

.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 48px;
  gap: 6px;
  flex: 1;
  min-width: 160px;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--black);
  line-height: 1;
  letter-spacing: -0.01em;
}

.stat-label {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(0,0,0,0.65);
  text-align: center;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(0,0,0,0.15);
  flex-shrink: 0;
}

/* ============================
   QUÉ ES LINE-X  — sección clara
   ============================ */
/* Qué Es — oscuro como quees-02 */
#que-es {
  background-color: #0D0D0D;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.80' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.13'/%3E%3C/svg%3E");
}

#que-es .section-tag            { color: var(--yellow); }
#que-es .section-header h2      { color: #FFFFFF; }
#que-es .section-header h2::after { background: var(--yellow); }
#que-es .section-desc           { color: rgba(255,255,255,0.55); }

/* Comparison cards on dark: outlined white boxes */
#que-es .comparison-card        { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.18); }
#que-es .comparison-card.good   { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.22); }
#que-es .comp-label             { color: rgba(255,255,255,0.45); }
#que-es .comp-label-good        { color: var(--yellow); }
#que-es .comp-desc              { color: rgba(255,255,255,0.65); }

#que-es .diag-substrate         { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.35); border-color: rgba(255,255,255,0.10); }
#que-es .diag-substrate-good    { background: #1A1A1A; border-color: rgba(245,194,0,0.4); color: rgba(255,255,255,0.7); }
#que-es .comparison-vs span     { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.15); color: rgba(255,255,255,0.40); }

/* Timeline on dark */
#que-es .origen-timeline        { background: rgba(255,255,255,0.03); border-color: rgba(255,255,255,0.10); }
#que-es .origen-dot             { background: rgba(255,255,255,0.25); border-color: rgba(255,255,255,0.35); }
#que-es .origen-line            { background: linear-gradient(to bottom, rgba(255,255,255,0.20), rgba(255,255,255,0.06)); }
#que-es .origen-item h4         { color: #FFFFFF; }
#que-es .origen-item p          { color: rgba(255,255,255,0.55); }

/* ── Comparison layout ── */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 56px 1fr;
  gap: 0;
  align-items: stretch;
  margin-bottom: 64px;
  border: 1px solid rgba(255,255,255,0.15);
}

.comparison-card {
  background: rgba(255,255,255,0.03);
  padding: 28px 28px 24px;
}
.comparison-card:has(.comp-pdf-img) { padding: 0; overflow: hidden; }
.comp-pdf-img { width: 100%; height: 100%; display: block; object-fit: cover; }
.comparison-card.good {
  background: rgba(245,194,0,0.03);
  border-left: 1px solid rgba(255,255,255,0.12);
}

.comp-label {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.comp-label-good { color: var(--yellow); border-bottom-color: rgba(245,194,0,0.20); }

/* ── Technical cross-section diagram ── */
.cross-section {
  height: 190px;
  display: flex;
  flex-direction: column;
  margin-bottom: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}

/* Force / impact zone at top */
.cs-force-zone {
  flex: 0 0 48px;
  border-bottom: 1px dashed rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  background: rgba(0,0,0,0.3);
}
.cs-impact-zone { background: rgba(245,194,0,0.04); border-bottom-color: rgba(245,194,0,0.20); }

.cs-arrows { display: flex; gap: 5px; align-items: flex-end; }
.cs-arr {
  display: block; width: 1.5px; height: 14px;
  background: rgba(255,255,255,0.30); position: relative; flex-shrink: 0;
}
.cs-arr::after {
  content: ''; position: absolute; bottom: -4px; left: -3px;
  border: 3.5px solid transparent;
  border-top-color: rgba(255,255,255,0.30);
}
.cs-arr-main { height: 22px; background: rgba(255,255,255,0.60); }
.cs-arr-main::after { border-top-color: rgba(255,255,255,0.60); }
.cs-arr-accent { background: var(--yellow) !important; height: 26px; width: 2.5px; }
.cs-arr-accent::after { border-top-color: var(--yellow) !important; border-width: 5px; left: -4px; }

.cs-force-label {
  font-family: var(--font-heading); font-size: 0.60rem;
  font-weight: 700; letter-spacing: 0.18em;
  color: rgba(255,255,255,0.38); white-space: nowrap;
}
.cs-label-accent { color: var(--yellow) !important; }

/* ── Paint layer (ultra-thin) ── */
.cs-paint {
  flex: 0 0 6px !important;
  background: linear-gradient(to right, #5A5A5A, #6E6E6E, #5A5A5A);
  border-top: 1px solid rgba(255,255,255,0.22);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* ── LINE-X coat (thick) ── */
.cs-linex-coat {
  flex: 0 0 42px !important;
  background: linear-gradient(
    to bottom,
    rgba(245,194,0,0.65) 0%,
    rgba(245,194,0,0.35) 60%,
    rgba(245,194,0,0.10) 100%
  );
  border-top: 2px solid rgba(245,194,0,0.80);
  position: relative;
}
/* Textured wave at bottom suggesting molecular penetration */
.cs-linex-coat::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0; height: 10px;
  background: repeating-linear-gradient(
    to right,
    rgba(245,194,0,0.0) 0px, rgba(245,194,0,0.5) 8px,
    rgba(245,194,0,0.0) 16px
  );
}

/* ── Molecular fusion zone ── */
.cs-fusion-zone {
  flex: 0 0 22px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: radial-gradient(ellipse at 50% 0%, rgba(245,194,0,0.25) 0%, transparent 80%);
  border-top: 1px dotted rgba(245,194,0,0.30);
  position: relative; overflow: hidden;
}
.cs-fusion-particles { display: flex; gap: 6px; align-items: center; }
.cs-fusion-particles span {
  width: 5px; height: 5px; border-radius: 50%;
  background: rgba(245,194,0,0.55);
  flex-shrink: 0;
}
.cs-fusion-particles span:nth-child(2) { width: 7px; height: 7px; background: rgba(245,194,0,0.75); }
.cs-fusion-particles span:nth-child(4) { width: 6px; height: 6px; }
.cs-fusion-tag {
  font-family: var(--font-heading); font-size: 0.55rem;
  font-weight: 700; letter-spacing: 0.18em;
  color: rgba(245,194,0,0.65); white-space: nowrap;
}

/* ── Damage zone (bad side) ── */
.cs-damage-zone {
  flex: 0 0 18px; position: relative; overflow: visible;
}
.cs-crack {
  position: absolute; width: 1.5px; height: 18px;
  background: linear-gradient(to bottom, rgba(255,60,30,0.85), rgba(255,60,30,0));
  transform-origin: top center; top: -4px;
}
.cs-spall {
  position: absolute; bottom: 0; left: 18%; right: 18%;
  height: 3px; border-radius: 50%;
  background: rgba(255,60,30,0.10);
}

/* ── Layers ── */
.cs-layer { flex: 1; position: relative; display: flex; align-items: center; padding: 0 10px; }
.cs-substrate { background: #141414; border-top: 1px solid rgba(255,255,255,0.08); }
.cs-substrate-good { background: #111; border-top: 1px solid rgba(245,194,0,0.18); }

.cs-tag {
  font-family: var(--font-heading); font-size: 0.60rem;
  font-weight: 700; letter-spacing: 0.16em;
  color: rgba(255,255,255,0.28); text-transform: uppercase;
}
.cs-tag-right { position: absolute; right: 10px; }
.cs-tag-accent { color: rgba(245,194,0,0.70) !important; }

/* ── Comp description ── */
.comp-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 14px;
}

/* ── VS divider ── */
.comparison-vs {
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.25); border-left: 1px solid rgba(255,255,255,0.10);
  border-right: 1px solid rgba(255,255,255,0.10);
}
.comparison-vs span {
  font-family: var(--font-heading); font-size: 0.85rem; font-weight: 900;
  color: rgba(255,255,255,0.25); letter-spacing: 0.1em; writing-mode: vertical-lr;
}

/* Diagrama técnico extraído del PDF */
.pdf-diagram-wrap {
  margin: 48px 0 40px;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.pdf-diagram-wrap::before {
  content: 'DIAGRAMA TÉCNICO — INTEGRACIÓN ESTRUCTURAL LINE-X';
  display: block;
  padding: 8px 20px;
  background: rgba(245,194,0,0.08);
  border-bottom: 1px solid rgba(245,194,0,0.15);
  font-size: 0.68rem;
  font-family: var(--font-mono, monospace);
  letter-spacing: 0.12em;
  color: var(--yellow);
  opacity: 0.85;
}
.pdf-diagram-img {
  width: 100%;
  display: block;
  filter: brightness(0.92) contrast(1.06);
}

/* Timeline origen */
.origen-timeline {
  display: flex;
  align-items: flex-start;
  gap: 0;
  padding: 40px;
  background: var(--dark-2);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.05);
}

.origen-item {
  flex: 1;
  padding: 0 24px;
}
.origen-item h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  margin-top: 16px;
}
.origen-item p { font-size: 0.9rem; color: var(--white-dim); line-height: 1.6; }

.origen-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--dark-3);
  border: 2px solid var(--gray);
}
.origen-dot.active {
  background: var(--yellow);
  border-color: var(--yellow);
  box-shadow: 0 0 12px rgba(245,194,0,0.4);
}

.origen-line {
  flex: 0 0 1px;
  width: 1px;
  height: 80px;
  margin-top: 14px;
  background: linear-gradient(to bottom, var(--gray), rgba(255,255,255,0.1));
  align-self: flex-start;
}

/* ============================
   3 PILARES  — oscuro dramático como quees-03
   ============================ */
#pilares {
  background-color: #080808;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.80' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.16'/%3E%3C/svg%3E");
  border-top: none;
  padding: 100px 0;
}

/* Section header on dark bg */
#pilares .section-tag  { color: var(--yellow); }
#pilares .section-header h2 { color: #FFFFFF; }
#pilares .section-header h2::after { background: var(--yellow); }

.pilares-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  border: 1px solid rgba(255,255,255,0.12);
}

.pilar-card {
  position: relative;
  background: transparent;
  border: none;
  border-right: 1px solid rgba(255,255,255,0.10);
  padding: 56px 40px;
  text-align: center;
  transition: background var(--transition);
}
.pilar-card:last-child { border-right: none; }

.pilar-card:hover {
  background: rgba(255,255,255,0.03);
}

.pilar-card.featured {
  background: rgba(245,194,0,0.04);
  border-right-color: rgba(255,255,255,0.10);
}

.pilar-num {
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.25);
  margin-bottom: 28px;
}

.pilar-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1.5px solid rgba(245,194,0,0.55);
  font-size: 1.8rem;
  color: var(--yellow);
  margin: 0 auto 32px;
  background: rgba(245,194,0,0.06);
}

.pilar-card h3 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
  color: #FFFFFF;
  line-height: 1;
}

.pilar-card p {
  color: rgba(255,255,255,0.50);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 260px;
  margin: 0 auto;
}

/* ============================
   CAPACIDADES
   ============================ */
/* Capacidades — claro como dossier-05 */
#capacidades { background-color: #EEEEEC; }
#capacidades .section-tag            { color: #888; }
#capacidades .section-header h2      { color: #0A0A0A; }
#capacidades .section-header h2::after { background: var(--yellow); }
#capacidades .section-desc           { color: rgba(10,10,10,0.55); }

/* Grid de 4 cols con separadores finos, sin radius, fondo blanco */
#capacidades .capacidades-grid {
  border: 1px solid rgba(0,0,0,0.12);
  gap: 0;
}
#capacidades .cap-card {
  background: #fff;
  border-radius: 0;
  border: none;
  border-right: 1px solid rgba(0,0,0,0.10);
  border-bottom: 1px solid rgba(0,0,0,0.10);
  padding: 32px 24px;
}
#capacidades .cap-card:hover {
  background: #F8F8F6;
  box-shadow: none;
  transform: none;
}
#capacidades .cap-icon {
  background: transparent;
  border: none;
  color: #1A1A1A;
  font-size: 1.6rem;
  margin-bottom: 14px;
  width: auto; height: auto;
  justify-content: flex-start;
}
#capacidades .cap-card h4 { color: #0A0A0A; font-size: 0.95rem; }
#capacidades .cap-card p  { color: rgba(10,10,10,0.55); font-size: 0.82rem; }

.capacidades-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.cap-card {
  background: var(--dark-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.cap-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245,194,0,0.25);
  box-shadow: 0 12px 28px rgba(0,0,0,0.4);
}

.cap-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--yellow-dim);
  border-radius: var(--radius);
  border: 1px solid rgba(245,194,0,0.18);
  font-size: 1.1rem;
  color: var(--yellow);
  margin-bottom: 16px;
}

.cap-card h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 10px;
  color: var(--white);
  line-height: 1.2;
}

.cap-card p {
  font-size: 0.85rem;
  color: var(--white-dim);
  line-height: 1.6;
}

/* ============================
   ESCENARIOS
   ============================ */
#escenarios {
  background-color: #111111;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.80' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.12'/%3E%3C/svg%3E");
  border-top: none;
}

.escenarios-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* Imagen en tarjetas de escenario */
.escenario-img-wrap {
  margin: -36px -32px 28px -32px;
  height: 190px;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  position: relative;
}
.escenario-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(14,14,18,0.65) 100%);
}
.escenario-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s ease;
  filter: brightness(0.88) saturate(0.9);
}
.escenario-card:hover .escenario-img {
  transform: scale(1.04);
  filter: brightness(0.95) saturate(1.0);
}

.escenario-card {
  background: var(--dark-card);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  border-bottom: 3px solid rgba(245,194,0,0.20);
  overflow: hidden;
}

.escenario-card:hover {
  transform: translateY(-5px);
  border-color: rgba(245,194,0,0.25);
  border-bottom-color: var(--accent);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.escenario-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--yellow-dim);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(245,194,0,0.2);
  font-size: 1.5rem;
  color: var(--yellow);
  margin-bottom: 20px;
}

.escenario-card h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
  line-height: 1.2;
}

.escenario-card p {
  color: var(--white-dim);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 20px;
}

.escenario-list {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.escenario-list li {
  font-size: 0.85rem;
  color: var(--gray-light);
  padding-left: 18px;
  position: relative;
}
.escenario-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--yellow);
}

/* ============================
   DISCRECIÓN
   ============================ */
#discrecion { background-color: #F2F2F0; border-top: none; }
#discrecion .section-tag             { color: #555555; }
#discrecion .discrecion-content h2   { color: #0A0A0A; }
#discrecion .discrecion-content p    { color: rgba(10,10,10,0.60); }
#discrecion .discrecion-quote        { background: rgba(0,0,0,0.04); border-left-color: #0A0A0A; }
#discrecion .discrecion-quote p      { color: rgba(10,10,10,0.75); }
#discrecion .disc-item               { background: #fff; border-color: rgba(0,0,0,0.10); }
#discrecion .disc-item:hover         { border-color: rgba(0,0,0,0.22); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
#discrecion .disc-icon               { background: #E8E8E8; border-color: rgba(0,0,0,0.10); color: #444444; }
#discrecion .disc-text h4            { color: #0A0A0A; }
#discrecion .disc-text p             { color: rgba(10,10,10,0.55); }
#discrecion .btn-primary             { background: var(--yellow); color: var(--black); border-color: var(--yellow); }

/* Foto de laboratorio en sección Discreción */
.discrecion-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 380px;
  align-self: stretch;
}
.discrecion-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: brightness(0.80) saturate(0.85);
}
.discrecion-photo-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 16px 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 100%);
  font-family: var(--font-mono, monospace);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: rgba(245,194,0,0.80);
  text-transform: uppercase;
}

.discrecion-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 56px;
  align-items: start;
}

.discrecion-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 20px;
}

.discrecion-content p {
  color: var(--white-dim);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 24px;
}

.discrecion-content .section-tag { text-align: left; }

.discrecion-quote {
  border-left: 3px solid var(--yellow);
  padding: 16px 24px;
  margin-bottom: 32px;
  background: var(--yellow-faint);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.discrecion-quote p {
  font-size: 1rem;
  font-style: italic;
  color: var(--gray-light);
  margin-bottom: 0;
  line-height: 1.7;
}

.discrecion-pilares {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.disc-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition);
}
.disc-item:hover { border-color: rgba(245,194,0,0.15); }

.disc-icon {
  width: 44px;
  height: 44px;
  background: var(--yellow-dim);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--yellow);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.disc-text h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
  color: var(--white);
}

.disc-text p {
  font-size: 0.875rem;
  color: var(--white-dim);
  line-height: 1.65;
}

/* ============================
   PROCESO I+D
   ============================ */
#proceso {
  background-color: #0A0A0A;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.80' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.12'/%3E%3C/svg%3E");
}
#proceso .section-header h2::after { display: none; }
#proceso .section-tag  { color: var(--yellow); }
#proceso .section-header h2 { color: #fff; }
#proceso .section-desc { color: var(--white-dim); }

/* Flujo de 4 pasos */
.proceso-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0;
  margin-bottom: 72px;
}
.proceso-step {
  padding: 0 24px;
  position: relative;
}
.paso-num {
  font-family: var(--font-heading);
  font-size: 3.8rem;
  font-weight: 900;
  color: rgba(245,194,0,0.18);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.proceso-step h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
  margin-bottom: 12px;
}
.proceso-step p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.50);
}
.proceso-arrow {
  display: flex;
  align-items: flex-start;
  padding-top: 20px;
  color: rgba(245,194,0,0.40);
  font-size: 1.1rem;
}

/* Control de calidad */
.calidad-wrap {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.calidad-header-row {
  padding: 14px 32px;
  background: rgba(245,194,0,0.07);
  border-bottom: 1px solid rgba(245,194,0,0.15);
}
.calidad-tag {
  font-family: var(--font-mono, monospace);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--yellow);
}
.calidad-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  background: rgba(255,255,255,0.02);
}
.calidad-fase {
  padding: 40px 36px;
}
.calidad-divider {
  width: 1px;
  background: rgba(255,255,255,0.07);
  margin: 24px 0;
}
.fase-label {
  font-family: var(--font-mono, monospace);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  color: var(--yellow);
  margin-bottom: 16px;
  display: block;
}
.calidad-fase h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 12px;
}
.calidad-fase p {
  font-size: 0.875rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.48);
}

/* ============================
   CONTACTO
   ============================ */
#contacto {
  background-color: var(--black);
  border-top: 3px solid var(--yellow);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: start;
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-light);
}

.form-group input,
.form-group textarea,
.form-group select {
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 13px 16px;
  color: var(--white);
  font-size: 0.95rem;
  transition: border-color var(--transition);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23E87020' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.2); }

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--yellow); }

.form-group textarea { resize: vertical; min-height: 120px; }

.form-note {
  font-size: 0.8rem;
  color: var(--gray);
  text-align: center;
}

.form-success {
  display: none;
  align-items: center;
  gap: 10px;
  background: rgba(245,194,0,0.08);
  border: 1px solid rgba(245,194,0,0.3);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: 0.95rem;
  color: var(--white);
}
.form-success i { color: var(--yellow); }
.form-success.visible { display: flex; }

/* Contact info */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-person {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--dark-2);
  border: 1px solid rgba(245,194,0,0.15);
  border-radius: var(--radius-lg);
  margin-bottom: 4px;
}

.person-avatar {
  width: 52px; height: 52px;
  background: var(--yellow-dim);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--yellow);
  font-size: 1.3rem;
  flex-shrink: 0;
}

.person-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--white);
}
.person-role {
  font-size: 0.85rem;
  color: var(--white-dim);
  margin-top: 2px;
}
.person-company {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--yellow);
  margin-top: 2px;
}

.info-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
}

.info-icon {
  width: 38px; height: 38px;
  background: var(--yellow-dim);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--yellow);
  font-size: 0.95rem;
  flex-shrink: 0;
}

.info-content { display: flex; flex-direction: column; gap: 3px; }

.info-label {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray);
}

.info-content a,
.info-content span {
  font-size: 0.9rem;
  color: var(--white);
  transition: color var(--transition);
}
.info-content a:hover { color: var(--yellow); }

.whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px;
  background: #25D366;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  margin-top: 4px;
}
.whatsapp-btn:hover { background: #1ebe5a; transform: translateY(-2px); }
.whatsapp-btn i { font-size: 1.2rem; }

/* ============================
   FOOTER
   ============================ */
#footer {
  background-color: var(--dark);
  border-top: 3px solid rgba(245,194,0,0.25);
  padding: 64px 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1.4fr 1.2fr;
  gap: 48px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-logo-wrap {
  margin-bottom: 12px;
}

.footer-logo-img {
  height: 64px;
  width: auto;
  display: block;
}

.footer-tagline {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 10px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--white-dim);
  max-width: 280px;
  line-height: 1.6;
}

.footer-links-title {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 16px;
}

.footer-links,
.footer-contact-quick {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a,
.footer-contact-quick a {
  font-size: 0.88rem;
  color: var(--white-dim);
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-links a:hover,
.footer-contact-quick a:hover { color: var(--yellow); }
.footer-contact-quick a i { color: var(--yellow); width: 16px; font-size: 0.85rem; }

.footer-contact-name {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.footer-specs { display: flex; flex-direction: column; gap: 9px; }
.footer-spec-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--white-dim);
}
.footer-spec-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--yellow);
  flex-shrink: 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom p { font-size: 0.80rem; color: var(--gray); }
.footer-legal { color: rgba(255,255,255,0.25) !important; }

.footer-cert {
  font-family: var(--font-heading);
  font-size: 0.70rem !important;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--yellow) !important;
}

/* ============================
   CINEMATIC SCROLL-PINNED SECTIONS
   ============================ */

/* Scroll-reveal: elements animate in via JS inline styles */
[data-reveal] { will-change: opacity, transform; }

/* ============================
   SCROLL PROGRESS BAR
   ============================ */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left center;
  z-index: 9999;
  pointer-events: none;
}

/* ============================
   HERO ENTRANCE ANIMATIONS
   ============================ */
.hero-logo-svg {
  animation: heroDropIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}
.hero-eyebrow {
  animation: heroFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}
.hero-title {
  animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.7s both;
}
.hero-subtitle {
  animation: heroFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.9s both;
}
.hero-tagline {
  animation: heroFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 1.0s both;
}
.hero-cta {
  animation: heroFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 1.1s both;
}
.hero-scroll {
  animation: heroFadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 1.35s both;
}

@keyframes heroDropIn {
  from { opacity: 0; transform: translateY(-40px) scale(0.88); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================
   PERFORMANCE
   ============================ */

/* GPU compositing para parallax */
.hero-logo-svg { will-change: transform; }

/* content-visibility: renderizar secciones solo cuando son visibles */
#que-es, #pilares, #capacidades, #escenarios, #discrecion, #contacto {
  content-visibility: auto;
  contain-intrinsic-size: 0 700px;
}

/* Evitar layout shifts en imágenes con aspect-ratio conocido */
.escenario-img { aspect-ratio: 900/781; }
.pdf-diagram-img { aspect-ratio: 1400/729; }
.discrecion-photo img { aspect-ratio: auto; }

/* ============================
   SCROLL-REVEAL BASE
   ============================ */
.cap-card,
.pilar-card,
.escenario-card,
.disc-item,
.info-card,
.comparison-card,
.origen-item,
.section-tag,
.section-header h2,
.section-desc { will-change: opacity, transform; }

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

@media (max-width: 1200px) {
  .discrecion-grid { grid-template-columns: 1fr 1fr; }
  .discrecion-photo { grid-column: span 2; min-height: 280px; }
}

@media (max-width: 1100px) {
  .proceso-flow {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .proceso-arrow { display: none; }
  .proceso-step { padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .calidad-grid { grid-template-columns: 1fr; }
  .calidad-divider { width: 100%; height: 1px; margin: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
  .footer-specs { display: none; }
}

@media (max-width: 1024px) {
  .discrecion-grid  { grid-template-columns: 1fr; gap: 48px; }
  .discrecion-photo { grid-column: auto; min-height: 260px; }
  .contact-grid     { grid-template-columns: 1fr; gap: 48px; }
  .pilares-grid     { grid-template-columns: 1fr; }
  .escenarios-grid  { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  section { padding: 72px 0; }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(10,10,10,0.98);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    z-index: 100;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }

  .hero-title { font-size: clamp(3rem, 14vw, 5.5rem); }
  .hero-tagline { flex-wrap: wrap; justify-content: center; font-size: 0.9rem; }
  .hero-cta { flex-direction: column; align-items: center; }
  .btn { justify-content: center; }

  .comparison-grid {
    grid-template-columns: 1fr;
  }
  .comparison-vs { display: none; }

  .origen-timeline {
    flex-direction: column;
    gap: 0;
    padding: 24px;
  }
  .origen-line {
    width: 1px;
    height: 24px;
    margin: 0 0 0 24px;
    background: linear-gradient(to bottom, var(--gray), rgba(255,255,255,0.1));
    align-self: auto;
  }
  .origen-item { padding: 0 0 0 16px; }

  .capacidades-grid { grid-template-columns: 1fr 1fr; }
  .form-row         { grid-template-columns: 1fr; }
  .footer-top       { grid-template-columns: 1fr; }
  .footer-brand     { grid-column: 1; }
  .footer-bottom    { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .capacidades-grid { grid-template-columns: 1fr; }
  .hero-logo-svg    { width: 150px; }
}

/* ============================
   PRINT — override scroll-reveal
   ============================ */
@media print {
  #navbar, #scroll-progress { display: none !important; }
  section { padding: 40px 0; }

  /* undo any parallax / scroll-reveal inline styles */
  .cap-card, .pilar-card, .escenario-card, .disc-item,
  .info-card, .comparison-card, .origen-item,
  .section-tag, .section-header h2, .section-desc,
  .hero-logo-svg, .hero-eyebrow, .hero-title,
  .hero-subtitle, .hero-tagline, .hero-cta,
  .proceso-step, .calidad-wrap, .pdf-diagram-wrap,
  .discrecion-photo, .discrecion-content {
    opacity: 1 !important;
    animation: none !important;
    transform: none !important;
    transition: none !important;
  }
}
