/* Growth HR theme. Uses logical properties so one stylesheet serves English (LTR) and Arabic (RTL). */
:root {
	--ghr-primary: #0E3B43;
	--ghr-accent: #E8A33D;
	--ghr-ink: #1B2A2E;
	--ghr-paper: #FAFBFA;
	--ghr-mist: #E8F0EF;
	--ghr-line: #CFDCDA;
	--ghr-font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans Arabic", Tahoma, sans-serif;
	--ghr-font-heading: var(--ghr-font-body);
	--ghr-wrap: 1180px;
	--ghr-radius: 6px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body { margin: 0; background: var(--ghr-paper); color: var(--ghr-ink); font-family: var(--ghr-font-body); font-size: 1.0625rem; line-height: 1.7; -webkit-font-smoothing: antialiased; }
.ghr-lang-ar body, body.ghr-lang-ar { line-height: 1.9; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--ghr-primary); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, h4 { font-family: var(--ghr-font-heading); color: var(--ghr-primary); line-height: 1.2; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--ghr-accent); outline-offset: 2px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.skip-link { position: absolute; inset-inline-start: -999px; top: 0; background: var(--ghr-accent); color: var(--ghr-primary); padding: .6rem 1rem; z-index: 100; }
.skip-link:focus { inset-inline-start: 0; }
.ghr-wrap { width: min(100% - 2.5rem, var(--ghr-wrap)); margin-inline: auto; }

/* Buttons */
.ghr-btn { display: inline-block; padding: .75rem 1.4rem; border-radius: var(--ghr-radius); font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer; font: inherit; font-weight: 700; line-height: 1.3; text-align: center; transition: background-color .15s, color .15s, border-color .15s; }
.ghr-btn--primary { background: var(--ghr-primary); color: #fff; }
.ghr-btn--primary:hover { background: #0a2c32; color: #fff; }
.ghr-btn--accent { background: var(--ghr-accent); color: #10262B; }
.ghr-btn--accent:hover { background: #f1b45a; color: #10262B; }
.ghr-btn--ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.ghr-btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; }

/* Header */
.ghr-header { position: sticky; top: 0; z-index: 50; background: rgba(250,251,250,.96); border-bottom: 1px solid var(--ghr-line); backdrop-filter: blur(6px); }
.ghr-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 4.5rem; }
.ghr-brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ghr-primary); font-weight: 800; line-height: 1.2; max-width: 22rem; }
.ghr-logo { max-height: 3.2rem; width: auto; }
.ghr-brand__name { font-size: 1rem; }
.ghr-nav { display: flex; align-items: center; gap: 1.75rem; }
.ghr-menu, .ghr-footer__menu, .ghr-social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.ghr-menu a { text-decoration: none; color: var(--ghr-ink); font-weight: 600; padding: .35rem 0; border-bottom: 2px solid transparent; }
.ghr-menu a:hover, .ghr-menu .current-menu-item > a { border-bottom-color: var(--ghr-accent); }
.ghr-menu li { position: relative; }
.ghr-menu .sub-menu { display: none; list-style: none; margin: 0; padding: .5rem 1rem; position: absolute; inset-inline-start: 0; top: 100%; min-width: 14rem; background: var(--ghr-paper); border: 1px solid var(--ghr-line); border-radius: var(--ghr-radius); z-index: 60; }
.ghr-menu li:hover > .sub-menu, .ghr-menu li:focus-within > .sub-menu { display: block; }
.ghr-menu .sub-menu a { display: block; padding: .4rem 0; }
.ghr-header__actions { display: flex; align-items: center; gap: 1rem; }
.ghr-lang { display: inline-flex; border: 1px solid var(--ghr-line); border-radius: var(--ghr-radius); overflow: hidden; }
.ghr-lang a { padding: .3rem .7rem; text-decoration: none; font-weight: 700; font-size: .9rem; color: var(--ghr-primary); }
.ghr-lang a[aria-current="true"] { background: var(--ghr-primary); color: #fff; }
.ghr-link-wa { font-weight: 600; font-size: .95rem; }
.ghr-nav-toggle { display: none; background: none; border: 1px solid var(--ghr-line); border-radius: var(--ghr-radius); width: 2.9rem; height: 2.9rem; cursor: pointer; padding: 0; }
.ghr-nav-toggle__bars, .ghr-nav-toggle__bars::before, .ghr-nav-toggle__bars::after { display: block; width: 1.3rem; height: 2px; background: var(--ghr-primary); margin-inline: auto; position: relative; content: ""; }
.ghr-nav-toggle__bars::before { position: absolute; top: -6px; inset-inline: 0; }
.ghr-nav-toggle__bars::after { position: absolute; top: 6px; inset-inline: 0; }

/* Hero: one quiet motion, the rising steps */
.ghr-hero { background: var(--ghr-primary); color: #E9F3F2; padding-block: clamp(3rem, 8vw, 6.5rem); }
.ghr-hero h1 { color: #fff; max-width: 18ch; }
.ghr-lang-ar .ghr-hero h1 { max-width: 22ch; }
.ghr-hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 6vw, 5rem); align-items: end; }
.ghr-kicker { color: var(--ghr-accent); font-weight: 700; font-size: .95rem; margin-bottom: .8rem; }
.ghr-section .ghr-kicker { color: #8A5A0B; }
.ghr-lead { font-size: 1.15rem; max-width: 60ch; }
.ghr-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.ghr-steps { display: flex; align-items: flex-end; gap: .55rem; height: 15rem; margin-bottom: 1.5rem; }
.ghr-steps span { flex: 1; height: var(--h); background: rgba(255,255,255,.16); border-start-start-radius: 4px; border-start-end-radius: 4px; transform-origin: bottom; animation: ghr-rise .9s cubic-bezier(.2,.7,.2,1) both; }
.ghr-steps span:last-child { background: var(--ghr-accent); }
.ghr-steps span:nth-child(2) { animation-delay: .08s; }
.ghr-steps span:nth-child(3) { animation-delay: .16s; }
.ghr-steps span:nth-child(4) { animation-delay: .24s; }
.ghr-steps span:nth-child(5) { animation-delay: .32s; }
@keyframes ghr-rise { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.ghr-facts { margin: 0; display: grid; gap: 1rem; border-top: 1px solid rgba(255,255,255,.25); padding-top: 1.2rem; }
.ghr-facts dt { color: var(--ghr-accent); font-weight: 700; font-size: .9rem; }
.ghr-facts dd { margin: 0; color: #fff; }

/* Sections */
.ghr-section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.ghr-section--tint { background: var(--ghr-mist); }
.ghr-head { max-width: 46rem; margin-bottom: 2.2rem; }
.ghr-about__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; border-top: 2px solid var(--ghr-primary); padding-top: 1.8rem; }
.ghr-services { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 3rem; }
.ghr-service { padding-block: 1.5rem; border-top: 1px solid var(--ghr-line); }
.ghr-service h3 a { text-decoration: none; }
.ghr-service h3 a:hover { text-decoration: underline; }
.ghr-service p { margin: 0; max-width: 52ch; }
.ghr-why__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.ghr-checks { list-style: none; margin: 0; padding: 0; }
.ghr-checks li { position: relative; padding-block: 1rem; padding-inline-start: 2.4rem; border-bottom: 1px solid var(--ghr-line); font-weight: 600; }
.ghr-checks li::before { content: ""; position: absolute; inset-inline-start: .2rem; top: 1.35rem; width: .55rem; height: 1rem; border: solid var(--ghr-primary); border-width: 0 3px 3px 0; transform: rotate(40deg); }
.ghr-band { background: var(--ghr-primary); color: #E9F3F2; }
.ghr-band h2 { color: #fff; }
.ghr-band .ghr-kicker { color: var(--ghr-accent); }
.ghr-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.ghr-band__inner > div { max-width: 40rem; }
.ghr-quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.ghr-quote { margin: 0; border-inline-start: 4px solid var(--ghr-accent); padding-inline-start: 1.2rem; }
.ghr-quote blockquote { margin: 0 0 .8rem; font-size: 1.1rem; font-weight: 600; color: var(--ghr-primary); }
.ghr-quote blockquote p { margin: 0; }
.ghr-quote figcaption { font-size: .95rem; color: #4B5E62; }
.ghr-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.ghr-gallery figure { margin: 0; }
.ghr-gallery img { width: 100%; border-radius: var(--ghr-radius); display: block; }
.ghr-contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 4.5rem); align-items: start; }
.ghr-details { margin: 1.5rem 0 0; display: grid; gap: .9rem; }
.ghr-details dt { font-weight: 700; color: var(--ghr-primary); font-size: .95rem; }
.ghr-details dd { margin: 0; overflow-wrap: anywhere; }
.ghr-card { background: #fff; border: 1px solid var(--ghr-line); border-radius: var(--ghr-radius); padding: clamp(1.2rem, 3vw, 2rem); }

/* Form */
.ghr-form p { margin: 0 0 1rem; }
.ghr-form label { display: block; font-weight: 600; margin-bottom: .3rem; font-size: .95rem; }
.ghr-form input, .ghr-form textarea, .ghr-search input { width: 100%; font: inherit; padding: .7rem .8rem; border: 1px solid #8CA3A0; border-radius: var(--ghr-radius); background: #fff; color: var(--ghr-ink); }
.ghr-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.ghr-hp { position: absolute !important; inset-inline-start: -9999px; height: 0; overflow: hidden; }
.ghr-notice { padding: .8rem 1rem; border-radius: var(--ghr-radius); background: var(--ghr-mist); border-inline-start: 4px solid var(--ghr-primary); }
.ghr-notice--err { background: #FBEAEA; border-color: #B3261E; }

/* Inner pages */
.ghr-listing, .ghr-entry { padding-block: clamp(2rem, 5vw, 4rem); }
.ghr-entry { max-width: 52rem; }
.ghr-entry--home { max-width: none; }
.ghr-page-head { margin-bottom: 2rem; }
.ghr-entry__img img { width: 100%; border-radius: var(--ghr-radius); margin-bottom: 1.5rem; }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content .alignwide, .ghr-entry--home .alignwide { max-width: var(--ghr-wrap); }
.ghr-post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); gap: 2rem; }
.ghr-post-card { border-top: 2px solid var(--ghr-primary); padding-top: 1rem; }
.ghr-post-card__img img { width: 100%; border-radius: var(--ghr-radius); display: block; margin-bottom: .8rem; }
.ghr-post-card h2 { font-size: 1.3rem; }
.ghr-post-card h2 a { text-decoration: none; }
.ghr-meta { font-size: .9rem; color: #4B5E62; margin-bottom: .3rem; }
.ghr-more { font-weight: 700; }
.ghr-search { display: flex; gap: .6rem; max-width: 32rem; margin-block: 1rem; }
.ghr-post-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; padding-top: 1rem; border-top: 1px solid var(--ghr-line); }
.pagination { margin-top: 2.5rem; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: .5rem; }
.pagination .page-numbers { padding: .4rem .8rem; border: 1px solid var(--ghr-line); border-radius: var(--ghr-radius); text-decoration: none; }
.pagination .current { background: var(--ghr-primary); color: #fff; border-color: var(--ghr-primary); }

/* Footer */
.ghr-footer { background: #0A2A30; color: #D6E4E2; padding-top: 3rem; }
.ghr-footer a { color: #fff; }
.ghr-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.ghr-footer__brand { font-weight: 800; color: #fff; margin-bottom: .4rem; }
.ghr-footer__menu, .ghr-social { flex-direction: column; gap: .4rem; }
.ghr-footer__bottom { margin-top: 2.5rem; padding-block: 1.2rem; border-top: 1px solid rgba(255,255,255,.18); display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; font-size: .92rem; }
.ghr-footer__bottom p { margin: 0; }

/* Block editor patterns share these classes */
.ghr-pattern-hero { background: var(--ghr-primary); color: #E9F3F2; padding: clamp(2.5rem, 6vw, 5rem) 1.5rem; }
.ghr-pattern-hero h1, .ghr-pattern-hero h2 { color: #fff; }
.ghr-pattern-band { background: var(--ghr-mist); padding: clamp(2rem, 5vw, 4rem) 1.5rem; }

/* Responsive */
@media (max-width: 900px) {
	.ghr-hero__grid, .ghr-why__grid, .ghr-contact__grid, .ghr-about__grid, .ghr-services, .ghr-quotes, .ghr-footer__grid { grid-template-columns: 1fr; }
	.ghr-services { gap: 0; }
	.ghr-steps { height: 9rem; }
	.ghr-js .ghr-nav-toggle { display: inline-block; }
	.ghr-js .ghr-nav { display: none; position: absolute; inset-inline: 0; top: 100%; background: var(--ghr-paper); border-bottom: 1px solid var(--ghr-line); padding: 1rem 1.25rem 1.5rem; flex-direction: column; align-items: flex-start; }
	.ghr-js .ghr-nav.is-open { display: flex; }
	.ghr-nav { flex-wrap: wrap; }
	.ghr-menu { flex-direction: column; }
	.ghr-menu .sub-menu { display: block; position: static; border: 0; padding: 0 0 0 1rem; padding-inline: 1rem 0; min-width: 0; background: none; }
	.ghr-header__actions { flex-wrap: wrap; }
	.ghr-form__row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.ghr-steps span { animation: none; }
}
@media print {
	.ghr-header, .ghr-footer, .ghr-form { display: none; }
}
