/* ==========================================================================
   Rahber Global theme — design tokens from Figma "RahberGlobal-Web-2.0"
   Canvas reference: 1920px wide, 120px side padding.
   ========================================================================== */
:root {
	--rg-blue: #00529c;
	--rg-blue-dark: #00295c;
	--rg-blue-light: #5c99d6;
	--rg-gold: #c2b59b;
	--rg-red: #be1e2d;
	--rg-white: #fff;
	--rg-ink: #0f1f3d;

	--rg-font-ui: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--rg-font-display: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

	--rg-gutter: clamp(20px, 6.25vw, 120px);   /* 120 @1920 */
	--rg-topbar-h: 44px;
	--rg-nav-h: 96px;
	--rg-header-h: calc(var(--rg-topbar-h) + var(--rg-nav-h));
}

/* Base --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--rg-font-ui);
	font-size: 17px;
	line-height: 1.5;
	color: var(--rg-ink);
	background: var(--rg-white);
	-webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p { margin: 0; }

.skip-link { position: absolute; top: 8px; inset-inline-start: 8px; z-index: 1000; padding: 8px 12px; background: #fff; color: var(--rg-blue); width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { width: auto; height: auto; clip: auto; }

.rg-container {
	width: 100%;
	max-width: 1680px;
	margin-inline: auto;
	padding-inline: var(--rg-gutter);
}

.u-gold { color: var(--rg-gold); }

/* Buttons ------------------------------------------------------------------ */
.rg-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--rg-font-ui);
	font-weight: 500;
	line-height: 1.1;
	color: var(--rg-blue);
	background: var(--rg-white);
	border-radius: 999px;
	white-space: nowrap;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.rg-btn:hover { background: var(--rg-gold); color: var(--rg-blue-dark); }
.rg-btn:focus-visible { outline: 2px solid var(--rg-gold); outline-offset: 3px; }

.rg-btn--outline {                       /* header CTA: 16px, 15/30 padding, 1.5px gold border */
	font-size: 16px;
	padding: 15px 30px;
	border: 1.5px solid var(--rg-gold);
}
.rg-btn--hero {                           /* hero CTA: 20px, 20/38 padding */
	font-size: clamp(17px, 1.04vw, 20px);
	padding: clamp(16px, 1.04vw, 20px) clamp(28px, 1.98vw, 38px);
}
.rg-btn__icon { width: 18px; height: 18px; flex: none; }

/* Header: transparent over the hero ---------------------------------------- */
.rg-header {
	position: absolute;
	inset: 0 0 auto 0;
	z-index: 100;
	color: var(--rg-white);
	transition: transform .35s ease, background-color .3s ease, box-shadow .3s ease;
}
/* Smart sticky states (set by main.js) */
.rg-header.is-fixed {
	position: fixed;
	background: rgba(0, 82, 156, .95);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	box-shadow: 0 10px 30px rgba(0, 20, 50, .18);
}
.rg-header.is-fixed .rg-topbar { display: none; }            /* compact: audience tabs hidden */
.rg-header.is-fixed .rg-nav { height: 76px; }
.rg-header.is-fixed .rg-nav__logo-svg { width: 150px; }
.rg-header.is-hidden { transform: translateY(-100%); }
.rg-header.is-pinned { transform: translateY(0); }
.rg-header.is-no-transition { transition: none; }

/* Audience tabs */
.rg-topbar {
	height: var(--rg-topbar-h);
	background: rgba(255, 255, 255, .04);
	border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.rg-topbar__inner { display: flex; justify-content: flex-end; height: 100%; }
.rg-topbar__tabs { display: flex; height: 100%; }
.rg-topbar__tab a {
	display: flex;
	align-items: center;
	height: 100%;
	padding: 0 24px;
	font-size: 15px;
	font-weight: 500;
	line-height: 17px;
	color: rgba(255, 255, 255, .65);
	position: relative;
	transition: color .2s ease;
}
.rg-topbar__tab a:hover, .rg-topbar__tab.is-active a { color: var(--rg-white); }
.rg-topbar__tab.is-active a::after {
	content: "";
	position: absolute;
	left: 24px; right: 24px; bottom: 0;
	height: 2px;
	background: var(--rg-gold);
}

/* Main nav */
.rg-nav { height: var(--rg-nav-h); }
.rg-nav__inner {
	display: flex;
	align-items: center;
	height: 100%;
	gap: clamp(32px, 3.75vw, 72px);        /* 72 @1920 between logo and menu */
}
.rg-nav__logo { flex: none; }
.rg-nav__logo-svg { width: 176px; height: auto; }

.rg-nav__drawer {
	display: flex;
	align-items: center;
	flex: 1 1 auto;
	min-width: 0;
}
.rg-nav__menu { flex: 1 1 auto; min-width: 0; }
.rg-nav__list { display: flex; align-items: center; gap: clamp(24px, 2.29vw, 44px); }
.rg-nav__item { position: relative; }
.rg-nav__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 0;
	font-size: 17px;
	line-height: 22px;
	color: var(--rg-white);
	white-space: nowrap;
	position: relative;
}
.rg-nav__link::after {
	content: "";
	position: absolute;
	left: 0; bottom: 2px;
	width: 100%; height: 1.5px;
	background: var(--rg-gold);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .25s ease;
}
.rg-nav__link:hover::after, .rg-nav__item.is-current > .rg-nav__link::after { transform: scaleX(1); }
.rg-nav__chevron { width: 10px; height: 10px; transition: transform .2s ease; }
.rg-nav__item.is-open > .rg-nav__link .rg-nav__chevron,
.rg-nav__item--parent:hover > .rg-nav__link .rg-nav__chevron { transform: rotate(180deg); }

/* Dropdown */
.rg-nav__sub {
	position: absolute;
	top: calc(100% + 14px);
	left: -20px;
	min-width: 300px;
	padding: 12px 0;
	background: var(--rg-white);
	color: var(--rg-ink);
	border-radius: 14px;
	box-shadow: 0 18px 50px rgba(0, 41, 92, .22);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
}
.rg-nav__sub::before {                    /* keeps hover alive across the gap */
	content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px;
}
.rg-nav__item--parent:hover > .rg-nav__sub,
.rg-nav__item--parent.is-open > .rg-nav__sub,
.rg-nav__item--parent:focus-within > .rg-nav__sub {
	opacity: 1; visibility: visible; transform: none; transition-delay: 0s;
}
.rg-nav__sub .rg-nav__link {
	display: block;
	padding: 10px 24px;
	font-size: 16px;
	color: var(--rg-blue-dark);
	white-space: normal;
}
.rg-nav__sub .rg-nav__link::after { display: none; }
.rg-nav__sub .rg-nav__link:hover { background: rgba(0, 82, 156, .06); color: var(--rg-blue); }

/* Right tools: language + CTA */
.rg-nav__tools { display: flex; align-items: center; gap: clamp(24px, 2.1vw, 40px); flex: none; }

