/* ============================================================
   Jobwok — style.css
   Light theme «Brújula» · esmeralda + arena · esquinas redondeadas
   Headings: Bricolage Grotesque (subset) · Prefix: jw-
   ============================================================ */

@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 700;
  font-display: optional;
  src: url('../fonts/bricolage-grotesque-700-subset.woff2') format('woff2');
}

:root {
  --bg: #f4f8f5;
  --bg-2: #ffffff;
  --surface: #ffffff;
  --surface-2: #e8f3ec;
  --border: #d6e2db;
  --border-soft: #e6efe9;
  --grid: #d9e8e0;

  --emerald: #0b7a53;
  --emerald-deep: #095f41;
  --emerald-text: #0a6b49;
  --emerald-tint: #e4f2ea;
  --sand: #b26328;
  --sand-deep: #8f4f1f;

  --text: #152a20;
  --text-muted: #46564d;
  --text-dim: #5a6a60;

  --r-sm: 9px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(21, 42, 32, .05);
  --shadow-md: 0 12px 30px rgba(14, 60, 42, .12);

  --wrap: 1180px;
  --font-head: 'Bricolage Grotesque', "Segoe UI", Roboto, system-ui, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.22; margin: 0 0 .5em; letter-spacing: -.01em; color: var(--text); }
h1, h2 { text-wrap: balance; }
[id] { scroll-margin-top: 82px; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); line-height: 1.12; }
h2 { font-size: clamp(1.55rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1rem; }
a { color: var(--emerald-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
strong { color: var(--text); }
:focus-visible { outline: 2px solid var(--emerald); outline-offset: 2px; }

.jw-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.jw-vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.jw-skip { position: absolute; left: -999px; top: 0; z-index: 999; background: var(--emerald); color: #fff; padding: .6rem 1rem; border-radius: 0 0 var(--r-sm) 0; }
.jw-skip:focus { left: 0; }

.jw-ic { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.2em; }

/* contour / topographic rings */
.jw-contourbg {
  background-color: var(--bg);
  background-image: repeating-radial-gradient(circle at 88% 0%, var(--grid) 0 1px, transparent 1px 34px);
}

/* ---- Ad bar ---- */
.jw-adbar { background: #e3efe8; border-bottom: 1px solid var(--border); color: #38493f; font-size: .78rem; text-align: center; padding: .45rem 20px; }
.jw-adbar b { color: var(--sand-deep); font-family: var(--font-mono); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-right: .5rem; font-size: .72rem; }

/* ---- Header ---- */
.jw-header { position: sticky; top: 0; z-index: 200; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--border); }
.jw-nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 66px; }
.jw-logo { display: inline-flex; align-items: center; min-height: 44px; }
.jw-logo img { height: 30px; width: auto; }
.jw-menu { display: flex; align-items: center; gap: 1.6rem; }
.jw-menu a { color: var(--text-muted); font-size: .92rem; font-weight: 700; display: inline-flex; align-items: center; min-height: 44px; }
.jw-menu a:hover { color: var(--emerald-deep); text-decoration: none; }
.jw-burger { display: none; }

/* ---- Buttons ---- */
.jw-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-weight: 700; font-size: .95rem;
  padding: .8rem 1.5rem; border-radius: var(--r-pill); border: 1.5px solid transparent;
  cursor: pointer; min-height: 48px; line-height: 1; text-decoration: none;
  transition: background .15s, border-color .15s, color .15s, transform .15s, box-shadow .15s;
}
.jw-btn:hover { text-decoration: none; transform: translateY(-1px); }
.jw-btn--primary { background: var(--emerald); color: #fff; border-color: var(--emerald); box-shadow: 0 6px 16px rgba(11, 122, 83, .22); }
.jw-btn--primary:hover { background: var(--emerald-deep); border-color: var(--emerald-deep); box-shadow: 0 8px 22px rgba(11, 122, 83, .28); }
.jw-btn--ghost { background: #fff; color: var(--emerald-deep); border-color: var(--border); }
.jw-btn--ghost:hover { background: var(--surface-2); border-color: var(--emerald); }
.jw-btn--sm { padding: .55rem 1.1rem; font-size: .86rem; min-height: 44px; }
.jw-btn--block { width: 100%; }

/* ---- Eyebrow ---- */
.jw-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-mono); font-size: .74rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  color: var(--emerald-deep); padding: .35rem .8rem; border-radius: var(--r-pill); background: #fff; border: 1px solid var(--border);
}
.jw-eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--sand); }

