/* ═══════════════════════════════════════════════════════════════
   PRIMO — Brand CSS
   Vertical: Producción Industrial · Color: Amber Pantone 7549C
   Accent: #D97706  ·  Background: #1A150A (ámbar oscuro profundo)
   Ver: BRAND_SYSTEM.md §4
   ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

@font-face { font-family: 'Brandon Text'; src: url('../LOGO Ulpianus & Setnet/brandon-text/BrandonText-Light.woff2') format('woff2'); font-weight: 300; }
@font-face { font-family: 'Brandon Text'; src: url('../LOGO Ulpianus & Setnet/brandon-text/BrandonText-Regular.woff2') format('woff2'); font-weight: 400; }
@font-face { font-family: 'Brandon Text'; src: url('../LOGO Ulpianus & Setnet/brandon-text/BrandonText-Medium.woff2') format('woff2'); font-weight: 500; }
@font-face { font-family: 'Brandon Text'; src: url('../LOGO Ulpianus & Setnet/brandon-text/BrandonText-Bold.woff2') format('woff2'); font-weight: 700; }

/* ── Tokens PRIMO ────────────────────────────────────────────── */
:root {
  --amber:   #D97706;   /* acento institucional vertical */
  --amber-d: #B45309;   /* hover — más oscuro, nunca más brillante */
  --brown:   #1A150A;   /* bg principal — ámbar oscuro profundo */

  --bg:         #1A150A;
  --bg-dark:    #110E06;   /* sección alternante */
  --bg-card:    rgba(42, 33, 10, 0.50);
  --bg-card-h:  rgba(58, 46, 14, 0.80);
  --border:     rgba(217, 119, 6, 0.12);
  --border-h:   rgba(217, 119, 6, 0.35);

  --text-1: #F5F0E8;   /* crema industrial — headline */
  --text-2: #A89880;   /* arena media — body */
  --text-3: #5C4E38;   /* tierra profunda — muted */

  --font-brand: 'Brandon Text', 'Inter', -apple-system, sans-serif;
  --font-body:  'Inter', sans-serif;
  --max-w: 1200px;
  --radius: 2px;   /* más cuadrado — contexto industrial */
}

/* ── Reset ───────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-1);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── Textura hex ghost (misma geometría, color ámbar) ────────── */
.hex-texture {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='64'%3E%3Cpolygon points='28,2 54,16 54,48 28,62 2,48 2,16' fill='none' stroke='%23D97706' stroke-width='0.8' opacity='0.06'/%3E%3C/svg%3E");
  background-size: 56px 64px;
}

/* ── Nav ─────────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; width: 100%;
  z-index: 100;
  background: rgba(17, 14, 6, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(217, 119, 6, 0.10);
  padding: 0 24px;
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--text-1);
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 4px;
  text-transform: uppercase;
}
.nav-logo svg { width: 32px; height: 32px; }
.nav-links { display: flex; gap: 40px; list-style: none; }
.nav-links a {
  color: var(--text-3);
  text-decoration: none;
  font-size: 0.74rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--amber); }

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 160px 24px 100px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Diagonal geométrica amber (posicionada desde HTML como SVG absoluto) */
.hero-diagonal {
  position: absolute;
  top: 0; right: 0;
  width: 520px; height: 580px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.85;
}

.hero-badge {
  display: inline-block;
  padding: 7px 18px;
  border-radius: var(--radius);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 32px;
  border: 1px solid var(--border-h);
  color: var(--amber);
  background: transparent;
}

.hero h1 {
  font-family: var(--font-brand);
  font-size: 3.6rem;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.5px;
  margin-bottom: 24px;
  color: var(--text-1);
}
/* Énfasis en amber — el proceso físico tiene color -->
.highlight { color: var(--amber); }

.hero p {
  font-size: 1.1rem;
  color: var(--text-2);
  max-width: 560px;
  margin-bottom: 48px;
  line-height: 1.8;
}

.hero-cta { display: flex; gap: 20px; flex-wrap: wrap; }

.cta-primary {
  display: inline-block;
  padding: 16px 36px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.78rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  background: var(--amber);
  color: #0A0600;
  border: 1px solid var(--amber);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.cta-primary:hover {
  background: var(--amber-d);
  border-color: var(--amber-d);
  transform: translateY(-2px);
}

.cta-secondary {
  display: inline-block;
  padding: 16px 36px;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.78rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: 1px solid var(--border);
  color: var(--text-2);
  background: transparent;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.cta-secondary:hover { border-color: var(--border-h); color: var(--amber); }

.hero-trust {
  margin-top: 60px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-trust span {
  font-size: 0.68rem;
  color: var(--text-3);
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 12px;
  border: 1px solid rgba(217, 119, 6, 0.08);
  border-radius: var(--radius);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-visual svg {
  width: 100%;
  max-width: 300px;
  height: auto;
}

/* ── Sections ────────────────────────────────────────────────── */
section { padding: 120px 24px; position: relative; z-index: 1; }
.section-inner { max-width: var(--max-w); margin: 0 auto; }