.rg-lang { position: relative; }
.rg-lang__toggle { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; line-height: 22px; color: var(--rg-white); }
.rg-lang__globe { width: 20px; height: 20px; }
.rg-lang__chevron { width: 10px; height: 10px; transition: transform .2s ease; }
.rg-lang.is-open .rg-lang__chevron { transform: rotate(180deg); }
.rg-lang__list {
	position: absolute;
	top: calc(100% + 14px);
	right: 0;
	min-width: 160px;
	padding: 8px 0;
	background: var(--rg-white);
	color: var(--rg-blue-dark);
	border-radius: 12px;
	box-shadow: 0 18px 50px rgba(0, 41, 92, .22);
	opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
}
.rg-lang.is-open .rg-lang__list, .rg-lang:focus-within .rg-lang__list { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.rg-lang__list a { display: block; padding: 10px 20px; font-size: 16px; }
.rg-lang__list a:hover { background: rgba(0, 82, 156, .06); color: var(--rg-blue); }

/* Burger (mobile only) */
.rg-nav__burger {
	display: none;
	margin-left: auto;
	width: 44px; height: 44px;
	flex-direction: column;
	justify-content: center;
	gap: 6px;
	padding: 8px;
}
.rg-nav__burger span { display: block; height: 2px; background: var(--rg-white); border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }
.rg-menu-open .rg-nav__burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.rg-menu-open .rg-nav__burger span:nth-child(2) { opacity: 0; }
.rg-menu-open .rg-nav__burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Hero -------------------------------------------------------------------- */
.rg-hero {
	position: relative;
	min-height: max(680px, 100svh);
	display: flex;
	align-items: center;
	padding-top: var(--rg-header-h);
	padding-bottom: clamp(64px, 8vw, 120px);
	color: var(--rg-white);
	background: linear-gradient(180deg, var(--rg-blue-dark) 0%, var(--rg-blue) 60%, var(--rg-blue-light) 100%);
}
.rg-hero__inner { display: flex; flex-direction: column; align-items: flex-start; }
.rg-hero__eyebrow {
	font-size: clamp(17px, 1.146vw, 22px);
	line-height: 1.27;
	margin-bottom: clamp(12px, 1.04vw, 20px);
}
.rg-hero__title {
	max-width: 1000px;
	font-family: var(--rg-font-display);
	font-weight: 500;
	font-size: clamp(40px, 3.75vw, 72px);
	line-height: 1.167;
	letter-spacing: -0.01em;
	margin-bottom: clamp(18px, 1.46vw, 28px);
}
.rg-hero__text {
	max-width: 760px;
	font-size: clamp(18px, 1.25vw, 24px);
	line-height: 1.5;
	margin-bottom: clamp(28px, 2.08vw, 40px);
}

/* Hero, photo variant (Figma 128:883): blue text on the sky photo, white fade
   at the bottom, service cards overlapping the fade. -------------------------- */
:root {
	--rg-cards-overlap: clamp(120px, 14.375vw, 276px);  /* 276 @1920: hero 1072, cards top 796 */
}
.rg-hero--photo {
	min-height: clamp(640px, 55.8vw, 1072px);
	align-items: flex-start;
	padding-top: calc(var(--rg-header-h) + clamp(40px, 6vw, 115px));
	padding-bottom: calc(var(--rg-cards-overlap) + clamp(40px, 6.4vw, 123px));
	color: var(--rg-blue);
	background: var(--rg-blue);
	overflow: hidden;
}
.rg-hero__media { position: absolute; inset: 0; z-index: 0; }
.rg-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.rg-hero--photo::before {                    /* dark scrim behind the header so white nav text stays legible on a light sky */
	content: "";
	position: absolute;
	left: 0; right: 0; top: 0;
	height: calc(var(--rg-header-h) + 120px);
	background: linear-gradient(180deg, rgba(0, 41, 92, .62) 0%, rgba(0, 41, 92, .35) 55%, rgba(0, 41, 92, 0) 100%);
	z-index: 1;
	pointer-events: none;
}
.rg-hero--photo::after {                     /* white fade, 285px tall @1920 */
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: clamp(160px, 14.84vw, 285px);
	background: linear-gradient(180deg, rgba(255,255,255,0) 0%, #fff 100%);
	z-index: 1;
}
.rg-hero--photo .rg-hero__inner { position: relative; z-index: 2; }
.rg-hero--photo .rg-hero__eyebrow,
.rg-hero--photo .rg-hero__title,
.rg-hero--photo .rg-hero__text { color: var(--rg-blue); }
.rg-hero--photo .rg-btn--hero { box-shadow: 0 8px 30px rgba(0, 41, 92, .12); }

/* Service cards ------------------------------------------------------------ */
.rg-cards {
	position: relative;
	z-index: 3;
	margin-top: calc(-1 * var(--rg-cards-overlap));
	padding-bottom: clamp(48px, 5vw, 96px);
	background: transparent;
}
.rg-cards__viewport { overflow: hidden; padding: 24px 30px 44px; margin: -24px -30px -44px; }
.rg-cards__track {
	--rg-cards-visible: 5;
	--rg-cards-gap: 18px;
	display: flex;
	gap: var(--rg-cards-gap);
}
.rg-card {
	flex: 0 0 calc((100% - (var(--rg-cards-visible) - 1) * var(--rg-cards-gap)) / var(--rg-cards-visible));
	min-height: clamp(260px, 22vw, 345px);   /* square at 1920, grows with content below that */
	display: flex;
	background: var(--rg-white);
	border-radius: 4px;
	box-shadow: 0 14px 44px rgba(0, 41, 92, .10);
	transition: transform .25s ease, box-shadow .25s ease, opacity .32s ease, margin .45s cubic-bezier(.4, 0, .2, 1);
}
.rg-card:hover:not(.is-leaving) { transform: translateY(-4px); box-shadow: 0 22px 54px rgba(0, 41, 92, .16); }
/* Conveyor states (set by main.js): the first card fades and shrinks away while the row
   slides one place, and the next card fades in on the far side. */
.rg-card.is-offstage { opacity: 0; pointer-events: none; }
.rg-card.is-leaving { opacity: 0; transform: scale(.92); margin-inline-start: var(--rg-card-shift, -300px); pointer-events: none; }
.rg-card.no-transition { transition: none !important; }
@media (prefers-reduced-motion: reduce) {
	.rg-card { transition-duration: .25s; }
	.rg-card.is-leaving { transform: none; }
}
.rg-card__link {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	padding: clamp(22px, 1.67vw, 32px);
	color: var(--rg-ink);
}
.rg-card__icon { display: block; width: clamp(48px, 3.75vw, 72px); height: clamp(48px, 3.75vw, 72px); margin-bottom: clamp(20px, 1.6vw, 30px); }
.rg-card__icon svg, .rg-card__icon img { width: 100%; height: 100%; }
.rg-card__title {
	display: block;
	margin-top: 0;
	font-size: clamp(18px, 1.1vw, 21px);
	font-weight: 600;
	line-height: 1.3;
	color: var(--rg-blue);
}
.rg-card__text {
	display: block;
	margin-top: 8px;
	font-size: clamp(14px, .83vw, 16px);
	line-height: 1.5;
	color: rgba(0, 41, 92, .72);
}
.rg-card__more {
	display: flex;
	align-items: flex-end;
	gap: 8px;
	margin-top: auto;
	padding-top: 18px;
	font-size: 15px;
	line-height: 1.3;
	font-weight: 500;
	color: var(--rg-blue);
}
.rg-card__arrow { width: 14px; height: 14px; flex: none; margin-bottom: 2px; transition: transform .2s ease; }
.rg-card:hover .rg-card__arrow { transform: translateX(4px); }

.rg-cards__foot { display: flex; align-items: center; justify-content: flex-end; gap: 24px; margin-top: 28px; }
.rg-cards__nav { display: flex; gap: 12px; margin-right: auto; }
.rg-cards__btn {
	width: 44px; height: 44px;
	display: inline-flex; align-items: center; justify-content: center;
	border: 1px solid var(--rg-blue);
	border-radius: 50%;
	color: var(--rg-blue);
	background: var(--rg-white);
	transition: background-color .2s ease, color .2s ease;
}
.rg-cards__btn:hover { background: var(--rg-blue); color: #fff; }
.rg-cards__btn:disabled { opacity: .35; pointer-events: none; }
.rg-cards__btn-icon { width: 16px; height: 16px; }
.rg-cards__btn-icon--prev { transform: rotate(180deg); }

.rg-link {                                   /* text link with gold underline */
	position: relative;
	display: inline-block;
	padding-bottom: 6px;
	font-size: clamp(17px, 1.04vw, 20px);
	font-weight: 500;
	color: var(--rg-blue);
}
.rg-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--rg-gold); transition: transform .25s ease; transform-origin: left; }
.rg-link:hover::after { transform: scaleX(.6); }

/* Section heading pattern (brand blue band) --------------------------------- */
.rg-section__head { margin-bottom: clamp(32px, 2.9vw, 56px); }
.rg-section__title {
	font-family: var(--rg-font-display);
	font-weight: 300;
	font-size: clamp(34px, 2.92vw, 56px);
	line-height: 1.14;
	letter-spacing: -0.01em;
}
.rg-section__text { margin-top: 12px; font-size: clamp(17px, 1.146vw, 22px); line-height: 1.3; opacity: .85; }

/* About (short) ------------------------------------------------------------- */
.rg-eyebrow {
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--rg-gold);
	margin-bottom: 18px;
}
.rg-about {
	padding: clamp(56px, 5.2vw, 100px) 0 clamp(64px, 6.25vw, 120px);
	background: var(--rg-white);
	color: var(--rg-ink);
}
.rg-about__inner {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	gap: clamp(32px, 4.2vw, 80px);
	align-items: start;
}
.rg-about__title {
	font-family: var(--rg-font-display);
	font-weight: 300;
	font-size: clamp(30px, 2.5vw, 48px);
	line-height: 1.17;
	letter-spacing: -0.01em;
	color: var(--rg-blue);
}
.rg-about__body { padding-top: clamp(0px, 2.4vw, 46px); }   /* optically aligns with the heading */
.rg-about__text {
	font-size: clamp(16px, .99vw, 19px);
	line-height: 1.6;
	color: rgba(0, 41, 92, .8);
	margin-bottom: 28px;
}

