/* RAGVEL redesign v3.1 (contains rg3-bento) */
/* ==========================================================================
   RAGVEL — redesign layer (navy + gold)
   Loads after ragvel.css. Remove this file's enqueue to roll back.

   Motif: the diagonal cut from the RAGVEL logo. It shows up as
   - the chamfered corner on buttons, cards and images,
   - the slash that marks section titles and footer headings,
   - the blueprint grid + floor plan, because the company builds smart buildings.
   ========================================================================== */

/* ---------- Type: Archivo, self-hosted (width axis 62–125%) ---------- */
@font-face {
	font-family: 'Archivo RG';
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	font-stretch: 62% 125%;
	src: url(../fonts/archivo-latin-ext-wdth-normal.woff2) format('woff2-variations'), url(../fonts/archivo-latin-ext-wdth-normal.woff2) format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+20A0-20C0, U+2113;
}
@font-face {
	font-family: 'Archivo RG';
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	font-stretch: 62% 125%;
	src: url(../fonts/archivo-latin-wdth-normal.woff2) format('woff2-variations'), url(../fonts/archivo-latin-wdth-normal.woff2) format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
	--rg-n-950: #0a1322;   /* deepest navy: footer base, hero shadow */
	--rg-n-900: #0f1b2e;   /* primary dark surface */
	--rg-n-800: #16233b;   /* brand navy (logo) */
	--rg-n-700: #213456;   /* raised dark surface */
	--rg-n-500: #3d5378;   /* lines on dark */
	--rg-g-500: #c8a86f;   /* brand gold (logo) */
	--rg-g-300: #e3cb98;   /* gold on dark, highlights */
	--rg-g-700: #8a6d3b;   /* gold text on light — passes AA at 16px+ */
	--rg-paper: #f2f4f7;   /* cool blueprint white, alternate sections */
	--rg-line: #dde2ea;    /* hairlines on light */
	--rg-ink: #18212f;     /* body text */
	--rg-muted: #5a6476;   /* secondary text */

	--rg-cut: 12px;        /* chamfer size */
	--rg-ease: cubic-bezier(.7, 0, .2, 1);
	--rg-grid: linear-gradient(rgba(140, 165, 205, .07) 1px, transparent 1px) 0 0 / 48px 48px,
	           linear-gradient(90deg, rgba(140, 165, 205, .07) 1px, transparent 1px) 0 0 / 48px 48px;
	--rg-grid-light: linear-gradient(rgba(22, 35, 59, .045) 1px, transparent 1px) 0 0 / 48px 48px,
	                 linear-gradient(90deg, rgba(22, 35, 59, .045) 1px, transparent 1px) 0 0 / 48px 48px;

	--main_font: 'Archivo RG', 'Segoe UI', Arial, sans-serif;
	--bold_font: 'Archivo RG', 'Segoe UI', Arial, sans-serif;
	--color1: var(--rg-n-800);
	--color2: var(--rg-g-500);
}

body {
	font-family: var(--main_font);
	font-size: 16px;
	line-height: 1.65;
	color: var(--rg-ink);
	background: #fff;
}
body h1, body h2, body h3, body h4, body h5, body .title-heading {
	font-family: var(--bold_font);
	font-stretch: 112%;
	letter-spacing: -.01em;
	color: var(--rg-n-900);
}
::selection { background: var(--rg-g-500); color: var(--rg-n-950); }

:focus-visible {
	outline: 2px solid var(--rg-g-500);
	outline-offset: 3px;
}

/* ==========================================================================
   Section titles — left aligned, marked with the logo slash
   ========================================================================== */
body .title-site,
body .title-site.title-site-center {
	text-align: right;
	margin-bottom: 44px !important;
	max-width: 720px;
}
body .title-site .title-heading {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 16px;
	font-size: clamp(1.75rem, 2.6vw, 2.4rem);
	font-weight: 600;
	line-height: 1.15;
	margin: 0 0 12px;
}
body .title-site .title-heading::before {
	content: '';
	flex: none;
	width: 14px;
	height: 30px;
	background: linear-gradient(var(--rg-g-500), var(--rg-g-500)) 0 0 / 3px 100% no-repeat,
	            linear-gradient(var(--rg-g-500), var(--rg-g-500)) 8px 0 / 3px 100% no-repeat;transform: skewX(-22deg);
}
body .title-site p {
	color: var(--rg-muted);
	font-size: 1.05rem;
	max-width: 60ch;
	margin: 0;
}

/* ==========================================================================
   Buttons — chamfered plate, diagonal wipe on hover
   Corner diagonals are drawn by ::after so outline buttons can stay transparent.
   ========================================================================== */
body .button:not(.ragvel-auth-modal-btn),
body #sidebar button[type="submit"],
body #cancel-comment-reply-link {
	--b-bg: var(--rg-g-500);
	--b-fg: var(--rg-n-950);
	--b-edge: var(--rg-g-500);
	--b-hbg: var(--rg-n-900);
	--b-hfg: var(--rg-g-300);
	--b-hedge: var(--rg-g-500);

	position: relative;
	isolation: isolate;
	overflow: hidden;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	height: 52px;
	padding: 0 30px;
	border: 1px solid var(--b-edge) !important;
	border-radius: 0 !important;
	background: transparent !important;
	color: var(--b-fg) !important;
	font-family: var(--bold_font);
	font-stretch: 108%;
	font-size: .95rem;
	font-weight: 600;
	letter-spacing: .01em;
	box-shadow: none !important;
	transform: none !important;
	clip-path: polygon(var(--rg-cut) 0, 100% 0, 100% calc(100% - var(--rg-cut)), calc(100% - var(--rg-cut)) 100%, 0 100%, 0 var(--rg-cut));
	transition: color .45s var(--rg-ease), border-color .45s var(--rg-ease);
	text-decoration: none;
	cursor: pointer;
}
/* fill + wipe */
body .button.button:not(.ragvel-auth-modal-btn)::before,
body #sidebar button[type="submit"]::before,
body #cancel-comment-reply-link::before {
	content: '' !important;
	display: block !important;
	position: absolute;
	top: 0; right: 0; bottom: 0; left: 0;
	width: auto; height: auto;
	border-radius: 0;
	z-index: -2;
	background: linear-gradient(115deg, var(--b-hbg) 0 50%, var(--b-bg) 50% 100%) !important;
	background-size: 250% 100% !important;
	background-position: 100% 0 !important;
	transition: background-position .55s var(--rg-ease);
	transform: none;
	opacity: 1;
}
/* corner diagonals (the clipped-away border pieces) */
body .button.button:not(.ragvel-auth-modal-btn)::after,
body #sidebar button[type="submit"]::after,
body #cancel-comment-reply-link::after {
	content: '' !important;
	display: block !important;
	position: absolute;
	inset: -1px;
	width: auto; height: auto;
	border-radius: 0;
	z-index: -1;
	transform: none;
	pointer-events: none;
	background:
		linear-gradient(to top left, transparent calc(50% - .8px), var(--b-edge) 50%, transparent calc(50% + .8px)) 0 0 / var(--rg-cut) var(--rg-cut) no-repeat,
		linear-gradient(to top left, transparent calc(50% - .8px), var(--b-edge) 50%, transparent calc(50% + .8px)) 100% 100% / var(--rg-cut) var(--rg-cut) no-repeat !important;
	transition: none;
}
body .button:not(.ragvel-auth-modal-btn):hover,
body .button:not(.ragvel-auth-modal-btn):focus-visible,
body #sidebar button[type="submit"]:hover,
body #cancel-comment-reply-link:hover {
	color: var(--b-hfg) !important;
	border-color: var(--b-hedge) !important;
	--b-edge: var(--b-hedge);
}
body .button.button:not(.ragvel-auth-modal-btn):hover::before,
body .button.button:not(.ragvel-auth-modal-btn):focus-visible::before,
body #sidebar button[type="submit"]:hover::before,
body #cancel-comment-reply-link:hover::before {
	background-position: 0 0 !important;
	top: 0; right: 0;
}
body .button:not(.ragvel-auth-modal-btn):focus-visible {
	outline: 2px solid var(--rg-g-300);
	outline-offset: -6px;
}
body .button svg {
	flex: none;
	transition: transform .45s var(--rg-ease);
}
body .button:hover svg { transform: translateX(-5px); }
body .rg-solution-back .button:hover svg { transform: translateX(5px); }

/* outline on dark (hero second button) */
body .button.rg-btn-outline {
	--b-bg: transparent;
	--b-fg: #fff;
	--b-edge: rgba(255, 255, 255, .5);
	--b-hbg: #fff;
	--b-hfg: var(--rg-n-900);
	--b-hedge: #fff;
	background: transparent !important;
}
/* outline on light */
body .button.button2 {
	--b-bg: transparent;
	--b-fg: var(--rg-n-800);
	--b-edge: var(--rg-n-800);
	--b-hbg: var(--rg-n-800);
	--b-hfg: var(--rg-g-300);
	--b-hedge: var(--rg-n-800);
}

/* ==========================================================================
   Header — a control bar. Transparent over the home hero, solid on scroll.
   ========================================================================== */
body #header {
	position: sticky;
	top: 0;
	z-index: 999;
	background: var(--rg-n-900);
	box-shadow: none;
	transition: background-color .4s ease, box-shadow .4s ease, backdrop-filter .4s ease;
}
body #header::after {
	/* gold hairline that fades out at both ends */
	content: '';
	position: absolute;
	right: 0; left: 0; bottom: 0;
	height: 1px;
	background: linear-gradient(-90deg, transparent, rgba(200, 168, 111, .55) 30%, rgba(200, 168, 111, .55) 70%, transparent);
	opacity: .6;
	transition: opacity .4s ease;
}
body.home #header {
	position: fixed;
	right: 0; left: 0;
	background: transparent;
}
body.home #header::after { opacity: 0; }
body.home.rg-scrolled #header,
body.rg-scrolled #header {
	background: rgba(10, 19, 34, .86);
	-webkit-backdrop-filter: blur(14px) saturate(140%);
	backdrop-filter: blur(14px) saturate(140%);
	box-shadow: 0 12px 30px -18px rgba(0, 0, 0, .6);
}
body.rg-scrolled #header::after { opacity: .6; }

body #header .row,
body .navtop-right,
body .navtop-left {
	min-height: 80px;
	transition: min-height .4s ease;
}
body.rg-scrolled #header .row,
body.rg-scrolled .navtop-right,
body.rg-scrolled .navtop-left { min-height: 66px; }

body .header-logo { margin: 0 0 0 44px; }
body .header-logo img { max-height: 30px; }

/* nav: links separated by thin slashes, gold underline cut on the diagonal */
body .header-menu { gap: 0; }
body .header-menu > li { position: relative; display: flex; align-items: center; }
body .header-menu > li + li::before {
	content: '';
	width: 1px;
	height: 14px;
	background: rgba(255, 255, 255, .22);transform: skewX(-22deg);
	margin: 0 4px;
}
body .header-menu > li > a {
	position: relative;
	color: rgba(255, 255, 255, .82);
	font-size: .92rem;
	font-weight: 500;
	font-stretch: 105%;
	padding: 10px 14px !important;
	border-radius: 0;
	background: transparent !important;
	transition: color .3s ease;
}
body .header-menu > li > a::after {
	content: '';
	position: absolute;
	right: 14px; left: 14px; bottom: 2px;
	height: 2px;
	background: var(--rg-g-500);
	clip-path: polygon(4px 0, 100% 0, calc(100% - 4px) 100%, 0 100%);
	transform: scaleX(0);
	transform-origin: right;
	transition: transform .45s var(--rg-ease);
}
body .header-menu > li > a:hover { color: #fff; }
body .header-menu > li > a:hover::after { transform: scaleX(1); }
body .header-menu > li.current-menu-item > a,
body .header-menu > li.current_page_item > a { color: var(--rg-g-300); }
body .header-menu > li.current-menu-item > a::after,
body .header-menu > li.current_page_item > a::after { transform: scaleX(1); }

/* actions: one segmented plate instead of three loose circles */
body .rg-header-actions { gap: 0; }
body .rg-header-actions > .head_account,
body .rg-header-actions > .parent_item_cart,
body .rg-header-actions > .rg-lang-switch {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 42px;
	border: 1px solid rgba(255, 255, 255, .16);
	border-right-width: 0;
	background: rgba(255, 255, 255, .03);
}
body .rg-header-actions > .head_account { border-right-width: 1px; }
body .rg-header-actions > .head_account::before {
	/* gold corner tick: the only ornament on the plate */
	content: '';
	position: absolute;
	top: -1px; right: -1px;
	width: 9px; height: 9px;
	border-top: 2px solid var(--rg-g-500);
	border-right: 2px solid var(--rg-g-500);
	pointer-events: none;
}
body .rg-header-actions > .parent_item_cart { margin: 0; }
body .rg-header-actions > .rg-lang-switch {
	width: auto;
	padding: 0 14px;
	border-radius: 0;
	font-size: .76rem;
	font-weight: 600;
	letter-spacing: .08em;
	color: rgba(255, 255, 255, .85);
	cursor: default;
}
body .rg-lang-switch:hover { background: rgba(255, 255, 255, .03); color: var(--rg-g-300); border-color: rgba(255, 255, 255, .16); }
body .rg-lang-switch::before {
	content: '';
	width: 6px; height: 6px;
	margin-left: 8px;
	background: var(--rg-g-500);
	transform: rotate(-45deg);
}
body .rg-icon-btn,
body .ragvel-auth-modal-btn {
	width: 46px !important;
	height: 40px !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	color: rgba(255, 255, 255, .85) !important;
	transform: none !important;
	transition: color .3s ease, background-color .3s ease;
}
body .ragvel-auth-modal-btn::before,
body .ragvel-auth-modal-btn::after { content: none !important; }
body .rg-icon-btn:hover,
body .ragvel-auth-modal-btn:hover {
	background: rgba(200, 168, 111, .14) !important;
	color: var(--rg-g-300) !important;
	transform: none !important;
}
body .rg-icon-badge {
	top: 5px;
	left: 6px;
	min-width: 16px;
	height: 16px;
	border-radius: 0;
	clip-path: polygon(4px 0, 100% 0, 100% calc(100% - 4px), calc(100% - 4px) 100%, 0 100%, 0 4px);
	border: 0;
	font-size: .62rem;
	background: var(--rg-g-500);
	color: var(--rg-n-950);
}
/* mini cart dropdown */
body .parent_item_cart .sub_part {
	top: calc(100% + 10px);
	right: auto;
	left: -1px;
	border-top: 2px solid var(--rg-g-500);
	box-shadow: 0 24px 50px -20px rgba(10, 19, 34, .45);
}
/* hamburger: three bars, the middle one shorter and gold */
body .header-mm { margin: 0 12px 0 0; width: 30px; height: 20px; cursor: pointer; }
body .header-mm i,
body .header-mm i::before,
body .header-mm i::after { width: 30px; height: 2px; background-color: #fff; }
body .header-mm i { width: 20px; margin-right: 10px; background-color: var(--rg-g-500); }
body .header-mm i::before { right: -10px; }
body .header-mm i::after { right: -10px; }

/* mobile drawer */
body #menumobile {
	width: 300px;
	left: -340px;
	background: var(--rg-n-900);
	background-image: var(--rg-grid);
	box-shadow: 30px 0 60px -30px rgba(0, 0, 0, .6) !important;
	font-family: var(--bold_font);
}
body .come-menumobile { left: 0 !important; }
body .title-mm {
	background: transparent;
	padding: 24px 24px 20px;
	border-bottom: 1px solid rgba(255, 255, 255, .1);
}
body #nomenumobile {
	width: 36px; height: 36px;
	border-radius: 0;
	background: transparent;
	border: 1px solid rgba(255, 255, 255, .25);
	color: #fff;
	clip-path: polygon(8px 0, 100% 0, 100% 100%, 0 100%, 0 8px);
}
body #nomenumobile:hover { background: var(--rg-g-500); color: var(--rg-n-950); border-color: var(--rg-g-500); }
body .main-mm { padding: 16px 24px; }
body .main-mm ul { list-style: none; margin: 0; padding: 0; }
body .main-mm ul li a {
	color: rgba(255, 255, 255, .9);
	font-size: 1.15rem;
	font-weight: 500;
	font-stretch: 112%;
	padding: 14px 0;
	width: 100%;
	border-bottom: 1px solid rgba(255, 255, 255, .07);
	transition: color .3s ease, padding-right .3s ease;
}
body .main-mm ul li a:hover,
body .main-mm ul li.current-menu-item > a { color: var(--rg-g-300); padding-right: 8px; }
body #mask { background: rgba(10, 19, 34, .6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }

/* ==========================================================================
   Hero
   ========================================================================== */
