/* JOBZY public site (L3). Colours measured on the home illustration (web/assets/portada.webp, 2026-10-08):
   cream sky #FDF8EC, logo/headline green #073831, button green #285443, logo arrow orange #F07A52.
   Fonts bundled in fonts/ (OFL): Fraunces (serif, headings and the home) and Inter (body text). No external resources. */
@font-face { font-family: Fraunces; font-style: normal; font-weight: 100 900; font-display: swap; src: url("fonts/fraunces-latin-opsz-normal.woff2") format("woff2"); }
@font-face { font-family: Inter; font-style: normal; font-weight: 100 900; font-display: swap; src: url("fonts/inter-latin-wght-normal.woff2") format("woff2"); }

:root {
  color-scheme: light;
  --jz-cream: #fdf8ec;        /* page background = the painted sky */
  --jz-surface: #f5eddb;      /* cards */
  --jz-line: #e3d9c4;         /* borders */
  --jz-ink: #073831;          /* text and headings */
  --jz-muted: #4d5f57;        /* secondary text */
  --jz-green: #285443;        /* primary button, links, outlines */
  --jz-green-hover: #1e4335;  /* colour-only hover */
  --jz-on-green: #fdf8ec;     /* text on the green button */
  --jz-ghost-hover: #f3ead6;  /* secondary button hover fill */
  --jz-orange: #f07a52;       /* logo arrow only (decorative, never text) */
  --jz-veil: rgb(253 248 236 / 1);  /* cream layer over the painted text: solid core (at 4 % and 1 % the painted glyphs still showed), semi-transparent feathered edges; contrast measured in tests */
  --jz-veil-0: rgb(253 248 236 / 0);
  --serif: Fraunces, Georgia, "Times New Roman", serif;
  --sans: Inter, system-ui, "Segoe UI", sans-serif;
  --measure: 680px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--jz-cream); color: var(--jz-ink); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--jz-green); text-underline-offset: 3px; }
a:hover { color: var(--jz-green-hover); }
:focus-visible { outline: 2px solid var(--jz-ink); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }
h1, h2 { margin: 0; font-family: var(--serif); font-weight: 600; letter-spacing: -.015em; line-height: 1.1; overflow-wrap: anywhere; }
h1 { font-size: clamp(34px, 8vw, 52px); text-wrap: balance; }
h2 { margin-bottom: 16px; font-size: 24px; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.skip-link { position: absolute; z-index: 10; top: 12px; left: 12px; transform: translateY(-200%); padding: 10px 14px; border-radius: 8px; background: var(--jz-green); color: var(--jz-on-green); }
.skip-link:focus { transform: none; }
.wrap { max-width: var(--measure); margin: 0 auto; padding-inline: 16px; }

/* Header: logo, menu, «Entrar». Narrow: logo + Entrar on the first row, the menu on the second. */
.site-header { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; max-width: 1120px; margin: 0 auto; padding: 12px 16px 6px; }
.brand { display: inline-flex; align-items: center; gap: .12em; color: var(--jz-ink); font: 700 30px/1.25 var(--serif); letter-spacing: -.01em; text-decoration: none; }
.brand:hover { color: var(--jz-ink); }
.brand svg { flex-shrink: 0; width: .72em; height: .72em; margin-top: -.25em; color: var(--jz-orange); }
.site-header .enter { order: 1; margin-left: auto; }
.site-header nav { order: 2; flex-basis: 100%; }
.site-header nav ul { display: flex; flex-wrap: wrap; gap: 0 20px; }
.site-header nav a { display: inline-block; padding: 8px 0; color: var(--jz-ink); font: 400 15px/1.2 var(--serif); text-decoration: none; }
.site-header nav a:hover, .site-header nav a[aria-current] { color: var(--jz-green); text-decoration: underline; }
@media (min-width: 769px) {
  .site-header { flex-wrap: nowrap; gap: 32px; padding-block: 18px; }
  .site-header nav { order: 0; flex-basis: auto; margin-left: auto; }
  .site-header nav ul { gap: 32px; }
  .site-header nav a { font-size: 17px; }
  .site-header .enter { order: 0; margin-left: 0; }
}

/* Buttons: colour-only hover, nothing moves. */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px; border: 1.5px solid var(--jz-green);
  border-radius: 999px; font: 500 17px/1 var(--serif); text-decoration: none; white-space: nowrap; }
.btn-primary { background: var(--jz-green); color: var(--jz-on-green); }
.btn-primary:hover { background: var(--jz-green-hover); border-color: var(--jz-green-hover); color: var(--jz-on-green); }
.btn-ghost { background: var(--jz-cream); color: var(--jz-ink); }
.btn-ghost:hover { background: var(--jz-ghost-hover); color: var(--jz-ink); }
.enter { min-height: 40px; padding: 0 18px; font-size: 16px; }

