/* ============ PROCOMIN V2 — bold editorial-industrial ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #0f1210;
  color: #e8e6e1;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding-inline: 32px; }

.eyebrow2 {
  font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.22em;
  color: var(--red-400);
  margin: 0 0 20px; display: block;
}
.mono-cap {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(232,230,225,0.55);
}
.h-big {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: #f4f2ec;
  margin: 0 0 24px;
  text-wrap: balance;
}
.h-giant {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(64px, 10vw, 160px);
  line-height: 0.88;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #f4f2ec;
  margin: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 600; font-size: 14px; letter-spacing: 0.05em;
  padding: 14px 26px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn--xl { padding: 17px 32px; font-size: 15px; }
.btn--wa { background: #25D366; color: #06130a; }
.btn--wa:hover { background: #1fba58; transform: translateY(-2px); }
.btn--wa i { font-size: 18px; }
.btn--line { background: transparent; color: #f4f2ec; border-color: rgba(244,242,236,0.35); }
.btn--line:hover { border-color: #f4f2ec; background: rgba(244,242,236,0.06); }
.btn--solid { background: #f4f2ec; color: #0f1210; }
.btn--solid:hover { background: #ffffff; transform: translateY(-2px); }

/* ---------- Header ---------- */
.hd {
  position: fixed; inset: 0 0 auto; z-index: 60;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.hd[data-state="scrolled"] {
  background: rgba(15,18,16,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.07);
}
.hd__row { display: flex; align-items: center; gap: 40px; padding-block: 18px; }
.hd__brand {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-weight: 700; font-size: 20px;
  letter-spacing: 0.1em; color: #f4f2ec;
}
.hd__logo { height: 30px; }
.hd__logo--dark { display: none; }
.hd__nav { display: flex; gap: 32px; margin-left: auto; }
.hd__nav a {
  font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(244,242,236,0.75); position: relative; padding: 6px 0;
}
.hd__nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--red-500); transition: width 0.25s ease;
}
.hd__nav a:hover { color: #fff; }
.hd__nav a:hover::after { width: 100%; }
.hd__cta { flex-shrink: 0; padding: 11px 22px; font-size: 13px; }
.hd__burger {
  display: none; background: none; border: 1px solid rgba(244,242,236,0.3);
  color: #f4f2ec; width: 42px; height: 42px; border-radius: 8px; cursor: pointer;
  margin-left: auto;
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  isolation: isolate; overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__bg img {
  width: 100%; height: 112%; object-fit: cover;
  filter: contrast(1.08) brightness(0.7) saturate(0.9);
  will-change: transform;
}
.hero__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(15,18,16,0.72) 0%, rgba(15,18,16,0.25) 40%, rgba(15,18,16,0.88) 100%);
}
.hero__inner { padding-block: 140px 48px; }
.hero__kicker {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.18em;
  text-transform: uppercase; color: rgba(244,242,236,0.75);
  margin: 0 0 28px;
}
.hero__kicker .tick { color: #25D366; font-size: 9px; vertical-align: 2px; margin-right: 8px; animation: blink 2.2s infinite; }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0.25; } }

.hero__h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(56px, 11.5vw, 176px);
  line-height: 0.9;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #f4f2ec;
  margin: 0 0 36px;
}
.line { display: block; overflow: hidden; }
.line__in {
  display: block;
  transform: translateY(110%);
  animation: lineUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.line:nth-child(2) .line__in { animation-delay: 0.12s; }
.line:nth-child(3) .line__in { animation-delay: 0.24s; }
@keyframes lineUp { to { transform: translateY(0); } }
.line__in.accent {
  color: transparent;
  -webkit-text-stroke: 2px #f4f2ec;
  position: relative;
}
@media (prefers-reduced-motion: reduce) {
  .line__in { transform: none; animation: none; }
}

.hero__base {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 40px; flex-wrap: wrap;
}
.hero__lead {
  max-width: 520px; margin: 0;
  font-size: clamp(15px, 1.3vw, 18px); line-height: 1.6;
  color: rgba(244,242,236,0.82);
}
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden; border-block: 1px solid rgba(244,242,236,0.14);
  padding-block: 18px;
  background: rgba(15,18,16,0.55);
  backdrop-filter: blur(6px);
}
.marquee__track {
  display: flex; align-items: center; gap: 48px;
  width: max-content;
  animation: mq 28s linear infinite;
  font-family: var(--font-display); font-weight: 600;
  font-size: 20px; letter-spacing: 0.14em;
  color: rgba(244,242,236,0.85);
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee__track--slow { animation-duration: 36s; }
.marquee .dot { color: var(--red-500); font-size: 11px; }
@keyframes mq { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

.marquee--light { background: transparent; border-color: rgba(244,242,236,0.10); }
.marquee--light .marquee__track { font-size: clamp(32px, 5vw, 72px); color: transparent; -webkit-text-stroke: 1.5px rgba(244,242,236,0.5); }
.marquee--light .dot { -webkit-text-stroke: 0; color: var(--red-500); font-size: 16px; }

/* ---------- Stats ---------- */
.stats { background: var(--green-700); color: #fff; padding-block: 110px; }
.stats__grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 80px; align-items: start; }
.stats .eyebrow2 { color: rgba(255,255,255,0.65); }
.stats .h-big { color: #fff; }
.stats__nums { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.num { padding: 32px 28px; border-left: 1px solid rgba(255,255,255,0.2); }
.num:nth-child(1), .num:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,0.2); }
.num__v {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(56px, 6vw, 96px); line-height: 1;
  letter-spacing: -0.02em;
}
.num__v em { font-style: normal; color: var(--red-400); font-size: 0.55em; vertical-align: 14px; }
.num p { margin: 10px 0 0; font-size: 14px; color: rgba(255,255,255,0.75); max-width: 240px; }

/* ---------- Nosotros ---------- */
.about2 { padding-block: 140px; background: #0f1210; }
.about2__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 90px; align-items: center; }
.about2__media { margin: 0; position: relative; border-radius: 14px; overflow: hidden; }
.about2__media img { aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.about2__media figcaption {
  position: absolute; left: 16px; bottom: 16px;
  background: rgba(15,18,16,0.85); backdrop-filter: blur(8px);
  padding: 10px 16px; border-left: 2px solid var(--red-500);
}
.about2__media img { aspect-ratio: 4/5; object-fit: cover; width: 100%; object-position: center 60%; }
.about2__copy > p:not(.eyebrow2) { color: rgba(232,230,225,0.78); font-size: 17px; max-width: 560px; }
.about2__list { margin-top: 44px; }
.about2__list li {
  display: flex; gap: 28px; align-items: flex-start;
  padding: 22px 0; border-top: 1px solid rgba(244,242,236,0.12);
}
.about2__list li:last-child { border-bottom: 1px solid rgba(244,242,236,0.12); }
.about2__list .mono-cap { color: var(--red-400); padding-top: 4px; }
.about2__list strong {
  display: block; font-family: var(--font-display); font-weight: 600;
  font-size: 20px; text-transform: uppercase; letter-spacing: 0.01em; color: #f4f2ec;
}
.about2__list p { margin: 4px 0 0; font-size: 14px; color: rgba(232,230,225,0.65); }

/* ---------- Productos ---------- */
.prods { padding-block: 140px 110px; background: #14171a; }
.prods__head { margin-bottom: 80px; }
.prods__list { display: flex; flex-direction: column; }
.prow {
  display: grid; grid-template-columns: 90px 260px 1fr; gap: 48px;
  align-items: center;
  padding-block: 44px;
  border-top: 1px solid rgba(244,242,236,0.12);
  transition: background 0.25s ease;
}
.prow:last-child { border-bottom: 1px solid rgba(244,242,236,0.12); }
.prow:hover { background: rgba(244,242,236,0.03); }
.prow__idx {
  font-family: var(--font-mono); font-size: 15px; letter-spacing: 0.15em;
  color: var(--red-400);
}
.prow__ph { margin: 0; border-radius: 10px; overflow: hidden; }
.prow__ph img { aspect-ratio: 1/1; width: 100%; object-fit: contain; background: #0f1210; transition: transform 0.4s ease; }
.prow:hover .prow__ph img { transform: scale(1.02); }
.prow__body h3 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(28px, 3vw, 44px); line-height: 1;
  text-transform: uppercase; letter-spacing: -0.005em;
  color: #f4f2ec; margin: 0 0 14px;
}
.prow__body p { margin: 0 0 18px; font-size: 15px; color: rgba(232,230,225,0.7); max-width: 560px; }
.prow__tags { display: flex; gap: 8px; flex-wrap: wrap; }
.prow__tags span {
  font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 7px 14px; border: 1px solid rgba(244,242,236,0.22); border-radius: 999px;
  color: rgba(232,230,225,0.75);
}
.prods__foot {
  margin-top: 70px; display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.prods__foot p { margin: 0; font-size: 17px; color: rgba(232,230,225,0.8); max-width: 520px; }

/* ---------- Proceso ---------- */
.proc { padding-block: 140px; background: #0f1210; }
.proc__grid { display: grid; grid-template-columns: 420px 1fr; gap: 90px; align-items: start; }
.proc__stick { position: sticky; top: 110px; }
.proc__lead { color: rgba(232,230,225,0.7); font-size: 16px; margin: 0 0 32px; }
.proc__ph { margin: 0; border-radius: 12px; overflow: hidden; }
.proc__ph img { aspect-ratio: 4/3; object-fit: cover; opacity: 0.9; }
.proc__steps { counter-reset: p; }
.pstep {
  display: grid; grid-template-columns: 90px 1fr; gap: 36px;
  padding-block: 38px; border-top: 1px solid rgba(244,242,236,0.12);
}
.pstep:last-child { border-bottom: 1px solid rgba(244,242,236,0.12); }
.pstep__n { font-family: var(--font-mono); font-size: 15px; letter-spacing: 0.15em; color: var(--red-400); padding-top: 6px; }
.pstep h3 {
  font-family: var(--font-display); font-weight: 600;
  font-size: 26px; text-transform: uppercase; line-height: 1.1;
  color: #f4f2ec; margin: 0 0 10px;
}
.pstep p { margin: 0; font-size: 15px; color: rgba(232,230,225,0.68); max-width: 560px; }

/* ---------- Sectores ---------- */
.sectors { padding-block: 90px 100px; background: #0f1210; }
.sectors .eyebrow2 { margin-bottom: 36px; }

/* ---------- Testimonios ---------- */
.test2 { padding-block: 130px; background: #14171a; }
.test2__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 30px; }
.tq {
  margin: 0; padding: 40px 34px;
  background: rgba(244,242,236,0.04);
  border: 1px solid rgba(244,242,236,0.10);
  border-top: 2px solid var(--red-500);
  border-radius: 12px;
  display: flex; flex-direction: column; gap: 28px;
}
.tq blockquote {
  margin: 0; font-size: 17px; line-height: 1.55; font-weight: 500;
  color: #f4f2ec; text-wrap: pretty;
}
.tq figcaption { margin-top: auto; padding-top: 20px; border-top: 1px solid rgba(244,242,236,0.10); }
.tq strong { display: block; font-size: 14px; color: #f4f2ec; }
.tq span { font-size: 12px; color: rgba(232,230,225,0.55); letter-spacing: 0.04em; }

/* ---------- Contacto ---------- */
.cta2 { padding-block: 140px; background: var(--green-700); color: #fff; position: relative; overflow: hidden; }
.cta2::before {
  content: ""; position: absolute; top: -30%; right: -10%;
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.07), transparent 65%);
  pointer-events: none;
}
.cta2__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; position: relative; }
.cta2 .eyebrow2 { color: rgba(255,255,255,0.65); }
.cta2 .h-giant { font-size: clamp(48px, 6.5vw, 110px); margin-bottom: 48px; }
.cta2__ch li {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 20px 0; border-top: 1px solid rgba(255,255,255,0.16);
}
.cta2__ch li:last-child { border-bottom: 1px solid rgba(255,255,255,0.16); }
.cta2__ch i {
  width: 44px; height: 44px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.08); border-radius: 10px; font-size: 17px;
}
.cta2__ch .fa-whatsapp { color: #25D366; }
.cta2__ch .mono-cap { display: block; color: rgba(255,255,255,0.55); margin-bottom: 4px; }
.cta2__ch a { font-size: 16px; font-weight: 500; line-height: 1.45; }
.cta2__ch a:hover { text-decoration: underline; text-underline-offset: 3px; }

.cta2__form {
  background: #f7f5f0; color: #1d1f1c;
  border-radius: 16px; padding: 44px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
}
.cta2__form h3 {
  font-family: var(--font-display); font-weight: 600; font-size: 26px;
  text-transform: uppercase; margin: 0 0 28px; color: #14171a;
}
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fld { display: block; margin-bottom: 16px; }
.fld > span {
  display: block; font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: #55584f; margin-bottom: 6px;
}
.fld input, .fld textarea {
  width: 100%; font-family: var(--font-sans); font-size: 15px;
  color: #1d1f1c; background: #fff;
  border: 1px solid #d8d5cc; border-radius: 10px;
  padding: 13px 15px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.fld textarea { resize: vertical; min-height: 100px; }
.fld input:focus, .fld textarea:focus {
  outline: none; border-color: var(--green-500);
  box-shadow: 0 0 0 3px rgba(5,150,105,0.15);
}
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-block; padding: 9px 16px;
  border: 1px solid #d8d5cc; border-radius: 999px;
  font-size: 13px; font-weight: 500; background: #fff; color: #55584f;
  transition: all 0.15s ease;
}
.chip input:checked + span { background: var(--green-500); color: #fff; border-color: var(--green-500); }
.chip:hover span { border-color: var(--green-500); }
.fsubmit { width: 100%; margin-top: 8px; }
.fok[hidden] { display: none; }
.fok {
  margin-top: 20px; display: flex; gap: 12px; align-items: flex-start;
  background: #e7f7ec; border: 1px solid #b6e0c0; border-left: 4px solid #25D366;
  border-radius: 10px; padding: 16px;
}
.fok i { color: #1ea34d; font-size: 22px; margin-top: 2px; }
.fok strong { display: block; font-size: 14px; color: #14532d; }
.fok span { font-size: 13px; color: #2f7a4a; }

/* ---------- Footer ---------- */
.ft { background: #0a0c0b; color: rgba(232,230,225,0.7); padding-top: 90px; }
.ft__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 56px; padding-bottom: 70px; }
.ft__brand img { height: 34px; margin-bottom: 20px; }
.ft__brand p { font-size: 14px; line-height: 1.65; color: rgba(232,230,225,0.55); max-width: 340px; margin: 0 0 24px; }
.ft__soc { display: flex; gap: 10px; }
.ft__soc a {
  width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.10);
  border-radius: 10px; color: rgba(232,230,225,0.8); font-size: 15px;
  transition: all 0.15s ease;
}
.ft__soc a:hover { background: var(--green-700); color: #fff; }
.ft__col h4 {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.2em;
  color: rgba(232,230,225,0.45); margin: 0 0 20px; font-weight: 600;
}
.ft__col ul { display: flex; flex-direction: column; gap: 10px; }
.ft__col a { font-size: 14px; color: rgba(232,230,225,0.78); }
.ft__col a:hover { color: #25D366; }
.ft__contact li { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.5; }
.ft__contact i { color: var(--red-400); font-size: 13px; width: 18px; padding-top: 3px; flex-shrink: 0; }
.ft__bottom { border-top: 1px solid rgba(255,255,255,0.07); padding-block: 22px; }
.ft__brow { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.ft__brow p { margin: 0; font-size: 12px; color: rgba(232,230,225,0.4); }

/* ---------- WhatsApp FAB ---------- */
.fab-wa {
  position: fixed; right: 24px; bottom: 24px; z-index: 55;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; color: #06130a;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 28px;
  box-shadow: 0 8px 24px rgba(37,211,102,0.4), 0 4px 8px rgba(0,0,0,0.25);
  transition: transform 0.15s ease;
}
.fab-wa:hover { transform: scale(1.07); }
.fab-wa__pulse {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid #25D366;
  animation: pulse 2.4s ease-out infinite;
  pointer-events: none;
}
@keyframes pulse { 0% { transform: scale(1); opacity: 0.6; } 100% { transform: scale(1.5); opacity: 0; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16,1,0.3,1); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hd__nav, .hd__cta { display: none; }
  .hd__burger { display: inline-flex; align-items: center; justify-content: center; }
  .stats__grid, .about2__grid, .proc__grid, .cta2__grid { grid-template-columns: 1fr; gap: 56px; }
  .proc__stick { position: static; }
  .test2__grid { grid-template-columns: 1fr; max-width: 680px; }
  .prow { grid-template-columns: 60px 1fr; }
  .prow__ph { grid-column: 2; }
  .prow__body { grid-column: 2; }
}
@media (max-width: 640px) {
  .wrap { padding-inline: 20px; }
  .hero__inner { padding-block: 120px 36px; }
  .stats__nums { grid-template-columns: 1fr; }
  .num { border-left: none; border-top: 1px solid rgba(255,255,255,0.2); padding: 24px 4px; }
  .prow { grid-template-columns: 1fr; gap: 20px; }
  .prow__idx, .prow__ph, .prow__body { grid-column: 1; }
  .frow { grid-template-columns: 1fr; }
  .cta2__form { padding: 28px 22px; }
  .ft__grid { grid-template-columns: 1fr; gap: 40px; }
}