.jw-section { padding: clamp(3.5rem, 8vw, 5.5rem) 0; position: relative; background: var(--bg-2); }
.jw-section--alt { background: var(--bg); }
.jw-head { max-width: 720px; margin: 0 auto 2.6rem; text-align: center; }
.jw-head h2 { margin-top: .9rem; }
.jw-head p { color: var(--text-muted); font-size: 1.05rem; margin-top: .4rem; }
.jw-accent { color: var(--emerald-deep); }

/* ---- Hero ---- */
.jw-hero { position: relative; padding: clamp(2.8rem, 7vw, 4.8rem) 0 clamp(2.8rem, 6vw, 4.2rem); border-bottom: 1px solid var(--border); }
.jw-hero__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(1.8rem, 4vw, 3.5rem); align-items: center; }
.jw-hero h1 { margin: 1.1rem 0 1rem; }
.jw-hero h1 .jw-accent { white-space: nowrap; }
.jw-hero__lead { font-size: 1.1rem; color: var(--text-muted); max-width: 560px; margin: 0 0 1.7rem; }
.jw-hero__cta { display: flex; gap: .8rem; flex-wrap: wrap; }
.jw-hero__note { display: flex; gap: 1.3rem; flex-wrap: wrap; margin-top: 1.5rem; color: var(--text-muted); font-size: .86rem; }
.jw-hero__note span { display: inline-flex; align-items: center; gap: .4rem; }
.jw-hero__note .jw-ic { color: var(--emerald); width: 1.1em; height: 1.1em; }