body .rg-slider {
	height: 100vh;
	height: 100svh;
	min-height: 640px;
	max-height: 980px;
	background: var(--rg-n-950);
}
body .rg-slide-overlay {
	background: linear-gradient(-100deg, rgba(10, 19, 34, .97) 0%, rgba(15, 27, 46, .9) 38%, rgba(15, 27, 46, .55) 70%, rgba(15, 27, 46, .35) 100%);
}
body .rg-slide-overlay::after {
	content: '';
	position: absolute;
	inset: 0;
	background: var(--rg-grid);
	-webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 50%, #000 20%, transparent 75%);
	mask-image: radial-gradient(ellipse 80% 70% at 70% 50%, #000 20%, transparent 75%);
}
body .rg-slide-overlay-plain {
	background: radial-gradient(ellipse 70% 80% at 72% 45%, #1a2b49 0%, var(--rg-n-900) 55%, var(--rg-n-950) 100%);
}

/* content: left edge aligns with the container, not a centred narrow column */
body .rg-slide-content {
	max-width: 1180px;
	padding: 120px 15px 150px;
	align-items: flex-start;
}
body .rg-slide-content > * { max-width: 600px; }
body .rg-home-hero-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	font-size: .78rem;
	font-weight: 600;
	letter-spacing: .12em;
	color: var(--rg-g-300);
	margin-bottom: 26px;
}
body .rg-home-hero-eyebrow::before {
	content: '';
	width: 34px;
	height: 1px;
	background: var(--rg-g-500);
}
body .rg-slide-content h1 {
	font-size: clamp(2.4rem, 4.3vw, 3.8rem);
	font-weight: 600;
	font-stretch: 115%;
	line-height: 1.04;
	letter-spacing: -.02em;
	color: #fff;
	margin-bottom: 26px;
	max-width: 640px;
}
body .rg-slide-content h1 .rg-accent {
	display: inline-block;
	margin-top: .08em;
	color: var(--rg-g-500);
	font-weight: 300;
	font-stretch: 118%;
	letter-spacing: -.01em;
}
body .rg-home-hero-sub {
	color: rgba(226, 232, 242, .82);
	font-size: 1.12rem;
	line-height: 1.7;
	max-width: 50ch;
	margin-bottom: 38px;
}
body .rg-home-hero-btns { gap: 14px; }

/* the logo slash, large, at the right edge of the hero */
body .rg-slider::after {
	content: '';
	position: absolute;
	z-index: 2;
	top: -10%;
	bottom: -10%;
	left: max(-60px, calc((100vw - 1180px) / 2 - 220px));
	width: 70px;
	background: linear-gradient(var(--rg-g-500), var(--rg-g-500)) 0 0 / 1px 100% no-repeat,
	            linear-gradient(var(--rg-g-500), var(--rg-g-500)) 26px 0 / 1px 100% no-repeat;
	opacity: .35;transform: skewX(-22deg);
	pointer-events: none;
}

/* floor plan illustration (slides without a photo) */
body .rg-plan {
	position: absolute;
	z-index: 1;
	top: 50%;
	left: max(16px, calc((100vw - 1180px) / 2));
	width: min(36vw, 490px);
	transform: translateY(-46%);
	pointer-events: none;
}
body .rg-plan svg { display: block; width: 100%; height: auto; overflow: visible; }
body .rg-plan-walls path { stroke: rgba(196, 210, 232, .55); stroke-width: 3; stroke-linecap: square; }
body .rg-plan-dim line { stroke: rgba(196, 210, 232, .3); stroke-width: 1; }
body .rg-plan-windows rect { fill: var(--rg-n-900); stroke: rgba(196, 210, 232, .45); stroke-width: 1; }
body .rg-plan-doors path { stroke: rgba(196, 210, 232, .35); stroke-width: 1; stroke-dasharray: 3 4; }
body .rg-plan-labels text { fill: rgba(196, 210, 232, .45); font: 500 11px var(--main_font); letter-spacing: .04em; }
body .rg-plan-wires path { stroke: var(--rg-g-500); stroke-width: 1.5; opacity: .75; }
body .rg-plan-hub { fill: var(--rg-g-500); }
body .rg-plan-nodes .dot { fill: var(--rg-g-300); }
body .rg-plan-nodes .ring { stroke: var(--rg-g-500); stroke-width: 1; opacity: .5; transform-box: fill-box; transform-origin: center; }

/* one orchestrated moment: walls draw, panel wires out, sensors switch on */
body .rg-slide.active .rg-plan-walls path,
body .rg-slide.active .rg-plan-dim line[pathLength] {
	stroke-dasharray: 1;
	stroke-dashoffset: 1;
	animation: rgDraw 1.6s var(--rg-ease) .2s forwards;
}
body .rg-plan-windows, body .rg-plan-doors, body .rg-plan-labels, body .rg-plan-hub { opacity: 0; }
body .rg-slide.active .rg-plan-windows,
body .rg-slide.active .rg-plan-doors,
body .rg-slide.active .rg-plan-labels { animation: rgFade .8s ease 1.4s forwards; }
body .rg-slide.active .rg-plan-hub { animation: rgFade .4s ease 1.7s forwards; }
body .rg-slide.active .rg-plan-wires path {
	stroke-dasharray: 1;
	stroke-dashoffset: 1;
	animation: rgDraw 1.1s var(--rg-ease) 1.9s forwards;
}
body .rg-plan-nodes g { opacity: 0; }
body .rg-slide.active .rg-plan-nodes g { animation: rgFade .35s ease forwards; animation-delay: calc(2.8s + var(--i) * .12s); }
body .rg-slide.active .rg-plan-nodes .ring { animation: rgPing 2.8s ease-out infinite; animation-delay: calc(3.2s + var(--i) * .4s); }
@keyframes rgDraw { to { stroke-dashoffset: 0; } }
@keyframes rgFade { to { opacity: 1; } }
@keyframes rgPing {
	0% { transform: scale(.6); opacity: .8; }
	70%, 100% { transform: scale(1.9); opacity: 0; }
}

/* slider controls: bottom-left, chamfered arrows, progress per slide */
body .rg-slider-nav {
	justify-content: flex-start;
	gap: 26px;
	bottom: 48px;
	padding: 0 max(15px, calc((100vw - 1180px) / 2 + 15px));
}
body .rg-slider-arrow {
	width: 46px; height: 46px;
	border-radius: 0;
	border: 0;
	background: rgba(255, 255, 255, .09);
	clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%, 0 10px);
	transform: none !important;
}
body .rg-slider-arrow:hover { background: var(--rg-g-500); border-color: var(--rg-g-500); color: var(--rg-n-950); }
body .rg-slider-dots { gap: 18px; order: 2; }
body .rg-prev { order: 1; }
body .rg-next { order: 1; margin-right: -18px; }
body .rg-dot {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	padding: 0;
	min-width: 72px;
	font-size: .78rem;
	font-weight: 600;
	letter-spacing: .06em;
	color: rgba(255, 255, 255, .45);
}
body .rg-dot::before {
	content: '';
	order: 2;
	width: 100%;
	height: 2px;
	background: rgba(255, 255, 255, .18);
}
body .rg-dot::after {
	right: 0; left: auto;
	bottom: 0;
	width: 100%;
	height: 2px;
	transform: scaleX(0);
	transition: none;
}
body .rg-dot:hover { color: rgba(255, 255, 255, .8); }
body .rg-dot.active { color: #fff; }
body .rg-dot.active::after { transform: scaleX(1); }
body .rg-slider.rg-run .rg-dot.active::after {
	animation: rgProgress var(--rg-slide-duration, 7s) linear forwards;
}
@keyframes rgProgress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ==========================================================================
   Section rhythm
   ========================================================================== */
body .rg-why,
body .rg-home-about,
body .rg-process,
body .rg-home-solutions { padding: 112px 0; }
body .rg-home-about,
body .rg-home-about.section-base:nth-of-type(odd) { background: #fff; }
body .rg-process,
body .rg-home-solutions { background: var(--rg-paper); }
body .rg-process { background: var(--rg-grid-light), var(--rg-paper); }

/* ==========================================================================
   Why RAGVEL — one switch plate with four keys, not four floating cards
   ========================================================================== */
body .rg-why { background: #fff; padding-bottom: 64px; }
body .rg-why + .rg-home-about { padding-top: 64px; }
body .rg-why::before { content: none; }
body .rg-why-stat {
	position: relative;
	text-align: right;
	padding: 0 0 0 40px;
	border: 0;
}
body .rg-why-stat::after {
	content: '';
	position: absolute;
	top: 6%;
	bottom: 6%;
	left: 6px;
	width: 1px;
	background: var(--rg-g-500);transform: skewX(-14deg);
}
body .rg-why-stat-number {
	font-size: clamp(5rem, 9vw, 7.5rem);
	font-weight: 300;
	font-stretch: 125%;
	letter-spacing: -.04em;
	line-height: .9;
	background: none;
	-webkit-text-fill-color: currentColor;
	color: var(--rg-n-800);
}
body .rg-why-stat-label {
	margin: 18px 0 0;
	max-width: 15ch;
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.45;
	color: var(--rg-n-800);
}
body .rg-why-grid {
	gap: 1px;
	background: var(--rg-line);
	border: 0;
	box-shadow: 0 0 0 1px var(--rg-line);
}
body .rg-why-card {
	position: relative;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	padding: 36px 34px 38px;
	background: #fff;
	transform: none !important;
	transition: background-color .4s ease;
}
body .rg-why-card::before,
body .rg-why-card::after {
	/* architectural corner ticks, shown on hover */
	content: '';
	position: absolute;
	width: 18px;
	height: 18px;
	border-color: var(--rg-g-500);
	border-style: solid;
	opacity: 0;
	transition: opacity .35s ease, transform .35s var(--rg-ease);
}
body .rg-why-card::before { top: 12px; left: 12px; border-width: 2px 0 0 2px; transform: translate(6px, 6px); }
body .rg-why-card::after { bottom: 12px; right: 12px; border-width: 0 2px 2px 0; transform: translate(-6px, -6px); }
body .rg-why-card:hover { background: #fbfcfd; }
body .rg-why-card:hover::before,
body .rg-why-card:hover::after { opacity: 1; transform: none; }
body .rg-why-icon { margin-bottom: 22px; }
body .rg-why-icon img { width: 48px; height: 48px; }
body .rg-why-card h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 10px; color: var(--rg-n-900); }
body .rg-why-card p { color: var(--rg-muted); font-size: .95rem; line-height: 1.65; }

/* ==========================================================================
   About teaser — chamfered photo on a gold offset frame
   ========================================================================== */
body .rg-home-about-media {
	position: relative;
	margin: 0 0 22px 22px;
}
body .rg-home-about-media::before {
	content: '';
	position: absolute;
	inset: 22px -22px -22px 22px;
	border: 1px solid var(--rg-g-500);
	z-index: 0;
}
body .rg-home-about-media img {
	position: relative;
	z-index: 1;
	display: block;
	border-radius: 0;
	aspect-ratio: 4 / 3.2;
	object-fit: cover;
	clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 40px, 100% 100%, 0 100%);
}
@media (min-width: 992px) {
	body .rg-home-about .col-lg-7 { padding-right: 64px; }
}
body .rg-home-about .title-heading {
	font-size: clamp(1.8rem, 2.8vw, 2.5rem);
	font-weight: 600;
	line-height: 1.15;
	max-width: 18ch;
	margin-bottom: 0;
}
body .rg-home-about-text {
	color: var(--rg-muted);
	font-size: 1.05rem;
	line-height: 1.75;
	max-width: 54ch;
	margin: 22px 0 34px;
}

/* ==========================================================================
   Process — a real sequence, so numbers stay. Plates on a drawn line.
   ========================================================================== */
body .rg-process-track { gap: 28px; margin-top: 8px; }
@media (min-width: 768px) {
	body .rg-process-line { top: 27px; right: 0; left: auto; width: calc(75% + 7px); }
	body .rg-process-line line { stroke: var(--rg-g-500); stroke-width: 1.5; }
}
body .rg-process-step { text-align: right; }
body .rg-process-num {
	width: 56px;
	height: 56px;
	border-radius: 0;
	background: var(--rg-n-800);
	color: var(--rg-g-300);
	font-size: 1rem;
	font-weight: 600;
	font-stretch: 115%;
	margin-bottom: 26px;
	clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
	transition: background-color .35s ease, color .35s ease;
	transform: none !important;
}
body .rg-process-step:hover .rg-process-num { background: var(--rg-g-500); color: var(--rg-n-950); }
body .rg-process-step h4 { font-size: 1.12rem; font-weight: 600; margin-bottom: 10px; color: var(--rg-n-900); }
body .rg-process-step p { color: var(--rg-muted); font-size: .95rem; line-height: 1.65; max-width: 30ch; margin: 0; }

/* ==========================================================================
   Solutions — photo plates with a cut corner; blueprint fallback when no photo
   ========================================================================== */
body .rg-solutions-grid { gap: 20px; }
body .rg-solution-card {
	border-radius: 0;
	box-shadow: none;
	background: var(--rg-n-800);
	clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%);
	transform: none !important;
}
body .rg-solution-card:hover { box-shadow: none; }
body .rg-solution-card-media {
	aspect-ratio: 4 / 3.4;
	background:
		var(--rg-grid),
		radial-gradient(ellipse 90% 80% at 80% 10%, var(--rg-n-700) 0%, var(--rg-n-800) 60%, var(--rg-n-900) 100%);
}
body .rg-solution-card-media:not(:has(img))::before {
	/* empty card: show the logo slash instead of a white void */
	content: '';
	position: absolute;
	top: 18%;
	left: 22%;
	width: 60px;
	height: 46%;
	background: linear-gradient(var(--rg-g-500), var(--rg-g-500)) 0 0 / 2px 100% no-repeat,
	            linear-gradient(var(--rg-g-500), var(--rg-g-500)) 22px 0 / 2px 100% no-repeat;
	opacity: .45;transform: skewX(-22deg);
	transition: opacity .5s ease, transform .6s var(--rg-ease);
}
body .rg-solution-card:hover .rg-solution-card-media:not(:has(img))::before { opacity: .8;transform: skewX(-22deg) translateX(10px); }
body .rg-solution-card-media img { transition: transform .9s var(--rg-ease); }
body .rg-solution-card:hover .rg-solution-card-media img { transform: scale(1.05); }
body .rg-solution-card-overlay {
	background: linear-gradient(-180deg, rgba(10, 19, 34, 0) 35%, rgba(10, 19, 34, .9) 100%);
	transition: background-color .5s ease;
}
body .rg-solution-card:hover .rg-solution-card-overlay { background-color: rgba(10, 19, 34, .2); }
body .rg-solution-card-body { padding: 26px 28px 28px; }
body .rg-solution-card-body::after {
	content: '';
	position: absolute;
	right: 0; bottom: 0;
	width: 100%;
	height: 3px;
	background: var(--rg-g-500);
	transform: scaleX(0);
	transform-origin: right;
	transition: transform .55s var(--rg-ease);
}
body .rg-solution-card:hover .rg-solution-card-body::after,
body .rg-solution-card:focus-visible .rg-solution-card-body::after { transform: scaleX(1); }
body .rg-solution-card-body h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: 8px; color: #fff; }
body .rg-solution-card-link { color: var(--rg-g-300); font-size: .88rem; font-weight: 600; gap: 8px; }
body .rg-home-solutions .text-center { text-align: right !important; margin-top: 40px !important; }

/* ==========================================================================
   Values (trust) — dark band, outlined wordmark, slashes as separators
   ========================================================================== */
body .rg-trust {
	padding: 120px 0;
	background: var(--rg-grid), var(--rg-n-900);
}
body .rg-trust .title-heading { color: #fff; }
body .rg-trust-watermark {
	font-size: clamp(6rem, 15vw, 14rem);
	font-weight: 700;
	font-stretch: 125%;
	color: transparent;
	-webkit-text-stroke: 1px rgba(200, 168, 111, .12);
	opacity: 1;
	letter-spacing: -.02em;
	top: auto;
	bottom: -0.32em;
	transform: translateX(50%);
}
body .rg-trust-row { justify-content: space-between; margin-top: 0; }
body .rg-trust-item {
	flex: 1 1 0;
	max-width: none;
	text-align: right;
	padding: 8px 0 8px 40px;
	transform: none !important;
}
body .rg-trust-sep {
	flex: none;
	width: 1px;
	margin: 0 0 0 40px;
	background: linear-gradient(-180deg, transparent, var(--rg-g-500) 25%, var(--rg-g-500) 75%, transparent);
	opacity: .5;transform: skewX(-14deg);
}
body .rg-trust-icon { margin-bottom: 24px; }
body .rg-trust-icon::before { content: none; }
body .rg-trust-icon img { width: 64px; height: 64px; }
body .rg-trust-item h3 { color: #fff; font-size: 1.3rem; font-weight: 600; margin-bottom: 10px; }
body .rg-trust-item p { color: rgba(205, 214, 230, .72); font-size: .98rem; line-height: 1.65; max-width: 30ch; }
@media (max-width: 767px) {
	body .rg-trust-row { flex-direction: column; gap: 40px; }
	body .rg-trust-item { padding: 0; }
}

/* ==========================================================================
   Closing CTA — headline left, action right, cut by a gold band
   ========================================================================== */
body .rg-home-cta {
	padding: 104px 0;
	text-align: right;
	background: var(--rg-grid), var(--rg-n-800);
	border-top: 1px solid rgba(255, 255, 255, .06);
}
body .rg-home-cta::before {
	/* the gold band */
	width: 180px;
	height: auto;
	top: -20%;
	bottom: -20%;
	right: auto;
	left: max(-40px, calc((100vw - 1180px) / 2 - 140px));
	width: 120px;
	border-radius: 0;
	filter: none;
	animation: none;
	background: rgba(200, 168, 111, .1);
	border-right: 1px solid rgba(200, 168, 111, .55);transform: skewX(-22deg);
}
body .rg-home-cta::after { content: none; }
body .rg-home-cta-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
	flex-wrap: wrap;
}
body .rg-home-cta-icon { display: none; }
body .rg-home-cta h2 {
	margin: 0;
	max-width: 20ch;
	font-size: clamp(1.9rem, 3.4vw, 3rem);
	font-weight: 500;
	font-stretch: 115%;
	line-height: 1.12;
	color: #fff;
}

/* ==========================================================================
   Footer
   ========================================================================== */
body #footer {
	padding: 88px 0 56px;
	background: var(--rg-n-950);
}
body #footer::before {
	height: 1px;
	background: linear-gradient(-90deg, transparent, var(--rg-g-500) 20%, var(--rg-g-500) 80%, transparent);
	opacity: .55;
}
body .rg-footer-watermark { opacity: .035; }
body .footer-logo img { max-width: 150px; }
body .rg-footer-brand p { color: rgba(205, 214, 230, .7); font-size: .95rem; line-height: 1.75; }
body #footer .footer-title {
	display: flex;
	align-items: center;
	gap: 12px;
	padding-right: 0;
	font-size: .98rem;
	font-weight: 600;
	font-stretch: 112%;
	color: #fff;
	margin-bottom: 22px;
}
body #footer .footer-title::before {
	position: static;
	width: 2px;
	height: 16px;
	background: var(--rg-g-500);transform: skewX(-22deg);
}
body .footer-sub-menu { gap: 12px; }
body .footer-sub-menu a {
	position: relative;
	color: rgba(205, 214, 230, .72);
	font-size: .95rem;
	padding-right: 0;
	transition: color .3s ease, padding-right .35s var(--rg-ease);
}
body .footer-sub-menu a::before {
	content: '';
	position: absolute;
	right: 0; top: 50%;
	width: 8px; height: 1px;
	background: var(--rg-g-500);
	transform: scaleX(0);
	transform-origin: right;
	transition: transform .35s var(--rg-ease);
}
body .footer-sub-menu a:hover { color: var(--rg-g-300); padding-right: 16px; }
body .footer-sub-menu a:hover::before { transform: scaleX(1); }
body .rg-footer-cta-text { color: rgba(205, 214, 230, .72); }
body .button.button-footer-cta { height: 48px; padding: 0 24px; }
body .copy-right {
	background: var(--rg-n-950);
	border-top: 1px solid rgba(255, 255, 255, .07);
	padding: 22px 0;
}
body .copy-right p { color: rgba(205, 214, 230, .5); font-size: .85rem; text-align: right; }

/* ==========================================================================
   Inner pages — navy title band under the header, same grid texture
   ========================================================================== */
body.inner-page .title-part.inner-title {
	position: relative;
	padding: 72px 0 56px;
	margin: 0 0 56px !important;
	background: var(--rg-n-900);
	box-shadow: 0 0 0 100vmax var(--rg-n-900);
	clip-path: inset(0 -100vmax);
}
body.inner-page .title-part.inner-title::before {
	content: '';
	position: absolute;
	top: 0; bottom: 0;
	right: -100vmax; left: -100vmax;
	background: var(--rg-grid);
	pointer-events: none;
}
body.inner-page .title-part.inner-title h1,
body.inner-page .title-part.inner-title .title-heading {
	position: relative;
	display: flex;
	align-items: center;
	gap: 18px;
	margin: 0;
	color: #fff;
	font-size: clamp(2rem, 4vw, 3.2rem);
	font-weight: 600;
	font-stretch: 115%;
}
body.inner-page .title-part.inner-title h1::before,
body.inner-page .title-part.inner-title .title-heading::before {
	content: '';
	flex: none;
	width: 16px;
	height: 38px;
	background: linear-gradient(var(--rg-g-500), var(--rg-g-500)) 0 0 / 3px 100% no-repeat,
	            linear-gradient(var(--rg-g-500), var(--rg-g-500)) 9px 0 / 3px 100% no-repeat;transform: skewX(-22deg);
}
body.inner-page .title-part.inner-title .editor-content,
body.inner-page .title-part.inner-title .editor-content p {
	position: relative;
	margin: 18px 0 0;
	color: rgba(205, 214, 230, .78);
	font-size: 1.08rem;
}
body .title-heading:empty { display: none !important; }
body #main.site-main:has(.inner-title, .rg-solutions-hero, .rg-solution-hero) { margin-top: 0; }
body #main.site-main { overflow-x: clip; }
body .rg-solutions-intro p,
body.inner-page .editor-content p { text-align: right !important; }
body .section-base:nth-of-type(odd),
body .section-feature { background: var(--rg-paper); }
body .section-feature { padding: 72px 0; }
body .item-feature img { width: 64px; height: 64px; filter: none; margin-bottom: 16px; }
body .item-feature h3 { font-size: 1.05rem; font-weight: 600; color: var(--rg-n-900); }
body #breadcrumbs { background: var(--rg-n-900); color: rgba(205, 214, 230, .6); font-size: .85rem; }
body #breadcrumbs a { color: var(--rg-g-300); }
body.inner-page .editor-content { font-size: 1.05rem; line-height: 1.8; color: var(--rg-ink); max-width: 76ch; }

