/* AXELIA · /sectores/recursos-humanos/ — «El mes». Payroll is the month, recorded as it happens.
   Everything pinned or animated is under .mov (motion on). Without it the page reads complete and in order:
   the calendar is whole, the stage is drawn in its last state with its five steps listed, the phone shows its three screens side by side. */

/* the top bar takes this page's wider column, so its name lines up with the page's text */
.barra.ancho { padding-inline: max(22px, calc((100% - 1240px) / 2)); }
.rh-hero, .rh-portal, .rh-dol, .rh-serv, .rh-preg { --col: max(22px, calc((100% - 1240px) / 2)); }

/* =============================================================== 1. hero: the headline, and the month as an object */
#rh-hero { position: relative; z-index: 1; box-sizing: border-box; background: var(--hero); color: var(--hero-ink); padding: clamp(96px, 13vh, 124px) var(--col) clamp(40px, 7vh, 64px); overflow: hidden; }
.mov #rh-hero { min-height: 100vh; min-height: 100svh; display: grid; align-content: center; padding-block: clamp(84px, 11vh, 108px) clamp(36px, 6vh, 56px); }
.rh-hero-dentro { display: grid; grid-template-columns: minmax(0, 4.7fr) minmax(0, 7.3fr); column-gap: clamp(28px, 3.6vw, 56px); align-items: center; }
.rh-ceja { margin-bottom: 12px; font-weight: 600; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.19; letter-spacing: .011em; color: var(--hero-gris); }
.rh-hero h1 { font-weight: 700; font-size: clamp(2.5rem, min(4.9vw, 8.2vh), 4.9rem); line-height: 1.03; letter-spacing: -.036em; text-wrap: balance; }
.rh-sub { margin-top: clamp(14px, 2.6vh, 24px); max-width: 24em; font-weight: 600; font-size: clamp(1.05rem, min(1.45vw, 2.6vh), 1.38rem); line-height: 1.24; letter-spacing: -.01em; color: var(--hero-gris); text-wrap: balance; }
.rh-sub b { font-weight: 600; color: var(--hero-ink); }
.rh-hero .acciones { justify-content: flex-start; margin-top: clamp(16px, 3vh, 28px); }
.rh-aval { max-width: 26em; margin-top: clamp(12px, 2.2vh, 20px); }

