/**
 * HERMA — widgets.css
 * QB widget styles (Elementor) and the enquiry form. Loaded only where a QB
 * widget or the [hrm_contact_form] shortcode is used (handle: hrm-widgets).
 */

/* ---- Enquiry form ---- */
.hrm-form { padding: clamp(24px, 3.4vw, 40px); border-radius: var(--hrm-r-xl); border: 1px solid var(--hrm-line); background: #fff; box-shadow: 0 30px 70px -50px rgba(var(--hrm-primary-dark-rgb), .45); }
.hrm-form__body { display: flex; flex-direction: column; gap: 20px; }
.hrm-form__head { display: flex; flex-direction: column; gap: 6px; }
.hrm-form__title { font-size: 1.375rem; }
.hrm-form__note { font-size: .875rem; color: var(--hrm-muted); }
.hrm-form__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.hrm-field { display: flex; flex-direction: column; gap: 8px; }
.hrm-field label { font-size: .844rem; font-weight: 600; color: #28464B; }
.hrm-field input, .hrm-field select, .hrm-field textarea { inline-size: 100%; block-size: 50px; padding-inline: 16px; border: 1px solid #D7E3E4; border-radius: var(--hrm-r-sm); background: #fff; color: var(--hrm-ink); font-size: .94rem; transition: border-color .3s ease, box-shadow .3s ease; }
.hrm-field textarea { block-size: 150px; padding-block: 14px; line-height: 1.6; resize: vertical; }
.hrm-field input:focus, .hrm-field select:focus, .hrm-field textarea:focus { outline: none; border-color: var(--hrm-primary); box-shadow: 0 0 0 4px rgba(var(--hrm-primary-rgb), .12); }
.hrm-field.is-invalid input, .hrm-field.is-invalid textarea { border-color: #C2413A; }
.hrm-form__hp { position: absolute !important; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); }
.hrm-form__msg { min-block-size: 0; font-size: .875rem; color: #B3372F; }
.hrm-form__msg:empty { display: none; }
.hrm-form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.hrm-form__reply { font-size: .8125rem; color: var(--hrm-muted); }
.hrm-form.is-sending button[type="submit"] { opacity: .7; pointer-events: none; }
.hrm-form__done { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding-block: 32px; animation: hrmFade .5s ease both; }
.hrm-form__done[hidden] { display: none; }
.hrm-form__done-ic { display: inline-flex; align-items: center; justify-content: center; inline-size: 44px; block-size: 44px; border-radius: 12px; background: var(--hrm-primary); color: #fff; }
.hrm-form__done-title { font-size: 1.5rem; }
@keyframes hrmFade { from { opacity: 0; } to { opacity: 1; } }

/* ---- QB widgets (added in step 2) ---- */

.elementor .elementor-widget.hrm-el, .elementor .elementor-widget.hrm-el:not(:last-child), .elementor-widget.hrm-el > .elementor-widget-container { margin: 0; padding: 0; }
.hrm-w.hrm-sec--sp-flush-top { padding-block-start: 0; }
.hrm-w.hrm-sec--sp-tight-top { padding-block-start: clamp(36px, 4vw, 56px); }
.hrm-w.hrm-sec--sp-compact { padding-block: clamp(48px, 5.5vw, 80px); }
.hrm-w.hrm-sec--sp-none { padding-block: 0; }
.hrm-w__title { font-size: var(--hrm-h2); }
.hrm-w__center { display: flex; justify-content: center; margin-block-start: 36px; }
.hrm-head--stack { flex-direction: column; align-items: flex-start; }
.hrm-head--stack .hrm-head__text { max-inline-size: 60ch; }

/* ---- Hero slider ---- */
.hrm-hero { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; justify-content: center; min-block-size: 660px; background: var(--hrm-dark); color: #fff; }
.hrm-hero__media { position: absolute; inset-block: 0; inset-inline-end: -1px; inline-size: calc(60% + 2px); z-index: -1; overflow: hidden; contain: paint;
	/* The photo itself fades to transparent toward the text, so its edge melts into the
	   section background. No overlay edge = no 1px seam flickering while the image zooms. */
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .18) 10%, rgba(0, 0, 0, .62) 26%, #000 48%);
	mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .18) 10%, rgba(0, 0, 0, .62) 26%, #000 48%); }
.hrm-hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.hrm-hero__slide.is-active { opacity: 1; }
.hrm-hero__slide img { inline-size: 100%; block-size: 100%; object-fit: cover; }
.hrm-hero__slide.is-active img { animation: hrmKb 9s ease-out both; will-change: transform; }
.hrm-hero__slide img { transform-origin: center; backface-visibility: hidden; }
@keyframes hrmKb { from { transform: scale(1.08); } to { transform: scale(1); } }
.hrm-hero__fade { position: absolute; inset: -2px; background: linear-gradient(90deg, rgba(var(--hrm-dark-rgb), .55) 0%, rgba(var(--hrm-dark-rgb), .2) 40%, rgba(var(--hrm-dark-rgb), 0) 70%), linear-gradient(0deg, rgba(var(--hrm-dark-rgb), .88) 0%, rgba(var(--hrm-dark-rgb), 0) 38%); }
.hrm-hero__bp { position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 35%, transparent 62%); mask-image: linear-gradient(90deg, #000 0%, #000 35%, transparent 62%); }
.hrm-hero__glow { position: absolute; inset-inline-start: -200px; inset-block-start: -220px; inline-size: 720px; block-size: 720px; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(var(--hrm-accent-rgb), .16), transparent); pointer-events: none; }
.hrm-hero__badge { position: absolute; inset-inline-end: 32px; inset-block-start: 36px; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; padding-inline: 12px 16px; border-radius: var(--hrm-radius); background: rgba(var(--hrm-dark-rgb), .5); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.hrm-hero__badge-ic { display: inline-flex; align-items: center; justify-content: center; inline-size: 40px; block-size: 40px; border-radius: 12px; background: rgba(var(--hrm-accent-rgb), .16); color: #9DE0E2; }
.hrm-hero__badge strong { display: block; font-size: .875rem; font-weight: 600; line-height: 1.3; }
.hrm-hero__badge small { display: block; font-size: .78rem; color: #A9CDCF; }
.hrm-hero__in { position: relative; z-index: 2; padding-block: 104px 200px; }
.hrm-hero__copy { display: flex; flex-direction: column; gap: 32px; max-inline-size: 580px; }
.hrm-hero__text-wrap { display: flex; flex-direction: column; gap: 22px; }
.hrm-hero__text-wrap[hidden] { display: none; }
.hrm-hero__text-wrap.is-active > * { animation: hrmUp .95s var(--hrm-ease) both; }
.hrm-hero__text-wrap.is-active > :nth-child(2) { animation-delay: .1s; }
.hrm-hero__text-wrap.is-active > :nth-child(3) { animation-delay: .22s; }
.hrm-hero__kicker { display: inline-flex; align-items: center; gap: 12px; color: var(--hrm-accent); font-weight: 600; font-size: .875rem; }
.hrm-hero__kicker i { display: block; inline-size: 36px; block-size: 2px; border-radius: 2px; background: currentColor; transform-origin: left; animation: hrmDraw 1s var(--hrm-ease) both; }
.hrm-hero__title { color: #fff; font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.25rem); line-height: 1.07; max-inline-size: 15ch; }
.hrm-hero__text { color: #B9D3D5; font-size: 1.0625rem; line-height: 1.7; max-inline-size: 50ch; }
.hrm-hero__btns { display: flex; flex-wrap: wrap; gap: 12px; animation: hrmUp .95s .34s var(--hrm-ease) both; }
.hrm-hero__ctrl { position: absolute; inset-inline: 0; inset-block-end: 92px; z-index: 3; }
.hrm-hero__ctrl-in { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.hrm-hero__tabs { display: flex; gap: 20px; flex: 0 1 560px; min-inline-size: 0; }
.hrm-hero__tab { flex: 1; display: flex; flex-direction: column; gap: 12px; min-inline-size: 0; padding: 0; border: 0; background: none; color: rgba(255,255,255,.55); font-size: .8125rem; font-weight: 500; text-align: start; cursor: pointer; transition: color .3s ease; }
.hrm-hero__tab b { font-weight: 600; font-variant-numeric: tabular-nums; margin-inline-end: 8px; }
.hrm-hero__tab:hover { color: rgba(255,255,255,.85); }
.hrm-hero__tab.is-active { color: #fff; }
.hrm-hero__bar { position: relative; display: block; block-size: 2px; border-radius: 2px; background: rgba(255,255,255,.18); overflow: hidden; }
.hrm-hero__bar i { position: absolute; inset: 0; background: var(--hrm-accent); transform: scaleX(0); transform-origin: left; }
.hrm-hero__tab.is-active .hrm-hero__bar i { animation: hrmFill var(--hrm-hero-dur, 7s) linear both; }
.hrm-hero:not([data-interval]) .hrm-hero__tab.is-active .hrm-hero__bar i, .hrm-hero[data-interval="0"] .hrm-hero__tab.is-active .hrm-hero__bar i, .hrm-hero.is-paused .hrm-hero__tab.is-active .hrm-hero__bar i { animation: none; transform: scaleX(1); }
@keyframes hrmFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hrm-hero__nav { display: flex; align-items: center; gap: 10px; }
.hrm-hero__caption { max-inline-size: 30ch; margin-inline-end: 10px; color: #B9D3D5; font-size: .8125rem; line-height: 1.45; text-align: end; }
.hrm-hero__caption[hidden] { display: none; }
.hrm-hero__arrow { display: inline-flex; align-items: center; justify-content: center; inline-size: 48px; block-size: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.24); background: rgba(var(--hrm-dark-rgb), .35); color: #fff; cursor: pointer; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: all .35s ease; }
.hrm-hero__arrow:hover { background: #fff; color: var(--hrm-dark); border-color: #fff; }

/* ---- Facts card ---- */
.hrm-facts-wrap { position: relative; z-index: 5; }
.hrm-facts-wrap--overlap { margin-block-start: -56px; }
.hrm-facts-card { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 28px; padding: 34px 40px; border-radius: var(--hrm-r-lg); border: 1px solid color-mix(in srgb, var(--hrm-line) 85%, transparent); background: #fff; box-shadow: var(--hrm-shadow-l); }
.hrm-facts-card__line { position: absolute; inset-inline: 47px; inset-block-start: 40px; block-size: 2px; border-radius: 2px; background: color-mix(in srgb, var(--hrm-line) 70%, var(--hrm-primary)); }
.hrm-facts-card__item { position: relative; display: flex; flex-direction: column; gap: 10px; }
.hrm-facts-card__node { inline-size: 14px; block-size: 14px; border-radius: 50%; border: 2px solid var(--hrm-primary); background: #fff; }
.hrm-facts-card__node.is-first { background: var(--hrm-primary); box-shadow: 0 0 0 5px rgba(var(--hrm-primary-rgb), .14); }
.hrm-facts-card__value { margin-block-start: 10px; color: var(--hrm-ink); font-size: 1.75rem; font-weight: var(--hrm-h-weight); font-stretch: 116%; line-height: 1.05; }
.hrm-facts-card__label { font-size: .875rem; color: var(--hrm-muted); }

/* ---- About story ---- */
.hrm-about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 72px); align-items: center; }
.hrm-about--rev .hrm-about__media { order: 2; }
.hrm-about__media { position: relative; padding-inline-end: 56px; padding-block-end: 56px; min-inline-size: 0; }
.hrm-about__main { aspect-ratio: 9 / 10; border-radius: var(--hrm-r-lg); }
.hrm-about__small { position: absolute; inset-inline-end: 0; inset-block-end: 0; inline-size: 44%; aspect-ratio: 52 / 62; border-radius: var(--hrm-radius); border: 6px solid #fff; box-shadow: var(--hrm-shadow-m); }
.hrm-about__badge { position: absolute; inset-inline-start: 20px; inset-block-end: 76px; z-index: 2; display: flex; flex-direction: column; gap: 2px; max-inline-size: 230px; padding: 14px 18px; border-radius: 14px; background: var(--hrm-dark); color: #fff; box-shadow: var(--hrm-shadow-l); }
.hrm-about__badge small { color: #8ED0D3; font-size: .78rem; }
.hrm-about__badge strong { font-size: .9rem; font-weight: 600; line-height: 1.35; }
.hrm-about__body { display: flex; flex-direction: column; gap: 20px; min-inline-size: 0; }
.hrm-about__body .hrm-w__title { max-inline-size: 18ch; }
.hrm-about__rich > * + * { margin-block-start: 1em; }
.hrm-about__rich p { max-inline-size: 58ch; }
.hrm-miles { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); margin: 4px 0 0; padding: 0; list-style: none; border-block-start: 1px solid var(--hrm-line); }
.hrm-miles li { display: flex; flex-direction: column; gap: 4px; padding-block-start: 16px; padding-inline-end: 16px; }
.hrm-miles__year { color: var(--hrm-primary); font-size: 1.25rem; font-weight: 600; font-stretch: 114%; }
.hrm-miles__label { color: var(--hrm-muted); font-size: .844rem; line-height: 1.5; }
.hrm-about__cta { margin-block-start: 6px; }

/* ---- Vision / mission / values ---- */
.hrm-vmv { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); border-radius: var(--hrm-r-xl); border: 1px solid var(--hrm-line); overflow: hidden; }
.hrm-vmv__panel { display: flex; flex-direction: column; gap: 12px; padding: clamp(28px, 3.4vw, 44px); background: var(--hrm-bg-soft); }
.hrm-vmv__panel + .hrm-vmv__panel { border-inline-start: 1px solid var(--hrm-line); }
.hrm-vmv__panel.hrm-dark { background-color: var(--hrm-dark); }
.hrm-vmv__panel .hrm-w__title { font-size: 1.2rem; }
.hrm-vmv__panel p { font-size: .94rem; line-height: 1.75; }

/* ---- Timeline ---- */
.hrm-tl { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 28px; margin: 0; padding: 0; list-style: none; }
.hrm-tl::before { content: ""; position: absolute; inset-inline: 7px; inset-block-start: 6px; block-size: 2px; border-radius: 2px; background: rgba(255,255,255,.16); }
.hrm-sec:not(.hrm-sec--dark) .hrm-tl::before { background: var(--hrm-line); }
.hrm-tl__item { position: relative; display: flex; flex-direction: column; gap: 12px; }
.hrm-tl__node { inline-size: 14px; block-size: 14px; border-radius: 50%; border: 2px solid var(--hrm-accent); background: var(--hrm-dark); }
.hrm-sec:not(.hrm-sec--dark) .hrm-tl__node { border-color: var(--hrm-primary); background: #fff; }
.hrm-tl__node.is-first { background: var(--hrm-accent); box-shadow: 0 0 0 5px rgba(var(--hrm-accent-rgb), .16); }
.hrm-tl__year { margin-block-start: 8px; color: var(--hrm-ink); font-size: 1.6rem; font-weight: 600; font-stretch: 116%; }
.hrm-sec--dark .hrm-tl__year { color: #fff; }
.hrm-tl__label { font-size: .9rem; line-height: 1.6; }

/* ---- Services panels ---- */
.hrm-panels { --hrm-panels-h: 480px; display: flex; gap: 12px; block-size: var(--hrm-panels-h); }
.hrm-panel { position: relative; flex: 1 1 0; min-inline-size: 0; overflow: hidden; isolation: isolate; border-radius: var(--hrm-r-lg); background: #0F444C; transition: flex-grow .9s var(--hrm-ease); }
.hrm-panel.is-on { flex-grow: 4; }
.hrm-panel__img { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover; filter: saturate(.7) brightness(.7); transform: scale(1.05); transition: filter .9s ease, transform 1.4s var(--hrm-ease); }
.hrm-panel:hover .hrm-panel__img { filter: saturate(.85) brightness(.8); }
.hrm-panel.is-on .hrm-panel__img { filter: none; transform: scale(1); }
.hrm-panel__shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(var(--hrm-dark-rgb), .2) 0%, rgba(var(--hrm-dark-rgb), .3) 45%, rgba(var(--hrm-darker-rgb), .9) 100%); }
.hrm-panel.is-on .hrm-panel__shade { background: linear-gradient(180deg, rgba(var(--hrm-dark-rgb), 0) 22%, rgba(var(--hrm-dark-rgb), .5) 55%, rgba(var(--hrm-darker-rgb), .94) 100%); }
.hrm-panel__btn { position: absolute; inset: 0; z-index: 2; padding: 0; border: 0; border-radius: inherit; background: transparent; cursor: pointer; }
.hrm-panel__btn:focus-visible { outline: 2px solid var(--hrm-accent); outline-offset: -4px; }
.hrm-panel__name { position: absolute; inset-inline-start: 24px; inset-block-end: 26px; z-index: 1; display: flex; align-items: center; gap: 12px; writing-mode: vertical-rl; transform: rotate(180deg); color: #fff; font-weight: 600; font-stretch: 108%; font-size: .97rem; white-space: nowrap; pointer-events: none; transition: opacity .35s ease; }
.hrm-panel__dot { flex: none; inline-size: 8px; block-size: 8px; border-radius: 50%; border: 2px solid var(--hrm-accent); }
.hrm-panel.is-on .hrm-panel__name { opacity: 0; }
.hrm-panel__content { position: absolute; inset-inline: 0; inset-block-end: 0; z-index: 3; display: flex; flex-direction: column; gap: 12px; padding: 34px 36px; pointer-events: none; opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .6s var(--hrm-ease); visibility: hidden; }
.hrm-panel.is-on .hrm-panel__content { opacity: 1; transform: none; visibility: visible; transition-delay: .25s; }
.hrm-panel__content a { pointer-events: auto; }
.hrm-panel__label { color: var(--hrm-accent); font-size: .8125rem; font-weight: 600; }
.hrm-panel__title { color: #fff; font-size: 1.5rem; line-height: 1.25; max-inline-size: 24ch; }
.hrm-sec--dark .hrm-panel__text { color: #C9DEDF; font-size: .94rem; line-height: 1.65; max-inline-size: 52ch; }
.hrm-panel__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 0; padding: 0; list-style: none; }
.hrm-panel__tags li { padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: #E2F0F0; font-size: .78rem; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hrm-panel__link { margin-block-start: 6px; color: #fff; }

/* ---- Products tabs ---- */
.hrm-tabpanel[hidden] { display: none; }
.hrm-tabpanel { animation: hrmFade .5s ease both; }
.hrm-tabpanel__intro { max-inline-size: 70ch; margin-block-end: 28px; font-size: .94rem; }
.hrm-dealer { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: 28px 24px; border-radius: var(--hrm-radius); color: #fff; }
.hrm-dealer__top { display: flex; flex-direction: column; gap: 12px; color: var(--hrm-accent); }
.hrm-dealer__title { font-size: 1.2rem; line-height: 1.3; }
.hrm-dealer p { font-size: .875rem; line-height: 1.6; }

/* ---- Project index (compact) ---- */
.hrm-pindex { display: grid; grid-template-columns: minmax(0, 290px) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; margin-block-start: 80px; padding-block-start: 56px; border-block-start: 1px solid var(--hrm-line); }
.hrm-pindex__side { display: flex; flex-direction: column; gap: 14px; }
.hrm-pindex__title { font-size: 1.5rem; }
.hrm-pindex__card { padding: 34px 38px 32px; border-radius: var(--hrm-r-lg); border: 1px solid var(--hrm-line); background: #fff; box-shadow: 0 30px 60px -48px rgba(var(--hrm-primary-dark-rgb), .45); animation: hrmFade .5s ease both; }
.hrm-pindex__card[hidden] { display: none; }
.hrm-pindex__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-block-end: 6px; }
.hrm-pindex__head h4 { font-size: 1.25rem; }
.hrm-pindex__head span { color: var(--hrm-muted); font-size: .8125rem; }
.hrm-pindex__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; margin: 0 0 24px; padding: 0; list-style: none; }
.hrm-pindex__list li { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-block: 15px; border-block-end: 1px solid color-mix(in srgb, var(--hrm-line) 70%, transparent); }
.hrm-pindex__name { color: var(--hrm-ink); font-size: .94rem; font-weight: 500; line-height: 1.45; }
.hrm-pindex__place { color: var(--hrm-muted); font-size: .8125rem; white-space: nowrap; }
.hrm-nodes { position: relative; display: flex; flex-direction: column; }
.hrm-nodes::before { content: ""; position: absolute; inset-inline-start: 6px; inset-block: 20px; inline-size: 2px; border-radius: 2px; background: var(--hrm-line); }
.hrm-node { position: relative; display: flex; align-items: center; gap: 16px; padding: 9px 0; border: 0; background: none; color: var(--hrm-muted); font-size: .94rem; font-weight: 500; text-align: start; cursor: pointer; transition: color .3s ease; }
.hrm-node__dot { position: relative; z-index: 1; flex: none; inline-size: 14px; block-size: 14px; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--hrm-line) 60%, var(--hrm-primary)); background: var(--hrm-bg-soft); transition: all .35s ease; }
.hrm-node:hover { color: var(--hrm-ink); }
.hrm-node.is-active { color: var(--hrm-ink); font-weight: 600; }
.hrm-node.is-active .hrm-node__dot { background: var(--hrm-primary); border-color: var(--hrm-primary); box-shadow: 0 0 0 5px rgba(var(--hrm-primary-rgb), .14); }
.hrm-proj { display: flex; flex-direction: column; gap: 14px; color: var(--hrm-ink); }
.hrm-proj__media { display: block; aspect-ratio: 4 / 3; border-radius: var(--hrm-radius); }
.hrm-proj__body { display: flex; flex-direction: column; gap: 2px; }
.hrm-proj__meta { color: var(--hrm-muted); font-size: .8125rem; transition: color .3s ease; }
.hrm-proj:hover .hrm-proj__meta { color: var(--hrm-primary); }
.hrm-proj__title { color: var(--hrm-ink); font-weight: 600; font-size: 1.06rem; line-height: 1.4; }
.hrm-proj__cap { font-weight: 500; color: var(--hrm-muted); }
.hrm-prd { display: flex; flex-direction: column; }
.hrm-prd__media { position: relative; display: block; aspect-ratio: 4 / 3; background: #EEF4F4; }
.hrm-prd__code { position: absolute; inset-inline-start: 14px; inset-block-start: 14px; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--hrm-primary-dark); font-size: .75rem; font-weight: 600; }
.hrm-prd__body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 20px 20px 22px; }
.hrm-prd__line { color: var(--hrm-primary); font-size: .78rem; font-weight: 600; }
.hrm-prd__title { font-size: 1.06rem; line-height: 1.35; }
.hrm-prd__title a { color: inherit; }
.hrm-prd__text { flex: 1; color: var(--hrm-muted); font-size: .875rem; line-height: 1.6; }
.hrm-prd__link { margin-block-start: 8px; font-size: .875rem; }

/* ---- Gallery strip ---- */
.hrm-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr); gap: 14px; overflow-x: auto; padding-block-end: 8px; scrollbar-width: thin; scrollbar-color: rgba(127,127,127,.35) transparent; }
.hrm-strip__item { margin: 0; aspect-ratio: 4 / 5; border-radius: var(--hrm-radius); }
.hrm-strip--1-1 .hrm-strip__item { aspect-ratio: 1; }
.hrm-strip--4-3 .hrm-strip__item { aspect-ratio: 4 / 3; }
.hrm-sec--dark .hrm-strip__item { background: #0F444C; }

/* ---- Why (icon list) ---- */
.hrm-why2 { display: flex; flex-direction: column; gap: 40px; }
.hrm-why2--side { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: clamp(40px, 6vw, 80px); align-items: start; }
.hrm-why2__head { display: flex; flex-direction: column; gap: 18px; }
.hrm-why2--side .hrm-why2__head { position: sticky; inset-block-start: calc(var(--hrm-header-h) + 32px); }
.hrm-why2__head .hrm-w__title { max-inline-size: 16ch; }
.hrm-why2__head .hrm-w__text { max-inline-size: 42ch; font-size: .94rem; }
.hrm-why2__list { display: grid; column-gap: 40px; }
.hrm-why2__list--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hrm-why2__list--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hrm-why2__item { display: flex; gap: 18px; padding-block: 28px; border-block-start: 1px solid var(--hrm-line); }
.hrm-sec--dark .hrm-why2__item { border-color: rgba(255,255,255,.1); }
.hrm-why2__item:hover .hrm-iconbox { background: var(--hrm-primary); color: #fff; }
.hrm-why2__title { margin-block-end: 6px; font-size: 1.03rem; font-stretch: 108%; line-height: 1.35; }
.hrm-why2__text { color: var(--hrm-muted); font-size: .906rem; line-height: 1.6; }
.hrm-sec--dark .hrm-why2__text { color: #A9C6C8; }
.hrm-creds { display: flex; flex-direction: column; gap: 10px; margin-block-start: 14px; }
.hrm-creds__label { color: var(--hrm-muted); font-size: .78rem; }
.hrm-creds__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-inline-size: 400px; }
.hrm-creds__logo { display: flex; align-items: center; justify-content: center; block-size: 52px; padding-inline: 10px; border-radius: 12px; border: 1px solid var(--hrm-line); background: #fff; }
.hrm-creds__logo img { max-block-size: 30px; inline-size: auto; object-fit: contain; }

/* ---- Feature band ---- */
.hrm-band2 { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); overflow: hidden; border-radius: var(--hrm-r-xl); }
.hrm-band2--rev .hrm-band2__media { order: -1; }
.hrm-band2__body { display: flex; flex-direction: column; gap: 20px; padding: clamp(32px, 4.5vw, 56px); }
.hrm-band2__body .hrm-w__title { max-inline-size: 18ch; font-size: clamp(1.6rem, 1.2rem + 1.3vw, 2.25rem); }
.hrm-band2__body .hrm-w__text { max-inline-size: 54ch; }
.hrm-band2__media { min-block-size: 360px; background: #0A3A40; }
.hrm-checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 12px 24px; margin: 6px 0 0; padding: 0; list-style: none; }
.hrm-checks li { display: flex; align-items: center; gap: 10px; color: #E6F3F3; font-size: .906rem; }
.hrm-checks .hrm-icon { color: var(--hrm-accent); flex: none; }

/* ---- Cards, partners, clients ---- */
.hrm-cards { --hrm-card-min: 250px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--hrm-card-min)), 1fr)); gap: 16px; }
.hrm-card--pad { display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 2.6vw, 30px); }
.hrm-cards__eyebrow { color: var(--hrm-primary); font-size: .8125rem; font-weight: 600; }
.hrm-sec--dark .hrm-cards__eyebrow { color: var(--hrm-accent); }
.hrm-cards__link { margin-block-start: auto; }
.hrm-partners { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 176px), 1fr)); gap: 14px; }
.hrm-partner { display: flex; flex-direction: column; gap: 14px; padding: 20px; color: var(--hrm-muted); }
.hrm-partner__logo { display: flex; align-items: center; justify-content: center; aspect-ratio: 3 / 1; }
.hrm-partner__logo img { max-block-size: 100%; inline-size: auto; object-fit: contain; }
.hrm-partner__text { font-size: .844rem; line-height: 1.5; }
.hrm-partner__text strong { color: var(--hrm-ink); font-weight: 600; }
.hrm-clients--columns { border-block-start: 1px solid var(--hrm-line); padding-block-start: 36px; gap: 32px; }
.hrm-clients__col .hrm-glass__title { font-size: .94rem; margin-block-end: 12px; }
.hrm-clients__col p { font-size: .875rem; line-height: 1.75; }

/* ---- Split (image + text widget) ---- */
.hrm-split--start .hrm-split__media-wrap { order: -1; }
.hrm-split--end .hrm-split__media-wrap { order: 2; }
.hrm-split__media-wrap { position: relative; min-inline-size: 0; }
.hrm-split__media-wrap.has-second { padding-block-end: 48px; padding-inline-start: 56px; }
.hrm-split__main { aspect-ratio: 4 / 3; border-radius: var(--hrm-r-lg); }
.hrm-split__media-wrap--1-1 .hrm-split__main { aspect-ratio: 1; }
.hrm-split__media-wrap--9-10 .hrm-split__main { aspect-ratio: 9 / 10; }
.hrm-split__second { position: absolute; inset-inline-start: 0; inset-block-end: 0; inline-size: 42%; aspect-ratio: 52 / 62; border-radius: var(--hrm-radius); border: 6px solid #fff; box-shadow: var(--hrm-shadow-m); }

/* ---- Contact ---- */
.hrm-contact { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.hrm-contact__info { display: flex; flex-direction: column; gap: 16px; }
.hrm-contact__info .hrm-w__title { font-size: clamp(1.45rem, 1.15rem + 1vw, 1.875rem); max-inline-size: 16ch; }
.hrm-offices { display: flex; flex-direction: column; gap: 12px; margin-block-start: 12px; }
.hrm-office { display: flex; flex-direction: column; gap: 12px; padding: 22px 24px; }
.hrm-office:hover { transform: none; }
.hrm-office__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.hrm-office__city { font-size: 1.06rem; }
.hrm-office__head .hrm-chip { font-size: .75rem; }
.hrm-office__detail { color: var(--hrm-muted); font-size: .875rem; }
.hrm-office__links { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.hrm-office__links a { display: flex; align-items: center; gap: 12px; color: #28464B; font-size: .94rem; }
.hrm-office__links a:hover { color: var(--hrm-primary-dark); }
.hrm-office__links .hrm-iconbox { inline-size: 36px; block-size: 36px; }
.hrm-office--help { flex-direction: row; align-items: center; gap: 14px; border-radius: var(--hrm-radius); color: #D5E8E9; font-size: .906rem; line-height: 1.5; }
.hrm-office--help:hover { color: #fff; }

/* ---- Responsive ---- */
@media (max-width: 1020px) {
	.hrm-hero__media { inline-size: calc(100% + 2px); -webkit-mask-image: none; mask-image: none; }
	.hrm-hero__fade { background: linear-gradient(180deg, rgba(var(--hrm-dark-rgb), .55) 0%, rgba(var(--hrm-dark-rgb), .8) 45%, rgba(var(--hrm-dark-rgb), .96) 100%); }
	.hrm-hero__badge { display: none; }
	.hrm-hero__in { padding-block: 72px 220px; }
	.hrm-about, .hrm-why2--side, .hrm-band2, .hrm-contact, .hrm-pindex { grid-template-columns: 1fr; }
	.hrm-about--rev .hrm-about__media, .hrm-band2--rev .hrm-band2__media, .hrm-split--end .hrm-split__media-wrap { order: 0; }
	.hrm-why2--side .hrm-why2__head { position: static; }
	.hrm-panels { flex-direction: column; block-size: auto; }
	.hrm-panel { flex: none; block-size: 76px; transition: block-size .8s var(--hrm-ease); }
	.hrm-panel.is-on { block-size: 460px; }
	.hrm-panel__name { writing-mode: horizontal-tb; transform: none; inset-block: 27px auto; }
	.hrm-nodes { flex-direction: row; flex-wrap: wrap; gap: 4px 22px; }
	.hrm-nodes::before { display: none; }
	.hrm-vmv__panel + .hrm-vmv__panel { border-inline-start: 0; border-block-start: 1px solid var(--hrm-line); }
}
@media (max-width: 700px) {
	.hrm-hero__title { font-size: 2.1rem; }
	.hrm-hero__tab-label span, .hrm-hero__caption { display: none; }
	.hrm-hero__ctrl-in { gap: 16px; }
	.hrm-facts-card { padding: 24px 20px; }
	.hrm-facts-card__line { display: none; }
	.hrm-why2__list--2, .hrm-why2__list--3, .hrm-pindex__list { grid-template-columns: 1fr; }
	.hrm-panel__content { padding: 24px; }
	.hrm-pindex__card { padding: 24px 20px; }
	.hrm-about__media { padding-inline-end: 28px; padding-block-end: 40px; }
	.hrm-split__media-wrap.has-second { padding-inline-start: 28px; padding-block-end: 40px; }
}

@media (max-width: 1020px) {
	.hrm-nodes { flex-direction: row; flex-wrap: nowrap; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--hrm-gutter) * -1); padding: 2px var(--hrm-gutter) 6px; scroll-padding-inline: var(--hrm-gutter); -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--hrm-gutter), #000 calc(100% - var(--hrm-gutter)), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 var(--hrm-gutter), #000 calc(100% - var(--hrm-gutter)), transparent 100%); }
	.hrm-nodes::-webkit-scrollbar { display: none; }
	.hrm-nodes::before { display: none; }
	.hrm-node { flex: none; gap: 8px; padding: 9px 16px; border: 1px solid var(--hrm-line); border-radius: 999px; background: #fff; font-size: .875rem; white-space: nowrap; }
	.hrm-node__dot { inline-size: 8px; block-size: 8px; border-width: 2px; }
	.hrm-node.is-active { background: var(--hrm-dark); border-color: var(--hrm-dark); color: #fff; }
	.hrm-node.is-active .hrm-node__dot { background: var(--hrm-accent); border-color: var(--hrm-accent); box-shadow: none; }
}

@media (max-width: 700px) {
	.hrm-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--hrm-gutter) * -1); padding-inline: var(--hrm-gutter); max-inline-size: calc(100% + var(--hrm-gutter) * 2); }
	.hrm-tabs::-webkit-scrollbar { display: none; }
	.hrm-tab { flex: none; block-size: 38px; font-size: .8125rem; }
}

/* ==========================================================================
   Widgets — hover polish and mobile design (v1.3)
   ========================================================================== */
.hrm-strip__item { position: relative; }
.hrm-strip__item::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 55%, rgba(var(--hrm-darker-rgb), .35)); opacity: 1; transition: opacity .6s ease; pointer-events: none; }
.hrm-hero__tab, .hrm-hero__arrow, .hrm-panel__btn { -webkit-tap-highlight-color: transparent; }
@media (hover: hover) and (pointer: fine) {
	.hrm-strip__item:hover::after { opacity: 0; }
	.hrm-hero__arrow:hover .hrm-icon--arrow-right, .hrm-hero__arrow:hover .hrm-icon--arrow-left { animation: hrmArrowSide .6s var(--hrm-ease-out); }
	.hrm-office:hover { transform: none; }
	.hrm-office--help:hover .hrm-iconbox--dark { background: var(--hrm-accent); color: var(--hrm-dark); }
}

@media (max-width: 700px) {
	/* Hero */
	.hrm-hero { min-block-size: 0 !important; }
	.hrm-hero__in { padding-block: 44px 128px; }
	.hrm-hero__copy { gap: 26px; }
	.hrm-hero__text-wrap { gap: 16px; }
	.hrm-hero__kicker { font-size: .8125rem; }
	.hrm-hero__kicker i { inline-size: 24px; }
	.hrm-hero__title { font-size: 1.9rem; line-height: 1.12; max-inline-size: 16ch; }
	.hrm-hero__text { font-size: .9375rem; line-height: 1.65; }
	.hrm-hero__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
	.hrm-hero__btns .hrm-btn { inline-size: 100%; padding-inline: 14px 6px; font-size: .84rem; }
	.hrm-hero__ctrl { inset-block-end: 36px; }
	.hrm-hero__tabs { gap: 10px; }
	.hrm-hero__tab { gap: 10px; }
	.hrm-hero__arrow { inline-size: 40px; block-size: 40px; }

	/* Facts */
	.hrm-facts-wrap--overlap { margin-block-start: -28px; }
	.hrm-facts-card { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; padding: 22px 18px; border-radius: var(--hrm-r-lg); }
	.hrm-facts-card__item { gap: 6px; }
	.hrm-facts-card__node { inline-size: 10px; block-size: 10px; }
	.hrm-facts-card__value { margin-block-start: 4px; font-size: 1.3rem; }
	.hrm-facts-card__label { font-size: .78rem; line-height: 1.5; }

	/* About / split */
	.hrm-about { gap: 32px; }
	.hrm-about__badge { inset-inline-start: 12px; inset-block-end: 56px; max-inline-size: 190px; padding: 10px 14px; }
	.hrm-about__badge strong { font-size: .8125rem; }
	.hrm-about__small { border-width: 4px; }
	.hrm-miles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hrm-miles li { padding-block-start: 14px; }
	.hrm-vmv__panel { padding: 24px 22px; }

	/* Timeline */
	.hrm-tl { grid-template-columns: 1fr; gap: 0; padding-inline-start: 26px; }
	.hrm-tl::before { inset-inline: auto; inset-inline-start: 6px; inset-block: 8px; inline-size: 2px; block-size: auto; }
	.hrm-tl__item { padding-block: 0 24px; }
	.hrm-tl__node { position: absolute; inset-inline-start: -26px; inset-block-start: 4px; }
	.hrm-tl__year { margin: 0; font-size: 1.3rem; }

	/* Services panels */
	.hrm-panels { gap: 10px; }
	.hrm-panel { block-size: 64px; border-radius: var(--hrm-radius); }
	.hrm-panel.is-on { block-size: 440px; }
	.hrm-panel__name { inset-inline: 20px; inset-block-start: 21px; font-size: .94rem; justify-content: flex-start; }
	.hrm-panel__name::after { content: "+"; margin-inline-start: auto; font-size: 1.4rem; line-height: 1; font-weight: 300; opacity: .85; }
	.hrm-panel__content { padding: 22px 20px; gap: 10px; }
	.hrm-panel__title { font-size: 1.25rem; }
	.hrm-panel__tags li { font-size: .72rem; padding: 4px 10px; }

	/* Carousels: products by brand, featured projects, gallery */
	.hrm-w-products .hrm-grid--cards, .hrm-w-projects .hrm-grid--projects, .hrm-strip {
		display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; gap: 12px;
		overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
		margin-inline: calc(var(--hrm-gutter) * -1); padding: 4px var(--hrm-gutter) 10px; scroll-padding-inline: var(--hrm-gutter);
	}
	.hrm-strip { grid-auto-columns: 62%; }
	.hrm-w-products .hrm-grid--cards::-webkit-scrollbar, .hrm-w-projects .hrm-grid--projects::-webkit-scrollbar, .hrm-strip::-webkit-scrollbar { display: none; }
	.hrm-w-products .hrm-grid--cards > *, .hrm-w-projects .hrm-grid--projects > *, .hrm-strip > * { scroll-snap-align: start; }
	.hrm-w-products .hrm-head, .hrm-w-projects .hrm-head { align-items: flex-start; }
	.hrm-dealer { padding: 22px 20px; }

	/* Project index */
	.hrm-pindex { margin-block-start: 48px; padding-block-start: 36px; gap: 20px; }
	.hrm-pindex__title { font-size: 1.25rem; }
	.hrm-pindex__card { padding: 20px 18px; }
	.hrm-pindex__list li { padding-block: 12px; }
	.hrm-pindex__name { font-size: .875rem; }

	/* Why / band / cards / partners / contact */
	.hrm-why2 { gap: 24px; }
	.hrm-why2__item { gap: 14px; padding-block: 20px; }
	.hrm-why2__title { font-size: .97rem; }
	.hrm-band2 { border-radius: var(--hrm-r-lg); }
	.hrm-band2__media { order: -1; min-block-size: 220px; }
	.hrm-band2__body { padding: 26px 22px 28px; gap: 16px; }
	.hrm-band2__body .hrm-btn { inline-size: 100%; }
	.hrm-cards { gap: 12px; }
	.hrm-partners { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.hrm-partner { padding: 16px 14px; gap: 10px; }
	.hrm-partner__text { font-size: .78rem; }
	.hrm-contact { gap: 28px; }
	.hrm-office { padding: 18px; }
	.hrm-form { padding: 22px 18px; border-radius: var(--hrm-r-lg); }
	.hrm-form__foot { flex-direction: column-reverse; align-items: stretch; text-align: center; }
	.hrm-form__foot .hrm-btn { inline-size: 100%; }
	.hrm-field input, .hrm-field select { block-size: 52px; font-size: 1rem; }
	.hrm-field textarea { font-size: 1rem; }
}

.hrm-index > *, .hrm-pindex > *, .hrm-index__side, .hrm-pindex__side, .hrm-stick { min-inline-size: 0; }
@media (max-width: 1020px) { .hrm-index, .hrm-pindex { grid-template-columns: minmax(0, 1fr); } }


/* ==========================================================================
   Cinematic gallery reel (v1.6)
   ========================================================================== */
.hrm-mq { --hrm-mq-h: 380px; --hrm-mq-gap: 14px; --hrm-mq-rev: 1; position: relative; overflow: hidden; margin-inline: calc(50% - 50vw); padding-block: 4px; }
.hrm-mq[data-reverse="1"] { --hrm-mq-rev: -1; }
.hrm-mq--fade { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%); }
.hrm-mq__track { display: flex; gap: var(--hrm-mq-gap); inline-size: max-content; will-change: transform; }
.hrm-mq.is-ready .hrm-mq__track { animation: hrmReel var(--hrm-mq-dur, 60s) linear infinite; }
@keyframes hrmReel { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(calc(var(--hrm-mq-dist) * -1 * var(--hrm-dir, 1) * var(--hrm-mq-rev)), 0, 0); } }
.hrm-mq.is-off .hrm-mq__track, .hrm-mq.is-held .hrm-mq__track { animation-play-state: paused; }
.hrm-mq__item { position: relative; flex: none; block-size: var(--hrm-mq-h); aspect-ratio: var(--r, .8); margin: 0; overflow: hidden; isolation: isolate; border-radius: var(--hrm-radius); background: #0F444C; transform: translateZ(0); }
.hrm-sec:not(.hrm-sec--dark) .hrm-mq__item { background: var(--hrm-bg-soft); }
.hrm-mq__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 70%, rgba(var(--hrm-darker-rgb), .16)); pointer-events: none; transition: opacity .6s ease; }
.hrm-mq__img { inline-size: 100%; block-size: 100%; object-fit: cover; backface-visibility: hidden; }
.hrm-mq--kb .hrm-mq__img { animation: hrmReelKb 16s ease-in-out infinite alternate; animation-delay: var(--d, 0s); }
@keyframes hrmReelKb { from { transform: scale(1.02) translate3d(0, 0, 0); } to { transform: scale(1.12) translate3d(-2%, -1.5%, 0); } }
.hrm-mq.is-static { overflow-x: auto; scrollbar-width: none; }
.hrm-mq.is-static .hrm-mq__img { animation: none; }
@media (hover: hover) and (pointer: fine) {
	.hrm-mq--pause:hover .hrm-mq__track { animation-play-state: paused; }
	.hrm-mq__item:hover::after { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .hrm-mq__track, .hrm-mq__img { animation: none !important; } .hrm-mq { overflow-x: auto; } }
@media (max-width: 700px) { .hrm-mq { --hrm-mq-gap: 10px; } .hrm-mq--fade { -webkit-mask-image: none; mask-image: none; } }

/* Watermark tools (admin preview lives in admin.css) */


/* ==========================================================================
   Timeline with logos (v1.7)
   ========================================================================== */
.hrm-logo-chip { display: inline-flex; align-items: center; justify-content: center; block-size: 52px; min-inline-size: 64px; max-inline-size: 150px; padding: 8px 14px; border-radius: 10px; background: #fff; border: 1px solid color-mix(in srgb, var(--hrm-line) 80%, transparent); box-shadow: 0 8px 18px -14px rgba(var(--hrm-ink-rgb), .45); transition: transform .5s var(--hrm-ease-out, ease), box-shadow .5s ease; }
.hrm-logo-chip img { display: block; block-size: 100%; inline-size: auto; max-inline-size: 100%; object-fit: contain; }
.hrm-sec--dark .hrm-logo-chip { border-color: rgba(255,255,255,.12); box-shadow: 0 12px 26px -16px rgba(0,0,0,.6); }

/* Grid: N per row, the route line runs through each row and stops at its last item. */
.hrm-tl.hrm-tl--cols-3, .hrm-tl.hrm-tl--cols-4, .hrm-tl.hrm-tl--cols-5 { gap: 40px 28px; }
.hrm-tl--cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hrm-tl--cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hrm-tl--cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.hrm-tl[class*="hrm-tl--cols-"]::before { display: none; }
.hrm-tl[class*="hrm-tl--cols-"] .hrm-tl__item::before { content: ""; position: absolute; inset-block-start: 6px; inset-inline-start: 7px; inline-size: calc(100% + 28px); block-size: 2px; border-radius: 2px; background: rgba(255,255,255,.16); z-index: 0; }
.hrm-sec:not(.hrm-sec--dark) .hrm-tl[class*="hrm-tl--cols-"] .hrm-tl__item::before { background: var(--hrm-line); }
.hrm-tl--cols-3 .hrm-tl__item:nth-child(3n)::before, .hrm-tl--cols-4 .hrm-tl__item:nth-child(4n)::before, .hrm-tl--cols-5 .hrm-tl__item:nth-child(5n)::before, .hrm-tl[class*="hrm-tl--cols-"] .hrm-tl__item:last-child::before { display: none; }
.hrm-tl__node { position: relative; z-index: 1; }
.hrm-tl__logos { display: flex; flex-wrap: wrap; gap: 8px; margin-block-start: 4px; }
.hrm-tl__item:hover .hrm-logo-chip { transform: translateY(-2px); }

/* Homepage milestones: compact chips */
.hrm-miles { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 6px; }
.hrm-miles li { gap: 6px; }
.hrm-miles__logos { display: flex; flex-wrap: wrap; gap: 6px; margin-block-start: 4px; }
.hrm-miles__logos .hrm-logo-chip { block-size: 30px; min-inline-size: 0; max-inline-size: 100px; padding: 6px 9px; border-radius: 8px; box-shadow: none; }

@media (max-width: 1020px) {
	.hrm-tl--cols-3, .hrm-tl--cols-4, .hrm-tl--cols-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hrm-tl[class*="hrm-tl--cols-"] .hrm-tl__item::before { display: block; }
	.hrm-tl[class*="hrm-tl--cols-"] .hrm-tl__item:nth-child(2n)::before, .hrm-tl[class*="hrm-tl--cols-"] .hrm-tl__item:last-child::before { display: none; }
}
@media (max-width: 700px) {
	.hrm-tl.hrm-tl--cols-3, .hrm-tl.hrm-tl--cols-4, .hrm-tl.hrm-tl--cols-5 { grid-template-columns: 1fr; gap: 0; }
	.hrm-tl[class*="hrm-tl--cols-"] .hrm-tl__item::before { display: none !important; }
	.hrm-tl[class*="hrm-tl--cols-"]::before { display: block; }
	.hrm-tl__item { padding-block-end: 26px; }
	.hrm-logo-chip { block-size: 42px; }
	.hrm-miles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}


/* Offices (v1.8) */
.hrm-office__company { margin: -4px 0 0; color: var(--hrm-primary-dark); font-size: .8125rem; font-weight: 600; letter-spacing: .01em; }
.hrm-office__links a, .hrm-office__line { align-items: flex-start; }
.hrm-office__links .hrm-iconbox { flex: none; }
.hrm-office__addr { padding-block-start: 7px; color: #3C5257; font-size: .875rem; line-height: 1.6; }
.hrm-office__line { display: flex; gap: 12px; }
.hrm-offices { gap: 14px; }

/* Image & Text — "show the whole image" (logos never cropped) */
.hrm-split__media-wrap.is-contain .hrm-split__main { display: grid; place-items: center; padding: clamp(28px, 5vw, 56px); background: #fff; border: 1px solid var(--hrm-line); }
.hrm-split__media-wrap.is-contain .hrm-split__main img { inline-size: auto; block-size: auto; max-inline-size: min(100%, 520px); max-block-size: 100%; object-fit: contain; transform: none !important; }


/* ==========================================================================
   Timeline slider (v1.11)
   ========================================================================== */
.hrm-tls { --hrm-tls-n: 4; --hrm-tls-gap: 18px; position: relative; }
.hrm-tls__bar { display: flex; align-items: center; gap: 18px; margin-block-end: 26px; }
.hrm-tls__count { flex: none; font-size: .8125rem; font-variant-numeric: tabular-nums; color: rgba(255,255,255,.6); }
.hrm-tls__count b { color: #fff; font-weight: 600; }
.hrm-sec:not(.hrm-sec--dark) .hrm-tls__count { color: var(--hrm-muted); }
.hrm-sec:not(.hrm-sec--dark) .hrm-tls__count b { color: var(--hrm-ink); }
.hrm-tls__progress { position: relative; flex: 1; block-size: 2px; border-radius: 2px; background: rgba(255,255,255,.14); overflow: hidden; }
.hrm-sec:not(.hrm-sec--dark) .hrm-tls__progress { background: var(--hrm-line); }
.hrm-tls__progress i { position: absolute; inset-block: 0; inset-inline-start: 0; inline-size: 0; background: var(--hrm-accent); border-radius: inherit; transition: inline-size .6s var(--hrm-ease-out, ease); }
.hrm-tls__nav { display: flex; gap: 8px; flex: none; }
.hrm-tls__arrow { display: inline-flex; align-items: center; justify-content: center; inline-size: 40px; block-size: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.22); background: transparent; color: #fff; cursor: pointer; transition: background .35s ease, color .35s ease, border-color .35s ease, opacity .3s ease; }
.hrm-sec:not(.hrm-sec--dark) .hrm-tls__arrow { border-color: var(--hrm-line); color: var(--hrm-ink); }
.hrm-tls__arrow[disabled] { opacity: .35; cursor: default; }
@media (hover: hover) and (pointer: fine) {
	.hrm-tls__arrow:not([disabled]):hover { background: #fff; color: var(--hrm-dark); border-color: #fff; }
	.hrm-sec:not(.hrm-sec--dark) .hrm-tls__arrow:not([disabled]):hover { background: var(--hrm-primary); color: #fff; border-color: var(--hrm-primary); }
}
.hrm-rtl .hrm-tls__arrow .hrm-icon { transform: scaleX(-1); }

.hrm-tls__track { display: flex; margin: 0; padding: 0 0 6px; list-style: none; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; cursor: grab; }
.hrm-tls__track::-webkit-scrollbar { display: none; }
.hrm-tls__track.is-drag { scroll-snap-type: none; scroll-behavior: auto; cursor: grabbing; user-select: none; }
.hrm-tls__track:focus-visible { outline: 2px solid var(--hrm-accent); outline-offset: 6px; border-radius: 8px; }
.hrm-tls__item { position: relative; flex: 0 0 calc(100% / var(--hrm-tls-n)); display: flex; flex-direction: column; gap: 16px; padding-inline-end: var(--hrm-tls-gap); scroll-snap-align: start; }
/* One continuous route line through every node */
.hrm-tls__item::before { content: ""; position: absolute; inset-block-start: 7px; inset-inline-start: 0; inset-inline-end: 0; block-size: 2px; background: rgba(255,255,255,.16); }
.hrm-sec:not(.hrm-sec--dark) .hrm-tls__item::before { background: var(--hrm-line); }
.hrm-tls__item:last-child::before { inset-inline-end: auto; inline-size: 16px; }
.hrm-tls__node { position: relative; z-index: 1; inline-size: 16px; block-size: 16px; border-radius: 50%; border: 2px solid var(--hrm-accent); background: var(--hrm-dark); transition: background .5s ease, box-shadow .5s ease, transform .5s var(--hrm-ease-out, ease); }
.hrm-sec:not(.hrm-sec--dark) .hrm-tls__node { border-color: var(--hrm-primary); background: #fff; }
.hrm-tls__card { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 20px; border-radius: var(--hrm-radius); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); transition: background .5s ease, border-color .5s ease, transform .6s var(--hrm-ease-out, ease); }
.hrm-sec:not(.hrm-sec--dark) .hrm-tls__card { background: #fff; border-color: var(--hrm-line); }
.hrm-tls__year { font-size: 1.9rem; line-height: 1; font-weight: 600; font-stretch: 116%; color: #fff; letter-spacing: -.01em; transition: color .5s ease; }
.hrm-sec:not(.hrm-sec--dark) .hrm-tls__year { color: var(--hrm-ink); }
.hrm-tls__label { margin: 0; flex: 1; color: #B9D3D5; font-size: .9rem; line-height: 1.6; }
.hrm-sec:not(.hrm-sec--dark) .hrm-tls__label { color: var(--hrm-muted); }
.hrm-tls__logos { display: flex; flex-wrap: wrap; gap: 8px; margin-block-start: 6px; }
.hrm-tls__logos .hrm-logo-chip { block-size: 46px; max-inline-size: 140px; }
.hrm-tls__item.is-active .hrm-tls__node { background: var(--hrm-accent); box-shadow: 0 0 0 6px rgba(var(--hrm-accent-rgb), .16); transform: scale(1.06); }
.hrm-tls__item.is-active .hrm-tls__card { background: rgba(255,255,255,.075); border-color: rgba(var(--hrm-accent-rgb), .34); }
.hrm-sec:not(.hrm-sec--dark) .hrm-tls__item.is-active .hrm-tls__card { border-color: color-mix(in srgb, var(--hrm-line) 40%, var(--hrm-primary)); box-shadow: var(--hrm-shadow-s); }
.hrm-tls__item.is-active .hrm-tls__year { color: var(--hrm-accent); }
.hrm-rtl .hrm-tls__year { font-stretch: 100%; }
@media (max-width: 1020px) { .hrm-tls { --hrm-tls-n: 2.2; } }
@media (max-width: 700px) { .hrm-tls { --hrm-tls-n: 1.25; --hrm-tls-gap: 12px; } .hrm-tls__year { font-size: 1.6rem; } .hrm-tls__card { padding: 18px; } .hrm-tls__bar { gap: 12px; } }


/* Timeline slider — refined autoplay (v1.11.1) */
.hrm-tls__track.is-anim { scroll-snap-type: none; scroll-behavior: auto; }
.hrm-tls__card { position: relative; overflow: hidden; }
.hrm-tls__card::after { content: ""; position: absolute; inset-inline: 0; inset-block-end: 0; block-size: 2px; background: linear-gradient(90deg, var(--hrm-accent), rgba(var(--hrm-accent-rgb), .35)); transform: scaleX(0); transform-origin: left; opacity: 0; }
.hrm-rtl .hrm-tls__card::after { transform-origin: right; background: linear-gradient(270deg, var(--hrm-accent), rgba(var(--hrm-accent-rgb), .35)); }
.hrm-tls.is-auto .hrm-tls__item.is-active .hrm-tls__card::after { opacity: 1; animation: hrmTlsFill var(--hrm-tls-dur, 5s) linear both; }
.hrm-tls.is-paused .hrm-tls__item.is-active .hrm-tls__card::after { animation-play-state: paused; }
@keyframes hrmTlsFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hrm-tls__item .hrm-logo-chip { transition: transform .7s var(--hrm-ease-out, ease), box-shadow .7s ease; }
.hrm-tls__item.is-active .hrm-logo-chip { transform: translateY(-2px); box-shadow: 0 14px 28px -16px rgba(0, 0, 0, .55); }
.hrm-tls__item.is-active .hrm-tls__card { transform: translateY(-4px); }
.hrm-tls__item.is-active .hrm-tls__label { color: #DCEBEC; }
.hrm-sec:not(.hrm-sec--dark) .hrm-tls__item.is-active .hrm-tls__label { color: var(--hrm-ink); }
.hrm-tls__label { transition: color .5s ease; }
@media (prefers-reduced-motion: reduce) { .hrm-tls__card::after { display: none; } .hrm-tls__item.is-active .hrm-tls__card { transform: none; } }


/* ==========================================================================
   Homepage milestones v2 — soft, tidy rows (v1.12)
   ========================================================================== */
.hrm-miles.hrm-miles--v2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 8px 0 0; padding: 0; border: 0; list-style: none; counter-reset: none; }
.hrm-miles--v2 .hrm-miles__item { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; min-block-size: 58px; padding: 12px 16px; border-radius: 14px; background: var(--hrm-bg-soft); border: 1px solid transparent; isolation: isolate; overflow: hidden; transition: background-color .5s ease, border-color .5s ease, box-shadow .6s var(--hrm-ease-out, ease), transform .6s var(--hrm-ease-out, ease); }
.hrm-miles--v2 .hrm-miles__item::before { content: ""; position: absolute; inset-block: 12px; inset-inline-start: 0; inline-size: 3px; border-radius: 0 3px 3px 0; background: var(--hrm-primary); transform: scaleY(.25); opacity: .35; transition: transform .6s var(--hrm-ease-out, ease), opacity .5s ease; }
.hrm-rtl .hrm-miles--v2 .hrm-miles__item::before { border-radius: 3px 0 0 3px; }
.hrm-miles--v2 .hrm-miles__year { padding: 0; font-size: .94rem; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: .01em; color: var(--hrm-primary); font-stretch: 100%; }
.hrm-miles--v2 .hrm-miles__label { color: var(--hrm-ink); font-size: .84rem; font-weight: 500; line-height: 1.4; }
.hrm-miles--v2 .hrm-miles__logos { display: flex; align-items: center; gap: 8px; margin: 0; }
.hrm-miles--v2 .hrm-miles__logos .hrm-logo-chip { block-size: 24px; min-inline-size: 0; max-inline-size: 70px; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.hrm-miles--v2 .hrm-miles__logos img { filter: grayscale(1); opacity: .55; transition: filter .6s ease, opacity .6s ease, transform .6s var(--hrm-ease-out, ease); }
@media (hover: hover) and (pointer: fine) {
	.hrm-miles--v2 .hrm-miles__item:hover { background: #fff; border-color: color-mix(in srgb, var(--hrm-line) 45%, var(--hrm-primary)); box-shadow: 0 18px 34px -24px rgba(var(--hrm-primary-dark-rgb), .45); transform: translateY(-2px); }
	.hrm-miles--v2 .hrm-miles__item:hover::before { transform: scaleY(1); opacity: 1; }
	.hrm-miles--v2 .hrm-miles__item:hover .hrm-miles__logos img { filter: none; opacity: 1; transform: scale(1.06); }
}
@media (hover: none) { .hrm-miles--v2 .hrm-miles__logos img { filter: none; opacity: .9; } }
@media (max-width: 700px) { .hrm-miles.hrm-miles--v2 { grid-template-columns: 1fr; } .hrm-miles--v2 .hrm-miles__item { min-block-size: 54px; } }
.hrm-miles--v2 .hrm-miles__logos { flex-direction: column; align-items: flex-end; gap: 5px; max-inline-size: 76px; }
.hrm-miles--v2 .hrm-miles__logos .hrm-logo-chip { block-size: 20px; max-inline-size: 74px; justify-content: flex-end; }
.hrm-miles--v2 .hrm-miles__item:has(.hrm-logo-chip + .hrm-logo-chip) .hrm-miles__logos .hrm-logo-chip { block-size: 16px; }