/* solutions hub + single */
body .rg-solutions-hero {
	padding: 110px 0 80px;
	text-align: right;
	background: var(--rg-grid), var(--rg-n-900);
}
body .rg-solutions-hero .title-heading { color: #fff; font-size: clamp(2.2rem, 4.4vw, 3.6rem); font-stretch: 118%; }
body .rg-solutions-intro, body .rg-solutions-intro p { margin: 0; color: rgba(205, 214, 230, .8) !important; font-size: 1.1rem; max-width: 56ch; }
body .rg-solutions-grid-wrap { background: var(--rg-paper); padding: 72px 0 104px; }
body .rg-solution-hero {
	min-height: 460px;
	background: var(--rg-grid), var(--rg-n-900);
}
body .rg-solution-hero-content .title-heading { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.8rem); font-stretch: 118%; }
body .rg-solution-tagline { color: var(--rg-g-300); font-size: 1.15rem; }
body .rg-solution-body { padding: 80px 0; }
body .rg-solution-thumb img { border-radius: 0; clip-path: polygon(0 0, calc(100% - 32px) 0, 100% 32px, 100% 100%, 0 100%); }
body .rg-solution-features {
	border-radius: 0;
	border: 1px solid var(--rg-line);
	border-top: 3px solid var(--rg-g-500);
	background: var(--rg-paper);
	top: 100px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 991px) {
	body #header .row,
	body .navtop-right,
	body .navtop-left { min-height: 68px; }
	body .header-logo { margin-left: 0; }
	body .header-logo img { max-height: 26px; }
	body .rg-plan { display: none; }
	body .rg-slider::after { left: -20px; opacity: .18; }
	body .rg-why-stat { padding: 0 0 36px; margin-bottom: 36px; border-bottom: 1px solid var(--rg-line); }
	body .rg-why-stat::after { content: none; }
	body .rg-home-about-media { margin-bottom: 64px; }
	body .rg-why, body .rg-home-about, body .rg-process, body .rg-home-solutions, body .rg-trust { padding: 80px 0; }
}
@media (max-width: 767px) {
	body .rg-process-track { gap: 40px; }
	body .rg-process-step { display: grid; grid-template-columns: 56px 1fr; column-gap: 20px; }
	body .rg-process-num { grid-row: span 2; margin-bottom: 0; }
	body .rg-trust-sep { display: none; }
}
@media (max-width: 575px) {
	body .rg-slide-content { padding: 110px 20px 150px; }
	body .rg-slider-nav { padding: 0 20px; gap: 18px; }
	body .rg-dot { min-width: 44px; }
	body .rg-home-hero-btns { width: 100%; }
	body .rg-home-hero-btns .button { flex: 1 1 100%; }
	body .rg-home-cta-inner { flex-direction: column; align-items: flex-start; }
	body .rg-home-cta::before { display: none; }
	body .rg-footer-contact { margin-top: 28px; }
	body .header-mm { margin-right: 16px; }
	body .copy-right p { text-align: center; }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	body *, body *::before, body *::after {
		animation-duration: .001ms !important;
		animation-delay: 0s !important;
		animation-iteration-count: 1 !important;
		transition-duration: .001ms !important;
	}
	body .rg-plan-walls path, body .rg-plan-wires path { stroke-dashoffset: 0 !important; }
	body .rg-plan-nodes g, body .rg-plan-windows, body .rg-plan-doors, body .rg-plan-labels, body .rg-plan-hub { opacity: 1 !important; }
	body .rg-reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   v2.1 — original stacked logo, full-image slides, brands strip, catalogs
   ========================================================================== */

/* ---------- Header with the original (stacked) logo ---------- */
body #header .row,
body .navtop-right,
body .navtop-left { min-height: 96px; }
body.rg-scrolled #header .row,
body.rg-scrolled .navtop-right,
body.rg-scrolled .navtop-left { min-height: 74px; }
body .header-logo { margin-left: 48px; }
body .header-logo img {
	height: 68px;
	max-height: none;
	width: auto;
	transition: height .4s ease;
}
body.rg-scrolled .header-logo img { height: 52px; }
body .footer-logo img { max-width: 200px; }
body #menumobile .title-mm img { max-width: 96px; height: auto; }

/* ---------- Hero: overlay strength per slide ---------- */
/* Light (default for photos): the image stays visible, only the text side,
   the header band and the brand strip are shaded. */
body .rg-slide-overlay-light {
	background:
		linear-gradient(-180deg, rgba(10, 19, 34, .55) 0%, rgba(10, 19, 34, 0) 20%),
		linear-gradient(0deg, rgba(10, 19, 34, .78) 0%, rgba(10, 19, 34, 0) 32%),
		linear-gradient(-90deg, rgba(10, 19, 34, .78) 0%, rgba(10, 19, 34, .5) 32%, rgba(10, 19, 34, 0) 62%);
}
body .rg-slide-overlay-medium {
	background:
		linear-gradient(0deg, rgba(10, 19, 34, .8) 0%, rgba(10, 19, 34, 0) 35%),
		linear-gradient(-100deg, rgba(10, 19, 34, .92) 0%, rgba(15, 27, 46, .72) 40%, rgba(15, 27, 46, .3) 75%, rgba(15, 27, 46, .15) 100%);
}
body .rg-slide-overlay-light::after,
body .rg-slide-overlay-medium::after { content: none; }
body .rg-slide-overlay-light ~ .rg-slide-content h1,
body .rg-slide-overlay-medium ~ .rg-slide-content h1,
body .rg-slide-overlay-strong ~ .rg-slide-content h1 { max-width: 860px; }
body .rg-slide-overlay-light ~ .rg-slide-content h1,
body .rg-slide-overlay-light ~ .rg-slide-content .rg-home-hero-sub { text-shadow: 0 2px 24px rgba(10, 19, 34, .45); }

/* ---------- Brands strip, pinned to the bottom of the hero ---------- */
body .rg-brands {
	position: absolute;
	right: 0; left: 0; bottom: 0;
	z-index: 3;
	padding: 26px 0 30px;
	border-top: 1px solid rgba(255, 255, 255, .1);
	background: linear-gradient(0deg, rgba(10, 19, 34, .55), rgba(10, 19, 34, .15));
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}
body .rg-brands-list {
	display: flex;
	align-items: center;
	justify-content: safe center;
	list-style: none;
	margin: 0 auto;
	padding: 0 max(15px, calc((100vw - 1180px) / 2 + 15px));
	overflow-x: auto;
	scrollbar-width: none;
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
	mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
}
body .rg-brands-list::-webkit-scrollbar { display: none; }
body .rg-brand {
	flex: none;
	display: flex;
	align-items: center;
}
body .rg-brand + .rg-brand::before {
	content: '';
	width: 1px;
	height: 30px;
	margin: 0 clamp(12px, 1.7vw, 26px);
	background: rgba(255, 255, 255, .28);transform: skewX(-14deg);
}
body .rg-brand-inner {
	display: flex;
	align-items: center;
	height: 40px;
	opacity: .92;
	transition: opacity .3s ease, transform .4s var(--rg-ease);
}
body a.rg-brand-inner:hover { opacity: 1; transform: translateY(-2px); }
body .rg-brand img {
	display: block;
	height: 32px;
	width: auto;
	max-width: 128px;
	object-fit: contain;
}
body .rg-brand.is-mono img { filter: brightness(0) invert(1); }
body .rg-brand-name {
	color: #fff;
	font-size: 1.05rem;
	font-weight: 700;
	font-stretch: 118%;
	letter-spacing: .02em;
	white-space: nowrap;
}
/* make room: controls and content sit above the strip */
body .rg-slider.has-brands .rg-slider-nav { bottom: 132px; }
body .rg-slider.has-brands .rg-slide-content { padding-bottom: 220px; }

/* ---------- Catalogs ---------- */
body .rg-home-catalogs { padding: 112px 0; background: #fff; }
body .rg-home-catalogs-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
	margin-bottom: 44px;
}
body .rg-home-catalogs-head .title-site { margin-bottom: 0 !important; }

body .rg-catalog-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 44px 28px;
}
body .rg-catalog { display: flex; flex-direction: column; }
body .rg-catalog.is-hidden { display: none; }
body .rg-catalog-cover {
	position: relative;
	display: block;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	background: var(--rg-n-800);
	clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
	transition: transform .5s var(--rg-ease);
}
body .rg-catalog-cover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
body .rg-catalog-cover::before {
	/* book spine: a soft fold near the left edge */
	content: '';
	position: absolute;
	top: 0; bottom: 0; right: 0;
	width: 18px;
	z-index: 1;
	background: linear-gradient(-90deg, rgba(0, 0, 0, .28), rgba(255, 255, 255, .12) 55%, rgba(0, 0, 0, 0));
	pointer-events: none;
}
body .rg-catalog-cover::after {
	content: '';
	position: absolute;
	right: 0; left: 0; bottom: 0;
	height: 3px;
	z-index: 1;
	background: var(--rg-g-500);
	transform: scaleX(0);
	transform-origin: right;
	transition: transform .5s var(--rg-ease);
}
body .rg-catalog:hover .rg-catalog-cover { transform: translateY(-6px); }
body .rg-catalog:hover .rg-catalog-cover::after,
body .rg-catalog-cover:focus-visible::after { transform: scaleX(1); }
body .rg-catalog-cover-blank {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: flex-end;
	padding: 24px;
	background: var(--rg-grid), radial-gradient(ellipse 90% 70% at 80% 10%, var(--rg-n-700), var(--rg-n-900));
}
body .rg-catalog-cover-blank span {
	color: #fff;
	font-family: var(--bold_font);
	font-size: 1.2rem;
	font-weight: 600;
	font-stretch: 112%;
	line-height: 1.2;
}
body .rg-catalog-body { padding-top: 20px; }
body .rg-catalog-body h3 {
	font-size: 1.08rem;
	font-weight: 600;
	line-height: 1.3;
	margin: 0 0 6px;
	color: var(--rg-n-900);
}
body .rg-catalog-meta {
	margin: 0 0 14px;
	color: var(--rg-muted);
	font-size: .88rem;
}
body .rg-catalog-actions {
	display: flex;
	align-items: center;
	gap: 18px;
	padding-top: 12px;
	border-top: 1px solid var(--rg-line);
}
body .rg-catalog-link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--rg-n-800);
	font-size: .9rem;
	font-weight: 600;
	transition: color .25s ease;
}
body .rg-catalog-link:hover { color: var(--rg-g-700); }
body .rg-catalog-link + .rg-catalog-link { padding-right: 18px; border-right: 1px solid var(--rg-line); }

body .rg-catalogs-wrap { padding: 8px 0 112px; }
body .rg-catalog-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 44px;
}
body .rg-catalog-filter button {
	height: 40px;
	padding: 0 18px;
	border: 1px solid var(--rg-line);
	background: #fff;
	color: var(--rg-n-800);
	font: 600 .9rem var(--bold_font);
	font-stretch: 105%;
	cursor: pointer;
	clip-path: polygon(8px 0, 100% 0, 100% 100%, 0 100%, 0 8px);
	transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
body .rg-catalog-filter button:hover { border-color: var(--rg-n-800); }
body .rg-catalog-filter button.is-active { background: var(--rg-n-800); border-color: var(--rg-n-800); color: var(--rg-g-300); }
body .rg-catalog-empty { color: var(--rg-muted); padding: 40px 0; }

@media (max-width: 991px) {
	body #header .row,
	body .navtop-right,
	body .navtop-left { min-height: 76px; }
	body .header-logo img { height: 54px; }
	body.rg-scrolled .header-logo img { height: 46px; }
	body.rg-scrolled #header .row,
	body.rg-scrolled .navtop-right,
	body.rg-scrolled .navtop-left { min-height: 64px; }
	body .rg-catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	body .rg-home-catalogs { padding: 80px 0; }
}
@media (max-width: 767px) {
	body .rg-catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; }
	body .rg-catalog-actions { gap: 12px; }
	body .rg-catalog-link + .rg-catalog-link { padding-right: 12px; }
	body .rg-brands { padding: 16px 0 18px; }
	body .rg-brands-list {
		display: grid;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 14px 10px;
		padding: 0 20px;
		-webkit-mask-image: none;
		mask-image: none;
	}
	body .rg-brand { justify-content: center; }
	body .rg-brand + .rg-brand::before { content: none; }
	body .rg-brand-inner { height: 30px; justify-content: center; }
	body .rg-brand img { height: 24px; max-width: 100%; }
	body .rg-brand-name { font-size: .85rem; }
	body .rg-slider.has-brands .rg-slider-nav { bottom: 132px; }
	body .rg-slider.has-brands .rg-slide-content { padding-bottom: 210px; }
	body .rg-slide-overlay-light {
		background:
			linear-gradient(0deg, rgba(10, 19, 34, .85) 0%, rgba(10, 19, 34, .35) 45%, rgba(10, 19, 34, .55) 100%);
	}
}
@media (max-width: 575px) {
	body .rg-catalog-link svg { display: none; }
}

/* ==========================================================================
   v3 — header fixes + homepage sections rebuilt (rg3-*)
   Background rhythm: hero navy → why white → about light → process navy →
   solutions white → catalogs light → values white → CTA card over footer.
   ========================================================================== */