/* Our centres --------------------------------------------------------------- */
.rg-centres {
	padding: clamp(64px, 6.25vw, 120px) 0 clamp(56px, 5.2vw, 100px);
	background: var(--rg-blue);
	color: var(--rg-white);
}
.rg-centres__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(16px, 1.25vw, 24px);
}
.rg-centre__card {
	position: relative;
	display: block;
	aspect-ratio: 4 / 5;
	border-radius: 16px;
	overflow: hidden;
	background: var(--rg-blue-dark);
	color: var(--rg-white);
	isolation: isolate;
}
.rg-centre__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
a.rg-centre__card:hover .rg-centre__photo { transform: scale(1.04); }
.rg-centre__card::after {                     /* shade: transparent to 75% black from 45% down */
	content: "";
	position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.75) 100%);
	z-index: 1;
}
.rg-centre__tag {
	position: absolute; top: 24px; left: 24px; z-index: 2;
	padding: 6px 12px;
	border-radius: 8px;
	background: rgba(0,0,0,.45);
	font-size: 14px; font-weight: 500; line-height: 20px;
	backdrop-filter: blur(4px);
}
.rg-centre__tag--highlight { background: var(--rg-red); }
.rg-centre__body { position: absolute; left: 28px; right: 28px; bottom: 28px; z-index: 2; display: block; }
.rg-centre__name {
	display: block;
	font-family: var(--rg-font-display);
	font-weight: 300;
	font-size: clamp(26px, 1.77vw, 34px);
	line-height: 1.13;
	color: var(--rg-gold);
}
.rg-centre__caption { display: block; margin-top: 8px; font-size: clamp(14px, .83vw, 16px); line-height: 1.45; }
.rg-centres__nav { display: none; margin-top: 24px; }
.rg-cards__btn--light { border-color: rgba(255,255,255,.6); color: #fff; background: transparent; }
.rg-cards__btn--light:hover { background: #fff; color: var(--rg-blue); }

/* How it works (photo left, steps right) ------------------------------------ */
.rg-how {
	padding: clamp(64px, 6.25vw, 120px) 0;
	background: var(--rg-white);
	color: var(--rg-ink);
}
.rg-how__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(32px, 5vw, 96px);
	align-items: center;
}
.rg-how__media { margin: 0; border-radius: 16px; overflow: hidden; aspect-ratio: 1 / 1; background: var(--rg-blue-dark); }
.rg-how__media img { width: 100%; height: 100%; object-fit: cover; }
.rg-how__title {
	font-family: var(--rg-font-display);
	font-weight: 300;
	font-size: clamp(30px, 2.5vw, 48px);
	line-height: 1.17;
	letter-spacing: -0.01em;
	color: var(--rg-blue);
	margin-bottom: clamp(24px, 2.1vw, 40px);
}
.rg-steps { display: grid; gap: clamp(16px, 1.25vw, 24px); margin-bottom: clamp(28px, 2.5vw, 48px); counter-reset: none; }
.rg-step { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: start; }
.rg-step__num {
	font-family: var(--rg-font-display);
	font-weight: 300;
	font-size: 22px;
	line-height: 1;
	color: var(--rg-gold);
	padding-top: 3px;
}
.rg-step__body { display: block; padding-bottom: clamp(12px, 1vw, 20px); border-bottom: 1px solid rgba(0, 82, 156, .14); }
.rg-step:last-child .rg-step__body { border-bottom: 0; }
.rg-step__title { display: block; font-size: clamp(17px, .99vw, 19px); font-weight: 600; color: var(--rg-blue); line-height: 1.3; }
.rg-step__text { display: block; margin-top: 4px; font-size: clamp(14px, .83vw, 16px); line-height: 1.5; color: rgba(0, 41, 92, .72); }

.rg-btn--solid {                           /* filled brand-blue button */
	background: var(--rg-blue);
	color: var(--rg-white);
	font-size: clamp(16px, .94vw, 18px);
	padding: 16px 30px;
}
.rg-btn--solid:hover { background: var(--rg-blue-dark); color: var(--rg-white); }
.rg-btn--solid .rg-btn__icon [stroke] { stroke: currentColor; }   /* Figma icons carry a fixed blue stroke */
.rg-btn--solid .rg-btn__icon [fill]:not([fill="none"]) { fill: currentColor; }

/* Important notices --------------------------------------------------------- */
.rg-notices {
	padding: clamp(64px, 6.25vw, 120px) 0;
	background: #f3f7fb;
	color: var(--rg-ink);
}
.rg-notices__head { max-width: 760px; }
.rg-notices__title { color: var(--rg-blue); }
.rg-notices__grid {
	--rg-notice-gap: clamp(16px, 1.25vw, 24px);
	--rg-notice-per-view: 4;
	display: flex;
	gap: var(--rg-notice-gap);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	padding: 8px 0 24px;
	margin: -8px 0 0;
}
.rg-notices__grid::-webkit-scrollbar { display: none; }
.rg-notice { flex: 0 0 calc((100% - (var(--rg-notice-per-view) - 1) * var(--rg-notice-gap)) / var(--rg-notice-per-view)); scroll-snap-align: start; }
.rg-notices__nav { display: flex; margin-top: 4px; }
.rg-notice {
	padding: clamp(24px, 1.9vw, 36px);
	background: var(--rg-white);
	border-radius: 4px;
	box-shadow: 0 14px 44px rgba(0, 41, 92, .08);
	transition: transform .25s ease, box-shadow .25s ease;
}
.rg-notice:hover { transform: translateY(-3px); box-shadow: 0 22px 54px rgba(0, 41, 92, .14); }
.rg-notice__icon { display: block; width: 44px; height: 44px; color: var(--rg-blue); margin-bottom: 22px; }
.rg-notice__icon svg { width: 44px; height: 44px; }
.rg-notice__title { font-size: clamp(17px, .99vw, 19px); font-weight: 600; line-height: 1.3; color: var(--rg-blue); margin-bottom: 8px; }
.rg-notice__text { font-size: clamp(14px, .83vw, 16px); line-height: 1.55; color: rgba(0, 41, 92, .72); }

/* Footer -------------------------------------------------------------------- */
.rg-footer {
	background: var(--rg-blue);
	color: rgba(255, 255, 255, .78);
	padding: clamp(56px, 5.2vw, 96px) 0 32px;
	font-size: 15px;
	line-height: 1.6;
}
.rg-footer a { color: inherit; transition: color .2s ease; }
.rg-footer a:hover { color: var(--rg-gold); }
.rg-footer__top {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
	gap: clamp(32px, 3.3vw, 64px);
	padding-bottom: clamp(40px, 3.3vw, 64px);
	border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.rg-footer__logo { display: inline-block; }
.rg-footer__logo svg { width: 160px; height: auto; }
.rg-footer__tagline { max-width: 340px; margin-top: 20px; color: rgba(255, 255, 255, .7); }
.rg-social { display: flex; gap: 10px; margin-top: 26px; }
.rg-social a {
	display: inline-flex; align-items: center; justify-content: center;
	width: 40px; height: 40px;
	border: 1px solid rgba(255, 255, 255, .22);
	border-radius: 50%;
	color: #fff;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.rg-social a:hover { background: var(--rg-gold); border-color: var(--rg-gold); color: var(--rg-blue); }
.rg-social svg { width: 18px; height: 18px; }

.rg-footer__heading {
	font-family: var(--rg-font-ui);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--rg-gold);
	margin-bottom: 20px;
}
.rg-footer__list { display: grid; gap: 10px; }
.rg-footer__list a { color: rgba(255, 255, 255, .85); }
.rg-footer__list--contact a { color: #fff; font-weight: 500; }
.rg-footer__addresses { display: grid; gap: 18px; margin-top: 22px; }
.rg-footer__address { font-style: normal; color: rgba(255, 255, 255, .7); }
.rg-footer__city { display: block; color: #fff; font-weight: 500; margin-bottom: 2px; }

.rg-footer__disclaimer {
	max-width: 960px;
	margin: 28px 0 0;
	font-size: 13px;
	line-height: 1.6;
	color: rgba(255, 255, 255, .55);
}
.rg-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 32px;
	margin-top: 28px;
	padding-top: 24px;
	border-top: 1px solid rgba(255, 255, 255, .12);
	font-size: 13px;
	color: rgba(255, 255, 255, .6);
}
.rg-footer__copy { margin: 0; }
.rg-footer__legal { margin-right: auto; }
.rg-footer__legal-list { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.rg-footer__langs { display: flex; gap: 18px; }
.rg-footer__langs [aria-current] { color: #fff; }

/* Inner page header band ---------------------------------------------------- */
.rg-page-hero {
	padding: calc(var(--rg-header-h) + clamp(40px, 4vw, 80px)) 0 clamp(56px, 5vw, 96px);
	background: linear-gradient(180deg, var(--rg-blue-dark) 0%, var(--rg-blue) 100%);
	color: var(--rg-white);
}
.rg-page-hero__title {
	max-width: 960px;
	font-family: var(--rg-font-display);
	font-weight: 300;
	font-size: clamp(34px, 3.1vw, 60px);
	line-height: 1.1;
	letter-spacing: -0.01em;
}
.rg-page-hero__text { max-width: 760px; margin-top: clamp(16px, 1.25vw, 24px); font-size: clamp(16px, 1vw, 19px); line-height: 1.6; color: rgba(255, 255, 255, .85); }

/* Services page grid ------------------------------------------------------- */
.rg-services { padding: clamp(56px, 5vw, 96px) 0; background: #f3f7fb; }
.rg-services__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 1.25vw, 24px); }
.rg-services__grid .rg-card { min-height: 0; }
.rg-card.is-draft { opacity: .75; }
.rg-card.is-draft .rg-card__more { color: rgba(0, 41, 92, .5); }
.rg-card.is-draft .rg-card__link { position: relative; }
.rg-card__badge { position: absolute; top: 14px; right: 14px; padding: 3px 8px; border-radius: 4px; background: rgba(194, 181, 155, .3); color: var(--rg-blue-dark); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }

/* Closing call-to-action band ---------------------------------------------- */
.rg-cta-band { padding: clamp(56px, 5vw, 96px) 0; background: var(--rg-blue); color: var(--rg-white); }
.rg-cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px 48px; flex-wrap: wrap; }
.rg-cta-band__copy { max-width: 680px; }
.rg-cta-band__title { font-family: var(--rg-font-display); font-weight: 300; font-size: clamp(28px, 2.3vw, 44px); line-height: 1.15; }
.rg-cta-band__text { margin-top: 10px; font-size: clamp(16px, 1vw, 19px); line-height: 1.6; color: rgba(255, 255, 255, .85); }

/* Single service page ------------------------------------------------------- */
.rg-eyebrow--link { display: inline-block; transition: color .2s ease; }
.rg-eyebrow--link:hover { color: var(--rg-white); }
.rg-page-hero__actions { margin-top: clamp(24px, 2vw, 36px); }
.rg-section__title--blue { color: var(--rg-blue); }

.rg-assist { padding: clamp(56px, 5vw, 96px) 0; background: var(--rg-white); }
.rg-assist__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 1.25vw, 24px); }
.rg-assist__item {
	display: grid;
	grid-template-columns: 28px minmax(0, 1fr);
	column-gap: 14px;
	align-items: start;
	padding: clamp(20px, 1.5vw, 28px);
	border: 1px solid rgba(0, 82, 156, .14);
	border-radius: 4px;
}
.rg-assist__check { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(194, 181, 155, .28); color: var(--rg-blue); }
.rg-assist__check svg { width: 14px; height: 14px; }
.rg-assist__title { align-self: center; font-size: clamp(16px, .94vw, 18px); font-weight: 600; line-height: 1.35; color: var(--rg-blue); }
.rg-assist__text { grid-column: 2; margin-top: 6px; font-size: 15px; line-height: 1.5; color: rgba(0, 41, 92, .72); }

.rg-process { padding: clamp(56px, 5vw, 96px) 0; background: #f3f7fb; }
.rg-process__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 1.25vw, 24px); }
.rg-pstep { padding: clamp(22px, 1.7vw, 32px); background: var(--rg-white); border-radius: 4px; box-shadow: 0 14px 44px rgba(0, 41, 92, .08); }
.rg-pstep__num { display: block; font-family: var(--rg-font-display); font-weight: 300; font-size: clamp(30px, 2.2vw, 42px); line-height: 1; color: var(--rg-gold); margin-bottom: 18px; }
.rg-pstep__title { font-size: clamp(17px, .99vw, 19px); font-weight: 600; line-height: 1.3; color: var(--rg-blue); margin-bottom: 8px; }
.rg-pstep__text { font-size: clamp(14px, .83vw, 16px); line-height: 1.55; color: rgba(0, 41, 92, .72); }

