/* ═══════════════════════════════════════════════════════════
   éxodo bpo — CONTACTO CINEMÁTICA
   Identidad: monocromo tinta/hueso (como el home)
   Carga DESPUÉS de home-cine.css
   ═══════════════════════════════════════════════════════════ */

#nav { mix-blend-mode: difference; color: #fff; }

/* ═ HERO centrado ═ */
.cth {
  min-height: 92vh; min-height: 92svh; position: relative;
  display: flex; align-items: center; justify-content: center; text-align: center;
  overflow: hidden; background: var(--ink);
  padding: 120px 32px 80px;
}
#heroCanvas { position: absolute; inset: 0; z-index: 0; }
.cth-vig {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse 140% 110% at 50% 50%, transparent 35%, rgba(10, 10, 11, 0.85) 100%);
}
.cth-ct { position: relative; z-index: 3; max-width: 900px; }
.cth-badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--mut); margin-bottom: clamp(20px, 3vh, 36px);
  opacity: 0; transform: translateY(14px);
}
.cth-badge i {
  width: 6px; height: 6px; background: var(--fg); border-radius: 50%;
  animation: pulse 2.2s ease-in-out infinite;
}
.cth-h {
  font-size: clamp(54px, 11vw, 170px);
  font-weight: 760; letter-spacing: -0.045em; line-height: 0.95;
  margin-bottom: clamp(24px, 3.6vh, 40px);
}
.cth-h .hl { display: block; overflow: hidden; padding-bottom: 0.07em; margin-bottom: -0.06em; }
.cth-h .hl-in { display: block; transform: translateY(112%); will-change: transform; }
.cth-h em { font-size: 1.04em; }
.cth-p {
  font-size: clamp(14px, 1.2vw, 17px); font-weight: 300; line-height: 1.85;
  color: var(--mut); max-width: 440px; margin: 0 auto;
  opacity: 0; transform: translateY(16px);
}
.cth-scroll {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%); z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 10px; opacity: 0;
}
.cth-scroll .mono { font-size: 8px; color: var(--mut-d); letter-spacing: 0.3em; }

/* ═ FORM + INFO (hueso) ═ */
.cmain { background: var(--bone); color: var(--ink); padding: clamp(90px, 13vh, 170px) var(--pad); }
.cgrid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(48px, 7vw, 130px); align-items: start; }