/* Footer: «Tú decides cada paso.» left; Privacidad · Términos · ES / EN right. */
.site-footer { color: var(--jz-muted); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 24px; max-width: 1120px; padding-block: 24px 32px; }
.site-footer .motto { color: var(--jz-ink); font-family: var(--serif); font-size: 16px; }
.site-footer ul { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; }
.site-footer a { color: var(--jz-muted); }
.site-footer a:hover { color: var(--jz-ink); }
.site-footer .lang [aria-current] { color: var(--jz-ink); font-weight: 600; }
.site-footer .lang a { text-decoration: none; }
.site-footer .lang a:hover { text-decoration: underline; }

/* Secondary pages: normal scroll. */
.page { border-top: 1px solid var(--jz-line); border-bottom: 1px solid var(--jz-line); }
section { padding-block: 40px; }
section + section { border-top: 1px solid var(--jz-line); }
.doc .lead, .page .lead { margin-top: 16px; color: var(--jz-muted); font-size: 19px; }
.doc h2 { margin: 32px 0 12px; font-size: 21px; }
.doc ul { list-style: disc; padding-left: 20px; }
.doc li { margin: 6px 0; }
.doc p { margin-top: 12px; }
.page .btn { margin-top: 24px; }
.back { margin-top: 32px; }
.steps li { display: grid; grid-template-columns: 2.25em 1fr; gap: 2px 8px; padding: 14px 0; }
.steps li + li { border-top: 1px solid var(--jz-line); }
.steps .n { grid-row: span 2; color: var(--jz-green); font: 600 20px/1.3 var(--serif); }
.steps strong { font-family: var(--serif); font-weight: 600; }
.steps span:last-child { color: var(--jz-muted); }
.care li { padding: 14px 18px; border: 1px solid var(--jz-line); border-radius: 12px; background: var(--jz-surface); }
.care li + li { margin-top: 10px; }
.who { display: flex; flex-wrap: wrap; gap: 10px; }
.who li { padding: 8px 16px; border: 1px solid var(--jz-line); border-radius: 999px; background: var(--jz-surface); }

/* ---------- Home: one static screen, no scroll in any direction ---------- */
html.home, html.home body { height: 100%; overflow: hidden; overscroll-behavior: none; }
html.home body { height: 100svh; }
.home .art { position: fixed; inset: 0; z-index: 0; display: block; }
.home .art img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }

/* Narrow and portrait screens: the illustration is cropped to the centre (the walking person stays visible); a cream
   veil covers the painted text at the top (painted text ends at 37.1 % of the image height) and a cream strip covers
   the painted stop bar at the bottom (from 85 %). */
.home .top { position: relative; z-index: 1; min-height: 46svh; padding-bottom: 28px; background: linear-gradient(to bottom, var(--jz-veil) calc(100% - 28px), var(--jz-veil-0)); }
.home .site-header { padding-top: 10px; }
.home .brand { font-size: 28px; }
.home main { padding: 6px 16px 0; text-align: center; }
.home h1 { max-width: 15em; margin: 0 auto; font-size: clamp(26px, 7.2vw, 44px); line-height: 1.16; letter-spacing: -.02em; }
.home .lead { max-width: 30em; margin: 10px auto 0; text-wrap: balance; font: 400 clamp(15px, 4.1vw, 19px)/1.35 var(--serif); }
.home .actions { display: flex; flex-direction: column; gap: 10px; max-width: 420px; margin: 18px auto 0; }
.home .actions .btn { min-height: 48px; }
.home .note { margin-top: 10px; color: var(--jz-muted); font: 400 14px/1.3 var(--serif); }
.home .site-footer { position: fixed; z-index: 1; left: 0; right: 0; bottom: 0; display: flex; align-items: flex-end; min-height: 19svh;
  background: linear-gradient(to top, var(--jz-veil) calc(100% - 24px), var(--jz-veil-0)); }
.home .site-footer .wrap { width: 100%; padding-block: 8px calc(10px + env(safe-area-inset-bottom)); font-size: 13px; }
.home .site-footer .motto { font-size: 14px; }

/* Wide screens: the illustration is a 3:2 stage that covers the viewport (centred across, anchored at the top so a
   wide screen crops the bottom bar, never the header). Every element is placed in image pixels (--u = one pixel of
   the 1536-px image) right over its painted twin, with a cream patch that hides it. When the clean illustration
   arrives the patches stay: they then sit on plain sky. */