.rg-info { padding: clamp(56px, 5vw, 96px) 0; background: var(--rg-white); }
.rg-info__box { max-width: 960px; padding: clamp(24px, 2vw, 40px); background: #f3f7fb; border-inline-start: 3px solid var(--rg-gold); border-radius: 0 4px 4px 0; }
.rg-info__title { font-family: var(--rg-font-display); font-weight: 300; font-size: clamp(24px, 1.8vw, 34px); line-height: 1.15; color: var(--rg-blue); margin-bottom: 14px; }
.rg-info__box p { font-size: clamp(15px, .9vw, 17px); line-height: 1.65; color: rgba(0, 41, 92, .8); }
.rg-info__box p + p { margin-top: 12px; }

/* Inner pages: shared pieces ------------------------------------------------ */
.rg-page-hero--compact { padding-top: calc(var(--rg-header-h) + clamp(32px, 3vw, 56px)); padding-bottom: clamp(40px, 3.5vw, 64px); }
.rg-page-hero__actions--row { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.rg-link--light { color: var(--rg-white); }
.rg-tile__num { display: block; font-family: var(--rg-font-display); font-weight: 300; font-size: 30px; line-height: 1; color: var(--rg-gold); margin-bottom: 18px; }
.rg-assist__grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* About: mission & vision */
.rg-mv { padding: clamp(56px, 5vw, 96px) 0 0; background: var(--rg-white); }
.rg-mv__inner { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 1.25vw, 24px); }
.rg-mv__card { padding: clamp(28px, 2.5vw, 48px); border: 1px solid rgba(0, 82, 156, .14); border-radius: 4px; }
.rg-mv__card--accent { background: var(--rg-blue); border-color: var(--rg-blue); color: var(--rg-white); }
.rg-mv__text { font-family: var(--rg-font-display); font-weight: 300; font-size: clamp(22px, 1.77vw, 34px); line-height: 1.25; color: var(--rg-blue); }
.rg-mv__card--accent .rg-mv__text { color: var(--rg-white); }
.rg-mv + .rg-notices { margin-top: clamp(56px, 5vw, 96px); }

/* About: chairman */
.rg-chair { padding: clamp(56px, 5vw, 96px) 0; background: var(--rg-white); }
.rg-chair__inner { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: clamp(32px, 4vw, 72px); align-items: center; }
.rg-chair__inner--nophoto { grid-template-columns: 1fr; }
.rg-chair__media { margin: 0; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; background: #f3f7fb; }
.rg-chair__media img { width: 100%; height: 100%; object-fit: cover; }
.rg-chair__name { font-family: var(--rg-font-display); font-weight: 300; font-size: clamp(30px, 2.5vw, 48px); line-height: 1.15; color: var(--rg-blue); }
.rg-chair__text { margin-top: 18px; max-width: 640px; font-size: clamp(16px, 1vw, 19px); line-height: 1.6; color: rgba(0, 41, 92, .8); }

/* Footprints: head office */
.rg-centres--page { padding-top: clamp(48px, 4.2vw, 80px); }
.rg-hq { padding: clamp(56px, 5vw, 96px) 0; background: var(--rg-white); }
.rg-hq__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 72px); align-items: start; }
.rg-hq__title { font-family: var(--rg-font-display); font-weight: 300; font-size: clamp(30px, 2.5vw, 48px); line-height: 1.15; color: var(--rg-blue); }
.rg-hq__text { margin: 16px 0 28px; max-width: 520px; font-size: clamp(16px, 1vw, 19px); line-height: 1.6; color: rgba(0, 41, 92, .8); }
.rg-hq__details { display: grid; gap: 18px; margin: 0; padding: clamp(24px, 2vw, 36px); background: #f3f7fb; border-radius: 4px; }
.rg-hq__details div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; }
.rg-hq__details dt { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--rg-gold); padding-top: 3px; }
.rg-hq__details dd { margin: 0; font-size: 16px; line-height: 1.55; color: var(--rg-ink); }
.rg-hq__details a { color: var(--rg-blue); font-weight: 500; }