/* — formulario conversacional premium — */
.fwrap { position: relative; min-height: 500px; }
.fbar { display: flex; align-items: center; gap: 18px; margin-bottom: clamp(40px, 6vh, 72px); }
.fbar-idx {
  font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.2em;
  color: #a39f97; font-variant-numeric: tabular-nums; white-space: nowrap;
}
.fbar-line { flex: 1; height: 1px; background: rgba(10, 10, 11, 0.1); position: relative; }
.fbar-line i {
  position: absolute; inset: 0; background: var(--ink);
  transform: scaleX(0.25); transform-origin: left;
  transition: transform 0.8s var(--ease); display: block;
}
.fstep { position: absolute; left: 0; right: 0; top: 0; opacity: 0; pointer-events: none; will-change: transform, opacity, filter; }
.fstep.active { position: relative; opacity: 1; pointer-events: auto; }
.fk {
  font-family: 'JetBrains Mono', monospace; font-size: 9.5px; letter-spacing: 0.22em;
  text-transform: uppercase; color: #a39f97; margin-bottom: 20px;
  display: flex; align-items: center; gap: 12px;
}
.fk::before { content: ''; width: 30px; height: 1px; background: #c5c2ba; }
.fq {
  font-size: clamp(30px, 3.8vw, 58px); font-weight: 750; letter-spacing: -0.04em;
  line-height: 1.03; margin-bottom: 14px;
}
.fsub { font-size: 13.5px; font-weight: 300; color: #8d897f; margin-bottom: clamp(30px, 4.5vh, 52px); line-height: 1.7; }
.finput {
  width: 100%; background: none; border: none; border-radius: 0; outline: none;
  border-bottom: 1px solid rgba(10, 10, 11, 0.16);
  font-family: 'Outfit', sans-serif; color: var(--ink);
  font-size: clamp(24px, 2.8vw, 44px); font-weight: 250; letter-spacing: -0.02em;
  padding: 16px 2px;
  background-image: linear-gradient(var(--ink), var(--ink));
  background-repeat: no-repeat; background-position: 0 100%; background-size: 0% 2px;
  transition: background-size 0.7s var(--ease);
}
.finput::placeholder { color: #c5c2ba; font-weight: 200; }
.finput:focus { background-size: 100% 2px; }
.finput.err {
  background-image: linear-gradient(#c0392b, #c0392b); background-size: 100% 2px;
  border-bottom-color: transparent;
}
textarea.finput { resize: none; min-height: 100px; line-height: 1.55; font-size: clamp(17px, 1.7vw, 26px); font-weight: 300; }
.fopts { display: flex; flex-wrap: wrap; gap: 12px; }
.fopt {
  display: inline-flex; align-items: baseline; gap: 12px;
  background: none; border: 1px solid rgba(10, 10, 11, 0.22); border-radius: 100px;
  font-family: 'Outfit', sans-serif; font-size: clamp(14px, 1.4vw, 18px); font-weight: 600;
  color: #6e6b65; padding: 16px 30px; cursor: pointer;
  transition: all 0.35s var(--ease);
}
.fopt s {
  font-family: 'JetBrains Mono', monospace; font-size: 9px; letter-spacing: 0.15em;
  color: #a39f97; text-decoration: none; transition: color 0.3s;
}
.fopt:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-2px); }
.fopt.sel { background: var(--ink); border-color: var(--ink); color: var(--bone); transform: translateY(-2px); box-shadow: 0 14px 36px rgba(10, 10, 11, 0.18); }
.fopt.sel s { color: rgba(243, 241, 236, 0.5); }
.fnav { display: flex; justify-content: space-between; align-items: center; margin-top: clamp(36px, 5.5vh, 60px); }
.fnext {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--ink); color: var(--bone); border: none; border-radius: 100px;
  font-family: 'Outfit', sans-serif; font-size: 14px; font-weight: 600; letter-spacing: 0.02em;
  padding: 17px 42px; cursor: pointer;
  transition: box-shadow 0.4s var(--ease); will-change: transform;
}
.fnext:hover { box-shadow: 0 20px 56px rgba(10, 10, 11, 0.26); }
.fnext svg { transition: transform 0.3s; }
.fnext:hover svg { transform: translateX(4px); }
.fback {
  background: none; border: none; cursor: pointer;
  font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.08em;
  color: #a39f97; transition: color 0.3s;
}
.fback:hover { color: var(--ink); }
.fhint { font-family: 'JetBrains Mono', monospace; font-size: 9.5px; letter-spacing: 0.1em; color: #b9b5ac; margin-top: 16px; }
.fsuccess { display: none; padding: 8px 0; }
.fsuccess.show { display: block; }
.fs-icon {
  width: 68px; height: 68px; border-radius: 50%; background: var(--ink); color: var(--bone);
  display: flex; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 32px;
}
.fs-h { font-size: clamp(34px, 4.4vw, 66px); font-weight: 750; letter-spacing: -0.04em; line-height: 1.02; margin-bottom: 16px; }
.fs-p { font-size: 14.5px; font-weight: 300; color: #8d897f; line-height: 1.8; max-width: 400px; }
.fs-recap { margin-top: clamp(28px, 4vh, 44px); border-top: 1px solid rgba(10, 10, 11, 0.12); max-width: 440px; }
.fs-recap-row {
  display: flex; justify-content: space-between; gap: 20px; align-items: baseline;
  padding: 13px 0; border-bottom: 1px solid rgba(10, 10, 11, 0.08);
}
.fs-recap-row b { font-family: 'JetBrains Mono', monospace; font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; color: #a39f97; font-weight: 400; flex-shrink: 0; }
.fs-recap-row span { font-size: 13.5px; font-weight: 500; text-align: right; }

/* — contacto directo (rediseño) — */
.cinfo { border-left: 1px solid rgba(10, 10, 11, 0.12); padding-left: clamp(28px, 3.5vw, 56px); position: sticky; top: 18vh; }
.cinfo .sec-tag { margin-bottom: clamp(24px, 3.5vh, 36px); }
.ci-lead {
  font-size: clamp(17px, 1.7vw, 24px); font-weight: 300; letter-spacing: -0.015em;
  line-height: 1.65; color: #6e6b65; margin-bottom: clamp(32px, 5vh, 56px);
  text-wrap: pretty; opacity: 0; transform: translateY(18px);
}
.ci-lead strong { font-weight: 600; color: var(--ink); }
.ci-row {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: clamp(22px, 3.2vh, 32px) 0;
  border-top: 1px solid rgba(10, 10, 11, 0.12);
  position: relative; opacity: 0; transform: translateY(18px);
}
.ci-row:last-of-type { border-bottom: 1px solid rgba(10, 10, 11, 0.12); }
.ci-row::before {
  content: ''; position: absolute; top: -1px; left: 0; width: 100%; height: 1px;
  background: var(--ink); transform: scaleX(0); transform-origin: left;
  transition: transform 0.7s var(--ease);
}
.ci-row:hover::before { transform: scaleX(1); }
.ci-txt { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.ci-label {
  font-family: 'JetBrains Mono', monospace; font-size: 9px; letter-spacing: 0.22em;
  text-transform: uppercase; color: #a39f97;
}
.ci-value {
  font-size: clamp(19px, 2vw, 30px); font-weight: 700; letter-spacing: -0.025em;
  line-height: 1.2; transition: transform 0.5s var(--ease); word-break: break-all;
}
.ci-row:hover .ci-value { transform: translateX(8px); }
.ci-arrow {
  width: 52px; height: 52px; flex-shrink: 0; border: 1px solid rgba(10, 10, 11, 0.18);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  transition: background 0.45s var(--ease), color 0.45s, border-color 0.45s, transform 0.45s var(--ease);
}
.ci-row:hover .ci-arrow { background: var(--ink); color: var(--bone); border-color: var(--ink); transform: rotate(45deg); }
.ci-note {
  margin-top: clamp(24px, 3.5vh, 36px); font-size: 9.5px; letter-spacing: 0.14em;
  color: #a39f97; line-height: 1.9; opacity: 0; transform: translateY(18px);
}

/* ═ MAIL DIRECTO (tinta) ═ */
.direct {
  background: var(--ink); padding: clamp(110px, 16vh, 220px) var(--pad);
  text-align: center; overflow: hidden;
}
.direct-label { color: var(--mut-d); margin-bottom: clamp(28px, 4vh, 44px); }
.direct-mail {
  display: inline-block;
  font-size: clamp(30px, 6.4vw, 110px); font-weight: 760; letter-spacing: -0.045em;
  line-height: 1.05; color: transparent;
  -webkit-text-stroke: 1px rgba(242, 240, 235, 0.4);
  transition: color 0.55s var(--ease), -webkit-text-stroke-color 0.55s;
  word-break: break-all;
}
.direct-mail:hover { color: var(--fg); -webkit-text-stroke-color: transparent; }
.direct-tel { margin-top: clamp(24px, 3.5vh, 40px); }
.direct-tel a {
  font-family: 'JetBrains Mono', monospace; font-size: clamp(12px, 1.2vw, 15px);
  letter-spacing: 0.08em; color: var(--mut); transition: color 0.3s;
}
.direct-tel a:hover { color: var(--fg); }

/* ═ RESPONSIVE ═ */
@media (max-width: 1024px) {
  .cgrid { grid-template-columns: 1fr; }
  .cinfo { border-left: none; padding-left: 0; border-top: 1px solid rgba(10, 10, 11, 0.12); padding-top: 44px; position: static; }
}
@media (prefers-reduced-motion: reduce) {
  .cth-h .hl-in, .cth-badge, .cth-p, .cth-scroll, .ci-row, .ci-lead, .ci-note { opacity: 1 !important; transform: none !important; }
}
