/* K650 brochure request page (/folleto/<key>). Loads AFTER /lp/lp.css (k644 builder version) and /lp/wordmark.css; every colour, radius, size and
   duration below is a kit token or a kit value (KIT/LANDING.md §1 + rulings 18-11 / 19-11). No new token, no new shadow.

   Block 1 = the kit form component form.hm-f (home/static/lp/home.css l.13-22, 76-82, 175-182, 899), repeated for the landings
   exactly as tracks/tracks.css l.87-100 already does, because the landings do not load home.css. Tech: if a third copy bothers
   you, lift this block into shared/form.css and link it from both builds; do not fork it. */

/* 1 · kit form component (home/Empresas + Tracks), landings side */
.hm-f{display:grid;gap:8px}
.hm-l{font-weight:600;font-size:15px;line-height:1.4}
.hm-i{font:inherit;font-size:16px;padding:12px 16px;border:1px solid var(--color-line);border-radius:var(--r-l);background:#fff;color:var(--color-ink);min-height:48px;width:100%}
input.hm-i{border-radius:var(--r-pill);height:56px}                  /* 19-11: inputs 56, paired with the 56 submit (.btn-l) */
.hm-i::placeholder{color:var(--color-muted);opacity:1}                 /* Empresas v2 (home.css l.730) */
.hm-i:focus-visible{outline:2px solid var(--color-blue);outline-offset:1px}
.hm-ck{display:flex;gap:10px;align-items:center;min-height:44px;font-size:14px;line-height:1.4;color:var(--color-muted)}
.hm-ck input{appearance:none;-webkit-appearance:none;margin:0;width:20px;height:20px;flex-shrink:0;display:grid;place-items:center;border:2px solid var(--color-muted);border-radius:var(--r-xs);background:#fff;cursor:pointer}
.hm-ck input:checked{background:var(--color-blue);border-color:var(--color-blue)}
.hm-ck input:checked::after{content:"";width:6px;height:11px;border:solid #fff;border-width:0 2px 2px 0;transform:translateY(-1px) rotate(45deg)}
.hm-ck input:focus-visible{outline:2px solid var(--color-blue);outline-offset:2px}
.hm-ck a{color:inherit;text-underline-offset:3px}
.hm-m{min-height:1.5em;font-size:15px}
.zwl-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}  /* = lp.css l.327, listed for completeness */

/* h1: the kit pair (34/40 · 48/52 · 60/64) comes from lp.css as built by the k644 landings builder; no page override */

/* 2 · page: compact landing hero (section.hero.dark > .wrap.hero-w) holding the text column and the form card */
.fo{padding:32px 0 48px}
@media (min-width:1024px){.fo{padding:72px 0 88px}.fo .hero-w{align-items:start}}
.fo h1{max-width:11em}
.fo .hero-s{margin-top:16px}

/* brochure thumbnail: first page, A4 (210:297). 390: 88 wide beside the line; ≥1024: 200 wide under it */
.fo-x{display:grid;grid-template-columns:minmax(0,1fr) 88px;gap:16px;align-items:start;margin-top:16px}
.fo-x .hero-s{margin-top:0}
.fo-th{margin:0;width:88px;aspect-ratio:210/297;border-radius:var(--r-s);overflow:hidden;background:var(--color-ground-2);border:1px solid var(--color-line-dark);box-shadow:0 12px 32px rgba(0,0,0,.28)}  /* shadow = offer card (kit) */
.fo-th img{width:100%;height:100%;object-fit:cover}
@media (min-width:1024px){.fo-x{grid-template-columns:minmax(0,1fr);gap:32px;margin-top:20px}.fo-th{width:200px}}

/* form card = the Empresas card (home.css l.720-721): white, 1 px line, r-l, padding 32 / 20 */
.fo-c{background:#fff;color:var(--color-ink);border:1px solid var(--color-line);border-radius:var(--r-l);padding:20px;box-shadow:0 12px 32px rgba(0,0,0,.28);color-scheme:light}
@media (min-width:768px){.fo-c{padding:32px}}
.fo-c :focus-visible{outline-color:var(--color-blue)}
.fo-c .hm-f{gap:16px}
.fo-f{display:grid;gap:8px;align-content:start}                               /* one label + input (+ hint) */
.fo-2{display:grid;gap:16px}
@media (min-width:600px){.fo-2{grid-template-columns:1fr 1fr}}
.fo-h{font-size:14px;line-height:1.4;color:var(--color-muted)}              /* field hint (teléfono) */
.fo-h span{display:block}
.fo-c .ts:not(:empty){margin-top:8px}                                        /* Turnstile: interaction-only, takes space only when Cloudflare asks */
.fo-c .btn{width:100%;margin-top:8px}
.fo-c .btn:disabled{opacity:.6;cursor:progress}
.fo-c .hm-i[aria-invalid="true"]{border-color:var(--color-ink);box-shadow:inset 0 0 0 1px var(--color-ink)}  /* no error colour in the kit: weight, not red */
.fo-c .hm-m:not(:empty){color:var(--color-ink);font-weight:600}

/* states: data-state on .fo-c = idle | sending | error | ok */
.fo-c[data-state="sending"] .hm-f{cursor:progress}
.fo-ok{display:grid;gap:16px;justify-items:start}
.fo-ok h2{font-size:30px;line-height:1.12;letter-spacing:-.03em}             /* kit h2 phone value at every width: card, not section */
.fo-ok p{color:var(--color-muted)}
.fo-ok .btn{margin-top:0}
.fo-c[data-state="ok"] .hm-f{display:none}
.fo-c:not([data-state="ok"]) .fo-ok{display:none}
@media (prefers-reduced-motion:no-preference){.fo-c[data-state="ok"] .fo-ok{animation:fo-in var(--dur-slow) var(--ease-out)}}
@keyframes fo-in{from{opacity:0;transform:translateY(8px)}}

/* minimal nav: wordmark + programme lockup (links back to the landing) + «Solicita tu plaza»; no in-page anchors, no menu */
.fo-nav .nav-c{margin-left:auto}

/* K650 fixes (designer 19-11) */
.hm-i:focus-visible{outline-offset:2px}                                   /* F5: kit offset */
.fo-c .ts{display:flex;justify-content:center;max-width:100%}             /* F6: Turnstile centred when challenged */
@media (max-width:359px){.fo-c{padding-inline:12px}}                      /* F6: card side padding --s-3 below 360 */
.fo-ok strong{color:var(--color-ink);overflow-wrap:anywhere}              /* long addresses wrap inside the card */