/* Careers: open positions */
.rg-roles { padding: clamp(56px, 5vw, 96px) 0; background: var(--rg-white); }
.rg-roles__list { margin-top: 28px; }
.rg-roles__empty { margin-top: 20px; padding: 24px 28px; background: #f3f7fb; border-inline-start: 3px solid var(--rg-gold); border-radius: 0 4px 4px 0; font-size: 17px; color: rgba(0, 41, 92, .8); }
.rg-cta-band__link { text-decoration: underline; text-underline-offset: 3px; }

/* Contact */
.rg-contact { padding: clamp(56px, 5vw, 96px) 0; background: var(--rg-white); }
.rg-contact__inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 4vw, 72px); align-items: start; }
.rg-contact__block + .rg-contact__block { margin-top: 32px; padding-top: 32px; border-top: 1px solid rgba(0, 82, 156, .14); }
.rg-contact__heading { font-size: clamp(19px, 1.2vw, 23px); font-weight: 600; color: var(--rg-blue); margin-bottom: 8px; }
.rg-contact__text { font-size: 16px; line-height: 1.55; color: rgba(0, 41, 92, .72); margin-bottom: 14px; }
.rg-contact__list { display: grid; gap: 8px; font-size: 17px; font-weight: 500; }
.rg-contact__list a { color: var(--rg-blue); }
.rg-contact__list a:hover { color: var(--rg-blue-dark); text-decoration: underline; }
.rg-contact__addr { font-size: 15px; line-height: 1.55; color: rgba(0, 41, 92, .72); }
.rg-contact__addr + .rg-contact__addr { margin-top: 14px; }
.rg-contact__addr strong { color: var(--rg-ink); }
.rg-contact__form-title { font-family: var(--rg-font-display); font-weight: 300; font-size: clamp(26px, 2vw, 38px); line-height: 1.15; color: var(--rg-blue); margin-bottom: 24px; }

.rg-form { padding: clamp(24px, 2vw, 40px); background: #f3f7fb; border-radius: 4px; }
.rg-form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.rg-field { display: block; margin-bottom: 16px; }
.rg-field__label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; color: var(--rg-ink); }
.rg-field__input { display: block; width: 100%; padding: 13px 16px; font: inherit; font-size: 16px; color: var(--rg-ink); background: var(--rg-white); border: 1px solid rgba(0, 82, 156, .22); border-radius: 4px; transition: border-color .2s ease, box-shadow .2s ease; }
.rg-field__input:focus { outline: none; border-color: var(--rg-blue); box-shadow: 0 0 0 3px rgba(0, 82, 156, .14); }
textarea.rg-field__input { resize: vertical; min-height: 140px; }
.rg-form__hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); margin: 0; }
.rg-form__notice { padding: 14px 18px; margin-bottom: 18px; border-radius: 4px; font-size: 15px; }
.rg-form__notice--ok { background: rgba(0, 82, 156, .08); color: var(--rg-blue); }
.rg-form__notice--err { background: rgba(190, 30, 45, .08); color: var(--rg-red); }