.rh-fig { margin: 0; justify-self: end; width: min(100%, 760px); }
.rh-fig figcaption { margin-top: 12px; font-size: 12px; line-height: 1.3; color: var(--hero-gris); }
.rh-cal-cab { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 16px; padding-bottom: clamp(8px, 1.6vh, 14px); }
.rh-cal-cab b { font-weight: 700; font-size: clamp(1.15rem, 1.7vw, 1.6rem); letter-spacing: -.025em; }
.rh-cal-cab span { font-family: var(--f-mono); font-size: 12.5px; color: var(--hero-gris); }
.rh-sem, .rh-dias { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.rh-sem li { padding: 0 10px 8px; font-size: 12px; font-weight: 600; letter-spacing: .14em; color: var(--hero-gris); border-bottom: 1px solid var(--hero-ink); }
.rh-sem .fin { opacity: .55; }
.rh-dias { grid-auto-rows: clamp(50px, 10.6vh, 100px); font-variant-numeric: tabular-nums; }
.rh-d { position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 8px 10px 9px; border-top: 1px solid var(--linea); outline-offset: -3px; transition: background-color .3s var(--ease); }
.rh-d:nth-child(-n+7) { border-top: 0; }
.rh-d.fin { background: rgba(29, 29, 31, 0.05); }
.rh-d .n { position: relative; z-index: 1; font-weight: 600; font-size: clamp(1.05rem, 1.75vw, 1.7rem); line-height: 1; letter-spacing: -.035em; }
.rh-d.fuera .n { color: #C7C7CC; }
.rh-d.fin .n { color: var(--hero-gris); }
.rh-pie { position: relative; z-index: 1; display: flex; align-items: center; gap: 6px; min-height: 18px; }
.rh-pie .f { flex: none; width: 7px; height: 7px; border-radius: 50%; background: rgba(29, 29, 31, 0.5); }
.rh-pie .x { font: 600 11px/1 var(--f-mono); letter-spacing: -.02em; color: #FFFFFF; background: var(--acento); padding: 3px 7px 3px; border-radius: 99px; white-space: nowrap; }
.rh-fondo { position: absolute; z-index: 0; inset: 3px; border-radius: 10px; pointer-events: none; }
.rh-et { position: relative; z-index: 2; font: 500 11px/1 var(--f-mono); letter-spacing: -.02em; white-space: nowrap; }
.rh-d.baja .rh-fondo { background: var(--hero-ink); }
.rh-d.baja .n, .rh-d.baja .rh-et { color: #FFFFFF; }
.rh-d.fest .rh-fondo { background: repeating-linear-gradient(135deg, rgba(29, 29, 31, 0.2) 0 1.3px, transparent 1.3px 6px); box-shadow: inset 0 0 0 1px rgba(29, 29, 31, 0.22); }
.rh-d.fest .rh-et { color: var(--hero-gris); }
.rh-d.vac .rh-fondo { background: color-mix(in srgb, var(--acento) 11%, transparent); border: 1.5px solid var(--acento); }
.rh-d.vi .rh-fondo { inset: 3px 0 3px 3px; border-radius: 10px 0 0 10px; border-right-width: 0; }
.rh-d.vm .rh-fondo { inset: 3px 0; border-radius: 0; border-inline-width: 0; }
.rh-d.vf .rh-fondo { inset: 3px 3px 3px 0; border-radius: 0 10px 10px 0; border-left-width: 0; }
.rh-d.vac .rh-et { color: var(--acento); font-weight: 600; }
.rh-d.vac .n { color: var(--hero-ink); }
.rh-d.marca { cursor: default; }
.rh-d.marca:hover, .rh-d.marca:focus { z-index: 6; outline: 0; }
.rh-d.marca:focus-visible { outline: 2px solid var(--acento); outline-offset: -3px; border-radius: 8px; }
.rh-nota { position: absolute; z-index: 7; left: 50%; top: calc(100% + 8px); width: 236px; padding: 11px 14px 12px; border-radius: 12px; background: #1D1D1F; color: #FFFFFF; font-size: 13px; line-height: 1.3; letter-spacing: -.005em; text-align: left; box-shadow: 0 18px 36px -14px rgba(0, 0, 0, 0.45); opacity: 0; visibility: hidden; pointer-events: none; translate: -50% 4px; transition: opacity .22s var(--ease), translate .28s var(--ease), visibility .22s; }
.rh-nota b { display: block; margin-bottom: 1px; font-weight: 600; font-size: 14px; }
.rh-nota small { display: block; margin-top: 4px; font: 500 11px/1.35 var(--f-mono); letter-spacing: -.02em; color: #A1A1A6; }
.rh-d.izq .rh-nota { left: 0; translate: 0 4px; }
.rh-d.arriba .rh-nota { top: auto; bottom: calc(100% + 8px); translate: -50% -4px; }
.rh-d.arriba.izq .rh-nota { translate: 0 -4px; }
.rh-d.marca:hover .rh-nota, .rh-d.marca:focus .rh-nota { opacity: 1; visibility: visible; translate: -50% 0; }
.rh-d.izq.marca:hover .rh-nota, .rh-d.izq.marca:focus .rh-nota { translate: 0 0; }
.rh-leyenda { list-style: none; margin: 0; padding: clamp(10px, 1.8vh, 16px) 0 0; border-top: 1px solid var(--hero-ink); display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 13.5px; line-height: 1.2; color: var(--hero-gris); }
.rh-leyenda li { display: inline-flex; align-items: center; gap: 7px; }
.rh-leyenda b { font-weight: 700; font-size: 17px; letter-spacing: -.03em; color: var(--hero-ink); }
.rh-leyenda .sy { display: inline-block; flex: none; }
.sy-f { width: 7px; height: 7px; border-radius: 50%; background: rgba(29, 29, 31, 0.5); }
.sy-v { width: 20px; height: 10px; border-radius: 4px; background: color-mix(in srgb, var(--acento) 11%, transparent); box-shadow: inset 0 0 0 1.5px var(--acento); }
.sy-s { width: 14px; height: 10px; border-radius: 3px; background: repeating-linear-gradient(135deg, rgba(29, 29, 31, 0.3) 0 1.3px, transparent 1.3px 5px); box-shadow: inset 0 0 0 1px rgba(29, 29, 31, 0.25); }
.sy-b { width: 11px; height: 11px; border-radius: 3px; background: var(--hero-ink); }
.sy-x { width: 20px; height: 10px; border-radius: 5px; background: var(--acento); }
@media (hover: hover) {
  .rh-dias:has(.marca:hover) .rh-d:not(:hover) :is(.rh-m, .rh-fondo) { opacity: .38; }
  .rh-dias:has(.marca:hover) .rh-d:not(.marca:hover) .rh-et { opacity: .38; }
}
/* it arrives as it is written: the marks are set down in date order */
.mov #rh-hero:not(.listo) .rh-m { opacity: 0; translate: 0 6px; }
.mov #rh-hero .rh-m { transition: opacity .6s var(--ease) calc(var(--i, 1) * 60ms + 350ms), translate .7s cubic-bezier(.3, 1, .4, 1) calc(var(--i, 1) * 60ms + 350ms); }
.mov #rh-hero.quieto .rh-m { transition: opacity .25s var(--ease), translate .3s var(--ease); }
.mov #rh-hero:not(.listo) .rh-d.baja .n, .mov #rh-hero:not(.listo) .rh-d.baja .rh-et { color: var(--hero-ink); }
.mov #rh-hero .rh-d.baja .n { transition: color .6s var(--ease) calc(6 * 60ms + 350ms); }
.mov #rh-hero.quieto .rh-d.baja .n { transition: none; }

/* =============================================================== 2. the stage: the month is written, then the payslip is composed from it */
#rh-mes { background: var(--oscuro); color: var(--oscuro-ink); }
#rh-mes .fijo { background: var(--oscuro); color: var(--oscuro-ink); padding: clamp(72px, 10vh, 104px) max(22px, calc((100% - 1392px) / 2)) clamp(48px, 8vh, 88px); }
.rh-eti { font-weight: 600; font-size: 17px; line-height: 1.19; color: var(--acento-oscuro); }
.rh-h2 { margin-top: 6px; max-width: 20em; font-weight: 700; font-size: clamp(1.8rem, min(2.8vw, 4.7vh), 2.6rem); line-height: 1.08; letter-spacing: -.03em; text-wrap: balance; }
.rh-izq { display: contents; }
.rh-escena { margin-top: clamp(24px, 4vh, 44px); }
.rh-lienzo { position: relative; width: min(100%, 1062px); aspect-ratio: 1062 / 680; margin-inline: auto; }
.z { position: absolute; display: block; height: auto; overflow: visible; --ink: var(--oscuro-ink); --gr: var(--oscuro-gris); --ac: var(--acento-oscuro); }
.z-fic { left: 0; top: 0; width: 39.55%; }
.z-cal { left: 0; top: 26.47%; width: 39.55%; }
.z-rec { left: 42.37%; top: 0; width: 37.66%; }
.z-sal { left: 41.81%; top: 81.76%; width: 57.63%; }
.z-salm { display: none; }
.z-mov { left: 80.04%; top: 10.29%; width: 19.96%; }

/* drawing vocabulary */
.z text { font-family: var(--f); letter-spacing: -.005em; }
.z .m, .z .nmg, .z .cm, .z .cm2, .z .lgn { font-family: var(--f-mono); }
.z .cj { fill: color-mix(in srgb, var(--ink) 6%, transparent); stroke: color-mix(in srgb, var(--ink) 26%, transparent); stroke-width: 1.2; }
.z .tl { font-size: 11px; font-weight: 600; letter-spacing: .1em; fill: var(--gr); }
.z .tg { fill: var(--gr); }
.z .tv { fill: var(--ink); font-weight: 600; letter-spacing: -.01em; }
.z .tv.m { font-weight: 500; letter-spacing: -.02em; }
.z .ta1 { fill: var(--ac); font-size: 12.5px; font-weight: 600; }
.z .nmg { font-size: 54px; font-weight: 500; letter-spacing: -.06em; fill: var(--ink); }
.z .ln { fill: none; stroke: color-mix(in srgb, var(--ink) 22%, transparent); stroke-width: 1; }
.z .ac1 { fill: none; stroke: var(--ac); stroke-width: 1.5; stroke-linecap: round; }
.z .ac1f, .z .eq { fill: var(--ac); }
.z .eq { font-size: 30px; font-weight: 500; font-family: var(--f-mono); }
.z .cm { font-size: 19px; font-weight: 600; letter-spacing: -.04em; fill: var(--ink); }
.z .cm2 { font-size: 26px; font-weight: 700; letter-spacing: -.05em; fill: var(--ink); }
.z .ring { display: none; fill: none; stroke: var(--ac); stroke-width: 1.8; }
.z .ringl { stroke-width: 2.5; stroke-linecap: round; }
.z .gh { display: none; }
.z .ghr { fill: none; stroke: color-mix(in srgb, var(--ink) 34%, transparent); stroke-width: 1.2; stroke-dasharray: 5 5; }
.z .ghl { font-size: 14px; fill: color-mix(in srgb, var(--ink) 40%, transparent); }
/* the month */
.z .wk { fill: color-mix(in srgb, var(--ink) 5.5%, transparent); }
.z .wd { font-size: 12px; font-weight: 600; letter-spacing: .1em; fill: var(--gr); }
.z .wd.fi { opacity: .55; }
.z .rl { fill: none; stroke: color-mix(in srgb, var(--ink) 14%, transparent); }
.z .rl0 { fill: none; stroke: color-mix(in srgb, var(--ink) 55%, transparent); }
.z .nm { font-size: 17px; font-weight: 600; letter-spacing: -.04em; fill: var(--ink); }
.z .nm.fu { fill: color-mix(in srgb, var(--ink) 26%, transparent); }
.z .nm.fi { fill: var(--gr); }
.z .nm.on { fill: #1D1D1F; }
.z .dt { fill: color-mix(in srgb, var(--ink) 60%, transparent); }
.z .pl { fill: var(--ac); }
.z .plt { font-family: var(--f-mono); font-size: 10px; font-weight: 600; letter-spacing: -.03em; fill: #111111; }
.z .bj { fill: var(--ink); }
.z .bjl { font-family: var(--f-mono); font-size: 10.5px; font-weight: 500; fill: #1D1D1F; }
.z .fs { fill: none; stroke: color-mix(in srgb, var(--ink) 34%, transparent); stroke-width: 1; }
.z .fs2 { fill: url(#rh-ray); }
.z pattern rect { fill: color-mix(in srgb, var(--ink) 24%, transparent); }
.z .fsl { font-family: var(--f-mono); font-size: 10.5px; fill: color-mix(in srgb, var(--ink) 82%, transparent); }
.z .vc { fill: color-mix(in srgb, var(--ac) 16%, transparent); stroke: var(--ac); stroke-width: 1.3; }
.z .vcl { font-family: var(--f-mono); font-size: 10.5px; font-weight: 600; fill: var(--ac); }
.z .lgn { font-size: 22px; font-weight: 600; letter-spacing: -.05em; fill: var(--ink); }
.z .lgl { font-size: 11.5px; fill: var(--gr); }
/* the payslip: a sheet of paper, drawn with fixed colours */
.z .hoja { fill: #F5F5F7; }
.z .pcap { font-size: 11px; font-weight: 600; letter-spacing: .12em; fill: #6E6E73; }
.z .pmes { font-size: 16px; font-weight: 700; letter-spacing: -.02em; fill: #1D1D1F; }
.z .pemp { font-size: 13.5px; font-weight: 600; fill: #1D1D1F; }
.z .pper { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: -.02em; fill: #6E6E73; }
.z .pln { fill: none; stroke: #1D1D1F; stroke-width: 1; }
.z .pln2 { fill: none; stroke: #86868B; stroke-width: 1; }
.z .pcab { font-size: 10.5px; font-weight: 600; letter-spacing: .1em; fill: #86868B; }
.z .pset { font-size: 11px; font-weight: 700; letter-spacing: .12em; fill: #E8501A; }
.z .pc { font-size: 14px; font-weight: 600; letter-spacing: -.01em; fill: #1D1D1F; }
.z .pq { font-family: var(--f-mono); font-size: 12px; letter-spacing: -.03em; fill: #6E6E73; }
.z .pi { font-family: var(--f-mono); font-size: 14px; font-weight: 500; letter-spacing: -.03em; fill: #1D1D1F; }
.z .ps { font-size: 11.5px; fill: #6E6E73; }
.z .ptot { font-size: 14.5px; font-weight: 700; letter-spacing: -.01em; fill: #1D1D1F; }
.z .ptoti { font-family: var(--f-mono); font-size: 15px; font-weight: 700; letter-spacing: -.04em; fill: #1D1D1F; }
.z .pbanda { fill: #1D1D1F; }
.z .plq { font-size: 10.5px; font-weight: 600; letter-spacing: .12em; fill: #F5F5F7; opacity: .75; }
.z .plqi { font-family: var(--f-mono); font-size: 30px; font-weight: 700; letter-spacing: -.06em; fill: #FFFFFF; }
.z .pnota { font-size: 11px; fill: #86868B; }
.z .gdot { fill: rgba(29, 29, 31, 0.55); }
.z .gfic { fill: none; stroke: rgba(29, 29, 31, 0.6); stroke-width: 1.2; }
.z .gfic2 { fill: none; stroke: rgba(29, 29, 31, 0.6); stroke-width: 1.1; stroke-linecap: round; }
.z .gbj { fill: #1D1D1F; }
.z .gpl { fill: #E8501A; }
.z .gpc { font-family: var(--f-mono); font-size: 11px; fill: #86868B; }
.z-rec .ringl { stroke: #E8501A; }
/* the phone */
.z .mar { fill: #0A0A0A; stroke: color-mix(in srgb, var(--ink) 70%, transparent); stroke-width: 2; }
.z .pan { fill: #F5F5F7; }
.z .isla { fill: #1D1D1F; }
.z .mhora { font-family: var(--f-mono); font-size: 10px; font-weight: 600; fill: #1D1D1F; }
.z .mt { font-size: 19px; font-weight: 700; letter-spacing: -.03em; fill: #1D1D1F; }
.z .ms { font-size: 10.5px; fill: #6E6E73; }
.z .mcard { fill: #FFFFFF; stroke: #D2D2D7; stroke-width: 1; }
.z .mb { font-size: 12px; font-weight: 600; fill: #1D1D1F; }
.z .mnew { fill: #E8501A; }
.z .mnewt { font-size: 9.5px; font-weight: 600; fill: #FFFFFF; }
.z .mcif { font-family: var(--f-mono); font-size: 22px; font-weight: 700; letter-spacing: -.06em; fill: #1D1D1F; }
.z .msm { font-family: var(--f-mono); font-size: 10.5px; fill: #1D1D1F; }
.z .mbtn { fill: #1D1D1F; }
.z .mbt { font-size: 11.5px; font-weight: 600; fill: #FFFFFF; }
.z .mrl { fill: none; stroke: #D2D2D7; stroke-width: 1; }
.z .mli { font-size: 11.5px; font-weight: 600; fill: #1D1D1F; }
.z .mnoti { fill: #1D1D1F; stroke: rgba(255, 255, 255, 0.18); stroke-width: 1; }
.z .mnt { font-size: 11.5px; font-weight: 600; fill: #FFFFFF; }
.z .mns { font-size: 10.5px; fill: #A1A1A6; }

/* the step texts: all five listed without motion */
.rh-pasos { list-style: none; margin: clamp(28px, 5vh, 48px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px 24px; }
.rh-pt { padding-top: 16px; border-top: 1px solid var(--oscuro-linea); }
.rh-pt small { display: block; font-size: 14px; font-weight: 600; color: var(--acento-oscuro); }
.rh-pt h3 { margin-top: 6px; font-weight: 700; font-size: 1.3rem; line-height: 1.12; letter-spacing: -.02em; }
.rh-pt p { margin-top: 8px; font-size: 15px; line-height: 1.35; color: var(--oscuro-gris); }
.rh-pt .rh-reg { font-family: var(--f-mono); font-size: 12.5px; line-height: 1.4; color: color-mix(in srgb, var(--oscuro-ink) 70%, transparent); }
.rh-pt .rh-reg span { display: block; margin-bottom: 2px; color: var(--oscuro-gris); }
.rh-ind { display: none; }

/* ---------- motion on ---------- */
.mov #rh-mes { --g: calc(var(--s, 1) * 5); z-index: 1; background: var(--hero); }       /* position in the stage measured in steps: 0 to 5, a step resting at k + .5 */
.mov #rh-mes .fijo { display: grid; grid-template-columns: minmax(250px, 300px) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); column-gap: clamp(28px, 3vw, 44px);
  padding: clamp(72px, 10vh, 92px) max(22px, calc((100% - 1392px) / 2)) clamp(84px, 11vh, 100px); border-radius: calc((1 - var(--entra, 1)) * 40px);
  transform-origin: 50% 0; transform: translateY(calc(var(--sale, 0) * 100vh)) scale(calc((.9 + .1 * var(--entra, 1)) * (1 - var(--sale, 0) * .05))); opacity: calc(1 - var(--sale, 0) * .6); will-change: transform; }
.mov .rh-izq { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; min-height: 0; align-content: stretch; }
.mov .rh-h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.mov .rh-escena { margin-top: 0; display: grid; align-items: center; min-height: 0; }
.mov .rh-lienzo { width: min(100%, calc((100vh - 196px) * 1.5618)); width: min(100%, calc((100svh - 196px) * 1.5618)); }
.mov #rh-mes .z { --lit: clamp(0, min((var(--g) - var(--k) + .1) / .6, (var(--k) + 1.1 - var(--g)) / .6), 1); --visto: clamp(0, calc((var(--g) - var(--k) + .3) / .5), 1);
  opacity: calc(.36 + .28 * var(--visto) + .36 * var(--lit)); }
.mov #rh-mes .z-rec { opacity: calc(.5 + .4 * var(--visto) + .1 * var(--lit)); }
.mov #rh-mes .gh { display: inline; }
.mov #rh-mes .z-rec .gh { opacity: calc(1 - clamp(0, (var(--g) - 1.7) / .1, 1)); }
.mov #rh-mes .z-sal .gh, .mov #rh-mes .z-salm .gh { opacity: calc(1 - clamp(0, (var(--g) - 2.78) / .1, 1)); }
.mov #rh-mes .z-mov .gh { opacity: calc(1 - clamp(0, (var(--g) - 3.76) / .1, 1)); }
.mov #rh-mes .rv { --u: clamp(0, calc((var(--g) - var(--t)) / var(--d, .12)), 1); opacity: var(--u); }
.mov #rh-mes .rv { translate: 0 calc((1 - var(--u)) * 7px); }
.mov #rh-mes .rv.noti { translate: 0 calc((1 - var(--u)) * -14px); }
.mov #rh-mes .rv.arr { translate: calc((1 - var(--u)) * -10px) 0; }
.mov #rh-mes .ring { display: inline; opacity: calc(clamp(0, (var(--g) - var(--ta)) / .04, 1) * (1 - clamp(0, (var(--g) - var(--tb)) / .25, 1))); }

/* the step's text, at the left, one at a time; below it, where the story is */
.mov .rh-eti { padding-bottom: 6px; }
.mov .rh-pasos { grid-column: 1; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; margin: clamp(10px, 2vh, 20px) 0 0; align-content: start; align-self: start; }
.mov .rh-pt { grid-area: 1 / 1; padding-top: 0; border-top: 0; opacity: 0; visibility: hidden; translate: 0 14px; pointer-events: none; transition: opacity .45s var(--ease), translate .6s cubic-bezier(.4, 0, .2, 1), visibility .45s; }
.mov .rh-pt small { font-size: 15px; }
.mov .rh-pt h3 { margin-top: 8px; font-size: clamp(1.55rem, min(2.1vw, 3.9vh), 2.15rem); line-height: 1.05; letter-spacing: -.03em; text-wrap: balance; }
.mov .rh-pt p { margin-top: 12px; font-weight: 600; font-size: clamp(.98rem, min(1.2vw, 2.4vh), 1.1rem); line-height: 1.3; letter-spacing: -.012em; color: var(--oscuro-gris); }
.mov .rh-pt .rh-reg { margin-top: 14px; padding-top: 9px; border-top: 1px solid var(--oscuro-linea); font-weight: 500; font-size: 12.5px; line-height: 1.4; }
.mov .rh-pt .rh-reg span { display: block; margin: 0 0 3px; }
.mov #rh-mes[data-paso="0"] .rh-pt[data-k="0"], .mov #rh-mes[data-paso="1"] .rh-pt[data-k="1"], .mov #rh-mes[data-paso="2"] .rh-pt[data-k="2"], .mov #rh-mes[data-paso="3"] .rh-pt[data-k="3"], .mov #rh-mes[data-paso="4"] .rh-pt[data-k="4"] { opacity: 1; visibility: visible; translate: 0 0; pointer-events: auto; }
.mov .rh-ind { display: grid; counter-reset: p; gap: 9px; list-style: none; margin: 0; padding: 0; align-self: end; }
.mov .rh-ind li { counter-increment: p; display: grid; grid-template-columns: 26px minmax(0, 1fr); align-items: center; gap: 0 12px; font-size: 13px; line-height: 1.2; color: var(--oscuro-gris); transition: color .4s var(--ease); }
.mov .rh-ind li span::before { content: counter(p, decimal-leading-zero) "  "; font-family: var(--f-mono); font-size: 12px; }
.mov .rh-ind i { position: relative; display: block; height: 2px; background: color-mix(in srgb, var(--oscuro-ink) 18%, transparent); overflow: hidden; }
.mov .rh-ind i::after { content: ""; position: absolute; inset: 0; background: var(--acento-oscuro); transform-origin: 0 50%; transform: scaleX(clamp(0, calc(var(--g) - var(--k)), 1)); }
.mov #rh-mes[data-paso="0"] .rh-ind li:nth-child(1), .mov #rh-mes[data-paso="1"] .rh-ind li:nth-child(2), .mov #rh-mes[data-paso="2"] .rh-ind li:nth-child(3), .mov #rh-mes[data-paso="3"] .rh-ind li:nth-child(4), .mov #rh-mes[data-paso="4"] .rh-ind li:nth-child(5) { color: var(--oscuro-ink); }

/* ---------- up to 1080px: one drawing at a time (the record and the month together), the text above it ---------- */
@media (max-width: 1080px) {
  .rh-lienzo { display: grid; justify-items: center; gap: 30px; width: 100%; aspect-ratio: auto; }
  .z { position: static; width: min(100%, 440px); }
  .z-sal { display: none; }
  .z-salm { display: block; }
  .z-mov { width: min(100%, 300px); }
  .z-mov .arr { display: none; }
  .rh-pasos { grid-template-columns: minmax(0, 1fr); }
  .mov #rh-mes .fijo { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); row-gap: 8px; padding: 66px 22px 92px; }
  .mov .rh-izq { display: block; }
  .mov .rh-ind { display: none; }
  .mov .rh-eti { padding-bottom: 2px; font-size: 15px; }
  .mov .rh-pasos { margin-top: 2px; }
  .mov .rh-pt small { font-size: 13.5px; }
  .mov .rh-pt h3 { margin-top: 4px; font-size: 1.55rem; }
  .mov .rh-pt p { margin-top: 6px; font-size: 1rem; line-height: 1.26; }
  .mov .rh-pt .rh-reg { display: none; }
  .mov .rh-escena { display: block; position: relative; }
  .mov .rh-lienzo { position: absolute; inset: 0; display: block; width: 100%; container-type: size; }
  .mov .z { position: absolute; left: 50%; top: 0; translate: -50% 0; transition: opacity .45s var(--ease), visibility .45s; }
  .mov .z-fic, .mov .z-cal { width: min(100cqw, 440px, calc((100cqh - 16px) / 1.333)); }
  .mov .z-cal { top: calc(min(100cqw, 440px, calc((100cqh - 16px) / 1.333)) * .3714 + 16px); }
  .mov .z-rec { width: min(100cqw, 400px, calc(100cqh / 1.39)); }
  .mov .z-salm { width: min(100cqw, 400px, calc(100cqh / 1.362)); }
  .mov .z-mov { width: min(calc(100cqw * .86), calc(100cqh / 1.8)); translate: -57% 0; }
  .mov #rh-mes:not([data-paso="0"], [data-paso="1"]) .z:is(.z-fic, .z-cal), .mov #rh-mes:not([data-paso="2"]) .z-rec, .mov #rh-mes:not([data-paso="3"]) .z-salm, .mov #rh-mes:not([data-paso="4"]) .z-mov { visibility: hidden; opacity: 0; }
}

/* =============================================================== 3. the portal: a phone drawn in code, one tape of three screens */
.rh-portal { background: var(--pagina); color: var(--ink); }
.rh-portal .fijo { padding: clamp(72px, 10vh, 112px) var(--col) clamp(64px, 9vh, 96px); display: grid; gap: 40px; }
.po-eti { font-weight: 600; font-size: 21px; line-height: 1.19; letter-spacing: .011em; }
.po-h2 { margin-top: 8px; max-width: 12em; font-weight: 700; font-size: clamp(2rem, min(3.6vw, 6vh), 3.2rem); line-height: 1.04; letter-spacing: -.034em; text-wrap: balance; }
.po-pasos { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 22px; }
.po-pt { padding-top: 14px; border-top: 1px solid var(--linea); }
.po-pt small { display: block; font-size: 14px; font-weight: 600; color: var(--acento); }
.po-pt h3 { margin-top: 4px; font-weight: 700; font-size: 1.4rem; line-height: 1.1; letter-spacing: -.025em; }
.po-pt p { margin-top: 6px; font-size: 1.05rem; line-height: 1.36; color: #6E6E73; max-width: 26em; }
.po-ind, .po-notas { display: none; }
/* without motion: the three screens side by side, each a phone of its own */
.rh-tel { width: 100%; }
.rh-tel-marco, .rh-tel-pant { display: block; }
.rh-cinta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2.4vw, 32px); }
.rh-pa { position: relative; box-sizing: border-box; aspect-ratio: 9 / 18.4; overflow: hidden; border: 7px solid #1D1D1F; border-radius: 34px; background: #F5F5F7; color: #1D1D1F; font-size: clamp(10.5px, 1.25vw, 15px); padding: 3.1em 1.4em 0; }
.rh-tel-isla { display: none; }

/* the content of the screens, in em of the phone's width */
.pa-top { position: absolute; top: .95em; left: 1.8em; right: 1.8em; display: flex; justify-content: space-between; align-items: center; font: 600 .78em/1 var(--f-mono); letter-spacing: -.02em; }
.pa-bat { width: 1.9em; height: .85em; border-radius: .3em; border: 1.4px solid #1D1D1F; position: relative; }
.pa-bat::after { content: ""; position: absolute; inset: .12em; right: .5em; border-radius: .12em; background: #1D1D1F; }
.pa-t { font-weight: 700; font-size: 1.75em; line-height: 1.05; letter-spacing: -.035em; }
.pa-s { margin-top: .2em; font-size: .8em; line-height: 1.25; color: #6E6E73; }
.pa-card { margin-top: 1.05em; padding: 1.1em 1.15em 1.15em; border-radius: 1.1em; background: #FFFFFF; box-shadow: inset 0 0 0 1px #D2D2D7; }
.pa-fila { display: flex; align-items: center; justify-content: space-between; gap: .6em; font-size: .92em; }
.pa-fila b { font-weight: 600; }
.pa-nuevo { padding: .22em .65em; border-radius: 99px; background: #E8501A; color: #FFFFFF; font-size: .72em; font-weight: 600; }
.pa-et { margin-top: .9em; font-size: .78em; color: #6E6E73; }
.pa-cifra { margin-top: .15em; font-family: var(--f-mono); font-weight: 700; font-size: 2.05em; line-height: 1.05; letter-spacing: -.07em; }
.pa-grande { font-size: 3.6em; letter-spacing: -.08em; }
.pa-dl { margin: .95em 0 0; padding-top: .7em; border-top: 1px solid #E5E5EA; display: grid; gap: .3em; font-size: .8em; }
.pa-dl div { display: flex; justify-content: space-between; }
.pa-dl dt { color: #6E6E73; }
.pa-dl dd { margin: 0; font-family: var(--f-mono); letter-spacing: -.03em; }
.pa-btns { margin-top: 1em; display: flex; gap: .5em; }
.pa-b { display: inline-flex; align-items: center; justify-content: center; min-height: 2.4em; padding: 0 1.1em; border-radius: 99px; font-size: .82em; font-weight: 600; box-shadow: inset 0 0 0 1px #D2D2D7; }
.pa-b.ink { background: #1D1D1F; color: #FFFFFF; box-shadow: none; }
.pa-btns .pa-b.ink { flex: 1; }
.pa-ancho { display: flex; margin-top: 1.1em; }
.pa-lista { list-style: none; margin: 1.05em 0 0; padding: 0; font-size: .86em; }
.pa-lista li { display: flex; align-items: center; justify-content: space-between; padding: .85em 0; border-top: 1px solid #E5E5EA; font-weight: 600; }
.pa-lista i { width: .55em; height: .55em; border-top: 1.6px solid #86868B; border-right: 1.6px solid #86868B; transform: rotate(45deg); margin-right: .2em; }
.pa-dos li { display: grid; gap: .1em; justify-content: stretch; }
.pa-dos b { font-weight: 600; }
.pa-dos span { font-weight: 400; font-size: .9em; color: #6E6E73; }
.pa-seg { margin-top: .9em; display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); gap: .28em; }
.pa-sg { display: block; height: .95em; border-radius: .2em; box-shadow: inset 0 0 0 1px #C7C7CC; }
.pa-sg.on { background: #1D1D1F; box-shadow: none; }
.pa-sg.oc { background: #E8501A; box-shadow: none; }
.pa-ley { margin-top: .7em; font-size: .76em; color: #6E6E73; }
.pa-docs { list-style: none; margin: 1.1em 0 0; padding: 0; display: grid; gap: .6em; }
.pa-docs li { display: flex; align-items: center; gap: .85em; padding: .85em .9em; border-radius: 1em; background: #FFFFFF; box-shadow: inset 0 0 0 1px #D2D2D7; }
.pa-doc { flex: none; position: relative; width: 1.8em; height: 2.3em; border-radius: .3em; box-shadow: inset 0 0 0 1.5px #1D1D1F; }
.pa-doc::after { content: ""; position: absolute; left: .4em; right: .4em; top: .7em; height: .9em; border-block: 1.5px solid #86868B; }
.pa-docs b { display: block; font-size: .86em; font-weight: 600; line-height: 1.2; }
.pa-docs span { display: block; margin-top: .15em; font-size: .74em; color: #E8501A; font-weight: 600; }

.mov #rh-portal { --g3: calc(var(--s, 1) * 3); --q1: clamp(0, calc(var(--g3) - .5), 1); --q2: clamp(0, calc(var(--g3) - 1.5), 1);
  --pos: calc(var(--q1) * var(--q1) * (3 - 2 * var(--q1)) + var(--q2) * var(--q2) * (3 - 2 * var(--q2))); --cg: clamp(28px, 5vw, 80px); z-index: 2; background: var(--pagina); }
.mov #rh-portal .fijo { background: var(--pagina); display: grid; grid-template-columns: minmax(0, 4fr) auto minmax(0, 4fr); grid-template-rows: minmax(0, 1fr); column-gap: var(--cg); align-items: center; gap: 0 var(--cg);
  padding: clamp(76px, 10vh, 96px) max(22px, calc((100% - 1240px) / 2)) clamp(84px, 11vh, 100px); border-radius: calc((1 - var(--entra, 1)) * 32px) calc((1 - var(--entra, 1)) * 32px) 0 0; box-shadow: 0 -30px 60px -30px rgba(0, 0, 0, 0.5);
  transform: translateY(calc(var(--sale, 0) * 100vh)); }
.mov .po-texto { display: grid; align-content: center; min-height: 0; }
.mov .po-pasos { display: grid; margin-top: clamp(18px, 3.4vh, 34px); gap: 0; }
.mov .po-pt { grid-area: 1 / 1; opacity: 0; visibility: hidden; translate: 0 14px; transition: opacity .45s var(--ease), translate .6s cubic-bezier(.4, 0, .2, 1), visibility .45s; }
.mov #rh-portal[data-paso="0"] .po-pt[data-k="0"], .mov #rh-portal[data-paso="1"] .po-pt[data-k="1"], .mov #rh-portal[data-paso="2"] .po-pt[data-k="2"] { opacity: 1; visibility: visible; translate: 0 0; }
.mov .po-pt p { font-size: clamp(1rem, min(1.35vw, 2.5vh), 1.2rem); font-weight: 500; }
.mov .po-ind { display: grid; counter-reset: p; gap: 9px; list-style: none; margin: clamp(24px, 4.4vh, 44px) 0 0; padding: 0; }
.mov .po-ind li { counter-increment: p; display: grid; grid-template-columns: 26px minmax(0, 1fr); align-items: center; gap: 0 12px; font-size: 13px; color: #86868B; transition: color .4s var(--ease); }
.mov .po-ind li span::before { content: counter(p, decimal-leading-zero) "  "; font-family: var(--f-mono); font-size: 12px; }
.mov .po-ind i { position: relative; display: block; height: 2px; background: #D2D2D7; overflow: hidden; }
.mov .po-ind i::after { content: ""; position: absolute; inset: 0; background: var(--acento); transform-origin: 0 50%; transform: scaleX(clamp(0, calc(var(--g3) - var(--k)), 1)); }
.mov #rh-portal[data-paso="0"] .po-ind li:nth-child(1), .mov #rh-portal[data-paso="1"] .po-ind li:nth-child(2), .mov #rh-portal[data-paso="2"] .po-ind li:nth-child(3) { color: var(--ink); }
.mov .po-centro { display: grid; place-items: center; align-self: stretch; min-height: 0; }
.mov .rh-tel { container-type: inline-size; width: auto; height: min(calc(100svh - 190px), 700px); aspect-ratio: 9 / 19; }
.mov .rh-tel-marco { position: relative; box-sizing: border-box; width: 100%; height: 100%; padding: .55em; font-size: calc(100cqw / 21); border-radius: 2.9em; background: #1D1D1F;
  box-shadow: 0 50px 80px -34px rgba(0, 0, 0, 0.45), 0 14px 30px -14px rgba(0, 0, 0, 0.3), inset 0 0 0 1.5px #3A3A3C;
  /* a flat lean: a 3D one (perspective, rotateX/Y) made the label of the glass contact button disappear while this section waits under the stage */
  transform: translate(calc(var(--px, 0) * 9px), calc(var(--py, 0) * 6px)) rotate(calc(var(--px, 0) * .7deg)); }
.mov .rh-tel-pant { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 2.4em; background: #F5F5F7; }
.mov .rh-tel-isla { display: block; position: absolute; z-index: 3; top: .75em; left: 50%; translate: -50% 0; width: 5.6em; height: 1.5em; border-radius: 1em; background: #000000; }
.mov .rh-cinta { display: flex; flex-direction: column; gap: 0; height: 300%; transform: translateY(calc(var(--pos) * -33.3333%)); will-change: transform; }
.mov .rh-pa { flex: 0 0 33.3333%; aspect-ratio: auto; height: auto; overflow: hidden; border: 0; border-radius: 0; font-size: 1em; padding: 4em 1.5em 0; background: transparent; }
.mov .pa-top { top: 1em; left: 2.1em; right: 2.1em; }
.mov .po-notas { display: block; list-style: none; margin: 0; padding: 0; position: relative; align-self: center; height: min(calc(100svh - 190px), 700px); }
.mov .po-nt { position: absolute; left: 0; top: calc(var(--y) * 1%); max-width: 21em; opacity: 0; translate: 0 10px; transition: opacity .45s var(--ease), translate .6s cubic-bezier(.4, 0, .2, 1); }
.mov .po-nt::before { content: ""; position: absolute; right: 100%; top: .78em; width: calc(var(--cg) + 26px); height: 1px; background: #1D1D1F; }
.mov .po-nt::after { content: ""; position: absolute; right: calc(100% + var(--cg) + 21px); top: calc(.78em - 3px); width: 7px; height: 7px; border-radius: 50%; background: var(--acento); }
.mov .po-nt b { display: block; font-family: var(--f-mono); font-weight: 600; font-size: clamp(1.2rem, 1.8vw, 1.6rem); letter-spacing: -.05em; line-height: 1.1; }
.mov .po-nt span { display: block; margin-top: 4px; font-size: clamp(.95rem, 1.15vw, 1.05rem); line-height: 1.3; color: #6E6E73; }
.mov #rh-portal[data-paso="0"] .po-nt[data-k="0"], .mov #rh-portal[data-paso="1"] .po-nt[data-k="1"], .mov #rh-portal[data-paso="2"] .po-nt[data-k="2"] { opacity: 1; translate: 0 0; }
@media (max-width: 1080px) {
  .rh-cinta { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mov #rh-portal .fijo { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); gap: 6px 0; padding: 66px 22px 92px; align-items: start; }
  .mov .po-texto { display: block; }
  .mov .po-eti { font-size: 15px; }
  .mov .po-h2 { margin-top: 2px; max-width: none; font-size: 1.45rem; line-height: 1.06; }
  .mov .po-pasos { margin-top: 10px; }
  .mov .po-pt { padding-top: 10px; }
  .mov .po-pt small { font-size: 13px; }
  .mov .po-pt h3 { font-size: 1.15rem; }
  .mov .po-pt p { margin-top: 3px; font-size: .95rem; line-height: 1.28; }
  .mov .po-ind, .mov .po-notas { display: none; }
  .mov .po-centro { position: relative; display: block; align-self: stretch; }
  .mov .rh-tel { position: absolute; top: 0; left: 50%; translate: -50% 0; height: 100%; max-height: 640px; }
}
@media (max-width: 820px) {
  .rh-cinta { grid-template-columns: minmax(0, 1fr); max-width: 300px; margin-inline: auto; }
  .rh-pa { font-size: 14px; }
}

/* =============================================================== 4. what happens today: three sentences, each with the thing it names */
.rh-dol { position: relative; z-index: 3; box-sizing: border-box; background: var(--oscuro); color: var(--oscuro-ink); border-radius: 32px 32px 0 0; box-shadow: 0 -30px 60px -30px rgba(0, 0, 0, 0.5); padding-block: clamp(76px, 10vh, 108px) clamp(72px, 10vh, 112px); }
.mov .rh-dol { min-height: calc(100vh + 32px); min-height: calc(100svh + 32px); display: grid; align-content: center; padding-bottom: 116px; }
.rh-dol-in { padding-inline: var(--col); }
.rh-dol-cab .titulo { margin: 10px 0 clamp(12px, 2.4vh, 28px); max-width: 16em; font-size: clamp(2rem, min(3.8vw, 6vh), 3.4rem); }
.rh-dol-lista { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--oscuro-linea); }
.rh-dl { --e: clamp(0, calc(var(--v, 1) * 2.4 - var(--i, 0) * .25), 1); display: grid; grid-template-columns: 56px minmax(0, 1.55fr) minmax(0, 1fr); align-items: center; column-gap: clamp(20px, 3vw, 48px); padding-block: clamp(10px, 2vh, 22px); border-bottom: 1px solid var(--oscuro-linea); opacity: var(--e); transform: translateY(calc((1 - var(--e)) * 36px)); }
.rh-dl-n { font-family: var(--f-mono); font-size: 15px; color: var(--acento-oscuro); }
.rh-dl-t { font-weight: 700; font-size: clamp(1.4rem, min(2.55vw, 4.2vh), 2.5rem); line-height: 1.1; letter-spacing: -.032em; color: var(--oscuro-gris); text-wrap: balance; }
.rh-dl-t em { font-style: normal; color: var(--oscuro-ink); }
.rh-dl-f { margin: 0; justify-self: end; width: 100%; }
.dd { display: block; width: 100%; height: auto; max-height: min(18.5vh, 164px); margin-left: auto; --ink: var(--oscuro-ink); --gr: var(--oscuro-gris); --ac: var(--acento-oscuro); }
.dd text { font-family: var(--f); letter-spacing: -.005em; }
.dd .m { font-family: var(--f-mono); }
.dd .bx { fill: color-mix(in srgb, var(--ink) 7%, transparent); stroke: color-mix(in srgb, var(--ink) 28%, transparent); stroke-width: 1.2; }
.dd .res { fill: color-mix(in srgb, var(--ac) 16%, transparent); stroke: var(--ac); stroke-width: 1.3; }
.dd .ln { fill: none; stroke: color-mix(in srgb, var(--ink) 38%, transparent); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.dd .ac-s { fill: none; stroke: var(--ac); stroke-width: 1.5; stroke-linecap: round; }
.dd .dash { stroke-dasharray: 4 4; }
.dd .ac-f, .dd .ac-t { fill: var(--ac); }
.dd .tx { fill: var(--ink); font-weight: 600; letter-spacing: -.01em; }
.dd .tg { fill: var(--gr); font-weight: 500; }
.dd .tb { font-weight: 600; }
.dd .pillr { fill: color-mix(in srgb, var(--ac) 16%, transparent); stroke: var(--ac); stroke-width: 1; }

/* =============================================================== 5. three services: a menu in large type and the drawing that follows it */
.rh-serv { position: relative; z-index: 4; margin-top: -32px; box-sizing: border-box; background: var(--pagina); color: var(--ink); border-radius: 32px 32px 0 0; box-shadow: 0 -22px 44px -30px rgba(0, 0, 0, 0.3); padding-block: clamp(84px, 11vh, 120px) clamp(72px, 10vh, 112px); }
.mov .rh-serv { min-height: calc(100vh + 32px); min-height: calc(100svh + 32px); display: grid; align-content: center; padding-bottom: 130px; }
.sv-in { padding-inline: var(--col); }
.sv-cab .titulo { margin: 10px 0 clamp(18px, 3.4vh, 40px); max-width: 15em; font-size: clamp(2rem, min(3.8vw, 6vh), 3.4rem); }
.sv-carril.carril { overflow: visible; scroll-snap-type: none; }
.sv-carril .fila.sv-lista { list-style: none; margin: 0; padding: 0; position: relative; display: grid; width: auto; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 0 clamp(32px, 4.4vw, 72px); border-bottom: 1px solid var(--linea); }
.sv-it { --e: clamp(0, calc(var(--v, 1) * 2.4 - var(--i, 0) * .25), 1); grid-column: 1; border-top: 1px solid var(--linea); opacity: var(--e); transform: none; transition: opacity .3s var(--ease); }
.sv-it a { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr) 48px; grid-template-areas: "n t f" ". d f"; align-items: start; gap: 6px 0; padding: clamp(14px, 2.6vh, 26px) 0; color: inherit; text-decoration: none; transform: translateY(calc((1 - var(--e)) * 36px)); }
.sv-n { grid-area: n; padding-top: .55em; font-family: var(--f-mono); font-size: 15px; color: var(--gris); }
.sv-it b { grid-area: t; font-weight: 700; font-size: clamp(1.7rem, min(3.3vw, 5.4vh), 3rem); line-height: 1.04; letter-spacing: -.035em; transition: color .3s var(--ease); text-wrap: balance; }
.sv-d { grid-area: d; max-width: 29em; font-size: clamp(1rem, 1.25vw, 1.12rem); line-height: 1.36; color: #6E6E73; }
.sv-f { grid-area: f; align-self: center; justify-self: end; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--linea); transition: background-color .3s var(--ease), box-shadow .3s var(--ease), translate .3s var(--ease); }
.sv-f::before { content: ""; width: 9px; height: 9px; margin-right: 3px; border-top: 1.8px solid currentColor; border-right: 1.8px solid currentColor; transform: rotate(45deg); }
.sv-fig { position: absolute; top: 0; right: 0; bottom: 0; width: calc(47.5% - clamp(16px, 2.2vw, 36px)); margin: 0; display: grid; place-items: center; border-radius: 26px; background: var(--alt); opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s; }
.sv-it:first-child .sv-fig { opacity: 1; visibility: visible; }
.sv-lista:has(.sv-it:nth-child(2) a:is(:hover, :focus-visible)) .sv-it:first-child .sv-fig, .sv-lista:has(.sv-it:nth-child(3) a:is(:hover, :focus-visible)) .sv-it:first-child .sv-fig { opacity: 0; visibility: hidden; }
.sv-it:has(a:is(:hover, :focus-visible)) .sv-fig { opacity: 1; visibility: visible; }
.sv { display: block; width: 84%; height: auto; max-height: 86%; --ink: var(--ink); --gr: #86868B; }
.sv text { font-family: var(--f); letter-spacing: -.005em; }
.sv .m { font-family: var(--f-mono); }
.sv .bx { fill: #FFFFFF; stroke: var(--linea); stroke-width: 1.2; }
.sv .bx.ac { stroke: var(--acento); stroke-width: 1.6; }
.sv .bx.dash { fill: none; stroke: #86868B; stroke-dasharray: 4 4; }
.sv .ln { fill: none; stroke: #86868B; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.sv .ln.dash { stroke-dasharray: 4 4; }
.sv .tx { fill: var(--ink); font-weight: 600; letter-spacing: -.01em; }
.sv .tg { fill: #86868B; font-weight: 500; }
.sv .tb { font-weight: 600; }
.sv .cp { fill: #86868B; font-size: 11px; font-weight: 600; letter-spacing: .1em; }
.sv .ac-f, .sv .ac-t, .sv .ac-c { fill: var(--acento); }
.sv .ac-s { fill: none; stroke: var(--acento); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sv .ac-v { fill: none; stroke: #FFFFFF; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sv .bl { fill: #D2D2D7; }
.sv .dtp { fill: #C7C7CC; }
.sv .sg { fill: none; stroke: #C7C7CC; stroke-width: 1.2; }
.sv .sg.on { fill: #1D1D1F; stroke: none; }
.sv .sg.oc { fill: var(--acento); stroke: none; }
@media (hover: hover) {
  .sv-lista:has(.sv-it a:hover) .sv-it:not(:has(a:hover)) { opacity: .42; }
  .sv-it a:hover b { color: var(--acento); }
  .sv-it a:hover .sv-f { background: var(--acento); box-shadow: none; color: #FFFFFF; translate: 4px 0; }
}
.sv-it a:focus-visible { outline-offset: -2px; border-radius: 12px; }

/* =============================================================== 6. the questions: the answer first, in large type */
.rh-preg { position: relative; z-index: 5; margin-top: -32px; box-sizing: border-box; background: var(--alt); color: var(--ink); border-radius: 32px; box-shadow: 0 -30px 60px -30px rgba(0, 0, 0, 0.35), 0 34px 60px -30px rgba(0, 0, 0, 0.5); padding-block: clamp(84px, 11vh, 120px) clamp(72px, 10vh, 112px); }
.mov .rh-preg { min-height: 100vh; min-height: 100svh; display: grid; align-content: center; }
.pq-in { padding-inline: var(--col); display: grid; gap: clamp(14px, 3vh, 34px); }
.pq-cab .titulo { margin-top: 10px; max-width: 12em; font-size: clamp(2rem, min(3.8vw, 6vh), 3.4rem); line-height: 1.04; }
.pq-lista { border-bottom: 1px solid var(--linea); }
.pq { --e: clamp(0, calc(var(--v, 1) * 2.4 - var(--i, 0) * .25), 1); display: grid; grid-template-columns: 56px minmax(0, 1.3fr) minmax(0, .7fr); grid-template-areas: "n p f" "n a f" "n r f"; column-gap: clamp(20px, 3vw, 48px); align-content: center; padding-block: clamp(16px, 3.2vh, 34px); border-top: 1px solid var(--linea); opacity: var(--e); transform: translateY(calc((1 - var(--e)) * 36px)); }
.pq-n { grid-area: n; padding-top: .4em; font-family: var(--f-mono); font-size: 15px; color: var(--acento); }
.pq-p { grid-area: p; font-weight: 600; font-size: clamp(1.05rem, min(1.6vw, 2.8vh), 1.4rem); line-height: 1.2; letter-spacing: -.02em; color: #6E6E73; }
.pq-a { grid-area: a; margin-top: 4px; font-weight: 700; font-size: clamp(2.2rem, min(5.2vw, 8.6vh), 4.6rem); line-height: 1.02; letter-spacing: -.042em; text-wrap: balance; }
.pq-r { grid-area: r; margin-top: 8px; max-width: 32em; font-size: clamp(1rem, min(1.35vw, 2.5vh), 1.22rem); line-height: 1.38; color: #424245; }
.pq-f { grid-area: f; margin: 0; align-self: center; }
.qd { display: block; width: 100%; height: auto; max-height: min(20vh, 160px); --ink: #1D1D1F; }
.qd text { font-family: var(--f); letter-spacing: -.005em; }
.qd .m { font-family: var(--f-mono); }
.qd .bx { fill: #FFFFFF; stroke: var(--linea); stroke-width: 1.2; }
.qd .bx.ac { stroke: var(--acento); stroke-width: 1.6; }
.qd .bx.dash { fill: none; stroke: #86868B; stroke-dasharray: 4 4; }
.qd .ln { fill: none; stroke: #86868B; stroke-width: 1.3; stroke-linecap: round; }
.qd .ln.dash { stroke-dasharray: 4 4; }
.qd .tx { fill: var(--ink); font-weight: 600; letter-spacing: -.01em; }
.qd .tg { fill: #86868B; font-weight: 500; }
.qd .tb { font-weight: 600; }
.qd .ac-f, .qd .ac-t { fill: var(--acento); }
.mov .serv-cierre { position: sticky; bottom: 0; z-index: 0; }

/* =============================================================== phones */
@media (max-width: 1080px) {
  .rh-hero-dentro { grid-template-columns: minmax(0, 1fr); row-gap: 22px; }
  .rh-fig { justify-self: stretch; width: 100%; max-width: 640px; }
  .sv-carril .fila.sv-lista { grid-template-columns: minmax(0, 1fr); }
  .sv-fig { display: none; }
}
@media (max-width: 820px) {
  /* hero */
  #rh-hero { padding-top: 84px; }
  .rh-hero h1 { font-size: clamp(2.3rem, 11vw, 3rem); }
  .rh-ceja { margin-bottom: 8px; font-size: 16px; }
  .rh-sub { margin-top: 10px; font-size: 1.02rem; line-height: 1.24; }
  .rh-hero .acciones { margin-top: 12px; }
  .rh-hero .enlace { display: none; }
  .rh-aval { display: none; }
  .mov #rh-hero { display: block; height: 100vh; height: 100svh; padding-top: 76px; padding-bottom: 20px; }
  .rh-hero-dentro { row-gap: 14px; }
  .rh-dias { grid-auto-rows: clamp(40px, 6.6vh, 56px); grid-auto-rows: clamp(40px, 6.6svh, 56px); }
  .rh-d { padding: 5px 5px 6px; }
  .rh-sem li { padding: 0 5px 6px; font-size: 11px; letter-spacing: .06em; }
  .rh-d .n { font-size: 1rem; }
  .rh-cal-cab span { font-size: 10.5px; }
  .rh-cal-cab b { font-size: 1.1rem; }
  .rh-pie { gap: 3px; min-height: 14px; }
  .rh-pie .f { width: 5px; height: 5px; }
  .rh-pie .x { font-size: 8.5px; padding: 2px 4px; }
  .rh-et { font-size: 8.5px; }
  .rh-d.vac .rh-et { font-size: 8px; letter-spacing: -.04em; }
  .rh-fondo { inset: 2px; border-radius: 7px; }
  .rh-d.vi .rh-fondo { inset: 2px 0 2px 2px; border-radius: 7px 0 0 7px; }
  .rh-d.vm .rh-fondo { inset: 2px 0; }
  .rh-d.vf .rh-fondo { inset: 2px 2px 2px 0; border-radius: 0 7px 7px 0; }
  .rh-leyenda { padding-top: 8px; gap: 4px 12px; font-size: 11px; }
  .rh-leyenda b { font-size: 14px; }
  .rh-leyenda li { gap: 5px; }
  .rh-fig figcaption { margin-top: 6px; font-size: 11px; }
  .rh-nota { width: 200px; font-size: 12px; padding: 9px 11px 10px; }
  .rh-nota b { font-size: 13px; }
  /* what happens today */
  .rh-dol { padding-block: 70px 60px; }
  .mov .rh-dol { padding-bottom: 110px; }
  .rh-dol-cab .titulo { font-size: 1.6rem; margin-bottom: 8px; }
  .rh-dol-cab .etiqueta { font-size: 15px; }
  .rh-dl { grid-template-columns: minmax(0, 1fr); row-gap: 8px; padding-block: 12px; }
  .rh-dl-n { display: none; }
  .rh-dl-t { font-size: 1.3rem; line-height: 1.1; }
  .rh-dl-f { justify-self: start; }
  .dd { max-height: 100px; margin-left: 0; }
  /* services: a row you swipe */
  .sv-carril.carril { overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -22px; padding-inline: 22px; }
  .sv-carril .fila.sv-lista { display: flex; width: max-content; gap: 12px; border: 0; }
  .sv-it { box-sizing: border-box; grid-column: auto; flex: 0 0 min(82vw, 330px); scroll-snap-align: start; border: 1px solid var(--linea); border-radius: 20px; padding: 16px 16px 14px; background: var(--pagina); }
  .sv-it a { grid-template-columns: minmax(0, 1fr) 40px; grid-template-areas: "t f" "d d"; padding: 0; }
  .sv-n { display: none; }
  .sv-it b { font-size: 1.45rem; }
  .sv-d { margin-top: 2px; font-size: .95rem; line-height: 1.3; }
  .sv-f { width: 38px; height: 38px; }
  .sv-fig { position: static; display: grid; width: 100%; margin-top: 10px; padding: 8px; opacity: 1; visibility: visible; border-radius: 14px; }
  .sv { width: 100%; max-height: none; }
  .rh-serv { padding-block: 70px 60px; }
  .mov .rh-serv { padding-bottom: 120px; }
  .sv-cab .titulo { font-size: 1.7rem; margin-bottom: 14px; }
  /* questions */
  .rh-preg { padding-block: 72px 56px; }
  .pq-cab .titulo { font-size: 1.7rem; }
  .pq { grid-template-columns: minmax(0, 1fr); grid-template-areas: "p" "a" "r" "f"; row-gap: 2px; padding-block: 14px; }
  .pq-n { display: none; }
  .pq-p { font-size: 1.02rem; }
  .pq-a { font-size: 2.1rem; margin-top: 2px; }
  .pq-r { margin-top: 4px; font-size: .95rem; line-height: 1.32; }
  .pq-f { margin-top: 8px; }
  .qd { max-height: 86px; width: auto; max-width: 100%; }
}

/* =============================================================== short phones
   Safari gives the page about 700px of an 844px phone, and the contact button floats over the bottom 100px of it.
   Everything below is scoped to phone widths and to heights under 780px, so 390x844 and the desktop sizes are untouched.
   Heights are written in svh (what a resting place can count on seeing), never in vh. */
@media (max-width: 820px) and (max-height: 780px) {
  /* hero: the whole month, its legend and the button fit above the bottom edge */
  .mov #rh-hero { padding-top: 66px; padding-bottom: 12px; }
  .rh-ceja { margin-bottom: 4px; font-size: 15px; }
  .rh-hero h1 { font-size: clamp(2.1rem, 9.8vw, 2.45rem); }
  .rh-sub { margin-top: 8px; font-size: .94rem; line-height: 1.22; }
  .rh-hero .acciones { margin-top: 10px; }
  .rh-hero .pildora { min-height: 44px; }
  .rh-hero-dentro { row-gap: 10px; }
  .rh-cal-cab { padding-bottom: 6px; }
  .rh-dias { grid-auto-rows: 39px; }
  .rh-fig figcaption { display: none; }
  .rh-leyenda { padding-top: 7px; }
  /* what happens today: three rows that clear the button */
  .rh-dol { padding-block: 62px 0; }
  .mov .rh-dol { padding-bottom: 112px; }
  .rh-dol-cab .etiqueta { display: none; }
  .rh-dol-cab .titulo { margin: 0 0 4px; font-size: 1.45rem; }
  .rh-dl { row-gap: 4px; padding-block: 8px; }
  .rh-dl-t { font-size: 1.08rem; line-height: 1.1; }
  .dd { max-height: 92px; }
  /* questions: the answer, its line and a small drawing, all above the button */
  .rh-preg { padding-block: 62px 0; }
  .mov .rh-preg { padding-bottom: 112px; }
  .pq-in { gap: 4px; }
  .pq-cab .etiqueta { display: none; }
  .pq-cab .titulo { margin: 0; max-width: none; font-size: 1.45rem; }
  .pq { padding-block: 8px; }
  .pq-p { font-size: .94rem; line-height: 1.2; }
  .pq-a { font-size: 1.85rem; margin-top: 0; }
  .pq-r { margin-top: 2px; font-size: .9rem; line-height: 1.28; }
  .pq-f { margin-top: 4px; }
  .qd { max-height: 84px; }
}