@media (min-width: 769px) and (min-aspect-ratio: 4/3) {
  :root { --sw: max(100vw, 150vh); --sw: max(100vw, 150svh); --u: calc(var(--sw) / 1536); }
  .home .scene { position: fixed; top: 0; left: 50%; width: var(--sw); height: calc(var(--sw) * 2 / 3); transform: translateX(-50%); }
  .home .art { position: absolute; }
  .home .art img { object-fit: fill; }
  .home .top { position: static; min-height: 0; padding: 0; background: none; }
  .home .brand, .home .site-header nav, .home .enter, .home h1, .home .lead, .home .actions, .home .note {
    position: absolute; z-index: 1; margin: 0; background: var(--jz-veil); box-shadow: 0 0 calc(10 * var(--u)) calc(8 * var(--u)) var(--jz-veil); }
  .home .site-header { padding: 0; }
  /* painted logo 140,14 - 293,59 */
  .home .brand { left: calc(128 * var(--u)); top: calc(8 * var(--u)); min-width: calc(178 * var(--u)); height: calc(60 * var(--u)); padding-left: calc(12 * var(--u)); font-size: calc(44 * var(--u)); border-radius: calc(12 * var(--u)); }
  /* painted menu 1092,29 - 1287,41 and «Entrar» 1316,16 - 1410,56 */
  .home .enter { right: calc(126 * var(--u)); top: calc(16 * var(--u)); width: calc(94 * var(--u)); height: calc(40 * var(--u)); min-height: 0; padding: 0; font-size: max(13px, calc(19 * var(--u))); }
  .home .site-header nav { right: calc(250 * var(--u)); top: calc(14 * var(--u)); height: calc(44 * var(--u)); padding-left: calc(12 * var(--u)); border-radius: calc(12 * var(--u)); }
  .home .site-header nav ul { height: 100%; align-items: center; gap: calc(32 * var(--u)); }
  .home .site-header nav a { padding: 0; font-size: max(13px, calc(19 * var(--u))); }
  /* painted headline 343,98 - 1191,259 and subtitle 342,272 - 1192,295 */
  .home main { padding: 0; }
  .home h1 { left: calc(330 * var(--u)); top: calc(90 * var(--u)); width: calc(876 * var(--u)); height: calc(176 * var(--u)); max-width: none;
    display: flex; align-items: center; justify-content: center; font-size: calc(74 * var(--u)); line-height: 1.02; letter-spacing: -.025em; border-radius: calc(30 * var(--u)); }
  .home .lead { left: calc(330 * var(--u)); top: calc(266 * var(--u)); width: calc(876 * var(--u)); height: calc(36 * var(--u)); max-width: none;
    display: flex; align-items: center; justify-content: center; font-size: calc(22.5 * var(--u)); white-space: nowrap; border-radius: calc(12 * var(--u)); }
  /* painted buttons 499,324 - 779,378 (primary) and 801,326 - 1035,377 (secondary) */
  .home .actions { left: calc(488 * var(--u)); top: calc(316 * var(--u)); width: calc(558 * var(--u)); height: calc(70 * var(--u)); max-width: none;
    flex-direction: row; align-items: center; justify-content: space-between; padding: 0 calc(11 * var(--u)); border-radius: calc(35 * var(--u)); }
  .home .actions .btn { min-height: 0; padding: 0; font-size: max(14px, calc(21 * var(--u))); }
  .home .actions .btn-primary { width: calc(281 * var(--u)); height: calc(55 * var(--u)); }
  .home .actions .btn-ghost { width: calc(235 * var(--u)); height: calc(53 * var(--u)); }
  .home .note { left: calc(578 * var(--u)); top: calc(394 * var(--u)); width: calc(380 * var(--u)); height: calc(28 * var(--u)); display: flex; align-items: center; justify-content: center;
    font-size: max(12px, calc(18 * var(--u))); border-radius: calc(14 * var(--u)); }
  /* painted stop bar 250,850 - 1300,990: a cream strip from the end of the street (y 855) to the bottom of the screen,
     solid across the bar and fading out over the corner leaves */
  .home .site-footer { left: calc(50% - var(--sw) / 2); right: auto; width: var(--sw); top: min(calc(855 * var(--u)), calc(100svh - 56px)); min-height: 0;
    align-items: center; background: linear-gradient(to right, var(--jz-veil-0) 8%, var(--jz-veil) 15%, var(--jz-veil) 86%, var(--jz-veil-0) 93%); }
  .home .site-footer .wrap { max-width: none; width: calc(1060 * var(--u)); padding: 0; font-size: max(13px, calc(17 * var(--u))); }
  .home .site-footer .motto { font-size: max(14px, calc(20 * var(--u))); }
}

@media (prefers-reduced-motion: no-preference) {
  a, .btn { transition: background-color .15s ease-out, color .15s ease-out, border-color .15s ease-out; }
}
