/* Forja Web, business line: shared styles for industry pages (see DESIGN-NEGOCIOS.md) */
:root {
  --black: #000000; --iron: #121212; --panel: #1c1c1c; --panel-2: #262626;
  --white: #ffffff; --smoke: #f5f5f5; --muted: #a6a6a6; --dim: #3a3a3a;
  --line: rgba(255, 255, 255, .14); --line-strong: rgba(255, 255, 255, .5);
  --gold: #ffc000; --gold-dark: #917300; --gold-text: #ffce3e;
  --wrap: min(1280px, calc(100% - 64px)); --nav-h: 72px;
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--black); color: var(--white); font-family: var(--display); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; accent-color: var(--gold); }
::selection { background: var(--gold); color: var(--black); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
h1, h2, h3 { margin: 0; font-weight: 600; font-stretch: 75%; text-transform: uppercase; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.wrap { width: var(--wrap); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 12px 18px; background: var(--gold); color: var(--black); }
.skip:focus { top: 12px; }
html::-webkit-scrollbar { width: 10px; }
html::-webkit-scrollbar-track { background: var(--black); }
html::-webkit-scrollbar-thumb { background: var(--panel-2); }

.d-hero { font-size: clamp(46px, 7vw, 104px); line-height: .92; }
.d-1 { font-size: clamp(38px, 5.4vw, 76px); line-height: .95; }
.d-2 { font-size: clamp(30px, 3.6vw, 52px); line-height: 1; }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; color: var(--muted); max-width: 46ch; }
.label { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 56px; padding: 0 30px; border: 1px solid transparent; font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; transition: background-color .25s, color .25s, border-color .25s, transform .2s cubic-bezier(.16, 1, .3, 1); }
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold); color: var(--black); }
.btn-gold:hover { background: var(--gold-dark); color: var(--white); }
.btn-ghost { border-color: var(--line-strong); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, .06); }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: 12px; }
.arrow { width: 18px; height: 10px; flex: none; }

/* Nav */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 40; height: var(--nav-h); background: rgba(0, 0, 0, .86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 700; font-stretch: 87.5%; letter-spacing: .22em; text-transform: uppercase; }
.brand svg { width: 30px; height: 30px; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a:not(.btn) { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); transition: color .2s; }
.nav-links a:not(.btn):hover { color: var(--white); }

/* Hero */
.s-hero { position: relative; min-height: min(100dvh, 980px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); overflow: hidden; }
.s-hero-copy { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--nav-h) + 56px) 0 64px max(32px, calc((100vw - 1280px) / 2)); }
.crumbs { display: flex; gap: 10px; margin-bottom: 28px; font-size: 14px; color: var(--muted); }
.crumbs a { text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: .25em; }
.crumbs a:hover { color: var(--gold-text); }
.crumbs span[aria-current] { color: var(--white); }
.s-hero .lead { margin-top: 28px; max-width: 40ch; }
.hero-cta { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-note { margin-top: 20px; font-size: 14px; color: var(--muted); }
.s-hero-photo { position: relative; clip-path: polygon(21% 0, 100% 0, 100% 100%, 0 100%); }
.s-hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.3) brightness(.66) contrast(1.08); }
.s-hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0) 45%), linear-gradient(0deg, rgba(0, 0, 0, .6), rgba(0, 0, 0, 0) 40%); }

.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts ul { margin: 0 auto; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.facts li { padding: 26px 28px 30px; border-left: 1px solid var(--line); }
.facts li:first-child { padding-left: 0; border-left: 0; }
.facts b { display: block; font-size: clamp(20px, 1.8vw, 26px); font-weight: 600; font-stretch: 75%; text-transform: uppercase; }
.facts span { font-size: 14px; color: var(--muted); }

.section { padding: clamp(96px, 12vw, 160px) 0; }
.section-iron { background: var(--iron); }
.head { max-width: 900px; }
.head .lead { margin-top: 24px; }

/* Decision triad */
.triad { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: end; }
.checks { margin: 0; padding: 0; list-style: none; background: var(--panel); }
.checks li { position: relative; padding: 24px 28px 24px 64px; border-top: 1px solid var(--line); font-size: 18px; font-weight: 500; }
.checks li:first-child { border-top: 0; }
.checks li::before { content: ""; position: absolute; left: 28px; top: 50%; width: 16px; height: 2px; background: var(--gold); }
.disclaimer { margin-top: 20px; font-size: 15px; color: var(--muted); max-width: 60ch; }

/* Questions */
.questions { margin: clamp(48px, 6vw, 80px) 0 0; padding: 0; list-style: none; }
.questions li { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 16px 48px; align-items: end; padding: 34px 0; border-top: 1px solid var(--line); }
.questions li:last-child { border-bottom: 1px solid var(--line); }
.questions strong { font-size: clamp(32px, 4.6vw, 68px); line-height: .94; font-weight: 600; font-stretch: 75%; text-transform: uppercase; transition: color .9s cubic-bezier(.16, 1, .3, 1); }
.questions span { color: var(--muted); max-width: 36ch; }
.js .questions strong { color: var(--dim); }
.js .questions li.lit strong { color: var(--white); }

/* Journey */
.track { margin: clamp(48px, 6vw, 80px) 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: relative; }
.track::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--line-strong); }
.track li { position: relative; padding: 36px 24px 0 0; }
.track li::before { content: ""; position: absolute; left: 0; top: 0; width: 15px; height: 15px; background: var(--black); border: 1px solid var(--white); }
.section-iron .track li::before { background: var(--iron); }
.track li:last-child::before { background: var(--gold); border-color: var(--gold); }
.track b { display: block; font-size: 26px; font-weight: 600; font-stretch: 75%; text-transform: uppercase; }
.track span { display: block; margin-top: 8px; font-size: 15px; color: var(--muted); }

