/* ── INDEX.CSS — uniflow.cl (Landing Global) ── */

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

:root {
  --bg:           #faf7f2;
  --bg-warm:      #f0e9de;
  --bg-dark:      #1a1a1f;
  --bg-steps:     #7c8bff;
  --text:         #1a1a1f;
  --text-mid:     #3c3c46;
  --text-muted:   #5b4b6b;
  --accent:       #7c8bff;
  --accent-dark:  #4a5aef;
  --teal:         #1fb5c9;
  --max:          1440px;
  --px:           100px;
  --font-serif:   'Newsreader', Georgia, serif;
  --font-sans:    'Plus Jakarta Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--font-sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── NAV ── */
.nav {
  position: sticky; top: 24px; z-index: 100;
  display: flex; justify-content: center;
  padding: 0 24px;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; max-width: 1306px;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid #f1f5f9;
  border-radius: 100px;
  padding: 18px 37px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.nav-logo {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 26px;
  letter-spacing: -0.05em;
  color: var(--text);
}
.nav-links { display: flex; gap: 37px; }
.nav-links a {
  font-size: 15px; font-weight: 400;
  color: var(--text); opacity: 0.7;
  transition: opacity .15s;
}
.nav-links a:hover { opacity: 1; }
.nav-cta {
  background: var(--accent);
  color: #f7f3ea;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 24px;
  border-radius: 100px;
  transition: opacity .15s;
}
.nav-cta:hover { opacity: .85; }

/* ── HERO ── */
.hero {
  display: flex; flex-direction: column; align-items: center;
  padding: 100px var(--px) 0;
  gap: 56px;
  position: relative;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(124,139,255,0.12);
  border: 1px solid rgba(124,139,255,0.3);
  border-radius: 100px;
  padding: 7px 16px;
}
.hero-eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.hero-eyebrow-text { font-size: 12px; font-weight: 600; letter-spacing: 0.07em; color: var(--accent); }

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(52px, 6vw, 86px);
  font-weight: 400; line-height: 1.03;
  letter-spacing: -0.035em;
  text-align: center;
  color: var(--text);
  max-width: 1200px;
}
.hero-title em { font-style: italic; color: var(--accent); }

.hero-sub {
  font-size: 18px; line-height: 1.6;
  color: var(--text-muted);
  text-align: center;
  max-width: 652px;
}

.hero-ctas { display: flex; gap: 16px; align-items: center; }
.btn-accent {
  background: var(--accent);
  color: white;
  font-size: 14px; font-weight: 600;
  padding: 14px 28px; border-radius: 25px;
  transition: opacity .15s;
}
.btn-accent:hover { opacity: .85; }
.btn-ghost {
  font-size: 14px; font-weight: 500;
  color: var(--text-muted);
  padding: 14px 16px;
  border: 1px solid rgba(26,26,31,0.15);
  border-radius: 25px;
  transition: all .15s;
}
.btn-ghost:hover { border-color: var(--text-mid); color: var(--text); }

/* Hero dashboard visual */
.hero-visual {
  width: min(1140px, 100%);
  margin: 0 auto;
}
.hero-dash-wrap {
  background: linear-gradient(180deg, #e8e4f5 0%, #dde8f8 100%);
  border-radius: 24px 24px 0 0;
  border: 1px solid rgba(124,139,255,0.15);
  border-bottom: none;
  overflow: hidden;
  padding: 32px 32px 0;
}
.hero-dash-img {
  width: 100%; height: auto;
  border-radius: 12px 12px 0 0;
  display: block;
}

/* ── CLIENTS MARQUEE ── */
.section-clients {
  background: var(--bg);
  padding: 60px 0;
  overflow: hidden;
}
.clients-label {
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.14em;
  color: rgba(26,26,31,0.45);
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 32px;
}
.marquee-track {
  display: flex; gap: 60px;
  animation: marquee-scroll 28s linear infinite;
  width: max-content;
  align-items: center;
}
.marquee-track img {
  height: 32px; width: auto;
  opacity: 0.35;
  filter: grayscale(1);
}
@keyframes marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── PRODUCTS BENTO ── */
.section-products {
  padding: 120px var(--px);
  display: flex; flex-direction: column; align-items: center; gap: 72px;
}
.sec-eyebrow {
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent);
  text-transform: uppercase;
}
.sec-title {
  font-family: var(--font-serif);
  font-size: clamp(38px, 3.8vw, 54px);
  font-weight: 400; line-height: 1.08;
  letter-spacing: -0.025em;
  text-align: center;
  color: var(--text);
  max-width: 1100px;
}
.sec-title em { font-style: italic; color: var(--accent); }
.sec-sub {
  font-size: 17px; line-height: 1.55;
  color: var(--text-muted);
  text-align: center;
  max-width: 636px;
}
.sec-header { display: flex; flex-direction: column; align-items: center; gap: 20px; }

.products-bento {
  display: flex; gap: 24px;
  width: 100%; max-width: 1240px;
}
.product-card {
  flex: 1;
  border-radius: 24px;
  padding: 48px;
  display: flex; flex-direction: column; gap: 32px;
  position: relative; overflow: hidden;
}
.product-card-retail {
  background: #1a1a1f;
}
.product-card-forge {
  background: #071126;
}
.product-tag {
  display: inline-flex; align-items: center;
  background: rgba(255,255,255,0.1);
  border-radius: 100px;
  padding: 5px 14px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.8);
  text-transform: uppercase;
}
.product-title {
  font-family: var(--font-serif);
  font-size: 36px; font-weight: 500;
  line-height: 1.08; letter-spacing: -0.025em;
  color: white;
}
.product-desc {
  font-size: 15px; line-height: 1.55;
  color: rgba(255,255,255,0.65);
}
.product-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600;
  color: white;
  padding: 12px 22px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 100px;
  align-self: flex-start;
  transition: all .15s;
}
.product-link:hover { background: rgba(255,255,255,0.1); }
.product-link-accent {
  background: #34d399;
  border-color: #34d399;
  color: #071126;
}
.product-link-accent:hover { background: #2dcb8a; border-color: #2dcb8a; }
.product-img-wrap { flex: 1; display: flex; align-items: flex-end; }
.product-img { width: 100%; border-radius: 12px; }

/* ── HOW IT WORKS ── */
.section-how {
  background: var(--bg-steps);
  padding: 120px var(--px);
  display: flex; flex-direction: column; align-items: center; gap: 80px;
}
.sec-title-light {
  font-family: var(--font-serif);
  font-size: clamp(38px, 3.8vw, 54px);
  font-weight: 400; line-height: 1.08;
  letter-spacing: -0.025em;
  text-align: center;
  color: white;
  max-width: 1100px;
}
.sec-eyebrow-light {
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
}
.steps-grid {
  display: flex; gap: 24px;
  width: 100%; max-width: 1240px;
}
.step-card {
  flex: 1;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  padding: 36px 32px;
  display: flex; flex-direction: column; gap: 20px;
  backdrop-filter: blur(8px);
}
.step-num {
  font-family: var(--font-serif);
  font-size: 48px; font-weight: 400;
  color: rgba(255,255,255,0.25);
  line-height: 1;
}
.step-title {
  font-family: var(--font-serif);
  font-size: 22px; font-weight: 500;
  line-height: 1.15; letter-spacing: -0.02em;
  color: white;
}
.step-desc {
  font-size: 14px; line-height: 1.6;
  color: rgba(255,255,255,0.7);
}

/* ── INDUSTRIES ── */
.section-industries {
  background: var(--bg-warm);
  padding: 120px var(--px);
  display: flex; flex-direction: column; align-items: center; gap: 72px;
}
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%; max-width: 1240px;
}
.industry-card {
  background: var(--bg);
  border: 1px solid rgba(26,26,31,0.08);
  border-radius: 20px;
  padding: 36px 32px;
  display: flex; flex-direction: column; gap: 16px;
}
.industry-icon {
  font-size: 32px; line-height: 1;
}
.industry-name {
  font-family: var(--font-serif);
  font-size: 22px; font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text);
}
.industry-desc {
  font-size: 14px; line-height: 1.6;
  color: var(--text-muted);
}
.industry-tag {
  display: inline-flex;
  background: rgba(124,139,255,0.1);
  border: 1px solid rgba(124,139,255,0.2);
  border-radius: 100px;
  padding: 4px 12px;
  font-size: 12px; font-weight: 600;
  color: var(--accent);
  align-self: flex-start;
}