/* FAQ */
.rg-faq { padding: clamp(56px, 5vw, 96px) 0; background: #f3f7fb; }
.rg-faq__group + .rg-faq__group { margin-top: 36px; }
.rg-faq__group-title { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--rg-gold); margin-bottom: 12px; }
.rg-faq__item { background: var(--rg-white); border-radius: 4px; border: 1px solid rgba(0, 82, 156, .12); }
.rg-faq__item + .rg-faq__item { margin-top: 8px; }
.rg-faq__q { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; cursor: pointer; list-style: none; font-size: clamp(16px, .94vw, 18px); font-weight: 600; color: var(--rg-blue); }
.rg-faq__q::-webkit-details-marker { display: none; }
.rg-faq__icon { position: relative; flex: none; width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(0, 82, 156, .3); }
.rg-faq__icon::before, .rg-faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; background: var(--rg-blue); transform: translate(-50%, -50%); transition: transform .2s ease; }
.rg-faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.rg-faq__item[open] .rg-faq__icon::after { transform: translate(-50%, -50%) rotate(0); }
.rg-faq__a { padding: 0 22px 20px; font-size: 16px; line-height: 1.6; color: rgba(0, 41, 92, .78); }

/* Governments: two-column + mandate */
.rg-two { padding: clamp(56px, 5vw, 96px) 0; background: #f3f7fb; }
.rg-two__inner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 4vw, 72px); align-items: start; }
.rg-two__title { font-family: var(--rg-font-display); font-weight: 300; font-size: clamp(28px, 2.3vw, 44px); line-height: 1.15; color: var(--rg-blue); margin-bottom: 18px; }
.rg-two__text { font-size: clamp(16px, 1vw, 19px); line-height: 1.6; color: rgba(0, 41, 92, .8); }
.rg-two__text + .rg-two__text { margin-top: 12px; }
.rg-two__text + .rg-btn { margin-top: 28px; }
.rg-two__aside { padding: clamp(24px, 2vw, 36px); background: var(--rg-white); border-radius: 4px; box-shadow: 0 14px 44px rgba(0, 41, 92, .08); }
.rg-two__aside-title { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--rg-gold); margin-bottom: 16px; }
.rg-checklist { display: grid; gap: 14px; }
.rg-checklist li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 16px; font-weight: 500; line-height: 1.45; color: var(--rg-ink); }
.rg-checklist small { display: block; font-weight: 400; color: rgba(0, 41, 92, .7); }
.rg-mandate { padding: clamp(56px, 5vw, 96px) 0; background: var(--rg-white); }
.rg-mandate__text { margin: 18px 0 28px; font-size: clamp(16px, 1vw, 19px); line-height: 1.6; color: rgba(0, 41, 92, .8); }

/* Generic page content */
.rg-page { padding: clamp(48px, 4vw, 80px) 0; background: var(--rg-white); color: var(--rg-ink); }
.rg-prose { font-size: 17px; line-height: 1.7; }
.rg-prose p, .rg-prose ul, .rg-prose ol { margin: 0 0 1.2em; }
.rg-prose ul { list-style: disc; padding-left: 1.4em; }
.rg-prose ol { list-style: decimal; padding-left: 1.4em; }
.rg-prose h2, .rg-prose h3 { font-family: var(--rg-font-display); font-weight: 300; color: var(--rg-blue); margin: 1.6em 0 .6em; line-height: 1.2; }
.rg-prose h2 { font-size: clamp(26px, 2vw, 36px); }
.rg-prose h3 { font-size: clamp(21px, 1.5vw, 26px); }
.rg-prose a { color: var(--rg-blue); text-decoration: underline; text-underline-offset: 3px; }
.rg-prose img { border-radius: 8px; }

/* Narrow sections stay left-aligned with the rest of the page */
/* Narrow sections keep the page measure on the container and cap their own content. */
.rg-faq__inner > *, .rg-mandate__inner > *, .rg-roles__inner > * { max-width: 960px; }
.rg-page__inner > * { max-width: 860px; }
.rg-process__grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

/* Jobs Accordion plugin output (its own styles are not loaded on theme pages) */
.acc-item { background: var(--rg-white); border: 1px solid rgba(0, 82, 156, .14); border-radius: 4px; margin-bottom: 10px; }
.acc-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; cursor: pointer; }
.acc-header-left { display: flex; align-items: center; gap: 12px; }
.acc-chevron, .acc-caret { display: inline-flex; width: 18px; height: 18px; color: var(--rg-blue); flex: none; }
.acc-chevron svg, .acc-caret svg { width: 18px; height: 18px; transition: transform .2s ease; }
.acc-item.open .acc-caret svg { transform: rotate(180deg); }
.acc-item.open .acc-chevron svg { transform: rotate(90deg); }
.acc-title { font-size: clamp(17px, 1vw, 19px); font-weight: 600; color: var(--rg-blue); }
.acc-body-outer { display: none; }
.acc-item.open .acc-body-outer { display: block; }
.acc-body { padding: 0 22px 22px 52px; font-size: 16px; line-height: 1.6; color: rgba(0, 41, 92, .8); }
.acc-body p { margin: 0 0 .8em; }
.acc-body ul { list-style: disc; padding-left: 1.3em; margin: 0 0 1em; }
.acc-body .section-label { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--rg-gold); }
.acc-body .section-val { margin-top: -.5em; }

/* Right-to-left (Pashto, Dari) */
[dir="rtl"] .rg-hero__media img { transform: scaleX(-1); }      /* skyline moves to the left, text stays readable */
[dir="rtl"] .rg-btn__icon, [dir="rtl"] .rg-card__arrow, [dir="rtl"] .rg-cards__btn-icon { transform: scaleX(-1); }
[dir="rtl"] .rg-cards__btn-icon--prev { transform: scaleX(-1) rotate(180deg); }
[dir="rtl"] .rg-card:hover .rg-card__arrow { transform: scaleX(-1) translateX(-4px); }
[dir="rtl"] .rg-nav__sub { left: auto; right: -20px; }
[dir="rtl"] .rg-lang__list { right: auto; left: 0; }
[dir="rtl"] .rg-nav__link::after { transform-origin: right; }

/* Jobs Accordion: hide empty trailing labels the plugin prints */
.acc-body .section-val:empty { display: none; }
.acc-body p:has(> .section-label):has(+ .section-val:empty) { display: none; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }

/* Responsive --------------------------------------------------------------- */
@media (max-width: 1279px) {
	.rg-nav__list { gap: 24px; }
	.rg-nav__link, .rg-lang__toggle { font-size: 16px; }
	.rg-btn--outline { padding: 12px 22px; font-size: 15px; }
	.rg-nav__logo-svg { width: 150px; }
}