/* Recommended content */
.content-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 2px; margin-top: clamp(48px, 6vw, 80px); }
.content-photo { position: relative; min-height: 420px; overflow: hidden; background: var(--panel); }
.content-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.3) brightness(.7) contrast(1.06); }
.pillars { margin: 0; padding: 0; list-style: none; background: var(--panel); }
.pillars li { padding: 32px; border-top: 1px solid var(--line); }
.pillars li:first-child { border-top: 0; }
.pillars b { display: block; font-size: 22px; font-weight: 600; font-stretch: 87.5%; text-transform: uppercase; }
.pillars span { display: block; margin-top: 6px; color: var(--muted); }
.pillars-wrap { background: var(--panel); }
.pillars-wrap .btn { margin: 0 32px 32px; }

/* Materials */
.materials { margin: clamp(40px, 5vw, 64px) 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; }
.materials li { padding: 26px 28px; background: var(--panel); font-size: 19px; font-weight: 600; font-stretch: 87.5%; text-transform: uppercase; display: flex; align-items: center; gap: 16px; }
.materials li::before { content: ""; width: 10px; height: 10px; flex: none; border: 1px solid var(--gold); transform: skewX(-12deg); }

/* Founders band */
.band { background: var(--gold); color: var(--black); }
.band .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 32px; padding: 48px 0; }
.band h2 { font-size: clamp(28px, 3.2vw, 44px); line-height: 1; }
.band p { margin-top: 10px; font-size: 17px; max-width: 60ch; }
.band .btn { background: var(--black); color: var(--white); }
.band .btn:hover { background: #1c1c1c; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; font-size: 19px; font-weight: 600; font-stretch: 87.5%; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(var(--gold), var(--gold)) center / 14px 2px no-repeat, linear-gradient(var(--gold), var(--gold)) center / 2px 14px no-repeat; transition: transform .3s cubic-bezier(.16, 1, .3, 1); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--gold-text); }
.faq details p { padding: 0 0 28px; color: var(--muted); max-width: 66ch; }

/* Close */
.close { position: relative; overflow: hidden; text-align: center; padding: clamp(120px, 14vw, 200px) 0; }
.close::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 45% 60% at 50% 0%, rgba(255, 255, 255, .12), transparent 70%); pointer-events: none; }
.close .lead { margin: 28px auto 0; }
.close .hero-cta { justify-content: center; }
.close small { display: block; margin-top: 22px; font-size: 14px; color: var(--muted); }

/* Footer */
footer { background: var(--iron); border-top: 1px solid var(--line); padding: 56px 0 40px; font-size: 14px; color: var(--muted); }
.foot { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 40px; }
.foot p { margin-top: 16px; max-width: 36ch; }
.foot .foot-h { margin: 0 0 14px; font-size: 12px; letter-spacing: .16em; font-stretch: 100%; color: var(--white); }
.foot ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.foot a:hover { color: var(--gold-text); }
.legal { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 12px; }

@media (prefers-reduced-motion: no-preference) {
  .s-hero-copy > * { animation: rise 1.1s cubic-bezier(.16, 1, .3, 1) both; }
  .s-hero-copy > :nth-child(2) { animation-delay: .08s; }
  .s-hero-copy > :nth-child(3) { animation-delay: .16s; }
  .s-hero-copy > :nth-child(4) { animation-delay: .24s; }
  .s-hero-photo img { animation: emerge 1.8s cubic-bezier(.16, 1, .3, 1) both; }
  @keyframes rise { from { opacity: 0; translate: 0 24px; } to { opacity: 1; translate: 0 0; } }
  @keyframes emerge { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: scale(1); } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .questions strong { color: var(--white); }
}

@media (max-width: 1100px) { .nav-links a:not(.btn) { display: none; } }
@media (max-width: 960px) {
  .s-hero { grid-template-columns: 1fr; min-height: 0; }
  .s-hero-copy { padding: calc(var(--nav-h) + 40px) 32px 48px; order: 2; }
  .s-hero-photo { order: 1; height: 46vh; min-height: 280px; margin-top: var(--nav-h); clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%); }
  .s-hero-photo::after { background: linear-gradient(0deg, rgba(0, 0, 0, .7), rgba(0, 0, 0, 0) 50%); }
  .s-hero-copy { padding-top: 32px; }
  .triad, .content-grid, .faq-grid { grid-template-columns: 1fr; }
  .questions li { grid-template-columns: 1fr; }
  .track { grid-template-columns: 1fr; gap: 28px; }
  .track::before { left: 7px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .track li { padding: 0 0 0 40px; }
  .materials { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .band .wrap { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot > div:first-child { grid-column: span 2; }
}
@media (max-width: 720px) {
  :root { --wrap: calc(100% - 32px); --nav-h: 64px; }
  .nav .btn { padding: 0 14px; }
  .s-hero-copy { padding-left: 16px; padding-right: 16px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .facts ul { grid-template-columns: 1fr; }
  .facts li { padding: 16px 0; border-left: 0; border-top: 1px solid var(--line); }
  .facts li:first-child { border-top: 0; }
  .materials { grid-template-columns: 1fr; }
  .band .btn { width: 100%; }
  .foot { grid-template-columns: 1fr; }
  .foot > div:first-child { grid-column: span 1; }
}