/* ── NUMBERS / STATS ── */
.section-numbers {
  background: var(--bg-dark);
  padding: 100px var(--px);
  display: flex; flex-direction: column; align-items: center; gap: 80px;
}
.numbers-grid {
  display: flex; gap: 0;
  width: 100%; max-width: 1240px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  overflow: hidden;
}
.number-item {
  flex: 1;
  padding: 48px 40px;
  border-right: 1px solid rgba(255,255,255,0.1);
  display: flex; flex-direction: column; gap: 12px;
}
.number-item:last-child { border-right: none; }
.number-val {
  font-family: var(--font-serif);
  font-size: clamp(40px, 4vw, 60px);
  font-weight: 400; line-height: 1;
  letter-spacing: -0.03em;
  color: white;
}
.number-label { font-size: 14px; line-height: 1.45; color: rgba(255,255,255,0.55); }
.numbers-cta {
  display: flex; flex-direction: column; align-items: center; gap: 24px;
  text-align: center;
}
.numbers-cta-title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 3.6vw, 52px);
  font-weight: 400; line-height: 1.08;
  letter-spacing: -0.025em;
  color: white;
}
.numbers-cta a {
  background: var(--accent);
  color: white;
  font-size: 15px; font-weight: 600;
  padding: 18px 36px;
  border-radius: 100px;
  transition: opacity .15s;
}
.numbers-cta a:hover { opacity: .85; }

