/* ==========================================================================
   Reclut · contacto.html (Contacto y demo) · estilos propios, prefijo .ct-
   Usa tokens de assets/styles.css; no redefine clases globales.
   ========================================================================== */

.ct-sec { padding: var(--sec) 0; scroll-margin-top: var(--nav-h); }
.ct-sec.is-alt { background: var(--bg-soft); border-block: 1px solid var(--line-soft); }
main.ct-main [id] { scroll-margin-top: calc(var(--nav-h) + 12px); }

/* Placeholder visible para datos no decididos */
.ct-ph { display: inline-flex; align-items: center; gap: 6px; padding: 2px 8px; border-radius: 6px; border: 1px dashed rgb(255 106 61 / .55); background: #FFF5F1; color: #A8451F; font-size: .82em; font-weight: 700; letter-spacing: .01em; white-space: nowrap; }
.ct-ex { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; background: var(--gris-100); color: var(--gris-600); font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }

/* ------------------------------------------------------------------ Hero */
.ct-hero { padding-bottom: clamp(56px, 7vw, 96px); }
.ct-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: clamp(32px, 5vw, 72px); align-items: start; }
.ct-copy { display: grid; gap: 22px; max-width: 600px; }
.ct-hero .h-display { font-size: clamp(38px, 5.2vw, 64px); }
.ct-block { display: grid; gap: 14px; margin-top: 8px; }
.ct-block-t { font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--fg-3); }
.ct-hero .feat-list li { font-size: 16px; }
.ct-who { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ct-who-c { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px 18px 16px; display: grid; gap: 8px; align-content: start; box-shadow: var(--sh-sm); }
.ct-who-c .ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--azul-50); color: var(--azul-600); }
.ct-who-c.is-ag .ic { background: #EFEBFF; color: #5B3FD6; }
.ct-who-c .ic .icon { width: 20px; height: 20px; stroke-width: 1.6; }
.ct-who-c h3 { font-size: 16.5px; font-weight: 600; letter-spacing: -.01em; line-height: 1.25; }
.ct-who-c p { font-size: 14px; color: var(--fg-2); line-height: 1.5; }
.ct-jump { display: none; justify-self: start; }
.ct-alt { font-size: 14.5px; color: var(--fg-3); }
.ct-alt a { color: var(--azul-600); font-weight: 600; }
.ct-alt a:hover { text-decoration: underline; }

/* -------------------------------------------------------------- Formulario */
.ct-form-wrap { position: relative; }
.ct-form-shell { position: relative; isolation: isolate; }
.ct-form-shell::before { content: ""; position: absolute; inset: 28px -14px -14px 28px; border-radius: var(--r-2xl); background: linear-gradient(135deg, var(--azul-100), #E7E0FF); clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%); z-index: -1; }
.ct-form { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--sh-lg); padding: clamp(22px, 3vw, 32px); display: grid; gap: 18px; }
.ct-form-hd { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.ct-form-hd h2 { font-family: var(--f-display); font-size: 22px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.ct-form-hd p { font-size: 14px; color: var(--fg-3); margin-top: 4px; }
.ct-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ct-form .field { gap: 7px; }
.ct-form .field > label { font-size: 13.5px; justify-content: flex-start; gap: 2px; }
.ct-form .field > label .ct-opt { margin-left: auto; }
.ct-req { color: var(--azul-600); margin-left: 2px; }
.ct-opt { font-weight: 500; color: var(--fg-3); font-size: 12.5px; }
.ct-in { width: 100%; min-height: 46px; padding: 0 14px; border-radius: var(--r-md); border: 1px solid var(--gris-300); background: #fff; font-size: 15.5px; color: var(--fg); transition: border-color var(--t-fast), box-shadow var(--t-base); }
.ct-in::placeholder { color: var(--gris-400); }
.ct-in:hover { border-color: var(--gris-400); }
.ct-in:focus { outline: none; border-color: var(--azul-500); box-shadow: 0 0 0 3px rgb(51 104 234 / .18); }
.ct-form.was-validated .ct-in:invalid { border-color: var(--error); box-shadow: 0 0 0 3px rgb(229 72 77 / .14); }
textarea.ct-in { min-height: 92px; padding: 12px 14px; resize: vertical; font: inherit; font-size: 15.5px; line-height: 1.5; }
.ct-tel { display: flex; align-items: stretch; }
.ct-tel span { display: inline-flex; align-items: center; padding: 0 12px; border: 1px solid var(--gris-300); border-right: 0; border-radius: var(--r-md) 0 0 var(--r-md); background: var(--gris-50); color: var(--fg-2); font-size: 14.5px; font-weight: 600; }
.ct-tel .ct-in { border-radius: 0 var(--r-md) var(--r-md) 0; min-width: 0; }
.ct-select { position: relative; }
.ct-select select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer; }
.ct-select .icon { position: absolute; right: 14px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); color: var(--gris-500); pointer-events: none; }

/* Interruptor "¿Eres agencia?" */
.ct-switch { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--gris-25); cursor: pointer; }
.ct-switch b { display: block; font-size: 14.5px; font-weight: 600; }
.ct-switch small { display: block; font-size: 13px; color: var(--fg-2); line-height: 1.4; }
.ct-switch input { appearance: none; -webkit-appearance: none; flex: none; position: relative; width: 46px; height: 26px; margin: 0; border-radius: 999px; background: var(--gris-300); cursor: pointer; transition: background var(--t-base); }
.ct-switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgb(15 33 85 / .3); transition: transform var(--t-base) var(--ease); }
.ct-switch input:checked { background: var(--azul-500); }
.ct-switch input:checked::after { transform: translateX(20px); }
.ct-switch input:focus-visible { box-shadow: var(--focus); }
.ct-switch:has(input:checked) { border-color: var(--azul-200); background: var(--azul-50); }
.ct-agency-note { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: var(--r-md); background: #F3EEFF; color: #4B33B5; font-size: 13.5px; line-height: 1.45; }
.ct-agency-note[hidden] { display: none; }
.ct-agency-note .icon { flex: none; width: 16px; height: 16px; margin-top: 2px; }

.ct-form .btn-lg { width: 100%; }
.ct-concept { display: flex; gap: 8px; align-items: flex-start; padding: 10px 12px; border-radius: var(--r-md); border: 1px dashed var(--alerta); background: #FFF9EC; color: var(--alerta-texto); font-size: 13px; font-weight: 600; line-height: 1.45; }
.ct-concept .icon { flex: none; width: 15px; height: 15px; margin-top: 2px; }
.ct-privacy { font-size: 12.5px; color: var(--fg-3); line-height: 1.5; }
.ct-privacy a { color: var(--azul-600); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.ct-status { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r-md); background: #E6F6EE; color: var(--fg-2); font-size: 14px; line-height: 1.45; }
.ct-status[hidden] { display: none; }
.ct-status .icon { flex: none; width: 18px; height: 18px; margin-top: 1px; stroke-width: 2.2; color: #0F6B3D; }
.ct-status b { color: #0F6B3D; }

/* Qué pasa después */
.ct-next { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; counter-reset: ct; }
.ct-next li { position: relative; padding: 12px 12px 12px 42px; border-radius: var(--r-md); background: rgb(255 255 255 / .75); border: 1px solid var(--line); font-size: 13px; line-height: 1.4; color: var(--fg-2); counter-increment: ct; }
.ct-next li::before { content: counter(ct); position: absolute; left: 12px; top: 12px; width: 20px; height: 20px; border-radius: 6px 0 6px 6px; background: var(--marino); color: #fff; font-size: 11.5px; font-weight: 700; display: grid; place-items: center; }
.ct-next b { display: block; color: var(--fg); font-weight: 600; }

/* ---------------------------------------------------------------- Canales */
.ct-ch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ct-ch-grid .bcard { gap: 8px; }
.ct-ch-grid .bcard .ic.is-exito { background: #E6F6EE; color: var(--exito-texto); }
.ct-ch-grid .bcard .ic.is-coral { background: #FFEFE9; color: var(--coral-texto); }
.ct-val { font-family: var(--f-display); font-size: 20px; font-weight: 700; letter-spacing: -.02em; color: var(--fg); display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 2px 0 2px; }
.ct-ch-grid .bcard .btn { justify-self: start; margin-top: 8px; }
.btn.is-disabled { opacity: .55; pointer-events: none; }

.ct-support { margin-top: 16px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(24px, 4vw, 44px); border-radius: var(--r-2xl); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-sm); }
.ct-support-copy { display: grid; gap: 14px; justify-items: start; }
.ct-support-copy .btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }

/* Maqueta: ayuda dentro de la app (ilustrativa) */
.ct-app { position: relative; display: grid; grid-template-columns: 150px 1fr; min-height: 280px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--gris-50); font-size: 12px; color: var(--gris-700); box-shadow: var(--sh-md); }
.ct-app-side { background: var(--marino); color: var(--gris-300); padding: 14px 10px; display: grid; gap: 4px; align-content: start; }
.ct-app-side .br { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; font-size: 13px; padding: 0 6px 10px; }
.ct-app-side .br i { width: 20px; height: 20px; background: var(--azul-500); display: grid; place-items: center; }
.ct-app-side .br i svg { width: 18px; height: 18px; }
.ct-app-side .ni { display: flex; align-items: center; gap: 8px; height: 28px; padding: 0 8px; border-radius: 7px; }
.ct-app-side .ni .icon { width: 14px; height: 14px; }
.ct-app-side .ni.on { background: rgb(255 255 255 / .1); color: #fff; }
.ct-app-main { position: relative; padding: 16px; display: grid; gap: 8px; align-content: start; }
.ct-app-main .ln { height: 9px; border-radius: 5px; background: var(--gris-200); }
.ct-app-main .ln.w1 { width: 46%; height: 12px; background: var(--gris-300); margin-bottom: 6px; } .ct-app-main .ln.w2 { width: 88%; } .ct-app-main .ln.w3 { width: 70%; } .ct-app-main .ln.w4 { width: 80%; }
.ct-help { position: absolute; right: 14px; bottom: 14px; width: min(250px, calc(100% - 28px)); background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--sh-lg); overflow: hidden; }
.ct-help .hd { display: flex; align-items: center; gap: 8px; padding: 10px 12px; background: var(--azul-500); color: #fff; font-weight: 700; font-size: 12.5px; }
.ct-help .hd .icon { width: 15px; height: 15px; }
.ct-help .bd { padding: 12px; display: grid; gap: 8px; }
.ct-help .bubble { background: var(--azul-50); color: var(--azul-800); padding: 8px 10px; border-radius: 10px 10px 10px 2px; line-height: 1.4; }
.ct-help .inp { display: flex; align-items: center; justify-content: space-between; height: 32px; padding: 0 6px 0 10px; border-radius: 8px; border: 1px solid var(--line); color: var(--gris-400); }
.ct-help .inp i { width: 22px; height: 22px; border-radius: 6px; background: var(--azul-500); color: #fff; display: grid; place-items: center; }
.ct-help .inp i .icon { width: 12px; height: 12px; stroke-width: 2.4; }
.ct-app .ct-ex { position: absolute; right: 12px; top: 12px; }

/* --------------------------------------------------------- ¿Buscas empleo? */
.ct-jobs .case-band { padding: clamp(28px, 5vw, 60px); }
.ct-jobs .case-copy .btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.ct-jobs .ct-warn { display: flex; gap: 10px; align-items: flex-start; color: var(--gris-300); font-size: 14.5px; line-height: 1.5; border-left: 2px solid var(--coral); padding-left: 14px; }
.ct-jobs .ct-warn b { color: #fff; }
.ct-portal { background: #fff; color: var(--gris-700); border-radius: 16px; box-shadow: var(--sh-lg); overflow: hidden; font-size: 13px; }
.ct-portal .top { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--line-soft); }
.ct-portal .url { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; background: var(--gris-100); font-size: 12px; font-weight: 600; color: var(--gris-600); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ct-portal .url .icon { width: 12px; height: 12px; color: var(--exito); flex: none; }
.ct-portal .bd { padding: 16px; display: grid; gap: 10px; }
.ct-portal .q { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.ct-portal .q div { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--gris-300); color: var(--fg); font-weight: 600; min-width: 0; white-space: nowrap; overflow: hidden; }
.ct-portal .q div .icon { width: 15px; height: 15px; color: var(--gris-500); flex: none; }
.ct-portal .q b { display: inline-flex; align-items: center; height: 38px; padding: 0 14px; border-radius: 10px; background: var(--azul-500); color: #fff; font-size: 12.5px; }
.ct-job { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; display: grid; gap: 6px; }
.ct-job .ct-job-t { margin: 0; line-height: 1.3; font-size: 14.5px; font-weight: 700; color: var(--fg); letter-spacing: -.01em; }
.ct-job .meta { display: flex; flex-wrap: wrap; gap: 6px 12px; color: var(--fg-3); font-size: 12px; }
.ct-job .meta span { display: inline-flex; align-items: center; gap: 4px; }
.ct-job .meta .icon { width: 12px; height: 12px; }
.ct-job .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ct-job .pill { height: 22px; font-size: 11.5px; }
.ct-job .ft { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 2px; }
.ct-job .sal { font-weight: 700; color: var(--fg); font-size: 14px; white-space: nowrap; }
.ct-job .ap { height: 30px; padding: 0 12px; border-radius: 8px; background: var(--marino); color: #fff; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; }
.ct-job.is-ghost { opacity: .5; }
.ct-portal-note { margin-top: 10px; color: var(--gris-400); font-size: 12.5px; text-align: right; }

/* ---------------------------------------------------------------- Ubicación */
.ct-loc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.ct-loc-copy { display: grid; gap: 16px; justify-items: start; }
.ct-loc .canvas { min-height: 300px; display: grid; place-items: center; }
.ct-mx { position: relative; width: 100%; max-width: 420px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-md); padding: 22px; display: grid; gap: 14px; }
.ct-mx-hd { display: flex; align-items: center; gap: 12px; }
.ct-mx-hd i { width: 44px; height: 44px; display: grid; place-items: center; background: var(--marino); color: #fff; clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%); border-radius: 10px; }
.ct-mx-hd i .icon { width: 22px; height: 22px; }
.ct-mx-hd b { display: block; font-family: var(--f-display); font-size: 19px; font-weight: 700; letter-spacing: -.02em; }
.ct-mx-hd small { display: block; color: var(--fg-3); font-size: 13px; }
.ct-mx dl { margin: 0; display: grid; border-top: 1px solid var(--line-soft); }
.ct-mx dl div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line-soft); font-size: 14px; align-items: baseline; }
.ct-mx dt { color: var(--fg-3); font-weight: 500; }
.ct-mx dd { margin: 0; color: var(--fg); font-weight: 600; min-width: 0; }
.ct-mx .ct-ph { white-space: normal; }
.ct-mx .tag45 { justify-self: start; }

/* ---------------------------------------------------------------- CTA final */
.ct-note { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; color: var(--gris-400); font-size: 14px; }
.ct-note li { display: inline-flex; align-items: center; gap: 6px; }
.ct-note .icon { width: 15px; height: 15px; color: var(--exito); stroke-width: 2.2; }

/* --------------------------------------------------------------- Responsive */
@media (max-width: 1000px) {
  .ct-hero-grid { grid-template-columns: 1fr; }
  .ct-copy { max-width: 680px; }
  .ct-form-wrap { max-width: 640px; }
  .ct-jump { display: inline-flex; }
}
@media (max-width: 900px) {
  .ct-ch-grid { grid-template-columns: 1fr 1fr; }
  .ct-ch-grid .bcard:nth-child(3) { grid-column: 1 / -1; }
  .ct-support, .ct-loc { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .ct-who, .ct-row, .ct-next { grid-template-columns: 1fr; }
  .ct-ch-grid { grid-template-columns: 1fr; }
  .ct-ch-grid .bcard:nth-child(3) { grid-column: auto; }
  .ct-form-shell::before { inset: 14px -6px -6px 14px; }
  .ct-app { grid-template-columns: 1fr; min-height: 300px; }
  .ct-app-side { display: none; }
  .ct-mx dl div { grid-template-columns: 1fr; gap: 2px; }
  .ct-portal .q { grid-template-columns: 1fr; }
  .ct-portal .q b { justify-content: center; }
  .ct-job .sal { font-size: 13px; }
  .ct-job .ft { flex-wrap: wrap; }
}
@media (max-width: 400px) {
  .ct-form { padding: 18px 16px; }
}

/* Utilidades de la página */
.ct-alt-link, .ct-inline { color: var(--azul-600); font-weight: 600; }
.ct-alt-link:hover, .ct-inline:hover { text-decoration: underline; }
.ct-loc-sec { padding-top: 0; }
.ct-cta { padding-top: var(--sec); }
.ct-faq-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.ct-jobs .ct-warn .icon { width: 18px; height: 18px; flex: none; color: var(--coral); margin-top: 2px; stroke-width: 2.2; }