/* ---------- Header: opaque when scrolled, clears the WP admin bar ---------- */
body.home.rg-scrolled #header,
body.rg-scrolled #header {
	background: rgba(15, 27, 46, .97);
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}
body.admin-bar #header { top: 32px; }
@media (max-width: 782px) { body.admin-bar #header { top: 46px; } }
@media (max-width: 600px) { body.admin-bar.rg-scrolled #header { top: 0; } }

/* logged-in account: same icon plate as guests, with a dropdown */
body .rg-account .rg-icon-btn { position: relative; }
body .rg-account-dot {
	position: absolute;
	top: 9px; left: 11px;
	width: 7px; height: 7px;
	border-radius: 50%;
	background: var(--rg-g-500);
	box-shadow: 0 0 0 2px var(--rg-n-900);
}
body .rg-account .rg-account-menu {
	width: 230px;
	right: auto;
	left: -1px;
	top: calc(100% + 10px);
	padding: 8px 0;
	background: #fff;
	border-top: 2px solid var(--rg-g-500);
	box-shadow: 0 24px 50px -20px rgba(10, 19, 34, .45);
	transform-origin: left top;
}
body .rg-account-menu .rg-account-hello {
	margin: 0;
	padding: 10px 18px 12px;
	color: var(--rg-muted);
	font-size: .88rem;
	border-bottom: 1px solid var(--rg-line);
}
body .rg-account-menu .rg-account-hello strong { color: var(--rg-n-900); font-weight: 600; }
body .rg-account-menu a {
	display: block;
	padding: 10px 18px;
	color: var(--rg-n-800);
	font-size: .92rem;
	font-weight: 500;
	transition: background-color .2s ease, color .2s ease, padding-right .3s var(--rg-ease);
}
body .rg-account-menu a:hover { background: var(--rg-paper); color: var(--rg-n-900); padding-right: 24px; }
body .rg-account-menu .rg-account-logout { border-top: 1px solid var(--rg-line); margin-top: 6px; color: var(--rg-muted); }

/* ---------- Shared section heads ---------- */
body .rg3-kicker {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 18px;
	color: var(--rg-g-700);
	font-size: .92rem;
	font-weight: 600;
	font-stretch: 108%;
}
body .rg3-kicker::before {
	content: '';
	width: 10px;
	height: 16px;
	background: linear-gradient(currentColor, currentColor) 0 0 / 2px 100% no-repeat,
	            linear-gradient(currentColor, currentColor) 6px 0 / 2px 100% no-repeat;transform: skewX(-22deg);
}
body .rg3-head h2 {
	font-size: clamp(2rem, 3.4vw, 3rem);
	font-weight: 600;
	font-stretch: 115%;
	line-height: 1.08;
	letter-spacing: -.02em;
	margin: 0 0 16px;
	max-width: 20ch;
}
body .rg3-head p {
	color: var(--rg-muted);
	font-size: 1.08rem;
	line-height: 1.7;
	max-width: 52ch;
	margin: 0;
}
body .rg3-head-row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 28px;
	flex-wrap: wrap;
	margin-bottom: 56px;
}

/* ---------- Why: bento ---------- */
body .rg3-why { padding: 120px 0; background: #fff; }
body .rg3-bento {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-auto-rows: minmax(240px, auto);
	gap: 16px;
}
body .rg3-bento-lead {
	grid-column: 1 / 3;
	grid-row: 1 / 3;
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 44px 48px 48px;
	background: var(--rg-grid), radial-gradient(ellipse 90% 80% at 85% 0%, #1d3054 0%, var(--rg-n-900) 60%);
	clip-path: polygon(0 0, calc(100% - 48px) 0, 100% 48px, 100% 100%, 0 100%);
}
body .rg3-bento-lead .rg3-kicker { color: var(--rg-g-300); position: absolute; top: 40px; right: 48px; }
body .rg3-bento-number {
	display: block;
	font-family: var(--bold_font);
	font-size: clamp(7rem, 14vw, 13rem);
	font-weight: 700;
	font-stretch: 125%;
	line-height: .82;
	letter-spacing: -.05em;
	color: transparent;
	-webkit-text-stroke: 1.5px var(--rg-g-500);
	transition: color .6s ease;
}
body .rg3-bento-lead:hover .rg3-bento-number { color: var(--rg-g-500); }
body .rg3-bento-label {
	margin: 20px 0 0;
	max-width: 18ch;
	color: #fff;
	font-size: 1.35rem;
	font-weight: 500;
	font-stretch: 110%;
	line-height: 1.3;
}
body .rg3-bento-slashes {
	position: absolute;
	top: 40px;
	left: 72px;
	width: 70px;
	height: 34%;
	background: linear-gradient(var(--rg-g-500), var(--rg-g-500)) 0 0 / 2px 100% no-repeat,
	            linear-gradient(var(--rg-g-500), var(--rg-g-500)) 26px 0 / 2px 100% no-repeat;
	opacity: .5;transform: skewX(-22deg);
}
body .rg3-bento-tile {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 32px 30px;
	background: var(--rg-paper);
	transition: background-color .45s var(--rg-ease);
}
body .rg3-bento-tile::after {
	content: '';
	position: absolute;
	top: 0; right: 0;
	width: 100%;
	height: 2px;
	background: var(--rg-g-500);
	transform: scaleX(0);
	transform-origin: right;
	transition: transform .5s var(--rg-ease);
}
body .rg3-tile-icon { display: inline-flex; margin-bottom: auto; padding-bottom: 28px; }
body .rg3-tile-icon img { width: 50px; height: 50px; border-radius: 50%; transition: box-shadow .45s ease; }
body .rg3-bento-tile h3 {
	font-size: 1.18rem;
	font-weight: 600;
	margin: 0 0 8px;
	color: var(--rg-n-900);
	transition: color .45s ease;
}
body .rg3-bento-tile p { margin: 0; color: var(--rg-muted); font-size: .95rem; line-height: 1.6; transition: color .45s ease; }
body .rg3-bento-tile:hover { background: var(--rg-n-800); }
body .rg3-bento-tile:hover::after { transform: scaleX(1); }
body .rg3-bento-tile:hover h3 { color: #fff; }
body .rg3-bento-tile:hover p { color: rgba(205, 214, 230, .8); }
body .rg3-bento-tile:hover .rg3-tile-icon img { box-shadow: 0 0 0 1px var(--rg-g-500), 0 0 0 6px rgba(200, 168, 111, .12); }

/* ---------- About: full-bleed photo, diagonal edge ---------- */
body .rg3-about {
	position: relative;
	background: var(--rg-paper);
	overflow: hidden;
}
body .rg3-about-media {
	position: absolute;
	top: 0; bottom: 0; right: 0;
	width: 52%;
	clip-path: polygon(100% 0, 0 0, 14% 100%, 100% 100%);
}
body .rg3-about-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
body .rg3-about-media::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(-90deg, rgba(10, 19, 34, .25), rgba(10, 19, 34, 0) 50%);
}
body .rg3-about-badge {
	position: absolute;
	z-index: 1;
	left: 20%;
	bottom: 48px;
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 18px 24px;
	background: var(--rg-n-900);
	clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
}
body .rg3-about-badge strong {
	color: var(--rg-g-500);
	font-size: 2.4rem;
	font-weight: 600;
	font-stretch: 120%;
	line-height: 1;
}
body .rg3-about-badge span { color: rgba(226, 232, 242, .85); font-size: .88rem; max-width: 12ch; line-height: 1.35; }
body .rg3-about-text {
	position: relative;
	margin-right: 56%;
	padding: 136px 0;
	max-width: 520px;
}
body .rg3-about-text h2 {
	font-size: clamp(1.9rem, 3vw, 2.7rem);
	font-weight: 600;
	font-stretch: 115%;
	line-height: 1.1;
	letter-spacing: -.02em;
	margin: 0 0 22px;
}
body .rg3-about-text p { color: var(--rg-muted); font-size: 1.06rem; line-height: 1.8; margin: 0 0 34px; }

/* ---------- Process: dark band, outlined numbers, line fills on scroll ---------- */
body .rg3-process {
	padding: 120px 0 128px;
	background: var(--rg-grid), var(--rg-n-900);
}
body .rg3-process .rg3-head h2 { color: #fff; }
body .rg3-process .rg3-head p { color: rgba(205, 214, 230, .72); }
body .rg3-steps {
	position: relative;
	display: grid;
	grid-template-columns: repeat(var(--rg-steps, 4), minmax(0, 1fr));
	gap: 36px;
	list-style: none;
	margin: 64px 0 0;
	padding: 0;
}
body .rg3-steps-line {
	position: absolute;
	right: 0; left: 0;
	top: 113px;
	height: 1px;
	background: rgba(255, 255, 255, .14);
}
body .rg3-steps-line span {
	position: absolute;
	inset: -0.5px 0;
	background: var(--rg-g-500);
	transform: scaleX(var(--rg-progress, 0));
	transform-origin: right;
}
body .rg3-step { position: relative; }
body .rg3-step-num {
	display: block;
	height: 96px;
	font-family: var(--bold_font);
	font-size: clamp(4.2rem, 6.4vw, 6rem);
	font-weight: 700;
	font-stretch: 125%;
	line-height: 1;
	letter-spacing: -.03em;
	color: transparent;
	-webkit-text-stroke: 1px rgba(200, 168, 111, .5);
	transition: color .6s ease, -webkit-text-stroke-color .6s ease;
}
body .rg3-step-node {
	display: block;
	width: 13px;
	height: 13px;
	margin: 11px 0 30px;
	background: var(--rg-n-900);
	border: 1.5px solid rgba(255, 255, 255, .35);
	transform: rotate(-45deg);
	transition: background-color .4s ease, border-color .4s ease, box-shadow .4s ease;
}
body .rg3-step h3 { color: #fff; font-size: 1.2rem; font-weight: 600; margin: 0 0 10px; }
body .rg3-step p { color: rgba(205, 214, 230, .7); font-size: .96rem; line-height: 1.65; margin: 0; max-width: 28ch; }
body .rg3-step.is-reached .rg3-step-num,
body .rg3-step:hover .rg3-step-num { color: var(--rg-g-500); -webkit-text-stroke-color: var(--rg-g-500); }
body .rg3-step.is-reached .rg3-step-node {
	background: var(--rg-g-500);
	border-color: var(--rg-g-500);
	box-shadow: 0 0 0 5px rgba(200, 168, 111, .15);
}

/* ---------- Solutions: staggered cards, excerpt on hover ---------- */
body .rg3-solutions { padding: 120px 0 192px; background: #fff; }
body .rg3-solutions .rg-solutions-grid { gap: 24px; align-items: start; }
@media (min-width: 992px) {
	body .rg3-solutions .rg-solution-card:nth-child(3n+2) { translate: 0 72px; }
}
body .rg3-solutions .rg-solution-card-media { aspect-ratio: 4 / 5; }
body .rg-solution-card-body { padding-left: 88px; }
body .rg-solution-card-excerpt {
	margin: 0;
	max-height: 0;
	overflow: hidden;
	opacity: 0;
	color: rgba(226, 232, 242, .82);
	font-size: .92rem;
	line-height: 1.55;
	transition: max-height .55s var(--rg-ease), opacity .4s ease, margin .4s ease;
}
body .rg-solution-card:hover .rg-solution-card-excerpt,
body .rg-solution-card:focus-visible .rg-solution-card-excerpt { max-height: 90px; opacity: 1; margin: 4px 0 10px; }
@media (hover: none) {
	body .rg-solution-card-excerpt { max-height: 90px; opacity: 1; margin: 4px 0 10px; }
}
body .rg-solution-card-arrow {
	position: absolute;
	z-index: 2;
	left: 24px;
	bottom: 26px;
	width: 46px;
	height: 46px;
	display: grid;
	place-items: center;
	color: #fff;
	border: 1px solid rgba(255, 255, 255, .35);
	transition: background-color .4s ease, border-color .4s ease, color .4s ease;
}
body .rg-solution-card-arrow svg { transition: transform .45s var(--rg-ease); }
body .rg-solution-card:hover .rg-solution-card-arrow { background: var(--rg-g-500); border-color: var(--rg-g-500); color: var(--rg-n-950); }
body .rg-solution-card:hover .rg-solution-card-arrow svg { transform: rotate(-45deg); }
body .rg-solution-card-link { display: none; }

/* ---------- Catalogs: covers tilted like books on a shelf ---------- */
body .rg3-catalogs { padding: 120px 0; background: var(--rg-paper); }
body .rg3-shelf .rg-catalog { perspective: 1100px; container-type: inline-size; position: relative; }
body .rg3-shelf .rg-catalog-cover {
	transform: rotateY(-9deg);
	transform-origin: right center;
	transition: transform .7s var(--rg-ease);
}
body .rg3-shelf .rg-catalog:hover .rg-catalog-cover { transform: rotateY(0deg) translateY(-6px); }
body .rg3-shelf .rg-catalog::before {
	/* soft shadow on the shelf */
	content: '';
	position: absolute;
	right: 4%;
	left: 4%;
	top: calc(133.33cqw - 14px);
	height: 28px;
	border-radius: 50%;
	background: radial-gradient(closest-side, rgba(15, 27, 46, .32), transparent);
	filter: blur(4px);
	pointer-events: none;
	transition: opacity .6s ease, transform .6s ease;
}
body .rg3-shelf .rg-catalog:hover::before { opacity: .55; transform: scaleX(.92); }
body .rg3-shelf .rg-catalog-body { padding-top: 26px; }

/* ---------- Values: smart wall switches ---------- */
body .rg3-values { padding: 120px 0 104px; background: #fff; }
body .rg3-values-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr);
	gap: 72px;
	align-items: center;
}
body .rg3-switches {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
}
body .rg3-plate {
	position: relative;
	display: grid;
	place-items: center;
	width: 100%;
	aspect-ratio: 1 / 1.06;
	padding: 0;
	cursor: pointer;
	border: 1px solid #e2e6ed;
	border-radius: 16px;
	background: linear-gradient(-150deg, #ffffff 0%, #f1f3f7 100%);
	box-shadow:
		inset 0 1px 0 #fff,
		0 2px 4px rgba(15, 27, 46, .05),
		0 22px 40px -26px rgba(15, 27, 46, .4);
	transition: border-color .4s ease, box-shadow .4s ease;
}
body .rg3-plate::before,
body .rg3-plate::after {
	/* plate screws */
	content: '';
	position: absolute;
	right: 50%;
	width: 7px; height: 7px;
	margin-right: -3.5px;
	border-radius: 50%;
	background: radial-gradient(circle at 35% 35%, #f5f6f8, #cfd5de);
	box-shadow: inset 0 0 0 1px rgba(15, 27, 46, .08);
}
body .rg3-plate::before { top: 12px; }
body .rg3-plate::after { bottom: 12px; }
body .rg3-rocker {
	position: relative;
	width: 42%;
	aspect-ratio: 1 / 1.5;
	border-radius: 10px;
	background: linear-gradient(-180deg, #fbfcfd 0%, #e7ebf1 100%);
	border: 1px solid #dde2ea;
	box-shadow: 0 10px 14px -10px rgba(15, 27, 46, .45), inset 0 -10px 16px -12px rgba(15, 27, 46, .25);
	transform: perspective(380px) rotateX(14deg);
	transition: transform .35s var(--rg-ease), box-shadow .35s ease;
}
body .rg3-led {
	position: absolute;
	top: 13%;
	right: 50%;
	width: 8px; height: 8px;
	margin-right: -4px;
	border-radius: 50%;
	background: #c7cdd6;
	transition: background-color .35s ease, box-shadow .35s ease;
}
body .rg3-plate.is-on { border-color: rgba(200, 168, 111, .5); box-shadow: inset 0 1px 0 #fff, 0 2px 4px rgba(15, 27, 46, .05), 0 22px 40px -24px rgba(138, 109, 59, .45); }
body .rg3-plate.is-on .rg3-rocker {
	transform: perspective(380px) rotateX(-14deg);
	box-shadow: 0 -10px 14px -10px rgba(15, 27, 46, .35), inset 0 10px 16px -12px rgba(15, 27, 46, .2);
}
body .rg3-plate.is-on .rg3-led {
	background: var(--rg-g-300);
	box-shadow: 0 0 0 4px rgba(200, 168, 111, .18), 0 0 16px 3px rgba(227, 203, 152, .9);
}
body .rg3-plate:focus-visible { outline: 2px solid var(--rg-g-500); outline-offset: 4px; }
body .rg3-switch-text { padding-top: 24px; transition: opacity .35s ease; }
body .rg3-switch.is-off .rg3-switch-text { opacity: .45; }
body .rg3-switch-icon { display: inline-flex; margin-bottom: 12px; }
body .rg3-switch-icon img { width: 40px; height: 40px; }
body .rg3-switch-text h3 { font-size: 1.15rem; font-weight: 600; margin: 0 0 6px; color: var(--rg-n-900); }
body .rg3-switch-text p { margin: 0; color: var(--rg-muted); font-size: .94rem; line-height: 1.6; }

/* ---------- CTA: card that overlaps the footer ---------- */
body .rg3-cta {
	position: relative;
	z-index: 2;
	padding: 24px 0 0;
	margin-bottom: -150px;
	background: linear-gradient(#fff 0 50%, transparent 50%);
}
body .rg3-cta-card {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
	min-height: 380px;
	background: var(--rg-grid), radial-gradient(ellipse 80% 90% at 0% 100%, #1f3356 0%, var(--rg-n-800) 60%);
	clip-path: polygon(0 0, calc(100% - 48px) 0, 100% 48px, 100% 100%, 48px 100%, 0 calc(100% - 48px));
	box-shadow: 0 40px 80px -40px rgba(10, 19, 34, .6);
}
body .rg3-cta-body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 64px 56px;
}
body .rg3-cta-body h2 {
	color: #fff;
	font-size: clamp(1.9rem, 3vw, 2.7rem);
	font-weight: 600;
	font-stretch: 115%;
	line-height: 1.1;
	letter-spacing: -.02em;
	margin: 0 0 16px;
	max-width: 18ch;
}
body .rg3-cta-body p { color: rgba(205, 214, 230, .78); font-size: 1.05rem; line-height: 1.7; max-width: 44ch; margin: 0 0 34px; }
body .rg3-cta-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
body .rg3-cta-contact {
	color: #fff;
	font-weight: 600;
	font-stretch: 108%;
	border-bottom: 1px solid var(--rg-g-500);
	padding-bottom: 3px;
	transition: color .3s ease;
}
body .rg3-cta-contact:hover { color: var(--rg-g-300); }
body .rg3-cta-media { position: relative; clip-path: polygon(78% 0, 0 0, 0 100%, 100% 100%); }
body .rg3-cta-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
body .rg3-cta-media::before {
	content: '';
	position: absolute;
	z-index: 1;
	top: 0; bottom: 0; right: 0;
	width: 22%;
	background: linear-gradient(to top left, transparent calc(50% - 1px), var(--rg-g-500) 50%, transparent calc(50% + 1px));
}
body.home #footer { padding-top: 240px; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
	body .rg3-why, body .rg3-process, body .rg3-catalogs, body .rg3-values { padding: 88px 0; }
	body .rg3-solutions { padding: 88px 0; }
	body .rg3-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(220px, auto); }
	body .rg3-bento-lead { grid-column: 1 / -1; grid-row: auto; min-height: 340px; }
	body .rg3-about-media { position: relative; width: 100%; height: 360px; clip-path: polygon(100% 0, 0 0, 0 86%, 100% 100%); }
	body .rg3-about-badge { left: 24px; bottom: 40px; }
	body .rg3-about-text { margin-right: 0; padding: 56px 0 88px; max-width: none; }
	body .rg3-values-grid { grid-template-columns: 1fr; gap: 48px; }
	body .rg3-cta-card { grid-template-columns: 1fr; }
	body .rg3-cta-media { order: -1; height: 240px; clip-path: polygon(100% 0, 0 0, 0 78%, 100% 100%); }
	body .rg3-cta-media::before { content: none; }
	body .rg3-cta-body { padding: 40px 32px 48px; }
}
@media (max-width: 767px) {
	body .rg3-steps { grid-template-columns: 1fr; gap: 40px; padding-right: 34px; }
	body .rg3-steps-line { right: 6px; left: auto; top: 8px; bottom: 8px; width: 1px; height: auto; }
	body .rg3-steps-line span { inset: 0 -0.5px; transform: scaleY(var(--rg-progress, 0)); transform-origin: top; }
	body .rg3-step-node { position: absolute; right: -34px; top: 26px; margin: 0; }
	body .rg3-step-num { height: auto; font-size: 3.4rem; margin-bottom: 10px; }
	body .rg3-switches { gap: 12px; }
	body .rg3-switch-text h3 { font-size: .98rem; }
	body .rg3-switch-text p { font-size: .82rem; }
	body .rg3-switch-icon img { width: 30px; height: 30px; }
	body .rg3-plate { border-radius: 12px; }
}
@media (max-width: 575px) {
	body .rg3-bento { grid-template-columns: 1fr; }
	body .rg3-bento-lead { padding: 36px 28px; min-height: 300px; }
	body .rg3-bento-lead .rg3-kicker { right: 28px; top: 30px; }
	body .rg3-bento-slashes { display: none; }
	body .rg3-head-row .button { width: 100%; }
	body .rg3-catalogs .rg-catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	body .rg3-cta { margin-bottom: -110px; }
	body.home #footer { padding-top: 170px; }
}

/* ==========================================================================
   v3.2 — single solution page (rg-sol-*)
   ========================================================================== */
body #main.site-main:has(.rg-sol-hero) { margin-top: 0; }

/* Hero: the solution photo, full bleed */
body .rg-sol-hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: clamp(560px, 80vh, 840px);
	background: var(--rg-grid), var(--rg-n-900);
	overflow: hidden;
}
body .rg-sol-hero-media { position: absolute; inset: 0; }
body .rg-sol-hero-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	animation: rgSolZoom 14s ease-out both;
}
@keyframes rgSolZoom { from { transform: scale(1.06); } to { transform: scale(1); } }
body .rg-sol-hero-shade {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(0deg, rgba(10, 19, 34, .92) 0%, rgba(10, 19, 34, .5) 38%, rgba(10, 19, 34, 0) 68%),
		linear-gradient(-90deg, rgba(10, 19, 34, .9) 0%, rgba(10, 19, 34, .72) 34%, rgba(10, 19, 34, .2) 62%, rgba(10, 19, 34, 0) 80%);
}
body .rg-sol-hero-content { position: relative; z-index: 1; padding-top: 140px; padding-bottom: 72px; }
body .rg-sol-crumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-bottom: 28px;
	font-size: .88rem;
	color: rgba(226, 232, 242, .7);
}
body .rg-sol-crumbs a { color: var(--rg-g-300); }
body .rg-sol-crumbs a:hover { color: #fff; }
body .rg-sol-label {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 14px;
	color: var(--rg-g-300);
	font-size: 1rem;
	font-weight: 500;
	font-stretch: 112%;
}
body .rg-sol-label::before { content: ''; width: 32px; height: 1px; background: var(--rg-g-500); }
body .rg-sol-hero h1 {
	margin: 0 0 18px;
	color: #fff;
	font-size: clamp(2.6rem, 5.6vw, 4.8rem);
	font-weight: 600;
	font-stretch: 118%;
	line-height: 1.02;
	letter-spacing: -.025em;
}
body .rg-sol-tagline {
	margin: 0 0 36px;
	max-width: 34ch;
	color: rgba(240, 243, 248, .9);
	font-size: clamp(1.15rem, 1.8vw, 1.45rem);
	line-height: 1.45;
}
body .rg-sol-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Overview */
body .rg-sol-intro { padding: 112px 0; background: #fff; }
body .rg-sol-intro-grid {
	display: grid;
	grid-template-columns: 260px minmax(0, 1fr);
	gap: 80px;
	align-items: start;
}
body .rg-sol-intro-aside { position: sticky; top: 120px; }
body .rg-sol-count {
	display: block;
	font-family: var(--bold_font);
	font-size: clamp(5rem, 9vw, 8rem);
	font-weight: 700;
	font-stretch: 125%;
	line-height: .85;
	letter-spacing: -.04em;
	color: transparent;
	-webkit-text-stroke: 1.5px var(--rg-g-500);
}
body .rg-sol-count-label {
	display: block;
	margin-top: 14px;
	color: var(--rg-n-800);
	font-size: 1.05rem;
	font-weight: 500;
}
body .rg-sol-intro-text { max-width: 66ch; }
body .rg-sol-intro-text p { margin: 0 0 20px; color: var(--rg-muted); font-size: 1.06rem; line-height: 1.8; }
body .rg-sol-intro-text p:first-child {
	color: var(--rg-n-900);
	font-size: clamp(1.25rem, 1.9vw, 1.5rem);
	font-stretch: 104%;
	line-height: 1.55;
	margin-bottom: 28px;
}
body .rg-sol-intro-text strong {
	color: var(--rg-n-900);
	font-weight: 600;
	background: linear-gradient(transparent 62%, rgba(200, 168, 111, .28) 62%);
}

/* Systems: editorial rows */
body .rg-sol-systems {
	padding: 112px 0;
	background: var(--rg-grid-light), var(--rg-paper);
}
body .rg-sol-list { list-style: none; margin: 8px 0 0; padding: 0; counter-reset: none; }
body .rg-sol-item {
	position: relative;
	isolation: isolate;
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr) minmax(0, 1.4fr);
	gap: 40px;
	padding: 36px 0;
	border-top: 1px solid var(--rg-line);
}
body .rg-sol-item:last-child { border-bottom: 1px solid var(--rg-line); }
body .rg-sol-item::before {
	content: '';
	position: absolute;
	z-index: -1;
	inset: 0 -28px;
	background: #fff;
	opacity: 0;
	transition: opacity .35s ease;
}
body .rg-sol-item::after {
	content: '';
	position: absolute;
	right: -28px;
	top: 0; bottom: 0;
	width: 3px;
	background: var(--rg-g-500);
	transform: scaleY(0);
	transform-origin: top;
	transition: transform .45s var(--rg-ease);
}
body .rg-sol-item:hover::before { opacity: 1; }
body .rg-sol-item:hover::after { transform: scaleY(1); }
body .rg-sol-num {
	font-family: var(--bold_font);
	font-size: 2.8rem;
	font-weight: 700;
	font-stretch: 125%;
	line-height: 1;
	color: transparent;
	-webkit-text-stroke: 1px var(--rg-g-500);
	transition: color .4s ease;
}
body .rg-sol-num img { width: 48px; height: 48px; }
body .rg-sol-item:hover .rg-sol-num { color: var(--rg-g-500); }
body .rg-sol-item-head h3 {
	margin: 4px 0 8px;
	color: var(--rg-n-900);
	font-size: 1.3rem;
	font-weight: 600;
	line-height: 1.25;
}
body .rg-sol-item-sub { margin: 0; color: var(--rg-g-700); font-size: .9rem; font-weight: 500; font-stretch: 105%; }
body .rg-sol-item-desc p { margin: 0 0 10px; color: var(--rg-muted); font-size: 1rem; line-height: 1.75; }
body .rg-sol-item-desc p:last-child { margin-bottom: 0; }

/* Stat band */
body .rg-sol-stat { padding: 104px 0; background: var(--rg-grid), var(--rg-n-900); }
body .rg-sol-stat-grid {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 72px;
	align-items: center;
}
body .rg-sol-stat-value {
	font-family: var(--bold_font);
	font-size: clamp(6rem, 13vw, 11rem);
	font-weight: 700;
	font-stretch: 125%;
	line-height: .85;
	letter-spacing: -.04em;
	color: var(--rg-g-500);
}
body .rg-sol-stat h2 { color: #fff; font-size: clamp(1.7rem, 2.8vw, 2.4rem); font-stretch: 115%; font-weight: 600; margin: 0 0 18px; }
body .rg-sol-stat-text { color: rgba(226, 232, 242, .85); font-size: 1.12rem; line-height: 1.7; max-width: 60ch; margin: 0 0 22px; }
body .rg-sol-stat-note {
	margin: 0;
	padding-right: 16px;
	border-right: 2px solid var(--rg-g-500);
	color: rgba(205, 214, 230, .6);
	font-size: .9rem;
	line-height: 1.6;
	max-width: 60ch;
}

/* Packages: three tiers, getting darker as they grow */
body .rg-sol-packages { padding: 112px 0; background: #fff; }
body .rg-sol-pk-grid {
	display: grid;
	grid-template-columns: repeat(var(--rg-pk, 3), minmax(0, 1fr));
	gap: 20px;
	align-items: stretch;
}
body .rg-sol-pk {
	display: flex;
	flex-direction: column;
	padding: 36px 32px 32px;
	border: 1px solid var(--rg-line);
	background: #fff;
	clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%);
	transition: transform .45s var(--rg-ease), border-color .3s ease;
}
body .rg-sol-pk:nth-child(2) { background: var(--rg-paper); }
body .rg-sol-pk:nth-child(3) { background: var(--rg-grid), var(--rg-n-900); border-color: var(--rg-n-900); }
body .rg-sol-pk:hover { transform: translateY(-6px); border-color: var(--rg-g-500); }
body .rg-sol-pk-bars { display: flex; gap: 5px; margin-bottom: 28px; }
body .rg-sol-pk-bars i { display: block; width: 7px; height: 22px; background: var(--rg-line);transform: skewX(-18deg); }
body .rg-sol-pk-bars i.on { background: var(--rg-g-500); }
body .rg-sol-pk-level { margin: 0 0 6px; color: var(--rg-g-700); font-size: .92rem; font-weight: 600; }
body .rg-sol-pk h3 { margin: 0 0 16px; font-size: 1.45rem; font-weight: 600; font-stretch: 112%; color: var(--rg-n-900); }
body .rg-sol-pk-desc { margin: 0 0 28px; color: var(--rg-muted); font-size: 1rem; line-height: 1.7; }
body .rg-sol-pk-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: auto;
	padding-top: 18px;
	border-top: 1px solid var(--rg-line);
	color: var(--rg-n-800);
	font-weight: 600;
}
body .rg-sol-pk-link svg { transition: transform .4s var(--rg-ease); }
body .rg-sol-pk-link:hover svg { transform: translateX(-5px); }
body .rg-sol-pk:nth-child(3) h3 { color: #fff; }
body .rg-sol-pk:nth-child(3) .rg-sol-pk-level { color: var(--rg-g-300); }
body .rg-sol-pk:nth-child(3) .rg-sol-pk-desc { color: rgba(205, 214, 230, .78); }
body .rg-sol-pk:nth-child(3) .rg-sol-pk-link { color: var(--rg-g-300); border-color: rgba(255, 255, 255, .14); }
body .rg-sol-pk:nth-child(3) .rg-sol-pk-bars i:not(.on) { background: rgba(255, 255, 255, .18); }

/* Closing statement */
body .rg-sol-closing { padding: 112px 0; background: var(--rg-paper); }
body .rg-sol-closing-card {
	position: relative;
	padding: 72px 72px 64px;
	background: #fff;
	border: 1px solid var(--rg-line);
	clip-path: polygon(0 0, calc(100% - 44px) 0, 100% 44px, 100% 100%, 0 100%);
}
body .rg-sol-closing-body { position: relative; z-index: 1; max-width: 760px; }
body .rg-sol-closing h2 {
	margin: 0 0 24px;
	font-size: clamp(1.9rem, 3.2vw, 2.8rem);
	font-weight: 600;
	font-stretch: 115%;
	line-height: 1.1;
	letter-spacing: -.02em;
	max-width: 22ch;
}
body .rg-sol-closing-text p { margin: 0 0 18px; color: var(--rg-muted); font-size: 1.05rem; line-height: 1.75; }
body .rg-sol-closing-text p:has(> strong:only-child) {
	margin: 26px 0;
	padding-right: 22px;
	border-right: 3px solid var(--rg-g-500);
	color: var(--rg-n-900);
	font-size: 1.22rem;
	line-height: 1.6;
}
body .rg-sol-closing-text strong { font-weight: 600; color: var(--rg-n-900); }
body .rg-sol-closing-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 34px; }
body .rg-sol-closing .rg3-cta-contact { color: var(--rg-n-800); }
body .rg-sol-closing .rg3-cta-contact:hover { color: var(--rg-g-700); }
body .rg-sol-closing-mark {
	position: absolute;
	top: 64px;
	left: 96px;
	width: 120px;
	height: calc(100% - 128px);
	background: linear-gradient(var(--rg-g-500), var(--rg-g-500)) 0 0 / 2px 100% no-repeat,
	            linear-gradient(var(--rg-g-500), var(--rg-g-500)) 40px 0 / 2px 100% no-repeat;
	opacity: .35;transform: skewX(-22deg);
}

/* Other solutions */
body .rg-sol-others { padding: 104px 0 120px; background: #fff; }
body .rg-sol-others .rg3-head h2 { margin: 0; }
body .rg-sol-others .rg-solution-card-media { aspect-ratio: 4 / 3.4; }

@media (max-width: 991px) {
	body .rg-sol-intro, body .rg-sol-systems, body .rg-sol-packages, body .rg-sol-closing { padding: 80px 0; }
	body .rg-sol-intro-grid { grid-template-columns: 1fr; gap: 32px; }
	body .rg-sol-intro-aside { position: static; display: flex; align-items: baseline; gap: 16px; }
	body .rg-sol-count { font-size: 4.5rem; }
	body .rg-sol-item { grid-template-columns: 72px minmax(0, 1fr); gap: 12px 24px; }
	body .rg-sol-item-desc { grid-column: 2; }
	body .rg-sol-stat-grid { grid-template-columns: 1fr; gap: 28px; }
	body .rg-sol-pk-grid { grid-template-columns: 1fr; }
	body .rg-sol-closing-card { padding: 48px 32px; }
	body .rg-sol-closing-mark { display: none; }
}
@media (max-width: 575px) {
	body .rg-sol-hero { min-height: 560px; }
	body .rg-sol-hero-shade { background: linear-gradient(0deg, rgba(10, 19, 34, .95) 0%, rgba(10, 19, 34, .72) 55%, rgba(10, 19, 34, .45) 100%); }
	body .rg-sol-hero-content { padding-bottom: 48px; }
	body .rg-sol-hero-actions .button { flex: 1 1 100%; }
	body .rg-sol-item { grid-template-columns: 1fr; padding: 28px 0; }
	body .rg-sol-item-desc { grid-column: 1; }
	body .rg-sol-num { font-size: 2.2rem; }
	body .rg-sol-item::before, body .rg-sol-item::after { content: none; }
}
@media (prefers-reduced-motion: reduce) { body .rg-sol-hero-media img { animation: none; } }

/* Seven solutions: 4 + 3 instead of 3 + 3 + 1 */
@media (min-width: 992px) {
	body .rg-solutions-grid:has(> .rg-solution-card:nth-child(7):last-child) { grid-template-columns: repeat(12, minmax(0, 1fr)); }
	body .rg-solutions-grid:has(> .rg-solution-card:nth-child(7):last-child) > .rg-solution-card { grid-column: span 4; translate: none; }
	body .rg-solutions-grid:has(> .rg-solution-card:nth-child(7):last-child) > .rg-solution-card:nth-child(-n+4) { grid-column: span 3; }
	body .rg3-solutions .rg-solutions-grid:has(> .rg-solution-card:nth-child(7):last-child) > .rg-solution-card:nth-child(2),
	body .rg3-solutions .rg-solutions-grid:has(> .rg-solution-card:nth-child(7):last-child) > .rg-solution-card:nth-child(4),
	body .rg3-solutions .rg-solutions-grid:has(> .rg-solution-card:nth-child(7):last-child) > .rg-solution-card:nth-child(6) { translate: 0 56px; }
	body .rg3-solutions .rg-solutions-grid:has(> .rg-solution-card:nth-child(7):last-child) > .rg-solution-card:nth-child(n+5) .rg-solution-card-media { aspect-ratio: 4 / 3.6; }
}
@media (min-width: 992px) {
	body .rg3-solutions .rg-solutions-grid:has(> .rg-solution-card:nth-child(7):last-child) { row-gap: 80px; }
}

/* ==========================================================================
   v3.3 — home solutions as a carousel (4 visible on desktop, 5th peeks)
   ========================================================================== */
body .rg3-solutions { padding-bottom: 120px; overflow: hidden; }
body .rg3-carousel-controls { display: flex; align-items: center; gap: 10px; }
body .rg3-carousel-btn {
	width: 52px;
	height: 52px;
	display: grid;
	place-items: center;
	padding: 0;
	border: 1px solid var(--rg-line);
	background: #fff;
	color: var(--rg-n-800);
	cursor: pointer;
	clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%, 0 10px);
	transition: background-color .3s ease, color .3s ease, border-color .3s ease, opacity .3s ease;
}
body .rg3-carousel-btn:hover:not(:disabled) { background: var(--rg-n-800); border-color: var(--rg-n-800); color: var(--rg-g-300); }
body .rg3-carousel-btn:disabled { opacity: .35; cursor: default; }
body .rg3-carousel-btn + .button { margin-right: 10px; }
body .rg3-carousel-static .rg3-carousel-btn,
body .rg3-carousel-static .rg3-carousel-progress { display: none; }

/* the track bleeds to the right edge of the window so the next card peeks in */
body .rg3-carousel { outline: none; }
body .rg3-carousel:focus-visible { outline: 2px solid var(--rg-g-500); outline-offset: 8px; }
body .rg3-solutions .rg3-carousel .rg-solutions-grid {
	--rg-gap: 24px;
	--rg-inner: min(1150px, calc(100vw - 30px));
	--rg-bleed: calc((100vw - var(--rg-inner)) / 2);
	display: flex !important;
	align-items: flex-start;
	gap: var(--rg-gap);
	margin-left: calc(var(--rg-bleed) * -1);
	padding: 0 0 64px var(--rg-bleed);
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scroll-padding-right: 0;
	scrollbar-width: none;
	cursor: grab;
}
body .rg3-solutions .rg3-carousel .rg-solutions-grid::-webkit-scrollbar { display: none; }
body .rg3-solutions .rg3-carousel .rg-solutions-grid.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
body .rg3-solutions .rg3-carousel .rg-solution-card {
	flex: 0 0 calc((var(--rg-inner) - 3 * var(--rg-gap)) / 4);
	scroll-snap-align: start;
	grid-column: auto !important;
	translate: none !important;
	opacity: 1;
	transform: none;
}
/* keep the stepped rhythm: every second card sits lower */
body .rg3-solutions .rg3-carousel .rg-solution-card:nth-child(even) { margin-top: 64px; }
body .rg3-solutions .rg3-carousel .rg-solution-card .rg-solution-card-media { aspect-ratio: 4 / 5 !important; }
body .rg3-solutions .rg3-carousel .rg-solution-card img { pointer-events: none; }

body .rg3-carousel-progress {
	position: relative;
	height: 2px;
	margin-top: 8px;
	background: var(--rg-line);
	overflow: hidden;
}
body .rg3-carousel-progress span {
	position: absolute;
	right: 0; top: 0; bottom: 0;
	width: 50%;
	background: var(--rg-g-500);
	transition: transform .15s linear, width .3s ease;
}

@media (max-width: 991px) {
	body .rg3-solutions .rg3-carousel .rg-solution-card { flex-basis: calc((var(--rg-inner) - var(--rg-gap)) / 2.3); }
}
@media (max-width: 575px) {
	body .rg3-solutions .rg3-carousel .rg-solutions-grid { --rg-gap: 14px; --rg-inner: calc(100vw - 30px); padding-bottom: 40px; }
	body .rg3-solutions .rg3-carousel .rg-solution-card { flex-basis: 82%; }
	body .rg3-solutions .rg3-carousel .rg-solution-card:nth-child(even) { margin-top: 32px; }
	body .rg3-carousel-controls { width: 100%; }
	body .rg3-carousel-controls .button { flex: 1; }
	body .rg3-carousel-btn { width: 48px; height: 48px; flex: none; }
}

/* ==========================================================================
   v3.4 — catalog flipbook viewer
   ========================================================================== */
html.rg-fb-lock, html.rg-fb-lock body { overflow: hidden; }
.rg-fb {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: none;
	flex-direction: column;
	background: var(--rg-grid), rgba(8, 15, 27, .97);
	color: #fff;
	font-family: var(--main_font);
}
.rg-fb.is-open { display: flex; animation: rgFbIn .3s ease both; }
@keyframes rgFbIn { from { opacity: 0; } to { opacity: 1; } }
.rg-fb-bar {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 16px;
	padding: 14px 24px;
	border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.rg-fb-title {
	margin: 0;
	font-size: 1rem;
	font-weight: 600;
	font-stretch: 110%;
	color: #fff;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.rg-fb-count { margin: 0; font-size: .9rem; font-weight: 600; letter-spacing: .04em; color: var(--rg-g-300); font-variant-numeric: tabular-nums; }
.rg-fb-tools { display: flex; justify-content: flex-end; gap: 8px; }
.rg-fb-btn, .rg-fb-nav {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, .2);
	background: rgba(255, 255, 255, .04);
	color: #fff;
	cursor: pointer;
	clip-path: polygon(9px 0, 100% 0, 100% 100%, 0 100%, 0 9px);
	transition: background-color .25s ease, color .25s ease, border-color .25s ease, opacity .25s ease;
}
.rg-fb-btn:hover, .rg-fb-nav:hover:not(:disabled) { background: var(--rg-g-500); border-color: var(--rg-g-500); color: var(--rg-n-950); }
.rg-fb-stage {
	position: relative;
	flex: 1;
	min-height: 0;
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr) 64px;
	align-items: center;
	gap: 8px;
	padding: 24px 16px;
}
.rg-fb-nav { width: 52px; height: 52px; justify-self: center; }
.rg-fb-nav:disabled { opacity: .25; cursor: default; }
.rg-fb-book-wrap {
	position: relative;
	height: 100%;
	min-height: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}
.rg-fb-book { margin: 0 auto; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); }
.rg-fb-page { background: #fff; overflow: hidden; }
.rg-fb-page canvas { display: block; width: 100%; height: 100%; opacity: 0; transition: opacity .35s ease; }
.rg-fb-page.is-ready canvas { opacity: 1; }
.rg-fb-page:not(.is-ready) {
	background: linear-gradient(-110deg, #f1f3f7 30%, #fafbfc 50%, #f1f3f7 70%) 0 0 / 300% 100%;
	animation: rgFbShimmer 1.4s linear infinite;
}
@keyframes rgFbShimmer { to { background-position: 400% 0; } }
.rg-fb-loading { display: flex; flex-direction: column; align-items: center; gap: 16px; color: rgba(226, 232, 242, .8); font-size: .95rem; }
.rg-fb-loading a { color: var(--rg-g-300); text-decoration: underline; }
.rg-fb-spinner {
	width: 38px; height: 38px;
	border: 2px solid rgba(200, 168, 111, .25);
	border-top-color: var(--rg-g-500);
	border-radius: 50%;
	animation: rgFbSpin .9s linear infinite;
}
@keyframes rgFbSpin { to { transform: rotate(-360deg); } }
.rg-fb-progress { height: 2px; background: rgba(255, 255, 255, .08); }
.rg-fb-progress span { display: block; height: 100%; width: 0; background: var(--rg-g-500); transition: width .4s ease; }
@media (max-width: 767px) {
	.rg-fb-bar { grid-template-columns: 1fr auto; padding: 10px 14px; }
	.rg-fb-count { grid-row: 2; grid-column: 1 / -1; }
	.rg-fb-stage { grid-template-columns: 1fr; padding: 12px 10px 70px; }
	.rg-fb-nav { position: absolute; bottom: 12px; z-index: 2; }
	.rg-fb-prev { right: calc(50% - 60px); }
	.rg-fb-next { left: calc(50% - 60px); }
}
@media (prefers-reduced-motion: reduce) { .rg-fb.is-open, .rg-fb-page:not(.is-ready) { animation: none; } }

/* ==========================================================================
   Inner pages: shared navy page hero (about, contact, blog, post)
   ========================================================================== */
body .rg-ab-hero,
body .rg-ct-hero,
body .rg-blog-hero,
body .rg-post-hero {
	position: relative;
	overflow: hidden;
	color: #fff;
	background: var(--rg-grid), radial-gradient(ellipse 70% 120% at 100% 0%, #1f3356 0%, var(--rg-n-900) 62%);
}
body .rg-ab-hero::after,
body .rg-ct-hero::after,
body .rg-blog-hero::after,
body .rg-post-hero::after {
	/* logo slash motif */
	content: '';
	position: absolute;
	left: 6%;
	top: -10%;
	width: 120px;
	height: 140%;
	background: linear-gradient(-90deg, rgba(200, 168, 111, .14) 0 14px, transparent 14px 34px, rgba(200, 168, 111, .08) 34px 48px, transparent 48px);transform: skewX(-22deg);
	pointer-events: none;
}
body .rg-ct-hero h1,
body .rg-blog-hero h1,
body .rg-post-hero h1,
body .rg-ab-hero h1 {
	position: relative;
	margin: 0 0 18px;
	color: #fff;
	font-size: clamp(2.3rem, 4.8vw, 4rem);
	font-weight: 600;
	font-stretch: 118%;
	line-height: 1.04;
	letter-spacing: -.025em;
	max-width: 20ch;
}
body .rg-ct-lead,
body .rg-blog-lead,
body .rg-ab-lead {
	position: relative;
	margin: 0;
	max-width: 58ch;
	color: rgba(220, 227, 238, .82);
	font-size: clamp(1.05rem, 1.4vw, 1.2rem);
	line-height: 1.7;
}
body .rg-ct-hero .container,
body .rg-blog-hero .container,
body .rg-post-hero .container { position: relative; z-index: 1; padding-top: 72px; padding-bottom: 72px; }

/* Keyboard focus: one visible style for the new pages */
body .rg-about a:focus-visible, body .rg-contact a:focus-visible, body .rg-blog a:focus-visible, body .rg-post a:focus-visible,
body .rg-post button:focus-visible, body .rg-cf button:focus-visible {
	outline: 2px solid var(--rg-g-500);
	outline-offset: 3px;
}

/* ==========================================================================
   About
   ========================================================================== */
body .rg-ab-hero-grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
	align-items: center;
	gap: 64px;
	padding-top: 72px;
	padding-bottom: 96px;
}
body .rg-ab-hero h1 { font-size: clamp(2.1rem, 4vw, 3.4rem); max-width: 18ch; }
body .rg-ab-hero-media {
	position: relative;
	aspect-ratio: 5 / 4;
	clip-path: polygon(0 0, calc(100% - 56px) 0, 100% 56px, 100% 100%, 56px 100%, 0 calc(100% - 56px));
}
body .rg-ab-hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
body .rg-ab-hero-media::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(-200deg, rgba(10, 19, 34, 0) 50%, rgba(10, 19, 34, .45));
}

body .rg-ab-stats { position: relative; z-index: 2; margin-top: -48px; }
body .rg-ab-stats-row {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	background: #fff;
	box-shadow: 0 30px 60px -30px rgba(10, 19, 34, .35);
	clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
}
body .rg-ab-stat { padding: 36px 40px; border-right: 1px solid var(--rg-line); }
body .rg-ab-stat:first-child { border-right: 0; }
body .rg-ab-stat-num {
	display: block;
	color: var(--rg-n-800);
	font-size: clamp(2.2rem, 3.6vw, 3.2rem);
	font-weight: 600;
	font-stretch: 118%;
	line-height: 1;
	letter-spacing: -.02em;
}
body .rg-ab-stat-num::after { content: ''; display: block; width: 28px; height: 2px; margin: 14px 0 12px; background: var(--rg-g-500); }
body .rg-ab-stat-label { color: var(--rg-muted); font-size: .98rem; line-height: 1.5; }

body .rg-ab-story { padding: 112px 0 104px; background: #fff; }
body .rg-ab-story-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 72px; align-items: start; }
body .rg-ab-story .rg3-head { position: sticky; top: 120px; }
body .rg-ab-story-text p { color: var(--rg-ink); font-size: 1.06rem; line-height: 1.85; margin: 0 0 20px; }
body .rg-ab-quote {
	position: relative;
	margin: 36px 0 0;
	padding: 28px 40px 28px 32px;
	background: var(--rg-paper);
	color: var(--rg-n-800);
	font-size: 1.2rem;
	font-weight: 500;
	font-stretch: 108%;
	line-height: 1.55;
	border: 0;
}
body .rg-ab-quote::before { content: ''; position: absolute; right: 0; top: 0; bottom: 0; width: 4px; background: var(--rg-g-500); }

body .rg-ab-caps { padding: 104px 0; background: var(--rg-grid-light), var(--rg-paper); }
body .rg-ab-caps .rg3-head-row { margin-bottom: 48px; }
body .rg-ab-caps-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
body .rg-ab-cap {
	position: relative;
	padding: 36px 36px 34px;
	background: #fff;
	border: 1px solid var(--rg-line);
	transition: transform .4s var(--rg-ease), box-shadow .4s ease, border-color .3s ease;
}
body .rg-ab-cap:hover { transform: translateY(-4px); border-color: rgba(200, 168, 111, .6); box-shadow: 0 24px 48px -30px rgba(10, 19, 34, .4); }
body .rg-ab-cap-num { display: block; margin-bottom: 18px; color: var(--rg-g-700); font-weight: 600; font-stretch: 112%; font-size: .95rem; }
body .rg-ab-cap h3 { margin: 0 0 10px; color: var(--rg-n-900); font-size: 1.3rem; font-weight: 600; font-stretch: 110%; line-height: 1.25; }
body .rg-ab-cap p { margin: 0; color: var(--rg-muted); line-height: 1.75; }
body .rg-ab-cap-wide {
	grid-column: 1 / -1;
	color: #fff;
	background: var(--rg-grid), var(--rg-n-800);
	border-color: var(--rg-n-800);
	clip-path: polygon(0 0, calc(100% - 32px) 0, 100% 32px, 100% 100%, 0 100%);
}
body .rg-ab-cap-wide h3 { color: #fff; }
body .rg-ab-cap-wide p { color: rgba(220, 227, 238, .82); margin-top: 10px; max-width: 90ch; }

body .rg-ab-method { padding: 112px 0; background: #fff; }
body .rg-ab-method .rg3-head { margin-bottom: 56px; }
body .rg-ab-steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--rg-line);
}
body .rg-ab-step { position: relative; padding: 36px 0 40px 32px; border-bottom: 1px solid var(--rg-line); }
body .rg-ab-step:not(:nth-child(3n + 1)) { padding-right: 32px; border-right: 1px solid var(--rg-line); }
body .rg-ab-step::before {
	content: '';
	position: absolute;
	top: -1px;
	right: 0;
	width: 0;
	height: 2px;
	background: var(--rg-g-500);
	transition: width .5s var(--rg-ease);
}
body .rg-ab-step:hover::before { width: 100%; }
body .rg-ab-step-num { display: block; margin-bottom: 16px; color: var(--rg-line); font-size: 2.8rem; font-weight: 600; font-stretch: 120%; line-height: 1; -webkit-text-stroke: 1px var(--rg-g-500); color: transparent; }
body .rg-ab-step h3 { margin: 0 0 10px; color: var(--rg-n-900); font-size: 1.18rem; font-weight: 600; font-stretch: 110%; }
body .rg-ab-step p { margin: 0; color: var(--rg-muted); line-height: 1.75; }
body .rg-ab-method-note {
	margin: 48px 0 0;
	padding: 24px 28px;
	background: var(--rg-paper);
	color: var(--rg-ink);
	line-height: 1.75;
	border-right: 3px solid var(--rg-g-500);
}
body .rg-ab-method-note strong { color: var(--rg-n-900); }

body .rg-ab-values { padding: 96px 0; background: var(--rg-grid), var(--rg-n-900); }
body .rg-ab-values-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
body .rg-ab-value-icon {
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	margin-bottom: 22px;
	border: 1px solid rgba(200, 168, 111, .45);
	clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}
body .rg-ab-value-icon img { width: 34px; height: 34px; object-fit: contain; }
body .rg-ab-value h3 { margin: 0 0 10px; color: #fff; font-size: 1.3rem; font-weight: 600; font-stretch: 110%; }
body .rg-ab-value p { margin: 0; color: rgba(205, 214, 230, .75); line-height: 1.75; }

body .rg-ab-brands { padding: 72px 0 24px; background: #fff; }
body .rg-ab-brands-title { margin: 0 0 28px; text-align: center; color: var(--rg-muted); font-size: .95rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
body .rg-ab-brands-list { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 20px 56px; margin: 0; padding: 0; list-style: none; }
body .rg-ab-brands-list img { max-height: 46px; width: auto; filter: grayscale(1); opacity: .65; transition: filter .3s ease, opacity .3s ease; }
body .rg-ab-brands-list li:hover img { filter: none; opacity: 1; }
body .rg-ab-brands-list span { color: var(--rg-n-800); font-weight: 600; font-stretch: 115%; font-size: 1.2rem; }
body .rg-ab-cta { padding-top: 72px; }
body:has(.rg-ab-cta) #footer, body.page-template-templatestemplate-about-php #footer { padding-top: 240px; }

/* ==========================================================================
   Contact
   ========================================================================== */
body .rg-ct-body { padding: 0 0 104px; background: linear-gradient(var(--rg-n-900) 0 120px, var(--rg-paper) 120px); }
body .rg-ct-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 28px; align-items: start; }
body .rg-ct-info {
	padding: 40px 36px;
	color: #fff;
	background: var(--rg-grid), var(--rg-n-800);
	clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%);
}
body .rg-ct-info > h2 { margin: 0 0 24px; color: #fff; font-size: 1.35rem; font-weight: 600; font-stretch: 110%; }
body .rg-ct-list { margin: 0; padding: 0; list-style: none; }
body .rg-ct-list li { display: flex; gap: 16px; padding: 18px 0; border-top: 1px solid rgba(140, 165, 205, .18); }
body .rg-ct-list li:first-child { border-top: 0; padding-top: 0; }
body .rg-ct-ico {
	flex: 0 0 44px;
	display: grid;
	place-items: center;
	height: 44px;
	color: var(--rg-g-300);
	border: 1px solid rgba(200, 168, 111, .4);
}
body .rg-ct-list small, body .rg-ct-list .rg-ct-k { display: block; margin-bottom: 3px; color: rgba(205, 214, 230, .62); font-size: .82rem; }
body .rg-ct-list a, body .rg-ct-list strong, body .rg-ct-list .rg-ct-v { color: #fff; font-weight: 500; word-break: break-word; }
body .rg-ct-list a:hover { color: var(--rg-g-300); }
body .rg-ct-social { display: flex; gap: 10px; margin: 20px 0 0; }
body .rg-ct-social a { padding: 8px 14px; color: #fff; font-size: .9rem; border: 1px solid rgba(140, 165, 205, .3); transition: border-color .3s ease, color .3s ease; }
body .rg-ct-social a:hover { color: var(--rg-g-300); border-color: var(--rg-g-500); }
body .rg-ct-note { margin-top: 28px; padding: 22px 22px 20px; background: rgba(10, 19, 34, .35); border-right: 3px solid var(--rg-g-500); }
body .rg-ct-note p { margin: 0 0 12px; color: rgba(220, 227, 238, .82); font-size: .95rem; line-height: 1.7; }
body .rg-ct-note strong { color: #fff; }
body .rg-ct-note a { color: var(--rg-g-300); font-weight: 600; border-bottom: 1px solid currentColor; }
body .rg-ct-note a:hover { color: #fff; }

body .rg-ct-form-wrap {
	padding: 44px 44px 40px;
	background: #fff;
	box-shadow: 0 30px 60px -36px rgba(10, 19, 34, .35);
	scroll-margin-top: 110px;
}
body .rg-cf h2, body .rg-cf-success h2 { margin: 0 0 24px; color: var(--rg-n-900); font-size: 1.6rem; font-weight: 600; font-stretch: 112%; }
body .rg-cf-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
body .rg-cf-field { margin-bottom: 20px; }
body .rg-cf-field label { display: block; margin-bottom: 8px; color: var(--rg-n-900); font-size: .92rem; font-weight: 600; }
body .rg-cf-field label span { color: var(--rg-g-700); }
body .rg-cf-field label small { color: var(--rg-muted); font-weight: 400; }
body .rg-cf input[type=text], body .rg-cf input[type=email], body .rg-cf input[type=tel], body .rg-cf select, body .rg-cf textarea {
	width: 100%;
	height: auto;
	padding: 13px 16px;
	color: var(--rg-ink);
	font: inherit;
	font-size: 1rem;
	background: var(--rg-paper);
	border: 1px solid var(--rg-line);
	border-bottom: 2px solid #c6cdd8;
	border-radius: 0;
	box-shadow: none;
	transition: border-color .25s ease, background-color .25s ease;
}
body .rg-cf textarea { min-height: 150px; resize: vertical; line-height: 1.6; }
body .rg-cf select { appearance: none; -webkit-appearance: none; padding-left: 44px; background: var(--rg-paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2316233b' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat left 16px center; }
body .rg-cf input:hover, body .rg-cf select:hover, body .rg-cf textarea:hover { border-bottom-color: var(--rg-n-500); }
body .rg-cf input:focus, body .rg-cf select:focus, body .rg-cf textarea:focus {
	outline: none;
	background-color: #fff;
	border-color: var(--rg-g-500);
	box-shadow: 0 0 0 3px rgba(200, 168, 111, .25);
}
body .rg-cf [aria-invalid="true"] { border-color: #c2410c; border-bottom-color: #c2410c; background-color: #fff8f5; }
body .rg-cf-error { margin: 6px 0 0; color: #b42318; font-size: .88rem; }
body .rg-cf-error-form { margin: 0 0 22px; padding: 12px 16px; background: #fef3f2; border-right: 3px solid #b42318; }
body .rg-cf-check { position: relative; display: grid; grid-template-columns: 22px 1fr; gap: 12px; margin: 4px 0 26px; }
body .rg-cf-check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--rg-n-800); }
body .rg-cf-check input:focus-visible { outline: 2px solid var(--rg-g-500); outline-offset: 2px; }
body .rg-cf-check label { color: var(--rg-muted); font-size: .9rem; line-height: 1.6; }
body .rg-cf-check .rg-cf-error { grid-column: 2; margin-top: 0; }
body .rg-cf-hp { position: absolute !important; right: -9999px; width: 1px; height: 1px; overflow: hidden; }
body .rg-cf button[type=submit] { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
body .rg-cf-success { text-align: right; outline: none; }
body .rg-cf-success-ico {
	display: grid;
	place-items: center;
	width: 60px;
	height: 60px;
	margin-bottom: 22px;
	color: #fff;
	background: var(--rg-n-800);
	clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}
body .rg-cf-success-ico svg { color: var(--rg-g-300); }
body .rg-cf-success p { margin: 0 0 28px; color: var(--rg-muted); line-height: 1.75; max-width: 52ch; }

body .rg-ct-links { padding: 80px 0 96px; background: #fff; }
body .rg-ct-links-title { margin: 0 0 24px; color: var(--rg-n-900); font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 600; font-stretch: 112%; }
body .rg-ct-chips, body .rg-blog-chips { display: flex; flex-wrap: wrap; gap: 10px; }
body .rg-ct-chips a {
	padding: 12px 20px;
	color: var(--rg-n-800);
	font-weight: 500;
	border: 1px solid var(--rg-line);
	transition: color .25s ease, background-color .25s ease, border-color .25s ease;
}
body .rg-ct-chips a:hover { color: #fff; background: var(--rg-n-800); border-color: var(--rg-n-800); }

/* ==========================================================================
   Blog listing
   ========================================================================== */
body .rg-blog-hero .container { padding-bottom: 64px; }
body .rg-blog-chips { position: relative; margin-top: 32px; }
body .rg-blog-chips a {
	padding: 9px 18px;
	color: rgba(226, 232, 242, .85);
	font-size: .92rem;
	font-weight: 500;
	border: 1px solid rgba(140, 165, 205, .3);
	transition: color .25s ease, border-color .25s ease, background-color .25s ease;
}
body .rg-blog-chips a:hover { color: #fff; border-color: var(--rg-g-500); }
body .rg-blog-chips a.is-active { color: var(--rg-n-900); background: var(--rg-g-500); border-color: var(--rg-g-500); }

body .rg-blog-body { padding: 72px 0 112px; background: var(--rg-grid-light), var(--rg-paper); }
body .rg-blog-feature {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
	margin-bottom: 40px;
	background: #fff;
	box-shadow: 0 30px 60px -40px rgba(10, 19, 34, .4);
}
body .rg-blog-feature-media { position: relative; display: block; min-height: 380px; overflow: hidden; }
body .rg-blog-feature-media img, body .rg-blog-feature-media .rg-blog-card-blank { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--rg-ease); }
body .rg-blog-feature:hover .rg-blog-feature-media img { transform: scale(1.04); }
body .rg-blog-feature-body { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 48px 48px 44px; }
body .rg-blog-feature h2 { margin: 6px 0 14px; font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 600; font-stretch: 112%; line-height: 1.15; letter-spacing: -.015em; }
body .rg-blog-feature h2 a, body .rg-blog-card h3 a { color: var(--rg-n-900); background: linear-gradient(var(--rg-g-500), var(--rg-g-500)) 0 100% / 0 2px no-repeat; transition: background-size .45s var(--rg-ease); }
body .rg-blog-feature h2 a:hover, body .rg-blog-card h3 a:hover { background-size: 100% 2px; }
body .rg-blog-feature .rg-blog-excerpt { margin-bottom: 18px; }
body .rg-blog-feature .button { margin-top: 10px; }
body .rg-blog-badge { padding: 4px 10px; color: var(--rg-n-900); background: var(--rg-g-300); font-size: .78rem; font-weight: 600; letter-spacing: .02em; }

body .rg-blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
body .rg-blog-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--rg-line);
	transition: transform .45s var(--rg-ease), box-shadow .45s ease, border-color .3s ease;
}
body .rg-blog-card:hover { transform: translateY(-6px); border-color: rgba(200, 168, 111, .55); box-shadow: 0 28px 50px -34px rgba(10, 19, 34, .45); }
body .rg-blog-card-media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; clip-path: polygon(0 0, 100% 0, 100% 100%, 28px 100%, 0 calc(100% - 28px)); }
body .rg-blog-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--rg-ease); }
body .rg-blog-card:hover .rg-blog-card-media img { transform: scale(1.06); }
body .rg-blog-card-blank { display: block; width: 100%; height: 100%; background: var(--rg-grid), var(--rg-n-800); }
body .rg-blog-card-body { display: flex; flex: 1; flex-direction: column; padding: 24px 26px 26px; }
body .rg-blog-card h3 { margin: 0 0 10px; font-size: 1.2rem; font-weight: 600; font-stretch: 110%; line-height: 1.3; }
body .rg-blog-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 0 0 12px; color: var(--rg-muted); font-size: .85rem; }
body .rg-blog-meta > span:not(.rg-blog-badge) + span::before { content: ''; display: inline-block; width: 4px; height: 4px; margin-left: 14px; vertical-align: middle; background: var(--rg-g-500); transform: rotate(-45deg); }
body .rg-blog-cat { color: var(--rg-g-700); font-weight: 600; }
body .rg-blog-cat:hover { color: var(--rg-n-900); }
body .rg-blog-excerpt { margin: 0 0 20px; color: var(--rg-muted); line-height: 1.7; }
body .rg-blog-more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; color: var(--rg-n-800); font-weight: 600; font-stretch: 108%; }
body .rg-blog-more svg { color: var(--rg-g-500); transition: transform .3s var(--rg-ease); }
body .rg-blog-more:hover svg { transform: translateX(-4px); }

body .rg-pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 56px; }
body .rg-pager .page-numbers, body .rg-pager > a, body .rg-pager > span {
	display: grid;
	place-items: center;
	min-width: 46px;
	height: 46px;
	padding: 0 12px;
	color: var(--rg-n-800);
	font-weight: 600;
	background: #fff;
	border: 1px solid var(--rg-line);
	transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
body .rg-pager a.page-numbers:hover, body .rg-pager > a:hover { border-color: var(--rg-g-500); }
body .rg-pager .current { color: #fff; background: var(--rg-n-800); border-color: var(--rg-n-800); }
body .rg-pager .dots { background: transparent; border-color: transparent; }

body .rg-blog-empty { max-width: 560px; margin: 0 auto; padding: 56px 40px; text-align: center; background: #fff; border: 1px solid var(--rg-line); }
body .rg-blog-empty h2 { margin: 0 0 12px; color: var(--rg-n-900); font-size: 1.6rem; font-weight: 600; font-stretch: 112%; }
body .rg-blog-empty p { margin: 0 0 24px; color: var(--rg-muted); line-height: 1.7; }

/* ==========================================================================
   Single post
   ========================================================================== */
body .rg-post-narrow { max-width: 900px; }
body .rg-post-hero .container { padding-bottom: 120px; }
body .rg-post-hero h1 { max-width: 24ch; font-size: clamp(2rem, 4.2vw, 3.4rem); }
body .rg-post-meta { position: relative; display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0; color: rgba(220, 227, 238, .75); font-size: .95rem; }
body .rg-post-meta span + span::before { content: ''; display: inline-block; width: 4px; height: 4px; margin-left: 18px; vertical-align: middle; background: var(--rg-g-500); transform: rotate(-45deg); }
body .rg-post-meta a { color: var(--rg-g-300); }
body .rg-post-meta a:hover { color: #fff; }
body .rg-post-cover { position: relative; z-index: 2; max-width: 1100px; margin: -80px auto 0; }
body .rg-post-cover img {
	display: block;
	width: 100%;
	max-height: 560px;
	object-fit: cover;
	clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 40px, 100% 100%, 40px 100%, 0 calc(100% - 40px));
	box-shadow: 0 40px 80px -40px rgba(10, 19, 34, .5);
}
body .rg-post-layout { display: grid; grid-template-columns: 72px minmax(0, 760px); justify-content: center; gap: 48px; padding-top: 64px; padding-bottom: 96px; }
body .rg-post-share { position: sticky; top: 120px; align-self: start; display: flex; flex-direction: column; align-items: center; gap: 10px; }
body .rg-post-share > span:first-child { margin-bottom: 4px; color: var(--rg-muted); font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
body .rg-post-share a, body .rg-post-share button {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	color: var(--rg-n-800);
	background: #fff;
	border: 1px solid var(--rg-line);
	cursor: pointer;
	transition: color .25s ease, background-color .25s ease, border-color .25s ease;
}
body .rg-post-share a:hover, body .rg-post-share button:hover { color: #fff; background: var(--rg-n-800); border-color: var(--rg-n-800); }
body .rg-copy-done { min-height: 1em; color: var(--rg-g-700); font-size: .75rem; text-align: center; }

body .rg-post .rg-post-content { color: var(--rg-ink); font-size: 1.1rem; line-height: 1.85; }
body .rg-post .rg-post-content > p:first-child { font-size: 1.24rem; line-height: 1.7; color: var(--rg-n-800); }
body .rg-post .rg-post-content p { margin: 0 0 1.4em; }
body .rg-post .rg-post-content h2 { margin: 2em 0 .7em; color: var(--rg-n-900); font-size: clamp(1.5rem, 2.4vw, 1.9rem); font-weight: 600; font-stretch: 112%; line-height: 1.2; letter-spacing: -.01em; }
body .rg-post .rg-post-content h2::before { content: ''; display: block; width: 32px; height: 2px; margin-bottom: 16px; background: var(--rg-g-500); }
body .rg-post .rg-post-content h3 { margin: 1.7em 0 .6em; color: var(--rg-n-900); font-size: 1.3rem; font-weight: 600; font-stretch: 110%; }
body .rg-post .rg-post-content ul, body .rg-post .rg-post-content ol { margin: 0 0 1.4em; padding-right: 1.3em; }
body .rg-post .rg-post-content li { margin-bottom: .5em; }
body .rg-post .rg-post-content ul li::marker { color: var(--rg-g-500); }
body .rg-post .rg-post-content a { color: var(--rg-n-800); text-decoration: underline; text-decoration-color: var(--rg-g-500); text-underline-offset: 3px; }
body .rg-post .rg-post-content a:hover { color: var(--rg-g-700); }
body .rg-post .rg-post-content blockquote { margin: 2em 0; padding: 22px 28px; background: var(--rg-paper); border-right: 4px solid var(--rg-g-500); color: var(--rg-n-800); font-size: 1.15rem; }
body .rg-post .rg-post-content img { max-width: 100%; height: auto; }
body .rg-post .rg-post-content table { width: 100%; margin: 0 0 1.6em; border-collapse: collapse; font-size: .98rem; }
body .rg-post .rg-post-content th, body .rg-post .rg-post-content td { padding: 12px 14px; text-align: right; border-bottom: 1px solid var(--rg-line); }
body .rg-post .rg-post-content th { color: var(--rg-n-900); background: var(--rg-paper); }
body .rg-post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 2.4em 0 0; }
body .rg-post-tags a { padding: 6px 12px; color: var(--rg-muted); font-size: .88rem; text-decoration: none; border: 1px solid var(--rg-line); }
body .rg-post-tags a:hover { color: var(--rg-n-900); border-color: var(--rg-g-500); }
body .rg-post-cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 18px 28px;
	margin: 3em 0 0;
	padding: 30px 32px;
	color: #fff;
	background: var(--rg-grid), var(--rg-n-800);
	clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%);
}
body .rg-post-cta p { margin: 0; max-width: 42ch; color: rgba(220, 227, 238, .85); font-size: 1rem; line-height: 1.6; }
body .rg-post-cta strong { color: #fff; }
body .rg-post .rg-post-content .rg-post-cta a.button { color: var(--rg-n-900); text-decoration: none; }
body .rg-post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 40px 0 0; }
body .rg-post-nav a { display: block; padding: 20px 22px; color: var(--rg-n-900); text-decoration: none; border: 1px solid var(--rg-line); transition: border-color .25s ease, background-color .25s ease; }
body .rg-post-nav a:hover { border-color: var(--rg-g-500); background: var(--rg-paper); }
body .rg-post-nav small { display: block; margin-bottom: 6px; color: var(--rg-g-700); font-size: .8rem; font-weight: 600; }
body .rg-post-nav span { display: block; font-weight: 600; font-stretch: 108%; line-height: 1.4; font-size: 1rem; }
body .rg-post-nav-next { grid-column: 2; text-align: left; }
body .rg-post-comments { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--rg-line); font-size: 1rem; }
body .rg-post-comments > h2 { margin: 0 0 20px; color: var(--rg-n-900); font-size: 1.5rem; }
body .rg-post-comments > h2::before { content: none; }
body .rg-post-comments input[type=text], body .rg-post-comments input[type=email], body .rg-post-comments input[type=url], body .rg-post-comments textarea {
	width: 100%; padding: 12px 14px; font: inherit; background: var(--rg-paper); border: 1px solid var(--rg-line); border-radius: 0;
}
body .rg-post-comments input:focus, body .rg-post-comments textarea:focus { outline: none; border-color: var(--rg-g-500); box-shadow: 0 0 0 3px rgba(200, 168, 111, .25); background: #fff; }
body .rg-post-related { padding: 96px 0 112px; background: var(--rg-grid-light), var(--rg-paper); }
body .rg-post-related .rg3-head-row { margin-bottom: 40px; }
body .rg-post-related .rg3-head h2 { margin: 0; }

/* ==========================================================================
   Inner pages — responsive
   ========================================================================== */
@media (max-width: 991px) {
	body .rg-ab-hero-grid { grid-template-columns: 1fr; gap: 40px; padding-bottom: 88px; }
	body .rg-ab-story-grid { grid-template-columns: 1fr; gap: 32px; }
	body .rg-ab-story .rg3-head { position: static; }
	body .rg-ab-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	body .rg-ab-step:not(:nth-child(3n + 1)) { padding-right: 0; border-right: 0; }
	body .rg-ab-step:nth-child(even) { padding-right: 28px; border-right: 1px solid var(--rg-line); }
	body .rg-ab-values-grid { grid-template-columns: 1fr; gap: 36px; }
	body .rg-ct-grid { grid-template-columns: 1fr; }
	body .rg-ct-form-wrap { order: -1; }
	body .rg-blog-feature { grid-template-columns: 1fr; }
	body .rg-blog-feature-media { min-height: 280px; }
	body .rg-blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	body .rg-post-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	body .rg-post-share { position: static; flex-direction: row; flex-wrap: wrap; justify-content: flex-start; padding-bottom: 20px; border-bottom: 1px solid var(--rg-line); }
	body .rg-post-share > span:first-child { margin: 0 0 0 6px; }
	body .rg-post-cover { margin-top: -60px; padding: 0 15px; }
}
@media (max-width: 767px) {
	body .rg-ab-stats-row { grid-template-columns: 1fr; }
	body .rg-ab-stat { padding: 24px 28px; border-right: 0; border-top: 1px solid var(--rg-line); }
	body .rg-ab-stat:first-child { border-top: 0; }
	body .rg-ab-story, body .rg-ab-caps, body .rg-ab-method { padding: 72px 0; }
	body .rg-ab-caps-grid { grid-template-columns: 1fr; }
	body .rg-ab-cap { padding: 28px 24px; }
	body .rg-ab-steps { grid-template-columns: 1fr; }
	body .rg-ab-step, body .rg-ab-step:nth-child(even) { padding: 28px 0; border-right: 0; }
	body .rg-ab-values { padding: 72px 0; }
	body .rg-ct-hero .container, body .rg-blog-hero .container { padding-top: 48px; padding-bottom: 48px; }
	body .rg-ct-body { background: linear-gradient(var(--rg-n-900) 0 60px, var(--rg-paper) 60px); padding-bottom: 72px; }
	body .rg-ct-form-wrap { padding: 32px 22px 28px; }
	body .rg-ct-info { padding: 32px 24px; }
	body .rg-cf-row { grid-template-columns: 1fr; }
	body .rg-cf button[type=submit] { width: 100%; justify-content: center; }
	body .rg-ct-links { padding: 56px 0 72px; }
	body .rg-blog-body { padding: 48px 0 80px; }
	body .rg-blog-grid { grid-template-columns: 1fr; gap: 20px; }
	body .rg-blog-feature-body { padding: 28px 24px 30px; }
	body .rg-blog-feature-media { min-height: 220px; }
	body .rg-post-hero .container { padding-top: 48px; padding-bottom: 96px; }
	body .rg-post-cover img { clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px)); }
	body .rg-post-layout { padding-top: 40px; padding-bottom: 64px; }
	body .rg-post .rg-post-content { font-size: 1.04rem; }
	body .rg-post-nav { grid-template-columns: 1fr; }
	body .rg-post-nav-next { grid-column: auto; }
	body .rg-post-related { padding: 72px 0 80px; }
	body .rg-ab-hero::after, body .rg-ct-hero::after, body .rg-blog-hero::after, body .rg-post-hero::after { opacity: .5; left: -40px; }
}
@media (prefers-reduced-motion: reduce) {
	body .rg-blog-card, body .rg-blog-card-media img, body .rg-blog-feature-media img, body .rg-ab-cap { transition: none; }
	body .rg-blog-card:hover, body .rg-ab-cap:hover { transform: none; }
}

/* Inner pages sit directly under the header */
body.inner-page .site-main.rg-about, body.inner-page .site-main.rg-contact, body.inner-page .site-main.rg-blog, body.inner-page .site-main.rg-post { margin-top: 0; margin-bottom: 0; }
/* Six menu items: keep each on one line */
body .header-menu > li > a { white-space: nowrap; }
@media (min-width: 992px) and (max-width: 1279px) {
	body .header-menu > li > a { padding: 10px 9px !important; font-size: .88rem; }
}
/* Value icons are dark artwork: give them a light plate on navy */
body .rg-ab-value-icon { background: var(--rg-g-300); border-color: var(--rg-g-300); }
/* Visually hidden text for screen readers */
body .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}
body .rg-post .rg-post-content p { color: var(--rg-ink); text-align: right; font-size: inherit; }
body .rg-post .rg-post-content > p:first-child { color: var(--rg-n-800); font-size: 1.24rem; }
body .rg-post .rg-post-content ul { list-style: disc outside; }
body .rg-post .rg-post-content ol { list-style: decimal outside; }
body .rg-post .editor-content.main-content ul li::before { content: none; }
body .rg-post .rg-post-content li { color: var(--rg-ink); line-height: 1.75; padding-right: 4px; }
body .rg-post .rg-post-content li strong { color: var(--rg-n-900); }
body .rg-post-comments input, body .rg-post-comments textarea { text-align: right; direction: rtl; }
body .rg-post-comments .comment-form { padding: 0 !important; background: none !important; }
body .rg-cf input[aria-invalid="true"], body .rg-cf textarea[aria-invalid="true"] { border-color: #c2410c; border-bottom-color: #c2410c; background-color: #fff8f5; }
body .rg-post .rg-post-content ul { list-style: none; padding-right: 0; }
body .rg-post .rg-post-content ul > li { position: relative; display: block; padding-right: 26px; }
body .rg-post .editor-content.main-content ul > li::before {
	content: '';
	position: absolute;
	right: 4px;
	top: .72em;
	width: 7px;
	height: 7px;
	margin: 0;
	border-radius: 0;
	background: var(--rg-g-500);
	transform: rotate(-45deg);
}
body .rg-post .rg-post-content li strong { font-weight: 700; }
body .rg-post .rg-post-content .rg-post-cta p { color: rgba(220, 227, 238, .85); font-size: 1rem; margin: 0; }
body .rg-post .rg-post-content .rg-post-comments > h2::before,
body .rg-post .rg-post-content .rg-post-comments h2::before,
body .rg-post .rg-post-content .rg-post-comments h3::before { content: none; }
body .rg-post-comments input::placeholder, body .rg-post-comments textarea::placeholder { text-align: right !important; }
body .rg-post-comments input, body .rg-post-comments textarea { text-align: right !important; direction: rtl !important; }
/* 404 */
body .rg-404-hero .container { padding-top: 96px; padding-bottom: 120px; }
body .rg-404-code { position: relative; margin: 0 0 8px; color: transparent; -webkit-text-stroke: 1px var(--rg-g-500); font-size: clamp(5rem, 14vw, 10rem); font-weight: 600; font-stretch: 120%; line-height: 1; }
body .rg-404-actions { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 36px; }


/* ---------- Header: the logo never shrinks; the menu takes the remaining width ---------- */
@media (min-width: 992px) {
	body #header .row { flex-wrap: nowrap; }
	body #header .navtop-right { flex: 1 1 auto; width: auto; max-width: none; min-width: 0; display: flex; align-items: center; flex-wrap: nowrap; }
	body #header .navtop-left { flex: 0 0 auto; width: auto; max-width: none; }
	body #header .header-logo { flex: 0 0 auto; display: block; }
	body #header .header-logo img { width: auto; min-width: 70px; }
	body #header .wrap-menu { min-width: 0; flex: 1 1 auto; }
	body #header .header-menu { flex-wrap: nowrap; }
}
@media (min-width: 992px) and (max-width: 1399px) {
	body .header-logo { margin-left: 28px; }
	body .header-menu > li > a { padding: 10px 10px !important; }
	body .header-menu > li + li::before { margin: 0 2px; }
}
@media (min-width: 992px) and (max-width: 1199px) {
	body .header-logo { margin-left: 16px; }
	body .header-logo img { height: 56px; }
	body .header-menu > li > a { padding: 10px 6px !important; font-size: .84rem; }
	body .header-menu > li + li::before { display: none; }
}

/* ==========================================================================
   Login / register modal
   ========================================================================== */
body #ragvel-auth-modal { direction: rtl; }
body #ragvel-auth-modal .modal-dialog {
	max-width: 460px;
	margin: 12vh auto 24px;
	padding: 0 16px;
	background: transparent;
}
body #ragvel-auth-modal .modal-content {
	position: relative;
	overflow: hidden;
	color: #fff;
	text-align: right;
	background: var(--rg-grid), radial-gradient(ellipse 90% 80% at 100% 0%, #1f3356 0%, var(--rg-n-900) 65%);
	border: 0;
	border-radius: 0;
	clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 28px 100%, 0 calc(100% - 28px));
	box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7);
}
body #ragvel-auth-modal .modal-content::before {
	content: '';
	position: absolute;
	right: 0; left: 0; top: 0;
	height: 2px;
	background: linear-gradient(-90deg, var(--rg-g-500), rgba(200, 168, 111, 0));
}
body #ragvel-auth-modal .modal-header {
	position: relative;
	display: block;
	padding: 36px 40px 8px;
	border: 0;
}
body #ragvel-auth-modal .rg-auth-kicker {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 12px;
	color: var(--rg-g-300);
	font-size: .82rem;
	font-weight: 600;
	letter-spacing: .04em;
}
body #ragvel-auth-modal .rg-auth-kicker::before { content: ''; width: 24px; height: 1px; background: var(--rg-g-500); }
body #ragvel-auth-modal .modal-title {
	margin: 0 0 10px;
	color: #fff;
	font-size: 1.7rem;
	font-weight: 600;
	font-stretch: 115%;
	line-height: 1.15;
	letter-spacing: -.01em;
}
body #ragvel-auth-modal .rg-auth-sub { margin: 0; color: rgba(205, 214, 230, .72); font-size: .94rem; line-height: 1.6; }
body #ragvel-auth-modal .rg-auth-close {
	position: absolute;
	top: 22px;
	left: 22px;
	right: auto;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	margin: 0;
	padding: 0;
	color: rgba(255, 255, 255, .75);
	background: transparent;
	border: 1px solid rgba(140, 165, 205, .3);
	opacity: 1;
	text-shadow: none;
	cursor: pointer;
	transition: color .25s ease, border-color .25s ease, transform .3s var(--rg-ease);
}
body #ragvel-auth-modal .rg-auth-close:hover { color: var(--rg-g-300); border-color: var(--rg-g-500); transform: rotate(-90deg); }
body #ragvel-auth-modal .rg-auth-close:focus-visible { outline: 2px solid var(--rg-g-500); outline-offset: 2px; }
body #ragvel-auth-modal .modal-body { padding: 24px 40px 40px; }
body #ragvel-auth-modal .form-row { display: block; margin: 0 0 18px; }
body #ragvel-auth-modal .form-row > [class*=col-] { position: relative; padding: 0; max-width: 100%; }
body #ragvel-auth-modal .form-row .col-md-6 { margin-bottom: 14px; }
body #ragvel-auth-modal form label:not(.error),
body #ragvel-auth-modal form .form-text,
body #ragvel-auth-modal form .form-description { text-align: right; }
body #ragvel-auth-modal form label:not(.error) { margin: 0 0 8px; color: #fff !important; font-size: .9rem; font-weight: 600; }
body #ragvel-auth-modal form .form-text,
body #ragvel-auth-modal form .form-description { margin: -2px 0 10px; color: rgba(205, 214, 230, .7) !important; font-size: .85rem; }
body #ragvel-auth-modal form input {
	height: 54px;
	margin: 0;
	padding: 0 18px;
	color: #fff;
	font-size: 1.05rem;
	letter-spacing: .04em;
	background: rgba(10, 19, 34, .55);
	border: 1px solid rgba(140, 165, 205, .32);
	border-bottom: 2px solid rgba(200, 168, 111, .5);
	border-radius: 0;
	box-shadow: none;
	-moz-appearance: textfield;
}
body #ragvel-auth-modal form input::-webkit-outer-spin-button,
body #ragvel-auth-modal form input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
body #ragvel-auth-modal form input::placeholder { color: rgba(205, 214, 230, .4); }
body #ragvel-auth-modal form input:focus {
	outline: none;
	background: rgba(10, 19, 34, .8);
	border-color: var(--rg-g-500);
	box-shadow: 0 0 0 3px rgba(200, 168, 111, .22);
}
body #ragvel-auth-modal form label.error { position: static; display: block; margin-top: 8px; text-align: right; color: #f9a58c; font-size: .84rem; }
body #ragvel-auth-modal form button[type=submit],
body #ragvel-auth-modal form .button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 54px;
	margin: 6px 0 0;
	color: var(--rg-n-900);
	background: var(--rg-g-500);
	font-weight: 600;
}
body #ragvel-auth-modal .form-row.buttons-wrapper { display: block; }
body #ragvel-auth-modal .resend_code_wrapper { margin-top: 16px; text-align: center; }
body #ragvel-auth-modal .resend_code_wrapper span.resend-code { color: var(--rg-g-300); font-size: .9rem; font-weight: 500; border-bottom: 1px solid rgba(200, 168, 111, .5); }
body #ragvel-auth-modal .resend_code_wrapper span.resend-code.disable { color: rgba(205, 214, 230, .5); border-color: transparent; }
body #ragvel-auth-modal .alert { margin: 0 0 18px; padding: 12px 16px; text-align: right; background: rgba(200, 168, 111, .14) !important; border-right: 3px solid var(--rg-g-500); color: #fff; font-size: .88rem; }
body .modal-backdrop.show { opacity: .72; background: var(--rg-n-950); }
@media (max-width: 575px) {
	body #ragvel-auth-modal .modal-dialog { margin-top: 8vh; }
	body #ragvel-auth-modal .modal-header { padding: 30px 24px 6px; }
	body #ragvel-auth-modal .modal-body { padding: 20px 24px 30px; }
	body #ragvel-auth-modal .modal-title { font-size: 1.45rem; padding-left: 44px; }
	body #ragvel-auth-modal .rg-auth-close { top: 16px; left: 16px; }
}
/* About: the client's intro text leads the story; icon items shown at full size */
body .rg-ab-story-text .rg-ab-intro p { color: var(--rg-n-900); font-size: 1.14rem; }
body .rg-ab-story-text .rg-ab-intro { padding-bottom: 12px; margin-bottom: 28px; border-bottom: 1px solid var(--rg-line); }
body .rg-ab-value-icon { width: 84px; height: 84px; margin-bottom: 24px; background: none; border: 0; clip-path: none; }
body .rg-ab-value-icon img { width: 84px; height: 84px; }
body .rg-ab-value { text-align: right; }
body .rg-ab-values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* ---------- Contact: address, map ---------- */
body .rg-ct-list .rg-ct-address { line-height: 1.5; }
body .rg-ct-list .rg-ct-v { display: block; color: #fff; font-weight: 500; }
body .rg-ct-list li > span:last-child a { display: block; }
body .rg-ct-map { padding: 0 0 96px; background: var(--rg-paper); }
body .rg-ct-map-frame {
	position: relative;
	height: 420px;
	overflow: hidden;
	background: var(--rg-n-900);
	clip-path: polygon(0 0, calc(100% - 32px) 0, 100% 32px, 100% 100%, 32px 100%, 0 calc(100% - 32px));
}
body .rg-ct-map-frame iframe { display: block; width: 100%; height: 100%; border: 0; filter: grayscale(.35) contrast(1.05); }
body .rg-ct-map-card {
	position: absolute;
	right: 28px;
	bottom: 28px;
	max-width: 320px;
	padding: 22px 24px;
	color: #fff;
	background: var(--rg-grid), var(--rg-n-800);
	box-shadow: 0 20px 40px -20px rgba(10, 19, 34, .6);
}
body .rg-ct-map-card small { display: block; margin-bottom: 6px; color: var(--rg-g-300); font-size: .8rem; font-weight: 600; letter-spacing: .04em; }
body .rg-ct-map-card p { margin: 0 0 14px; color: #fff; line-height: 1.55; }
body .rg-ct-map-card a { color: var(--rg-g-300); font-weight: 600; border-bottom: 1px solid currentColor; }
body .rg-ct-map-card a:hover { color: #fff; }
@media (max-width: 767px) {
	body .rg-ct-map { padding-bottom: 64px; }
	body .rg-ct-map-frame { height: 340px; }
	body .rg-ct-map-card { right: 12px; left: 12px; bottom: 12px; max-width: none; padding: 16px 18px; }
}

/* ---------- Footer contact list ---------- */
body .rg-footer-contact-list { margin: 0 0 24px; padding: 0; list-style: none; }
body .rg-footer-contact-list li { display: grid; grid-template-columns: 84px 1fr; gap: 12px; padding: 8px 0; border-bottom: 1px solid rgba(140, 165, 205, .12); font-size: .94rem; line-height: 1.5; }
body .rg-footer-contact-list li:last-child { border-bottom: 0; }
body .rg-footer-contact-list span { color: rgba(205, 214, 230, .55); font-size: .82rem; padding-top: 2px; }
body .rg-footer-contact-list a { color: #fff; word-break: break-word; }
body .rg-footer-contact-list a:hover { color: var(--rg-g-300); }

/* ==========================================================================
   Products (catalogue mode)
   ========================================================================== */
body.inner-page .site-main.rg-shop, body.inner-page .site-main.rg-pd { margin-top: 0; margin-bottom: 0; }
body main.rg-shop, body main.rg-pd { margin-top: 0; }

/* ---------- card ---------- */
body .rg-prod-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
body .rg-prod-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
body .rg-prod-grid > li { margin: 0; padding: 0; list-style: none; display: flex; }
body .rg-prod-grid > li::before { content: none; }
body .rg-prod-card {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	background: #fff;
	border: 1px solid var(--rg-line);
	transition: transform .45s var(--rg-ease), box-shadow .45s ease, border-color .3s ease;
}
body .rg-prod-card:hover { transform: translateY(-6px); border-color: rgba(200, 168, 111, .6); box-shadow: 0 28px 50px -34px rgba(10, 19, 34, .45); }
body .rg-prod-media {
	position: relative;
	display: grid;
	place-items: center;
	aspect-ratio: 1 / 1;
	padding: 28px;
	overflow: hidden;
	background: radial-gradient(circle at 50% 45%, #fff 0 55%, #f3f5f8 100%);
	border-bottom: 1px solid var(--rg-line);
}
body .rg-prod-media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .8s var(--rg-ease); }
body .rg-prod-card:hover .rg-prod-media img { transform: scale(1.06); }
body .rg-prod-media::after {
	/* gold chamfer corner */
	content: '';
	position: absolute;
	right: 0; top: 0;
	width: 28px; height: 28px;
	background: linear-gradient(225deg, var(--rg-g-500) 0 50%, transparent 50%);
	opacity: 0;
	transition: opacity .3s ease;
}
body .rg-prod-card:hover .rg-prod-media::after { opacity: 1; }
body .rg-prod-body { display: flex; flex: 1; flex-direction: column; padding: 20px 22px 22px; }
body .rg-prod-cat { margin-bottom: 8px; color: var(--rg-g-700); font-size: .78rem; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; }
body .rg-prod-title { margin: 0 0 6px; font-size: 1.14rem; font-weight: 600; font-stretch: 110%; line-height: 1.3; }
body .rg-prod-title a { color: var(--rg-n-900); background: linear-gradient(var(--rg-g-500), var(--rg-g-500)) 0 100% / 0 2px no-repeat; transition: background-size .45s var(--rg-ease); }
body .rg-prod-title a:hover { background-size: 100% 2px; }
body .rg-prod-title a::after { content: ''; position: absolute; inset: 0; z-index: 0; } /* whole card clickable */
body .rg-prod-sku { color: var(--rg-muted); font-size: .84rem; font-variant-numeric: tabular-nums; }
body .rg-prod-price { margin-top: 8px; color: var(--rg-n-900); font-weight: 600; }
body .rg-prod-actions { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 18px; }
body .rg-prod-more { display: inline-flex; align-items: center; gap: 8px; color: var(--rg-n-800); font-weight: 600; font-size: .94rem; }
body .rg-prod-more svg { color: var(--rg-g-500); transition: transform .3s var(--rg-ease); }
body .rg-prod-more:hover svg { transform: translateX(-4px); }
body .rg-prod-wa {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 8px 12px;
	color: #128c4a;
	font-size: .85rem;
	font-weight: 600;
	border: 1px solid rgba(18, 140, 74, .3);
	transition: color .25s ease, background-color .25s ease, border-color .25s ease;
}
body .rg-prod-wa:hover { color: #fff; background: #128c4a; border-color: #128c4a; }
body .rg-prod-card a:focus-visible { outline: 2px solid var(--rg-g-500); outline-offset: 3px; }

/* ---------- WhatsApp in the header plate ---------- */
body #header .rg-header-actions > a.rg-head-wa {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px !important;
	height: 42px !important;
	margin: 0;
	color: #fff;
	border: 1px solid rgba(255, 255, 255, .16) !important;
	border-right-width: 0 !important;
	border-radius: 0 !important;
	background: rgba(255, 255, 255, .03);
	transition: color .25s ease, background-color .25s ease;
}
body #header .rg-header-actions > a.rg-head-wa:hover { color: #25d366; background: rgba(255, 255, 255, .07); }
body .rg-header-actions > .rg-head-wa:focus-visible { outline: 2px solid var(--rg-g-500); outline-offset: 2px; }

/* ---------- shop ---------- */
body .rg-shop-hero .container { padding-bottom: 64px; }
body .rg-shop-body { padding: 56px 0 96px; background: var(--rg-grid-light), var(--rg-paper); }
body .rg-shop-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
body .rg-shop-count { margin: 0; color: var(--rg-muted); font-size: .95rem; }
body .rg-shop-bar .woocommerce-ordering { margin: 0; }
body .rg-shop-bar select.orderby {
	height: 46px;
	padding: 0 16px 0 44px;
	color: var(--rg-n-900);
	font: inherit;
	font-size: .94rem;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2316233b' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat left 16px center;
	border: 1px solid var(--rg-line);
	border-radius: 0;
	appearance: none;
	-webkit-appearance: none;
	direction: rtl;
}
body .rg-shop-bar select.orderby:focus { outline: 2px solid var(--rg-g-500); outline-offset: 2px; }
body .rg-shop-help { padding: 0 0 104px; background: var(--rg-paper); }
body .rg-shop-help-card {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) auto;
	align-items: center;
	gap: 32px 56px;
	padding: 48px 52px;
	color: #fff;
	background: var(--rg-grid), radial-gradient(ellipse 80% 120% at 100% 0, #1f3356, var(--rg-n-900) 65%);
	clip-path: polygon(0 0, calc(100% - 32px) 0, 100% 32px, 100% 100%, 32px 100%, 0 calc(100% - 32px));
}
body .rg-shop-help-card h2 { margin: 10px 0 12px; color: #fff; font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 600; font-stretch: 112%; line-height: 1.15; }
body .rg-shop-help-card p { margin: 0; max-width: 60ch; color: rgba(220, 227, 238, .8); line-height: 1.7; }
body .rg-shop-help-card .rg3-kicker { color: var(--rg-g-300); }
body .rg-shop-help-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
body .rg-shop-help-actions .rg3-cta-contact { color: #fff; }

/* ---------- home band ---------- */
body .rg3-products { position: relative; padding: 120px 0; color: #fff; background: var(--rg-grid), var(--rg-n-900); overflow: hidden; }
body .rg3-products::before {
	content: '';
	position: absolute;
	left: -60px; top: -20%;
	width: 140px; height: 140%;
	background: linear-gradient(-90deg, rgba(200, 168, 111, .1) 0 16px, transparent 16px 38px, rgba(200, 168, 111, .06) 38px 52px, transparent 52px);transform: skewX(-22deg);
	pointer-events: none;
}
body .rg3-products .container { position: relative; }
body .rg3-products .rg3-head h2 { color: #fff; }
body .rg3-products .rg3-head p { color: rgba(205, 214, 230, .75); }
body .rg3-products .rg3-kicker { color: var(--rg-g-300); }
body .rg3-products-chips { margin: -12px 0 36px; }
body .rg3-products-chips a span { margin-right: 6px; color: var(--rg-g-300); font-size: .8rem; }
body .rg3-products .rg-prod-card { border-color: transparent; }

/* ---------- single product ---------- */
body .rg-pd-top { padding: 28px 0 0; background: var(--rg-paper); }
body .rg-pd-top .rg-sol-crumbs { margin: 0; color: var(--rg-muted); }
body .rg-pd-top .rg-sol-crumbs a { color: var(--rg-n-800); }
body .rg-pd-top .rg-sol-crumbs a:hover { color: var(--rg-g-700); }
body .rg-pd-top .rg-sol-crumbs [aria-current] { color: var(--rg-muted); }
body .rg-pd-main { padding: 32px 0 96px; background: linear-gradient(var(--rg-paper) 0 70%, #fff 70%); }
body .rg-pd-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 64px; align-items: start; }
body .rg-pd-gallery { position: sticky; top: 110px; }
body .rg-pd-stage {
	position: relative;
	display: grid;
	place-items: center;
	aspect-ratio: 1 / 1;
	margin: 0;
	padding: 48px;
	background: radial-gradient(circle at 50% 45%, #fff 0 55%, #f1f3f7 100%);
	border: 1px solid var(--rg-line);
	clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 40px, 100% 100%, 40px 100%, 0 calc(100% - 40px));
}
body .rg-pd-stage img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
body .rg-pd-thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
body .rg-pd-thumb { width: 76px; height: 76px; padding: 6px; background: #fff; border: 1px solid var(--rg-line); cursor: pointer; transition: border-color .25s ease; }
body .rg-pd-thumb img { width: 100%; height: 100%; object-fit: contain; }
body .rg-pd-thumb.is-active, body .rg-pd-thumb:hover { border-color: var(--rg-g-500); }
body .rg-pd-thumb:focus-visible { outline: 2px solid var(--rg-g-500); outline-offset: 2px; }
body .rg-pd-summary { padding-top: 8px; }
body .rg-pd-summary .rg-sol-label { color: var(--rg-g-700); }
body .rg-pd-title { margin: 0 0 14px; color: var(--rg-n-900); font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 600; font-stretch: 118%; line-height: 1.05; letter-spacing: -.02em; }
body .rg-pd-sku { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 7px 12px; font-size: .88rem; background: #fff; border: 1px solid var(--rg-line); }
body .rg-pd-sku span { color: var(--rg-muted); }
body .rg-pd-sku strong { color: var(--rg-n-900); font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
body .rg-pd-short p { margin: 0 0 12px; color: var(--rg-ink); font-size: 1.08rem; line-height: 1.75; }
body .rg-pd-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }
body .rg-pd-actions .button { min-height: 54px; padding-right: 26px; padding-left: 26px; }
body .rg-pd-catalog { display: inline-flex; align-items: center; gap: 10px; }
body .rg-pd-note { margin: 14px 0 0; color: var(--rg-muted); font-size: .9rem; line-height: 1.6; }
body .rg-pd-perks { margin: 32px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--rg-line); }
body .rg-pd-perks li { display: flex; align-items: baseline; gap: 16px; padding: 14px 0; color: var(--rg-n-800); font-size: .96rem; border-bottom: 1px solid var(--rg-line); }
body .rg-pd-perks li::before { content: none; }
body .rg-pd-perks li span { color: var(--rg-g-700); font-size: .8rem; font-weight: 700; font-variant-numeric: tabular-nums; }

body .rg-pd-details { padding: 0 0 104px; background: #fff; }
body .rg-pd-details-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; padding-top: 64px; border-top: 1px solid var(--rg-line); }
body .rg-pd-details-grid.is-single { grid-template-columns: minmax(0, 860px); }
body .rg-pd-details h2 { margin: 0 0 22px; color: var(--rg-n-900); font-size: 1.6rem; font-weight: 600; font-stretch: 112%; }
body .rg-pd-details h2::before { content: ''; display: block; width: 32px; height: 2px; margin-bottom: 14px; background: var(--rg-g-500); }
body .rg-pd-desc-body p { color: var(--rg-ink); font-size: 1.05rem; line-height: 1.85; }
body .rg-pd-specs table { width: 100%; margin: 0; border-collapse: collapse; font-size: .96rem; border-top: 2px solid var(--rg-n-900); }
body .rg-pd-specs th, body .rg-pd-specs td { padding: 14px 16px; text-align: right; vertical-align: top; border-bottom: 1px solid var(--rg-line); line-height: 1.55; }
body .rg-pd-specs th { width: 38%; color: var(--rg-n-900); font-weight: 600; background: var(--rg-paper); }
body .rg-pd-specs td { color: var(--rg-ink); }
body .rg-pd-related { padding: 96px 0 112px; background: var(--rg-grid-light), var(--rg-paper); }
body .rg-pd-related .rg3-head-row { margin-bottom: 36px; }
body .rg-pd-related .rg3-head h2 { margin: 0; }

/* ---------- responsive ---------- */
@media (max-width: 1199px) {
	body .rg-prod-grid-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
	body .rg-prod-grid, body .rg-prod-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
	body .rg-pd-grid { grid-template-columns: 1fr; gap: 36px; }
	body .rg-pd-gallery { position: static; }
	body .rg-pd-details-grid { grid-template-columns: 1fr; gap: 48px; }
	body .rg-shop-help-card { grid-template-columns: 1fr; padding: 40px 32px; }
	body .rg3-products { padding: 88px 0; }
}
@media (max-width: 575px) {
	body .rg-prod-grid, body .rg-prod-grid-4 { gap: 12px; }
	body .rg-prod-media { padding: 16px; }
	body .rg-prod-body { padding: 14px 14px 16px; }
	body .rg-prod-title { font-size: 1rem; }
	body .rg-prod-actions { flex-direction: column; align-items: stretch; gap: 8px; padding-top: 14px; }
	body .rg-prod-wa { justify-content: center; }
	body .rg-pd-stage { padding: 24px; clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px)); }
	body .rg-pd-actions .button { width: 100%; justify-content: center; }
	body .rg-pd-main { padding-bottom: 64px; }
	body .rg-pd-specs th { width: 42%; }
	body .rg-pd-specs th, body .rg-pd-specs td { padding: 12px 10px; font-size: .9rem; }
	body .rg-shop-help-card { padding: 32px 22px; }
	body .rg-shop-body { padding: 36px 0 72px; }
}
@media (max-width: 991px) { body .rg-pd-main { background: var(--rg-paper); } }

/* ==========================================================================
   Language switcher
   ========================================================================== */
body .rg-header-actions > .rg-lang-menu { padding: 0; cursor: pointer; }
body .rg-lang-menu .rg-lang-toggle {
	display: flex;
	align-items: center;
	gap: 7px;
	height: 100%;
	padding: 0 14px;
	color: inherit;
	font: inherit;
	letter-spacing: inherit;
	background: transparent;
	border: 0;
	cursor: pointer;
}
body .rg-lang-menu .rg-lang-toggle svg { transition: transform .25s var(--rg-ease); }
body .rg-lang-menu.is-open .rg-lang-toggle svg { transform: rotate(-180deg); }
body .rg-lang-menu .rg-lang-toggle:focus-visible { outline: 2px solid var(--rg-g-500); outline-offset: 2px; }
body .rg-lang-menu::before { margin-right: 14px; margin-left: 0; }
body .rg-lang-list {
	position: absolute;
	top: calc(100% + 8px);
	left: -1px;
	z-index: 50;
	min-width: 170px;
	margin: 0;
	padding: 6px;
	list-style: none;
	background: var(--rg-n-900);
	border: 1px solid rgba(255, 255, 255, .16);
	box-shadow: 0 24px 40px -20px rgba(0, 0, 0, .6);
}
body .rg-lang-list[hidden] { display: none; }
body .rg-lang-list li { margin: 0; }
body .rg-lang-list li::before { content: none; }
body .rg-lang-list a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 12px;
	color: rgba(255, 255, 255, .85);
	font-size: .9rem;
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
	transition: background-color .2s ease, color .2s ease;
}
body .rg-lang-list a:hover, body .rg-lang-list a:focus-visible { color: #fff; background: rgba(255, 255, 255, .07); outline: none; }
body .rg-lang-list a.is-current { color: var(--rg-g-300); }
body .rg-lang-code { min-width: 24px; font-size: .74rem; font-weight: 700; letter-spacing: .08em; color: var(--rg-g-500); }
body .rg-lang-name { font-family: inherit; }
body .rg-lang-mobile { display: flex; gap: 8px; padding: 14px 20px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
body .rg-lang-mobile a { flex: 1; padding: 9px 6px; text-align: center; color: rgba(255, 255, 255, .8); font-size: .88rem; border: 1px solid rgba(255, 255, 255, .16); }
body .rg-lang-mobile a.is-current { color: var(--rg-n-900); background: var(--rg-g-500); border-color: var(--rg-g-500); }

/* Mobile: the language menu stays in the header, in a compact form */
@media (max-width: 575px) {
	body .rg-header-actions > .rg-lang-switch { display: flex; }
	body .rg-lang-menu::before { display: none; }
	body .rg-lang-menu .rg-lang-toggle { gap: 4px; padding: 0 10px; font-size: .72rem; }
	body .rg-lang-list { min-width: 150px; }
}
@media (max-width: 359px) {
	body .rg-header-actions > .rg-head-wa { display: none; }
}