@media (max-width: 1279px) { .rg-cards__track { --rg-cards-visible: 3; } .rg-services__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1023px) { .rg-cards__track { --rg-cards-visible: 2; } .rg-services__grid, .rg-assist__grid, .rg-process__grid, .rg-process__grid--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rg-mv__inner, .rg-chair__inner, .rg-hq__inner, .rg-contact__inner, .rg-two__inner { grid-template-columns: 1fr; } .rg-chair__media { max-width: 420px; } }
@media (max-width: 599px)  { .rg-cards__track { --rg-cards-visible: 1; } .rg-services__grid, .rg-assist__grid, .rg-assist__grid--2, .rg-process__grid, .rg-process__grid--5, .rg-form__row { grid-template-columns: 1fr; } .rg-hq__details div { grid-template-columns: 1fr; gap: 4px; } .rg-cards__viewport { padding-inline: 12px; margin-inline: -12px; } }

@media (max-width: 1023px) {
	.rg-about__inner { grid-template-columns: 1fr; gap: 24px; }
	.rg-about__body { padding-top: 0; }
	.rg-how__inner { grid-template-columns: 1fr; gap: 32px; }
	.rg-how__media { aspect-ratio: 16 / 10; }
	.rg-notices__grid { --rg-notice-per-view: 2; }
	.rg-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.rg-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 1023px) and (min-width: 600px) {
	.rg-centres__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 599px) {
	.rg-centres__grid {
		display: flex;
		gap: 16px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
		padding: 0 var(--rg-gutter) 8px;
		margin: 0 calc(-1 * var(--rg-gutter));
	}
	.rg-centres__grid::-webkit-scrollbar { display: none; }
	.rg-centre { flex: 0 0 78vw; scroll-snap-align: start; }
	.rg-centres__nav { display: flex; }
	.rg-notices__grid { --rg-notice-per-view: 1; }
	.rg-footer__top { grid-template-columns: 1fr; gap: 36px; }
	.rg-footer__bottom { flex-direction: column; align-items: flex-start; gap: 14px; }
	.rg-footer__legal { margin-right: 0; }
}

@media (max-width: 1023px) {
	:root { --rg-nav-h: 76px; }
	.rg-hero.rg-hero--photo { min-height: 0; padding-top: calc(var(--rg-header-h) + 48px); padding-bottom: calc(var(--rg-cards-overlap) + 48px); }
	.rg-hero--photo .rg-hero__media img { object-position: 62% 50%; }
	.rg-hero--photo .rg-hero__media::after {     /* lift text off the photo on small screens */
		content: ""; position: absolute; inset: 0;
		background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.55) 45%, rgba(255,255,255,.85) 100%);
	}
	.rg-nav__burger { display: flex; }
	.rg-nav__drawer {
		position: fixed;
		inset: var(--rg-header-h) 0 0 0;
		flex-direction: column;
		align-items: stretch;
		gap: 24px;
		padding: 24px var(--rg-gutter) 40px;
		background: var(--rg-blue-dark);
		overflow-y: auto;
		transform: translateX(100%);
		transition: transform .3s ease;
	}
	.rg-menu-open .rg-nav__drawer { transform: none; }
	.rg-menu-open { overflow: hidden; }
	.rg-menu-open .rg-header { position: fixed; background: var(--rg-blue); transform: none; }
	.rg-header.is-fixed .rg-nav__drawer { top: 76px; }

	.rg-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.rg-nav__item { border-bottom: 1px solid rgba(255,255,255,.12); }
	.rg-nav__link { display: flex; justify-content: space-between; width: 100%; padding: 16px 0; font-size: 18px; }
	.rg-nav__link::after { display: none; }
	.rg-nav__sub {
		position: static;
		min-width: 0;
		padding: 0 0 8px 16px;
		background: none;
		color: inherit;
		box-shadow: none;
		border-radius: 0;
		display: none;
		opacity: 1; visibility: visible; transform: none;
	}
	.rg-nav__item--parent.is-open > .rg-nav__sub { display: block; }
	.rg-nav__item--parent:hover > .rg-nav__sub { display: none; }
	.rg-nav__item--parent.is-open:hover > .rg-nav__sub { display: block; }
	.rg-nav__sub .rg-nav__link { color: rgba(255,255,255,.85); padding: 10px 0; font-size: 16px; }
	.rg-nav__sub .rg-nav__link:hover { background: none; color: var(--rg-gold); }

	.rg-nav__tools { flex-direction: column; align-items: flex-start; gap: 20px; }
	.rg-lang__list { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: none; color: inherit; padding: 4px 0 0 30px; display: none; }
	.rg-lang.is-open .rg-lang__list { display: block; }
	.rg-lang__list a { padding: 8px 0; }
	.rg-lang__list a:hover { background: none; color: var(--rg-gold); }

	.rg-hero { min-height: 0; padding-top: calc(var(--rg-header-h) + 56px); padding-bottom: 72px; }
}

@media (max-width: 599px) {
	.rg-topbar__tab a { padding: 0 14px; font-size: 13px; }
	.rg-topbar__tab.is-active a::after { left: 14px; right: 14px; }
	.rg-nav__logo-svg { width: 132px; }
	.rg-hero__title { font-size: 34px; }
}

/* Service header with photo ------------------------------------------------- */
.rg-page-hero--photo {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	min-height: clamp(380px, 30vw, 460px);
	display: flex;
	align-items: flex-end;
	padding-top: calc(var(--rg-header-h) + clamp(16px, 1.5vw, 28px));
	padding-bottom: clamp(40px, 3.5vw, 56px);
	background: #140f0a;
}
.rg-page-hero__photo {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: var(--rg-hero-x, 70%) var(--rg-hero-y, 40%);
}
.rg-page-hero--photo::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(90deg, rgba(14, 10, 6, .86) 0%, rgba(14, 10, 6, .72) 34%, rgba(14, 10, 6, .3) 60%, rgba(14, 10, 6, .08) 100%),
		linear-gradient(180deg, rgba(14, 10, 6, .45) 0%, rgba(14, 10, 6, 0) 40%, rgba(14, 10, 6, .35) 100%);
}
.rg-page-hero--photo .rg-page-hero__inner { width: 100%; }
.rg-page-hero--photo .rg-page-hero__title { max-width: 760px; text-shadow: 0 2px 24px rgba(0, 0, 0, .45); }
.rg-page-hero--photo .rg-page-hero__text { max-width: 620px; margin-top: 12px; color: rgba(255, 255, 255, .9); text-shadow: 0 1px 12px rgba(0, 0, 0, .4); }
.rg-page-hero--photo .rg-page-hero__actions { margin-top: 22px; }
[dir="rtl"] .rg-page-hero__photo { object-position: calc(100% - var(--rg-hero-x, 70%)) var(--rg-hero-y, 40%); }
[dir="rtl"] .rg-page-hero--photo::before {
	background:
		linear-gradient(270deg, rgba(14, 10, 6, .86) 0%, rgba(14, 10, 6, .72) 34%, rgba(14, 10, 6, .3) 60%, rgba(14, 10, 6, .08) 100%),
		linear-gradient(180deg, rgba(14, 10, 6, .45) 0%, rgba(14, 10, 6, 0) 40%, rgba(14, 10, 6, .35) 100%);
}
@media (max-width: 767px) {
	.rg-page-hero--photo { min-height: 0; padding-bottom: clamp(36px, 6vw, 48px); }
	.rg-page-hero__photo { object-position: 62% center; }
	.rg-page-hero--photo::before {
		background: linear-gradient(180deg, rgba(14, 10, 6, .5) 0%, rgba(14, 10, 6, .78) 55%, rgba(14, 10, 6, .9) 100%);
	}
}