.section-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-brand);
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin-bottom: 20px;
  line-height: 1.12;
  color: var(--text-1);
}
.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-2);
  max-width: 660px;
  margin-bottom: 60px;
  line-height: 1.78;
}

.pain { background: rgba(0,0,0,0.25); border-top: 1px solid rgba(217,119,6,0.05); border-bottom: 1px solid rgba(217,119,6,0.05); }

/* ── Cards ───────────────────────────────────────────────────── */
.pain-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.pain-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 40px;
  border-radius: var(--radius);
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.pain-item:hover { transform: translateY(-3px); border-color: var(--border-h); }
.pain-item .quote {
  color: var(--amber);
  font-size: 3rem;
  font-family: 'Georgia', serif;
  position: absolute;
  top: 14px; left: 28px;
  opacity: 0.2;
  line-height: 1;
}
.pain-item p { font-size: 1rem; color: var(--text-2); line-height: 1.7; position: relative; z-index: 1; }

.benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.benefit-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 36px 28px;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.benefit-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--amber) 0%, transparent 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.benefit-card:hover { transform: translateY(-3px); border-color: var(--border-h); }
.benefit-card:hover::before { transform: scaleX(1); }
.benefit-card .num {
  font-family: var(--font-brand);
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--amber);
  opacity: 0.5;
  line-height: 1;
  margin-bottom: 20px;
}
.benefit-card h3 {
  font-family: var(--font-brand);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: 0.3px;
}
.benefit-card p { font-size: 0.9rem; color: var(--text-2); line-height: 1.65; }

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}
.step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 36px 28px;
  border-radius: var(--radius);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.step:hover { transform: translateY(-3px); border-color: var(--border-h); }
.step-num {
  font-family: var(--font-brand);
  font-size: 2.4rem;
  font-weight: 300;
  color: var(--amber);
  opacity: 0.35;
  line-height: 1;
  margin-bottom: 14px;
  transition: opacity 0.25s ease;
}
.step:hover .step-num { opacity: 0.65; }
.step h3 { font-family: var(--font-brand); font-size: 1.15rem; font-weight: 600; margin-bottom: 10px; }
.step p { font-size: 0.9rem; color: var(--text-2); line-height: 1.65; }

.proof { background: rgba(0,0,0,0.18); border-top: 1px solid rgba(217,119,6,0.05); }
.proof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.proof-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 36px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.proof-card:hover { transform: translateY(-3px); border-color: var(--border-h); }
.proof-card h3 { font-family: var(--font-brand); font-size: 1.15rem; font-weight: 600; margin-bottom: 14px; }
.proof-card p { font-size: 0.92rem; color: var(--text-2); line-height: 1.65; margin-bottom: 20px; }
.proof-card .tag {
  align-self: flex-start;
  padding: 5px 12px;
  font-size: 0.66rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: 1px solid var(--border-h);
  color: var(--amber);
  border-radius: var(--radius);
}

/* ── CTA Final ───────────────────────────────────────────────── */
.cta-final {
  text-align: center;
  padding: 140px 24px;
  border-top: 1px solid rgba(217,119,6,0.07);
}
.cta-final h2 {
  font-family: var(--font-brand);
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.3px;
  line-height: 1.12;
  color: var(--text-1);
}
.cta-final p {
  font-size: 1.1rem;
  color: var(--text-2);
  max-width: 540px;
  margin: 0 auto 40px;
  line-height: 1.78;
}

/* ── Footer ──────────────────────────────────────────────────── */
footer {
  padding: 56px 24px;
  border-top: 1px solid rgba(217,119,6,0.07);
  background: rgba(0,0,0,0.25);
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
}
.eco-text { font-size: 0.8rem; color: var(--text-3); }
.eco { display: flex; gap: 24px; }
.eco a {
  color: var(--text-3);
  text-decoration: none;
  font-size: 0.76rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: color 0.2s ease;
}
.eco a:hover { color: var(--amber); }

/* Badge Powered by SETNET — siempre #E2231A, nunca amber */
.setnet-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #E2231A;
  text-decoration: none;
  opacity: 0.60;
  transition: opacity 0.2s ease;
}
.setnet-badge:hover { opacity: 1; }
.setnet-badge svg { width: 17px; height: 17px; }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-visual { order: -1; }
  .hero-diagonal { opacity: 0.45; }
}
@media (max-width: 768px) {
  .hero h1 { font-size: 2.4rem; }
  .section-title { font-size: 2rem; }
  .cta-final h2 { font-size: 2.2rem; }
  .nav-links { display: none; }
  .footer-inner { flex-direction: column; text-align: center; }
  .eco { flex-wrap: wrap; justify-content: center; }
}