/* ---- Hero route card ---- */
.jw-routecard { position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-md); overflow: hidden; }
.jw-routecard__rings { position: absolute; top: 0; right: 0; opacity: .85; pointer-events: none; }
.jw-routecard__bar { display: flex; align-items: center; gap: .6rem; padding: .75rem 1.1rem; border-bottom: 1px solid var(--border-soft); background: var(--surface-2); color: var(--text-dim); font-size: .82rem; font-family: var(--font-mono); font-weight: 600; position: relative; }
.jw-routecard__tag { background: var(--emerald); color: #fff; font-weight: 700; font-size: .64rem; letter-spacing: .07em; text-transform: uppercase; padding: .24rem .55rem; border-radius: var(--r-pill); }
.jw-routecard__body { padding: 1.3rem 1.2rem 1.4rem; position: relative; display: flex; flex-direction: column; gap: .6rem; }
.jw-rnode { display: flex; align-items: center; gap: .75rem; border: 1px solid var(--border); border-radius: var(--r-md); padding: .72rem .9rem; font-size: .92rem; font-weight: 700; color: var(--text); background: #fff; }
.jw-rnode__n { flex: none; width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: .82rem; color: var(--emerald-deep); border: 1px solid var(--border); background: var(--surface-2); }
.jw-rnode--goal { background: var(--emerald-tint); border-color: #a9d9c2; color: var(--emerald-text); }
.jw-rnode--goal .jw-rnode__n { background: #fff; border-color: #a9d9c2; color: var(--emerald-text); }
.jw-routecard__bar2 { height: 7px; border-radius: 999px; background: var(--surface-2); overflow: hidden; margin-top: .3rem; }
.jw-routecard__bar2 i { display: block; height: 100%; width: 64%; background: var(--emerald); border-radius: 999px; }
.jw-routecard__foot { display: inline-flex; align-items: center; gap: .4rem; margin: .5rem 0 0; font-size: .82rem; color: var(--emerald-text); font-weight: 700; }
.jw-routecard__foot .jw-ic { width: 1.05em; height: 1.05em; }

/* ---- Stats ---- */
.jw-stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--border); background: #fff; border-radius: var(--r-md); margin-top: 2.6rem; overflow: hidden; box-shadow: var(--shadow-sm); }
.jw-stat { padding: 1.3rem 1.1rem; text-align: center; border-right: 1px solid var(--border-soft); }
.jw-stat:last-child { border-right: 0; }
.jw-stat__n { font-family: var(--font-head); font-weight: 700; font-size: 1.9rem; color: var(--emerald-deep); }
.jw-stat__l { color: var(--text-muted); font-size: .85rem; margin-top: .2rem; }

/* ---- Ticker ---- */
.jw-ticker { border-bottom: 1px solid var(--border); background: #fff; overflow: hidden; }
.jw-ticker__row { display: flex; gap: 2.4rem; padding: .85rem 0; white-space: nowrap; width: max-content; animation: jw-marquee 38s linear infinite; }
.jw-ticker__row span { color: var(--text-muted); font-weight: 700; font-size: .9rem; display: inline-flex; align-items: center; gap: .55rem; }
.jw-ticker__row span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--emerald); }
@keyframes jw-marquee { to { transform: translateX(-50%); } }

/* ---- Cards ---- */
.jw-grid { display: grid; gap: 1.1rem; }
.jw-grid--3 { grid-template-columns: repeat(3, 1fr); }
.jw-grid--2 { grid-template-columns: repeat(2, 1fr); }
.jw-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 1.6rem; box-shadow: var(--shadow-sm); transition: border-color .2s, transform .2s, box-shadow .2s; }
.jw-card:hover { border-color: var(--emerald); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.jw-card__ic { width: 46px; height: 46px; border-radius: var(--r-md); display: inline-flex; align-items: center; justify-content: center; background: var(--surface-2); border: 1px solid var(--border); color: var(--emerald-deep); margin-bottom: 1rem; }
.jw-card__ic .jw-ic { width: 23px; height: 23px; }
.jw-card h3 { margin-bottom: .4rem; }
.jw-card p { color: var(--text-muted); font-size: .94rem; margin: 0; }

/* ---- Courses ---- */
.jw-courses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.jw-course { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: border-color .2s, transform .2s, box-shadow .2s; }
.jw-course:hover { transform: translateY(-3px); border-color: var(--emerald); box-shadow: var(--shadow-md); }
.jw-course__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); }
.jw-course__media img { width: 100%; height: 100%; object-fit: cover; }
.jw-course__tag { position: absolute; top: .7rem; left: .7rem; z-index: 2; font-family: var(--font-mono); font-size: .68rem; font-weight: 700; letter-spacing: .03em; background: rgba(255, 255, 255, .95); color: var(--emerald-deep); padding: .28rem .6rem; border-radius: var(--r-pill); border: 1px solid var(--border); }
.jw-course__body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.jw-course__level { font-family: var(--font-mono); font-size: .76rem; color: var(--emerald-text); font-weight: 700; margin-bottom: .35rem; text-transform: uppercase; letter-spacing: .05em; }
.jw-course h3 { font-size: 1.12rem; margin-bottom: .45rem; }
.jw-course p { color: var(--text-muted); font-size: .9rem; flex: 1; margin: 0 0 1rem; }
.jw-course__meta { display: flex; gap: 1rem; font-size: .82rem; color: var(--text-dim); margin-bottom: 1rem; }
.jw-course__meta span { display: inline-flex; align-items: center; gap: .35rem; }
.jw-course__meta .jw-ic { width: 1em; height: 1em; color: var(--emerald); }