/* Service benefits with photo: same composition as Home "How it works" -------- */
.rg-assist--photo .rg-container {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(32px, 5vw, 96px);
	align-items: center;
}
.rg-assist__media { margin: 0; border-radius: 16px; overflow: hidden; aspect-ratio: 1 / 1; background: var(--rg-blue-dark); }
.rg-assist__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rg-assist--photo .rg-section__head { margin-bottom: clamp(24px, 2.1vw, 40px); }
.rg-assist--photo .rg-section__title { font-size: clamp(30px, 2.5vw, 48px); line-height: 1.17; }
.rg-steps--benefits { margin-bottom: 0; }
.rg-assist:not(.rg-assist--photo) .rg-steps--benefits { max-width: 760px; }
@media (max-width: 1023px) {
	.rg-assist--photo .rg-container { grid-template-columns: 1fr; gap: 32px; }
	.rg-assist__media { aspect-ratio: 16 / 10; }
}

/* Banner-shaped header photo (e.g. 1920 x 432): fixed 432px band so the picture always shows at full
   height; wider screens than the banner grow the band to the picture's own proportions (whole picture),
   narrower ones trim the sides, never the top or bottom. ------------------------------------------- */
.rg-page-hero--banner {
	min-height: max(432px, calc(100vw * var(--rg-hero-h, 432) / var(--rg-hero-w, 1920)));
	align-items: flex-start;
	padding-top: calc(var(--rg-header-h) + clamp(26px, 2.6vw, 44px));
	padding-bottom: clamp(18px, 1.5vw, 28px);
}
.rg-page-hero--banner .rg-page-hero__photo { object-position: var(--rg-hero-x, 50%) 50%; }
.rg-page-hero--banner .rg-eyebrow { font-size: clamp(11px, .8vw, 14px); }
.rg-page-hero--banner .rg-page-hero__title { max-width: 720px; font-size: clamp(28px, 2.6vw, 48px); line-height: 1.1; }
.rg-page-hero--banner .rg-page-hero__text {
	max-width: 600px;
	margin-top: 10px;
	font-size: clamp(14px, .92vw, 16px);
	line-height: 1.55;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	overflow: hidden;
}
.rg-page-hero--banner .rg-page-hero__actions { margin-top: 12px; }
.rg-page-hero--banner .rg-btn--hero { padding-block: 12px; }
@media (max-width: 1023px) {
	.rg-page-hero--banner { min-height: 0; }
}

/* Lead paragraph under a page header --------------------------------------- */
.rg-lead { padding: clamp(40px, 4vw, 72px) 0 clamp(36px, 3.4vw, 64px); background: var(--rg-white); }
.rg-lead__body { max-width: 68ch; display: flex; flex-direction: column; gap: 14px; }
.rg-lead__body p {
	margin: 0;
	font-size: clamp(16px, 1.08vw, 20px);
	line-height: 1.65;
	color: rgba(0, 41, 92, .82);
}
.rg-lead__cta { margin: 6px 0 0; }
.rg-lead + section { padding-top: clamp(40px, 3.6vw, 64px); }

/* Services mega menu -------------------------------------------------------- */
.rg-nav__item--mega { position: static; }        /* anchor the panel to the header, not the item */
.rg-nav__mega {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	padding: 14px var(--rg-gutter) 0;
	z-index: 60;
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
}
.rg-nav__mega::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 18px; }
.rg-nav__item--mega:hover > .rg-nav__mega,
.rg-nav__item--mega.is-open > .rg-nav__mega,
.rg-nav__item--mega:focus-within > .rg-nav__mega {
	opacity: 1; visibility: visible; transform: none; transition-delay: 0s;
}
.rg-nav__mega-inner {
	max-width: 1680px;
	margin-inline: auto;
	background: var(--rg-white);
	color: var(--rg-ink);
	border-radius: 16px;
	box-shadow: 0 24px 60px rgba(0, 41, 92, .24);
	padding: clamp(18px, 1.4vw, 26px);
	display: grid;
	gap: clamp(14px, 1.2vw, 20px);
}
.rg-nav__mega-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 2px 8px;
}
.rg-nav__mega-item { min-width: 0; }
.rg-nav__mega-link {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr);
	gap: 12px;
	align-items: start;
	padding: 12px 14px;
	border-radius: 10px;
	transition: background-color .15s ease;
}
a.rg-nav__mega-link:hover { background: rgba(0, 82, 156, .07); }
.rg-nav__mega-item.is-disabled .rg-nav__mega-link { cursor: default; opacity: .6; }
.rg-nav__mega-ico {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 10px;
	background: rgba(0, 82, 156, .07);
}
.rg-nav__mega-ico svg, .rg-nav__mega-ico img { width: 26px; height: 26px; display: block; }
.rg-nav__mega-copy { display: flex; flex-direction: column; gap: 3px; min-width: 0; padding-top: 2px; }
.rg-nav__mega-title { font-weight: 600; font-size: 15px; line-height: 1.25; color: var(--rg-blue); }
.rg-nav__mega-badge {
	display: inline-block;
	margin-inline-start: 4px;
	padding: 1px 6px;
	border-radius: 4px;
	background: rgba(194, 181, 155, .3);
	color: var(--rg-blue-dark);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	vertical-align: middle;
}
.rg-nav__mega-text {
	font-size: 12.5px;
	line-height: 1.45;
	color: rgba(0, 41, 92, .62);
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	overflow: hidden;
}
.rg-nav__mega-all {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	justify-self: start;
	padding: 10px 18px 10px 14px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 14px;
	color: var(--rg-blue);
	background: rgba(0, 82, 156, .07);
	transition: background-color .15s ease, color .15s ease;
}
.rg-nav__mega-all:hover { background: var(--rg-blue); color: var(--rg-white); }
.rg-nav__mega-arrow { width: 16px; height: 16px; }
.rg-nav__mega-all:hover .rg-nav__mega-arrow [stroke] { stroke: currentColor; }
[dir="rtl"] .rg-nav__mega-arrow { transform: scaleX(-1); }

@media (max-width: 1320px) { .rg-nav__mega-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

@media (max-width: 1023px) {
	.rg-nav__mega {
		position: static;
		padding: 0 0 10px 16px;
		opacity: 1;
		visibility: visible;
		transform: none;
		display: none;
	}
	.rg-nav__item--mega.is-open > .rg-nav__mega { display: block; }
	.rg-nav__item--mega:hover > .rg-nav__mega { display: none; }
	.rg-nav__item--mega.is-open:hover > .rg-nav__mega { display: block; }
	.rg-nav__mega-inner { background: none; box-shadow: none; border-radius: 0; padding: 0; color: inherit; gap: 8px; }
	.rg-nav__mega-grid { grid-template-columns: 1fr; gap: 0; }
	.rg-nav__mega-link { grid-template-columns: 1fr; padding: 10px 0; }
	.rg-nav__mega-ico, .rg-nav__mega-text { display: none; }
	.rg-nav__mega-title { color: rgba(255, 255, 255, .85); font-weight: 500; }
	.rg-nav__mega-link:hover .rg-nav__mega-title { color: var(--rg-gold); }
	a.rg-nav__mega-link:hover { background: none; }
	.rg-nav__mega-all { color: var(--rg-gold); background: none; padding: 12px 0; }
	.rg-nav__mega-all:hover { background: none; color: var(--rg-white); }
}