/* ── FOOTER ── */
.footer {
  background: var(--bg-dark);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 80px var(--px) 40px;
  display: flex; flex-direction: column; gap: 60px;
}
.footer-cols {
  display: flex; gap: 80px; align-items: flex-start;
}
.footer-tagline {
  flex: 1;
  font-family: var(--font-serif);
  font-size: 24px; font-weight: 400;
  line-height: 1.3; letter-spacing: -0.01em;
  color: white;
  max-width: 360px;
}
.footer-col { display: flex; flex-direction: column; gap: 16px; width: 160px; flex-shrink: 0; }
.footer-col-title {
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.16em;
  color: white; text-transform: uppercase;
}
.footer-col-links { display: flex; flex-direction: column; gap: 10px; }
.footer-col-links a {
  font-size: 14px; color: white; opacity: .7;
  transition: opacity .15s;
}
.footer-col-links a:hover { opacity: 1; }
.footer-wordmark {
  display: flex; flex-direction: column; gap: 24px;
}
.footer-wordmark-text {
  font-family: var(--font-serif);
  font-size: clamp(120px, 24vw, 350px);
  font-weight: 400; line-height: 0.8;
  letter-spacing: -0.04em;
  color: white;
  padding-top: 40px;
}
.footer-wordmark-text span { font-style: italic; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-bottom p { font-size: 12px; color: white; opacity: .6; }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  :root { --px: 40px; }
  .products-bento { flex-direction: column; }
  .steps-grid { flex-wrap: wrap; }
  .step-card { min-width: 260px; }
  .numbers-grid { flex-wrap: wrap; }
  .number-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .number-item:last-child { border-bottom: none; }
}
@media (max-width: 768px) {
  :root { --px: 24px; }
  .nav-links { display: none; }
  .nav-inner { padding: 14px 20px; }
  .industries-grid { grid-template-columns: 1fr; }
  .steps-grid { flex-direction: column; }
  .footer-cols { flex-direction: column; gap: 40px; }
  .footer-wordmark-text { font-size: clamp(60px, 20vw, 180px); }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