/* ---- Method ---- */
.jw-steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
.jw-step { display: flex; gap: 1.1rem; background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 1.4rem; box-shadow: var(--shadow-sm); }
.jw-step__n { flex: none; width: 46px; height: 46px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-weight: 700; font-size: 1.05rem; color: var(--emerald-deep); background: var(--surface-2); border: 1.5px solid var(--emerald); }
.jw-step h3 { margin-bottom: .3rem; }
.jw-step p { color: var(--text-muted); font-size: .92rem; margin: 0; }
.jw-step--cta { background: var(--surface-2); border: 1.5px dashed var(--emerald); color: inherit; text-decoration: none; transition: background .15s, border-color .15s; }
.jw-step--cta:hover { text-decoration: none; background: #d7ecdf; border-style: solid; }
.jw-step--cta .jw-step__n { background: var(--emerald); color: #fff; }
.jw-step__link { display: inline-flex; align-items: center; gap: .35rem; margin-top: .5rem; font-weight: 700; font-size: .9rem; color: var(--emerald-deep); }
.jw-step__link .jw-ic { width: 1em; height: 1em; }
.jw-subhead { font-size: 1.15rem; margin: 2.6rem 0 1rem; }

/* ---- Program ---- */
.jw-modules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.jw-mod { background: #fff; border: 1px solid var(--border); border-radius: var(--r-md); padding: 1.3rem 1.4rem; box-shadow: var(--shadow-sm); }
.jw-mod__n { font-family: var(--font-mono); font-weight: 700; color: var(--emerald-text); font-size: .85rem; letter-spacing: .05em; }
.jw-mod h3 { font-size: 1.02rem; margin: .35rem 0 .3rem; }
.jw-mod p { color: var(--text-muted); font-size: .88rem; margin: 0; }

/* ---- Bonus ---- */
.jw-bonus { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.jw-bonus__item { display: flex; gap: .9rem; align-items: flex-start; background: #fff; border: 1px solid var(--border); border-radius: var(--r-md); padding: 1.1rem 1.2rem; box-shadow: var(--shadow-sm); }
.jw-bonus__item .jw-check { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--emerald-tint); border: 1px solid #a9d9c2; color: var(--emerald-text); display: inline-flex; align-items: center; justify-content: center; }
.jw-bonus__item .jw-ic { width: 15px; height: 15px; }
.jw-bonus__item strong { display: block; margin-bottom: .15rem; font-weight: 700; font-size: .98rem; }
.jw-bonus__item span { color: var(--text-muted); font-size: .88rem; }

.jw-ulcheck li { display: flex; gap: .7rem; align-items: flex-start; margin-bottom: .7rem; color: var(--text-muted); }
.jw-ulcheck .jw-ic { flex: none; color: var(--emerald); margin-top: .3rem; width: 1.1em; height: 1.1em; }
.jw-ulcheck a { display: inline-flex; align-items: center; min-height: 44px; }
.jw-ulcheck li:has(a) { align-items: center; }
.jw-ulcheck li:has(a) .jw-ic { margin-top: 0; }

/* ---- FAQ ---- */
.jw-faq { max-width: 820px; margin: 0 auto; }
.jw-faq__item { border: 1px solid var(--border); border-radius: var(--r-md); background: #fff; margin-bottom: .7rem; overflow: hidden; box-shadow: var(--shadow-sm); }
.jw-faq__q { width: 100%; text-align: left; background: none; border: 0; color: var(--text); font-weight: 700; font-size: 1rem; padding: 1.1rem 1.25rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; cursor: pointer; min-height: 56px; font-family: inherit; }
.jw-faq__q .jw-ic { flex: none; color: var(--emerald); transition: transform .25s; }
.jw-faq__item.jw-open { border-color: var(--emerald); }
.jw-faq__item.jw-open .jw-faq__q .jw-ic { transform: rotate(45deg); }
.jw-faq__a { max-height: 0; overflow: hidden; visibility: hidden; transition: max-height .3s ease, visibility 0s linear .3s; }
.jw-faq__item.jw-open .jw-faq__a { visibility: visible; transition: max-height .3s ease, visibility 0s; }
.jw-faq__a a { text-decoration: underline; }
.jw-faq__a p { color: var(--text-muted); font-size: .94rem; padding: 0 1.25rem 1.15rem; margin: 0; }

/* ---- Forms ---- */
.jw-lead { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-md); padding: clamp(1.5rem, 4vw, 2.3rem); }
.jw-lead--split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.jw-lead--top { align-items: start; }
.jw-field { margin-bottom: 1rem; }
.jw-field label { display: block; font-size: .85rem; font-weight: 700; margin-bottom: .4rem; color: var(--text); }
.jw-field input, .jw-field textarea, .jw-field select { width: 100%; min-height: 48px; padding: .7rem .9rem; font-size: 1rem; font-family: var(--font-body); background: #fff; border: 1px solid var(--border); border-radius: var(--r-sm); color: var(--text); }
.jw-field textarea { min-height: 120px; resize: vertical; line-height: 1.7; }
.jw-field input::placeholder, .jw-field textarea::placeholder { color: #7a887f; }
.jw-field input:focus, .jw-field textarea:focus, .jw-field select:focus { border-color: var(--emerald); outline: none; box-shadow: 0 0 0 3px rgba(11, 122, 83, .16); }
.jw-field--error input, .jw-field--error textarea { border-color: #dc2626; }
.jw-field__err { color: #b91c1c; font-size: .8rem; margin-top: .35rem; display: none; }
.jw-field--error .jw-field__err { display: block; }
.jw-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.jw-consent { display: flex; gap: .7rem; align-items: flex-start; margin: .4rem 0 1.2rem; }
.jw-consent input[type="checkbox"] { flex: none; width: 20px; height: 20px; min-height: 0; padding: 0; margin: .25rem 0 0; accent-color: var(--emerald); cursor: pointer; }
.jw-consent label { font-size: .82rem; color: var(--text-muted); line-height: 1.7; font-weight: 400; margin: 0; }
.jw-consent a { color: var(--emerald-deep); text-decoration: underline; }
.jw-consent + .jw-consent { margin-top: -.6rem; }

.jw-formnote { font-size: .8rem; color: var(--text-dim); text-align: center; margin-top: .9rem; display: flex; gap: .4rem; align-items: center; justify-content: center; }
.jw-formnote .jw-ic { color: var(--emerald); width: 1em; height: 1em; }

.jw-formmsg { border-radius: var(--r-sm); padding: 1rem 1.1rem; font-size: .9rem; margin-bottom: 1rem; display: none; }
.jw-formmsg--ok { display: block; background: var(--emerald-tint); border: 1px solid #7fcfaa; color: #0b5f44; }
.jw-formmsg--err { display: block; background: #fef2f2; border: 1px solid #fca5a5; color: #991b1b; }
.jw-formmsg a { color: inherit; text-decoration: underline; }

/* ---- CTA ---- */
.jw-cta-band { text-align: center; border-radius: var(--r-lg); padding: clamp(2.3rem, 6vw, 3.4rem); border: 1px solid var(--border); }

/* ---- Footer ---- */
.jw-footer { background: #fff; border-top: 1px solid var(--border); padding: 3.2rem 0 2rem; font-size: .9rem; }
.jw-footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; margin-bottom: 2.4rem; }
.jw-footer__brand p { color: var(--text-muted); max-width: 320px; font-size: .88rem; margin-top: .9rem; }
.jw-footer h2 { font-family: var(--font-mono); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 1rem; }
.jw-footer ul li { margin-bottom: 0; }
.jw-footer ul a { color: var(--text-muted); display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
.jw-footer ul a:hover { color: var(--emerald-deep); }
.jw-footer__legal { font-style: normal; color: var(--text-muted); line-height: 1.9; font-size: .86rem; }
.jw-footer__legal b { color: var(--text); font-weight: 700; }
.jw-footer__bottom { border-top: 1px solid var(--border-soft); padding-top: 1.4rem; color: var(--text-dim); font-size: .8rem; display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; justify-content: space-between; align-items: center; }
.jw-footer__bottom nav { display: flex; flex-wrap: wrap; gap: .2rem 1rem; }
.jw-footer__bottom nav a { color: var(--text-muted); display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
.jw-linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--text-muted); cursor: pointer; display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
.jw-linkbtn:hover { color: var(--emerald-deep); text-decoration: underline; }
.jw-footer__contact { display: flex; flex-direction: column; margin-top: .7rem; border-top: 1px solid var(--border-soft); }
.jw-footer__contact a { display: flex; align-items: center; min-height: 44px; border-bottom: 1px solid var(--border-soft); color: var(--text-muted); }
.jw-footer__disc { color: var(--text-dim); font-size: .78rem; line-height: 1.9; margin-top: 1.4rem; border-top: 1px solid var(--border-soft); padding-top: 1.4rem; }

/* ---- Legal pages ---- */
.jw-breadcrumb a, .jw-legal p a, .jw-legal li a, .jw-legal td a, .jw-legal address a,
.jw-legal__box a, .jw-optout a, .jw-footer__legal a { text-decoration: underline; }
.jw-legal { padding: clamp(2.5rem, 6vw, 4rem) 0; background: #fff; }
.jw-legal__inner { max-width: 820px; margin: 0 auto; }
.jw-legal__inner--wide { max-width: 1040px; }
.jw-breadcrumb { font-family: var(--font-mono); font-size: .8rem; color: var(--text-dim); margin-bottom: 1.2rem; }
.jw-breadcrumb a { color: var(--text-muted); }
.jw-legal h1 { margin-bottom: .5rem; }
.jw-legal__upd { color: var(--text-dim); font-size: .86rem; margin-bottom: 2rem; }
.jw-legal h2 { font-size: 1.3rem; margin: 2rem 0 .7rem; }
.jw-legal h3 { font-size: 1.05rem; margin: 1.3rem 0 .5rem; }
.jw-legal p, .jw-legal li { color: var(--text-muted); }
.jw-legal ul.jw-bul { list-style: disc; padding-left: 1.3rem; margin: 0 0 1rem; }
.jw-legal ul.jw-bul li { margin-bottom: .5rem; }
.jw-legal ul.jw-bul li:has(> a:only-child) { margin-bottom: 0; }
.jw-legal ul.jw-bul li:has(> a:only-child) > a { display: inline-flex; align-items: center; min-height: 44px; }
.jw-legal ol { padding-left: 1.3rem; margin: 0 0 1rem; color: var(--text-muted); }
.jw-legal ol li { margin-bottom: .6rem; }
.jw-legal__box { background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-md); padding: 1.3rem 1.5rem; margin: 1.3rem 0; }
.jw-table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: .9rem; }
.jw-table th, .jw-table td { text-align: left; padding: .8rem 1rem; border: 1px solid var(--border); vertical-align: top; color: var(--text-muted); }
.jw-table th { background: var(--surface-2); color: var(--text); width: 34%; font-weight: 700; }
.jw-table thead th { background: #cfe6da; width: auto; font-family: var(--font-mono); font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; }
.jw-optout { border: 1px solid #a9d9c2; border-left: 3px solid var(--emerald); background: #eff8f3; border-radius: var(--r-md); padding: 1.4rem 1.6rem; margin-top: 2rem; }

.jw-map { margin-top: 1.4rem; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--border); background: var(--bg); }
.jw-map__face { padding: 1.3rem; }
.jw-map__addr { display: flex; gap: .5rem; align-items: center; color: var(--text-muted); font-size: .9rem; margin: 0 0 1rem; }
.jw-map__addr .jw-ic { color: var(--emerald); flex: none; }
.jw-map__btns { display: flex; gap: .6rem; flex-wrap: wrap; }
.jw-map iframe { width: 100%; height: 240px; border: 0; display: block; }

/* ---- Mobile menu (full-screen opaque overlay) ---- */
.jw-mobile { position: fixed; inset: 0; z-index: 400; visibility: hidden; }
.jw-mobile.jw-open { visibility: visible; }
.jw-mobile__scrim { position: absolute; inset: 0; background: rgba(21, 42, 32, .25); opacity: 0; transition: opacity .28s ease; }
.jw-mobile.jw-open .jw-mobile__scrim { opacity: 1; }
.jw-mobile__panel { position: absolute; inset: 0; background: #fff; padding: 1.3rem 1.4rem 2rem; transform: translateY(-100%); transition: transform .3s ease; overflow-y: auto; display: flex; flex-direction: column; }
.jw-mobile.jw-open .jw-mobile__panel { transform: translateY(0); }
.jw-mobile__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
.jw-mobile__close { width: 46px; height: 46px; background: #fff; border: 1px solid var(--border); border-radius: var(--r-sm); color: var(--text); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.jw-mobile__links { display: flex; flex-direction: column; }
.jw-mobile__links a { display: flex; align-items: center; gap: 1rem; padding: 1rem .3rem; color: var(--text); font-weight: 700; font-size: 1.4rem; border-bottom: 1px solid var(--border-soft); }
.jw-mobile__links a span { font-family: var(--font-mono); font-size: .8rem; color: var(--emerald); font-weight: 700; }
.jw-mobile__panel .jw-btn { margin-top: auto; }

.jw-reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
.jw-reveal.jw-in { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .jw-menu { display: none; }
  .jw-nav__cta { margin-left: auto; }
  .jw-burger { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; background: #fff; border: 1px solid var(--border); border-radius: var(--r-sm); color: var(--text); cursor: pointer; }
  .jw-hero__grid { grid-template-columns: 1fr; }
  .jw-courses, .jw-modules, .jw-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .jw-footer__top { grid-template-columns: 1fr 1fr; gap: 1.6rem 2rem; }
  .jw-lead--split { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .jw-nav__cta { display: none; }
  .jw-stats { grid-template-columns: repeat(2, 1fr); }
  .jw-stat:nth-child(2) { border-right: 0; }
  .jw-stat:nth-child(-n+2) { border-bottom: 1px solid var(--border-soft); }
  .jw-courses, .jw-modules, .jw-grid--3, .jw-grid--2, .jw-steps, .jw-bonus { grid-template-columns: 1fr; }
  .jw-footer__top { grid-template-columns: 1fr; }
  .jw-hero__cta .jw-btn { width: 100%; }
  .jw-mobile__links a { font-size: 1.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .jw-reveal { opacity: 1; transform: none; }
}
