/* brand_id: lmrecruitment.com
   English landing /hire-remote-employees-in-mexico/. Loads on top of landing.css (same tokens:
   ink #2D2C2C, gold #E0AA30, white). Only the two blocks the home landing doesn't have:
   the telework rules grid and the cases + quote block. */

/* ---------- telework rules ---------- */

.hm-law { padding-block: var(--sec); background: var(--ink); color: var(--paper); }
.hm-law .lp-callout { color: var(--gold); }
.hm-law__head { max-width: 760px; }
.hm-law__head h2 { margin-top: 16px; }
.hm-law .lp-lead { color: var(--muted-ink); margin-top: 20px; }
.hm-law__grid { list-style: none; margin: clamp(40px, 5vw, 64px) 0 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); counter-reset: none; }
.hm-law__item { position: relative; display: grid; align-content: start; gap: 10px; padding: 28px 24px 24px; border: 1px solid var(--line-ink); border-radius: 16px; background: var(--ink-soft); }
.hm-law__num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--gold); color: var(--ink); font-weight: 700; font-variant-numeric: lining-nums tabular-nums; }
.hm-law__item h3 { color: var(--paper); margin-top: 6px; }
.hm-law__item p { color: var(--muted-ink); font-size: 1rem; }
.hm-law__ref { justify-self: start; margin-top: 4px; color: var(--gold); font-size: .875rem; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.hm-law__ref:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.hm-law__fine { margin-top: 28px; color: var(--muted-ink); font-size: .875rem; max-width: 70ch; }

/* ---------- cases + quote ---------- */

.hm-cases { padding-block: var(--sec); background: var(--mist); }
.hm-cases h2 { max-width: 18ch; }
.hm-cases__grid { margin-top: clamp(36px, 5vw, 56px); display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.hm-case { display: grid; align-content: start; gap: 14px; padding: clamp(24px, 3vw, 40px); border-radius: 18px; background: var(--paper); border: 1px solid var(--line); border-top: 6px solid var(--gold); }
.hm-case__kicker { color: var(--muted); font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.hm-case h3 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.125rem); line-height: 1.1; letter-spacing: -.02em; }
.hm-case p:last-child { color: var(--ink-soft); }

.hm-quote { position: relative; margin: clamp(40px, 6vw, 72px) 0 0; padding: clamp(28px, 4vw, 48px) clamp(24px, 4vw, 56px) clamp(28px, 4vw, 48px) clamp(84px, 10vw, 150px); border-radius: 18px; background: var(--ink); color: var(--paper); overflow: hidden; }
.hm-quote__brackets { position: absolute; left: clamp(16px, 2.5vw, 36px); top: 50%; width: clamp(52px, 7vw, 96px); height: auto; color: var(--gold); transform: translateY(-50%); }
.hm-quote blockquote { margin: 0; }
.hm-quote blockquote p { font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); line-height: 1.35; font-weight: 600; letter-spacing: -.01em; max-width: 46ch; }
.hm-quote figcaption { margin-top: 18px; font-size: .9375rem; color: var(--muted-ink); }
.hm-quote figcaption strong { color: var(--paper); }

@media (max-width: 560px) {
  .hm-quote { padding-left: 24px; padding-top: 88px; }
  .hm-quote__brackets { top: 24px; transform: none; width: 52px; }
}
.hm-law__more { margin-top: clamp(24px, 3vw, 36px); }
