/* Hakaya Group theme styles. Tokens come from theme.json (--wp--preset--*). Logical properties keep Arabic (RTL) pages mirrored. */
:root {
	--hk-indigo: var(--wp--preset--color--indigo, #2E3191);
	--hk-deep: var(--wp--preset--color--deep, #1C1E5E);
	--hk-night: var(--wp--preset--color--night, #11123A);
	--hk-lav: var(--wp--preset--color--lavender, #5A5DC3);
	--hk-wash: var(--wp--preset--color--wash, #ECEDF8);
	--hk-paper: var(--wp--preset--color--paper, #F8F8FC);
	--hk-ink: var(--wp--preset--color--ink, #17183F);
	--hk-ink2: var(--wp--preset--color--ink-2, #5B5E8E);
	--hk-line: var(--wp--preset--color--line, #D9DBEE);
	--hk-red: var(--wp--preset--color--road, #E5252C);
	--hk-red-text: #C81A20;
	--hk-display: var(--wp--preset--font-family--display, "Barlow Condensed", "Arial Narrow", sans-serif);
	--hk-body: var(--wp--preset--font-family--body, Barlow, "Segoe UI", Arial, sans-serif);
	--hk-arabic: var(--wp--preset--font-family--arabic, "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif);
	--hk-wide: var(--wp--style--global--wide-size, 1240px);
	--hk-header-h: 76px;
}

html { scroll-padding-top: calc(var(--hk-header-h) + 16px); }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; }
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important; }
:where(a, button, input, select, textarea):focus-visible { outline: 2px solid var(--hk-red); outline-offset: 3px; }
:where(.hk-band--indigo, .hk-band--night, .hk-band--cta, .hk-footer) :where(a, button, input, select, textarea):focus-visible { outline-color: #fff; }
.hk-icon { display: block; flex: none; }

/* ---------- language ---------- */
.hk-lang-ar, .hk-lang-ar :where(h1, h2, h3, h4, h5, h6, p, li, a, button, input, select, textarea, label, figcaption, span, strong) { font-family: var(--hk-arabic); }
.hk-lang-ar :where(h1, h2, h3, h4, h5, h6) { text-transform: none; letter-spacing: 0; line-height: 1.3; font-weight: 700; }
.hk-lang-ar .wp-element-button, .hk-lang-ar .hk-cta { text-transform: none; letter-spacing: 0; font-weight: 600; }
.hk-lang-ar :where([lang="en"]) { font-family: var(--hk-body); }
.hk-lang-ar .hk-stat__n, .hk-lang-ar .hk-step__n, .hk-lang-ar .hk-timeline__year { font-family: var(--hk-display); }
.hk-lang-ar { line-height: 1.8; }

/* ---------- header ---------- */
.hk-header-part { position: sticky; top: 0; z-index: 50; }
.admin-bar .hk-header-part { top: 32px; }
@media (max-width: 782px) { .admin-bar .hk-header-part { top: 0; } }
.hk-header { background: rgba(255, 255, 255, 0.97); border-block-end: 1px solid var(--hk-line); backdrop-filter: saturate(1.4) blur(10px); transition: box-shadow 0.2s ease; }
.hk-header.is-scrolled { box-shadow: 0 8px 24px -18px rgba(17, 18, 58, 0.45); }
.hk-header__inner { max-width: var(--hk-wide); margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2.5rem); min-height: var(--hk-header-h); display: flex; align-items: center; gap: 1.5rem; }
.hk-brand { display: block; flex: none; }
.hk-brand img { width: 168px; height: auto; display: block; }
.hk-nav { display: flex; align-items: center; gap: 1.5rem; margin-inline-start: auto; }
.hk-nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.25rem; }
.hk-nav__item a { display: block; white-space: nowrap; padding: 0.55rem 0.7rem; font-family: var(--hk-display); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--hk-ink); text-decoration: none; border-radius: 2px; }
.hk-lang-ar .hk-nav__item a { font-family: var(--hk-arabic); font-size: 1rem; letter-spacing: 0; text-transform: none; font-weight: 600; }
.hk-nav__item a:hover { color: var(--hk-indigo); background: var(--hk-wash); }
.hk-nav__item.is-current a { color: var(--hk-indigo); box-shadow: inset 0 -3px 0 var(--hk-red); }
.hk-nav__actions { display: flex; align-items: center; gap: 0.75rem; }
.hk-lang { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.5rem 0.75rem; color: var(--hk-ink2); text-decoration: none; font-weight: 600; border: 1px solid var(--hk-line); border-radius: 2px; }
.hk-lang:hover { color: var(--hk-indigo); border-color: var(--hk-indigo); }
.hk-lang span[lang="ar"], .hk-lang:lang(ar) span { font-family: var(--hk-arabic); }
.hk-lang { white-space: nowrap; }
.hk-cta { display: inline-block; padding: 0.7rem 1.15rem; background: var(--hk-red); color: #fff; text-decoration: none; font-family: var(--hk-display); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; border-radius: 2px; white-space: nowrap; }
.hk-cta:hover { background: var(--hk-indigo); color: #fff; }
.hk-menu-toggle { display: none; margin-inline-start: auto; background: none; border: 1px solid var(--hk-line); border-radius: 2px; width: 44px; height: 44px; padding: 0; align-items: center; justify-content: center; line-height: 0; color: var(--hk-ink); cursor: pointer; }
.hk-menu-toggle > span:not(.screen-reader-text) { display: inline-flex; }
.hk-menu-toggle > span.hk-menu-toggle__close { display: none; }
@media (max-width: 1200px) {
	.hk-menu-toggle { display: inline-flex; }
	.hk-nav { display: none; position: absolute; inset-inline: 0; top: 100%; background: #fff; border-block-end: 1px solid var(--hk-line); box-shadow: 0 18px 30px -20px rgba(17, 18, 58, 0.5); flex-direction: column; align-items: stretch; gap: 0; padding: 0.75rem clamp(1rem, 4vw, 2.5rem) 1.25rem; }
	.hk-header { position: relative; }
	.hk-header.is-open .hk-nav { display: flex; }
	.hk-header.is-open .hk-menu-toggle__open { display: none; }
	.hk-header.is-open .hk-menu-toggle__close { display: inline-flex; }
	.hk-nav__list { flex-direction: column; }
	.hk-nav__item a { padding: 0.85rem 0.25rem; border-block-end: 1px solid var(--hk-wash); font-size: 1.2rem; }
	.hk-nav__item.is-current a { box-shadow: none; border-inline-start: 4px solid var(--hk-red); padding-inline-start: 0.75rem; }
	.hk-nav__actions { margin-block-start: 1rem; justify-content: space-between; }
	.hk-brand img { width: 140px; }
}

/* ---------- page bands ---------- */
.hk-main { margin-block-start: 0 !important; }
.hk-main > .wp-block-post-content > :first-child { margin-block-start: 0; }
.hk-band { padding-block: clamp(3rem, 7vw, 6rem); margin-block: 0 !important; }
.hk-band + .hk-band { margin-block-start: 0 !important; }
.hk-band.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) { max-width: var(--hk-wide); }
.hk-band--paper { background: var(--hk-paper); }
.hk-band--white { background: #fff; }
.hk-band--indigo { background: var(--hk-indigo); color: #fff; }
.hk-band--night { background: var(--hk-night); color: #fff; }
.hk-band--tight { padding-block: clamp(2rem, 4vw, 3rem); }
.hk-band--intro { padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(2rem, 4vw, 3rem); position: relative; overflow: hidden; }
.hk-band--intro::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 4px; background: repeating-linear-gradient(90deg, var(--hk-red) 0 26px, transparent 26px 44px); opacity: 0.85; }
.hk-band--indigo :where(h1, h2, h3, h4), .hk-band--night :where(h1, h2, h3, h4) { color: #fff; }
.hk-band--indigo a:not(.wp-element-button), .hk-band--night a:not(.wp-element-button) { color: #fff; }
.hk-band--cta { padding-block: clamp(2.5rem, 5vw, 4rem); background: var(--hk-indigo) linear-gradient(110deg, var(--hk-indigo) 55%, var(--hk-deep) 100%); }
.hk-band--cta .wp-block-buttons { justify-content: flex-end; }
@media (max-width: 781px) { .hk-band--cta .wp-block-buttons { justify-content: flex-start; } }
.hk-band .wp-block-columns { gap: clamp(1.5rem, 4vw, 4rem); margin-block: 0; }
.hk-band h1 { margin-block: 0.4rem 0; text-wrap: balance; }
.hk-band h2 { margin-block: 0.35rem 0; text-wrap: balance; }
.hk-band h3 { text-wrap: balance; }
.hk-band :where(p) { text-wrap: pretty; }

/* ---------- typography styles ---------- */
.is-style-hk-eyebrow { display: flex; align-items: center; gap: 0.7rem; margin: 0; font-family: var(--hk-display); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--hk-red-text); }
.is-style-hk-eyebrow::before { content: ""; width: 28px; height: 3px; background: currentColor; flex: none; }
.hk-band--indigo .is-style-hk-eyebrow, .hk-band--night .is-style-hk-eyebrow { color: #fff; }
.hk-band--indigo .is-style-hk-eyebrow::before, .hk-band--night .is-style-hk-eyebrow::before { background: var(--hk-red); }
.hk-lang-ar .is-style-hk-eyebrow { letter-spacing: 0; font-family: var(--hk-arabic); font-size: 1rem; }
.is-style-hk-lead { font-size: var(--wp--preset--font-size--large); line-height: 1.55; max-width: 62ch; color: var(--hk-ink); }
.hk-band--indigo .is-style-hk-lead, .hk-band--night .is-style-hk-lead { color: rgba(255, 255, 255, 0.88); }
.hk-big { font-family: var(--hk-display); font-weight: 600; font-size: clamp(1.35rem, 2.4vw, 1.9rem); line-height: 1.2; }
.hk-lang-ar .hk-big { font-family: var(--hk-arabic); line-height: 1.6; }
.hk-note { font-size: 0.875rem; color: var(--hk-ink2); }
.hk-band--indigo .hk-note, .hk-band--night .hk-note { color: rgba(255, 255, 255, 0.65); }
.wp-block-separator.is-style-hk-road { border: 0; height: 4px; width: 100%; max-width: none; background: repeating-linear-gradient(90deg, var(--hk-red) 0 26px, transparent 26px 44px); opacity: 1; }
.wp-block-group.is-style-hk-card { background: #fff; border: 1px solid var(--hk-line); padding: 1.5rem; }

/* ---------- buttons ---------- */
.wp-block-button.is-style-outline > .wp-block-button__link { background: transparent; color: var(--hk-indigo); border: 2px solid var(--hk-indigo); padding: calc(0.85rem - 2px) calc(1.5rem - 2px); }
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--hk-indigo); color: #fff; }
.wp-block-button.is-style-hk-light > .wp-block-button__link { background: #fff; color: var(--hk-indigo); }
.wp-block-button.is-style-hk-light > .wp-block-button__link:hover { background: var(--hk-red); color: #fff; }
.wp-block-buttons { gap: 0.75rem; margin-block-start: 1.75rem; }

/* ---------- hero ---------- */
.hk-band--hero { padding-block: clamp(2.5rem, 6vw, 5rem); background: var(--hk-paper); position: relative; overflow: hidden; }
.hk-band--hero::before { content: ""; position: absolute; inset-inline-end: -8%; top: -30%; width: 46%; height: 160%; background: var(--hk-wash); transform: skewX(-14deg); z-index: 0; }
.hk-lang-ar .hk-band--hero::before { transform: skewX(14deg); }
.hk-band--hero > * { position: relative; z-index: 1; }
.hk-hero__title { font-size: clamp(3rem, 7.2vw, 6rem) !important; line-height: 0.92 !important; }
.hk-lang-ar .hk-hero__title { line-height: 1.25 !important; }
.hk-hero__img { margin: 0; position: relative; }
.hk-hero__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; box-shadow: 0 30px 60px -36px rgba(17, 18, 58, 0.6); }
.hk-hero__img::after { content: ""; position: absolute; inset-inline: 10% 0; bottom: -14px; height: 14px; background: var(--hk-red) repeating-linear-gradient(90deg, transparent 0 22px, #fff 22px 38px, transparent 38px 60px) center / 100% 2px no-repeat; }

/* ---------- stats ---------- */
.hk-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1.5rem 2rem; margin-block: 1.5rem 0; }
.hk-stat { display: flex; flex-direction: column; gap: 0.35rem; }
.hk-stat__n { font-family: var(--hk-display); font-weight: 800; font-size: clamp(2.6rem, 5vw, 4.25rem); line-height: 0.9; color: var(--hk-indigo); font-variant-numeric: tabular-nums; white-space: nowrap; word-break: normal; overflow-wrap: normal; }
.hk-stats--pair .hk-stat__n { font-size: clamp(2rem, 9vw, 4rem); }
.hk-stat__l { font-size: 0.9rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--hk-ink2); max-width: 24ch; }
.hk-lang-ar .hk-stat__l { letter-spacing: 0; text-transform: none; font-size: 0.95rem; }
.hk-stats--band .hk-stat__n { color: #fff; }
.hk-stats--band .hk-stat__l { color: rgba(255, 255, 255, 0.75); }
.hk-stats--band .hk-stat { padding-inline-start: 1.25rem; border-inline-start: 3px solid var(--hk-red); }
.hk-stats--pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hk-stats--single { grid-template-columns: minmax(0, 1fr); }
.hk-stats--pair .hk-stat__n, .hk-stats--single .hk-stat__n { color: var(--hk-red); }
.hk-band--night .hk-stat__n { color: #fff; }

/* ---------- cards ---------- */
.hk-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; margin-block-start: 2rem; }
.hk-card { display: flex; flex-direction: column; gap: 0.6rem; padding: 1.6rem 1.5rem 1.4rem; background: #fff; border: 1px solid var(--hk-line); border-block-start: 4px solid var(--hk-indigo); text-decoration: none; color: inherit; transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; }
a.hk-card:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -30px rgba(17, 18, 58, 0.55); border-block-start-color: var(--hk-red); }
.hk-card__icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--hk-wash); color: var(--hk-indigo); }
.hk-card__title { margin: 0.4rem 0 0; font-size: 1.35rem; line-height: 1.1; }
.hk-card__text { margin: 0; color: var(--hk-ink2); font-size: 0.98rem; line-height: 1.55; }
.hk-card__more { margin-block-start: auto; padding-block-start: 0.4rem; font-family: var(--hk-display); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--hk-red-text); font-size: 0.95rem; }
.hk-lang-ar .hk-card__more { letter-spacing: 0; font-family: var(--hk-arabic); }

/* ---------- features ---------- */
.hk-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.6rem 2rem; margin-block-start: 1.75rem; }
.hk-features--four { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin-block-start: 3rem; }
.hk-features--three { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.hk-features--compact { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
.wp-block-column > .hk-features:not(.hk-features--compact) { grid-template-columns: minmax(0, 1fr); }
.hk-feature { display: flex; gap: 1rem; align-items: flex-start; }
.hk-feature__icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--hk-wash); color: var(--hk-indigo); flex: none; }
.hk-band--indigo .hk-feature__icon, .hk-band--night .hk-feature__icon { background: rgba(255, 255, 255, 0.1); color: #fff; }
.hk-feature__title { margin: 0 0 0.25rem; font-size: 1.15rem; line-height: 1.25; letter-spacing: 0.03em; color: var(--hk-ink); }
.hk-band--indigo .hk-feature__title, .hk-band--night .hk-feature__title { color: #fff; }
.hk-feature__text { margin: 0; color: var(--hk-ink2); font-size: 0.97rem; line-height: 1.55; }
.hk-band--indigo .hk-feature__text, .hk-band--night .hk-feature__text { color: rgba(255, 255, 255, 0.78); }

/* ---------- bars ---------- */
.hk-bars { margin: 1.25rem 0 0; display: grid; gap: 0.7rem; }
.hk-bars__cap { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--hk-ink2); margin-block-end: 0.3rem; }
.hk-lang-ar .hk-bars__cap { letter-spacing: 0; text-transform: none; }
.hk-bar { display: grid; grid-template-columns: minmax(130px, 40%) 1fr 3.2rem; gap: 0.75rem; align-items: center; }
.hk-bar__l { font-size: 0.95rem; line-height: 1.3; }
.hk-bar__track { height: 14px; background: var(--hk-wash); position: relative; overflow: hidden; }
.hk-bar__fill { min-width: 3px; }
.hk-bar__fill { position: absolute; inset-block: 0; inset-inline-start: 0; background: var(--hk-indigo); }
.hk-bar.is-hi .hk-bar__fill { background: var(--hk-red); }
.hk-bar__v { font-family: var(--hk-display); font-weight: 700; font-size: 1.2rem; font-variant-numeric: tabular-nums; text-align: end; }

/* ---------- chips ---------- */
.hk-chips { list-style: none; margin: 1.25rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.hk-chips li { padding: 0.5rem 0.85rem; background: var(--hk-wash); color: var(--hk-indigo); font-weight: 600; font-size: 0.92rem; border-radius: 999px; }

/* ---------- vehicles ---------- */
.hk-vehicles { display: grid; grid-template-columns: 1.3fr 1fr 0.8fr; gap: 1.25rem; align-items: end; margin-block-start: 2rem; }
.hk-vehicle { margin: 0; }
.hk-vehicle img { width: 100%; height: auto; display: block; }
.hk-vehicle figcaption { display: flex; flex-direction: column; margin-block-start: 0.6rem; font-size: 0.9rem; color: var(--hk-ink2); }
.hk-vehicle figcaption strong { font-family: var(--hk-display); text-transform: uppercase; letter-spacing: 0.04em; color: var(--hk-ink); font-size: 1rem; }
.hk-lang-ar .hk-vehicle figcaption strong { font-family: var(--hk-arabic); text-transform: none; letter-spacing: 0; }
[dir="rtl"] .hk-vehicle img, [dir="rtl"] .hk-illustration img { transform: scaleX(-1); }

/* ---------- timeline ---------- */
.hk-timeline { list-style: none; margin: 2rem 0 0; padding: 0; position: relative; display: grid; gap: 1.4rem; max-width: 820px; }
.hk-timeline::before { content: ""; position: absolute; inset-block: 0.4rem; inset-inline-start: 4.6rem; width: 14px; background: var(--hk-red); }
.hk-timeline::after { content: ""; position: absolute; inset-block: 0.4rem; inset-inline-start: calc(4.6rem + 6px); width: 2px; background: repeating-linear-gradient(180deg, #fff 0 12px, transparent 12px 22px); }
.hk-timeline__item { display: grid; grid-template-columns: 4rem 1fr; gap: 3rem; align-items: baseline; position: relative; }
.hk-timeline__item::before { content: ""; position: absolute; inset-inline-start: calc(4.6rem - 4px); top: 0.35rem; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 5px solid var(--hk-indigo); box-sizing: border-box; z-index: 1; }
.hk-timeline__year { font-family: var(--hk-display); font-weight: 800; font-size: 1.6rem; color: var(--hk-red); line-height: 1; }
.hk-timeline__text { font-size: 1.02rem; line-height: 1.5; }

/* ---------- steps ---------- */
.hk-steps { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1.25rem; }
.hk-step { border-block-start: 4px solid var(--hk-indigo); padding-block-start: 1rem; }
.hk-step:last-child { border-block-start-color: var(--hk-red); }
.hk-step__n { font-family: var(--hk-display); font-weight: 800; font-size: 2.4rem; color: var(--hk-indigo); line-height: 1; }
.hk-step:last-child .hk-step__n { color: var(--hk-red); }
.hk-step__title { margin: 0.6rem 0 0.3rem; font-size: 1.25rem; }
.hk-step__text { margin: 0; color: var(--hk-ink2); font-size: 0.97rem; line-height: 1.55; }

/* ---------- sectors ---------- */
.hk-sectors { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem 2.5rem; }
.hk-sector__title { margin: 0 0 0.75rem; font-size: 0.95rem; letter-spacing: 0.18em; line-height: 1.3; color: var(--hk-red-text); }
.hk-lang-ar .hk-sector__title { letter-spacing: 0; font-size: 1.05rem; }
.hk-sector ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
.hk-sector li { font-family: var(--hk-display); font-weight: 600; font-size: 1.2rem; letter-spacing: 0.01em; color: var(--hk-indigo); line-height: 1.25; }
.hk-lang-ar .hk-sector li { font-family: var(--hk-arabic); font-size: 1.05rem; }
.hk-lang-ar .hk-sector li:where(:not(:lang(ar))) { font-family: var(--hk-display); }

/* ---------- companies ---------- */
.hk-companies { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; margin-block-start: 2rem; }
.hk-company { background: #fff; border: 1px solid var(--hk-line); border-block-start: 4px solid var(--hk-indigo); padding: 1.5rem; }
.hk-company p { margin: 0; }
.hk-company__ar { font-family: var(--hk-arabic) !important; font-weight: 700; font-size: 1.3rem; color: var(--hk-indigo); text-align: match-parent; }
.hk-company__en { font-family: var(--hk-display) !important; font-weight: 700; font-size: 1.15rem; text-transform: uppercase; letter-spacing: 0.03em; margin-block-start: 0.4rem !important; text-align: match-parent; }
.hk-company__role { color: var(--hk-ink2); font-size: 0.97rem; line-height: 1.55; margin-block-start: 0.6rem !important; }

/* ---------- media ---------- */
.hk-photo img, .hk-illustration img, .hk-map img, .hk-chart img { width: 100%; display: block; }
.hk-photo img { border-radius: 2px; aspect-ratio: 4 / 3; object-fit: cover; }
.hk-chart-cap { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--hk-ink2); margin: 0 0 0.75rem; }
.hk-lang-ar .hk-chart-cap { letter-spacing: 0; text-transform: none; }
.hk-map { max-width: 520px; margin-inline: auto; }
.hk-anchor { display: block; position: relative; top: calc(-1 * var(--hk-header-h) - 16px); visibility: hidden; }
.hk-service + .hk-service { margin-block-start: 3rem; padding-block-start: 3rem; border-block-start: 1px solid var(--hk-line); }
.hk-cols-split { margin-block-start: 3rem !important; padding-block-start: 3rem; border-block-start: 1px solid var(--hk-line); }
.hk-band h2.hk-h2-small { font-size: clamp(1.25rem, 2.2vw, 1.6rem); margin-block: 2.75rem 1.25rem; }
.hk-band > h2.hk-h2-small:first-child { margin-block-start: 0; }
.hk-colchart { margin: 0; }

/* ---------- prose (policy) ---------- */
.hk-prose { max-width: 760px !important; }
/* narrow blocks inside a band start on the same edge as the band's wide content instead of centring */
.hk-band.is-layout-constrained > .hk-prose, .hk-band.is-layout-constrained > .is-style-hk-lead { margin-inline-start: max(0px, calc((100% - var(--hk-wide)) / 2)) !important; margin-inline-end: auto !important; }
.hk-band.is-layout-constrained > .is-style-hk-lead { max-width: 62ch; }
.hk-prose h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); margin-block: 2.5rem 0.6rem; color: var(--hk-indigo); }
.hk-prose h2:first-child { margin-block-start: 0; }
.hk-prose :where(p, li) { font-size: 1.04rem; line-height: 1.7; }
.hk-prose ul { padding-inline-start: 1.25rem; display: grid; gap: 0.45rem; }

/* ---------- form ---------- */
.hk-band--form .wp-block-column > h2 { margin-block-end: 1.25rem; }
.hk-form-wrap { max-width: 780px; }
.hk-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.25rem; }
.hk-field { margin: 0 0 1.1rem; display: flex; flex-direction: column; gap: 0.35rem; }
.hk-field--wide { grid-column: 1 / -1; }
.hk-field label { font-weight: 600; font-size: 0.95rem; }
.hk-field :where(input, select, textarea) { font: inherit; font-size: 1rem; color: var(--hk-ink); background: #fff; border: 1px solid #b9bce0; border-radius: 2px; padding: 0.75rem 0.85rem; width: 100%; box-sizing: border-box; }
.hk-field :where(input, select, textarea):focus { border-color: var(--hk-indigo); outline: 2px solid var(--hk-indigo); outline-offset: 0; }
.hk-field textarea { resize: vertical; min-height: 150px; }
.hk-check { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.95rem; margin: 0.25rem 0 1.25rem; }
.hk-check input { margin-block-start: 0.3rem; width: 18px; height: 18px; flex: none; accent-color: var(--hk-indigo); }
.hk-hp { position: absolute !important; inset-inline-start: -10000px; width: 1px; height: 1px; overflow: hidden; }
.hk-form__submit { border: 0; cursor: pointer; }
.hk-form-note { padding: 0.9rem 1.1rem; border-inline-start: 4px solid; margin: 0 0 1.25rem; font-weight: 500; }
.hk-form-note--ok { background: #e9f6ee; border-color: #1f8a4c; color: #145c33; }
.hk-form-note--err { background: #fdecec; border-color: var(--hk-red); color: #8f1419; }
@media (max-width: 640px) { .hk-form__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- footer ---------- */
.hk-footer-part { margin-block-start: 0 !important; }
.hk-footer { background: var(--hk-night); color: rgba(255, 255, 255, 0.82); position: relative; padding-block: clamp(4rem, 8vw, 5.5rem) 1.5rem; overflow: hidden; }
.hk-footer__road { position: absolute; inset-inline: 0; top: 0; width: 100%; height: 70px; }
[dir="rtl"] .hk-footer__road { transform: scaleX(-1); }
.hk-footer__inner { max-width: var(--hk-wide); margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2.5rem); display: grid; grid-template-columns: 1.2fr 1fr 0.8fr; gap: 2.5rem; }
.hk-footer__brand img { width: 190px; height: auto; display: block; }
.hk-footer__brand p { margin: 0.9rem 0 0; max-width: 34ch; line-height: 1.6; }
.hk-footer__tag { font-family: var(--hk-arabic) !important; font-size: 1.25rem; font-weight: 600; color: #fff; text-align: start; }
html:not([dir="rtl"]) .hk-footer__tag { text-align: left; }
.hk-footer__title { font-size: 0.95rem; letter-spacing: 0.2em; color: rgba(255, 255, 255, 0.6); margin: 0 0 1rem; }
.hk-lang-ar .hk-footer__title { letter-spacing: 0; }
.hk-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.hk-footer__contacts li { display: flex; gap: 0.7rem; align-items: flex-start; line-height: 1.5; }
.hk-footer__contacts .hk-icon { color: var(--hk-red); margin-block-start: 0.15rem; }
.hk-footer a { color: #fff; text-decoration: none; }
.hk-footer__links { gap: 0 !important; }
.hk-footer__links a, .hk-footer__base a { display: inline-block; padding-block: 0.55rem; min-height: 44px; box-sizing: border-box; }
.hk-footer__contacts a { padding-block: 0.2rem; display: inline-block; }
.hk-footer a:hover { color: var(--hk-red); }
.hk-footer__base { max-width: var(--hk-wide); margin: 3rem auto 0; padding: 1.25rem clamp(1rem, 4vw, 2.5rem) 0; border-block-start: 1px solid rgba(255, 255, 255, 0.14); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 0.875rem; color: rgba(255, 255, 255, 0.6); }
@media (max-width: 860px) { .hk-footer__inner { grid-template-columns: minmax(0, 1fr); } }

/* ---------- generic pages ---------- */
.hk-main--page { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.hk-page-title { margin-block-end: 1.5rem; }
.hk-meta { color: var(--hk-ink2); font-size: 0.9rem; }
.hk-post-item { padding-block: 1.25rem; border-block-end: 1px solid var(--hk-line); }

/* ---------- responsive ---------- */
@media (max-width: 781px) {
	.hk-vehicles { grid-template-columns: 1.3fr 1fr 0.8fr; gap: 0.75rem; }
	.hk-bar { grid-template-columns: minmax(0, 1fr) 3rem; }
	.hk-bar__track { grid-column: 1 / -1; grid-row: 2; }
	.hk-timeline::before { inset-inline-start: 3.6rem; }
	.hk-timeline::after { inset-inline-start: calc(3.6rem + 6px); }
	.hk-timeline__item { grid-template-columns: 3rem 1fr; gap: 2.4rem; }
	.hk-timeline__item::before { inset-inline-start: calc(3.6rem - 4px); }
	.hk-timeline__year { font-size: 1.25rem; }
	.hk-stats--band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }

/* ---------- column chart (university boardings) ---------- */
.hk-cols { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 8), minmax(0, 1fr)); gap: clamp(4px, 1vw, 12px); align-items: end; height: 280px; border-block-end: 1px solid var(--hk-line); }
.hk-cols li { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 6px; min-width: 0; }
.hk-cols__bar { width: 100%; height: calc(var(--v) * 210px); background: var(--hk-indigo); display: block; }
.hk-cols li.is-hi .hk-cols__bar { background: var(--hk-red); }
.hk-cols__v { font-family: var(--hk-display); font-weight: 700; font-size: clamp(0.8rem, 2.4vw, 1.05rem); white-space: nowrap; font-variant-numeric: tabular-nums; }
.hk-cols-years { list-style: none; margin: 6px 0 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 8), minmax(0, 1fr)); gap: clamp(4px, 1vw, 12px); }
.hk-cols-years li { text-align: center; font-size: clamp(0.72rem, 2.2vw, 0.9rem); color: var(--hk-ink2); font-weight: 600; font-variant-numeric: tabular-nums; }

/* ---------- tap-to-call and email links ---------- */
a.hk-tel, a.hk-mail { color: inherit; text-decoration: none; border-block-end: 1px dotted currentColor; unicode-bidi: isolate; direction: ltr; display: inline-block; }
a.hk-tel:hover, a.hk-mail:hover { color: var(--hk-red); }

/* ---------- balanced grids on wide screens ---------- */
@media (min-width: 1100px) {
	.hk-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.hk-cards > :first-child { grid-row: span 2; }
	.hk-cards > :first-child .hk-card__title { font-size: 1.6rem; }
	.hk-sectors, .hk-features--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---- Company profile ------------------------------------------------------
   The real cover, framed like a printed document, on the indigo closing band.
   Links always use the short link (hakayagroup.com/company-profile). */
.hk-profile .wp-block-buttons { justify-content: flex-start; }
.hk-profile__cover { margin: 0; }
.hk-profile__cover a { display: block; max-width: 300px; margin-inline: auto; border-radius: 3px; box-shadow: 0 28px 50px -24px rgba(5, 6, 30, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.14); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.hk-profile__cover a:hover, .hk-profile__cover a:focus-visible { transform: translateY(-4px); box-shadow: 0 36px 60px -26px rgba(5, 6, 30, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.24); }
.hk-profile__cover img { display: block; width: 100%; height: auto; aspect-ratio: 640 / 905; border-radius: 3px; }
.hk-profile p:not(.is-style-hk-eyebrow) { color: rgba(255, 255, 255, 0.88); max-width: 60ch; }
.hk-profile__share { font-size: 0.9rem; margin-block-start: 1rem; }
.hk-profile__share a { text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
@media (max-width: 781px) { .hk-profile__cover a { max-width: 220px; } }
@media (prefers-reduced-motion: reduce) { .hk-profile__cover a { transition: none; } .hk-profile__cover a:hover, .hk-profile__cover a:focus-visible { transform: none; } }

/* Footer: the profile on every page, under the brand line. */
.hk-footer__profile { display: inline-flex; align-items: center; gap: 0.5rem; margin-block-start: 0.9rem; min-height: 44px; font-weight: 600; }
.hk-footer__profile svg { flex: none; color: var(--hk-red); }

/* Contact page: a quiet pointer to the profile under the office list. */
.hk-profile-note { font-size: 0.95rem; color: var(--hk-ink2); margin-block-start: 1.5rem; padding-block-start: 1.25rem; border-block-start: 1px solid var(--hk-line); }
.hk-profile-note a { font-weight: 600; }

/* The secondary "download the PDF" link under the profile button. */
.hk-profile__alt { margin-block-start: 0.85rem; font-size: 0.95rem; }
.hk-profile__alt a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
/* A compact intro above the flip-book, so the book sits high on the screen. */
.hk-band--flip-intro { padding-block: clamp(2rem, 4vw, 3rem) clamp(1.25rem, 2.5vw, 1.75rem); }

/* ---- Page openings with an illustration ----------------------------------
   Text on one side, the page's scene on the other (mirrors on Arabic pages,
   stacks under the text on phones). The scenes are decorative SVGs drawn by
   tools/build-illustrations.py. */
.hk-band--intro-art { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(2rem, 4vw, 3rem); }
.hk-intro-cols { gap: clamp(1.5rem, 4vw, 3.5rem); }
.hk-scene { margin: 0; }
.hk-scene img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; border-radius: 18px; box-shadow: 0 34px 60px -42px rgba(17, 18, 58, 0.55); }
@media (max-width: 781px) {
	.hk-intro-cols .hk-scene img { max-width: 560px; margin-inline: auto; }
}
