/* ==========================================================================
   Randolph Modular - sections & components
   Loaded on the front end AND inside the block editor.
   ========================================================================== */

:root {
	--rmh-navy: #002548;
	--rmh-deep: #001428;
	--rmh-gold: #c9993e;
	--rmh-gold-l: #e6c27a;
	--rmh-cream: #f7f4ee;
	--rmh-sand: #eae3d6;
	--rmh-wood: #a9733f;
	--rmh-ink: #1c2128;
	--rmh-text: #2b323a;
	--rmh-muted: #5e6873;
	--rmh-line: #e4ddcf;
	--rmh-radius: 16px;
	--rmh-shadow: 0 18px 50px -18px rgba(0, 20, 40, 0.28);
	--rmh-shadow-sm: 0 8px 26px -12px rgba(0, 20, 40, 0.25);
	--rmh-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--rmh-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Base typography inside content ---------- */

.rmh-section,
.rmh-trust,
.rmh-hero,
.rmh-cta,
.rmh-canada {
	font-family: var(--rmh-body);
	color: var(--rmh-text);
	line-height: 1.7;
}

.rmh-section h1,
.rmh-section h2,
.rmh-hero h1,
.rmh-cta h2,
.rmh-canada h2 {
	font-family: var(--rmh-display);
	font-weight: 600;
	line-height: 1.08;
	letter-spacing: -0.01em;
	margin: 0 0 0.45em;
}

.rmh-section h2,
.rmh-cta h2,
.rmh-canada h2 {
	font-size: clamp(2.1rem, 3.8vw, 3.2rem);
	color: var(--rmh-navy);
}

.rmh-section h3,
.rmh-card h3,
.rmh-canada h3,
.rmh-hero h3 {
	font-family: var(--rmh-body);
	font-weight: 700;
	font-size: 1.15rem;
	line-height: 1.3;
	letter-spacing: 0;
	color: var(--rmh-navy);
	margin: 0 0 0.45em;
}

.rmh-section p {
	margin: 0 0 1.1em;
}

.rmh-section figure,
.rmh-cta figure,
.rmh-hero figure {
	margin: 0;
}

.rmh-section img {
	display: block;
	max-width: 100%;
	height: auto;
}

/* Dark backgrounds */
.rmh-bg-navy,
.rmh-bg-deep {
	color: rgba(255, 255, 255, 0.82);
}

.rmh-bg-navy h2,
.rmh-bg-navy h3,
.rmh-bg-deep h2,
.rmh-bg-deep h3,
.rmh-hero h1,
.rmh-hero h2,
.rmh-hero h3,
.rmh-cta h2,
.rmh-canada h2,
.rmh-canada h3,
.rmh-on-dark {
	color: #fff !important;
}

/* ---------- Layout ---------- */

.rmh-section {
	padding: clamp(64px, 8vw, 116px) 0;
	position: relative;
}

.rmh-bg-white { background: #fff; }
.rmh-bg-cream { background: var(--rmh-cream); }
.rmh-bg-sand { background: var(--rmh-sand); }
.rmh-bg-navy { background: var(--rmh-navy); }
.rmh-bg-deep { background: linear-gradient(160deg, #001a36 0%, var(--rmh-deep) 100%); }

.rmh-wrap {
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 24px;
	box-sizing: border-box;
	width: 100%;
}

.rmh-wrap--narrow { max-width: 920px; }

/* ---------- Eyebrow / intro / head ---------- */

.rmh-eyebrow {
	font-family: var(--rmh-body);
	font-size: 0.78rem !important;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--rmh-gold) !important;
	margin: 0 0 14px !important;
	display: flex;
	align-items: center;
	gap: 12px;
}

.rmh-eyebrow::before {
	content: "";
	width: 34px;
	height: 2px;
	background: currentColor;
	flex: none;
}

.rmh-eyebrow.has-text-align-center {
	justify-content: center;
}

.rmh-eyebrow.has-text-align-center::after {
	content: "";
	width: 34px;
	height: 2px;
	background: currentColor;
	flex: none;
}

.rmh-eyebrow--light { color: var(--rmh-gold-l) !important; }

.rmh-head { max-width: 760px; margin: 0 0 clamp(32px, 4vw, 56px); }
.rmh-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.rmh-head h2 { margin-bottom: 0.3em; }

.rmh-intro,
.rmh-lead {
	font-size: 1.1rem;
	color: var(--rmh-muted);
}

.rmh-bg-deep .rmh-intro,
.rmh-bg-navy .rmh-intro { color: rgba(255, 255, 255, 0.78); }

.rmh-lead { font-size: 1.2rem; color: rgba(255, 255, 255, 0.88); max-width: 620px; }
.has-text-align-center.rmh-lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */

.wp-block-buttons { gap: 14px; margin-top: 8px; }

.wp-block-button__link,
.rmh-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 15px 32px;
	border-radius: 999px;
	background: var(--rmh-navy);
	color: #fff !important;
	font-family: var(--rmh-body);
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1.2;
	text-decoration: none !important;
	border: 2px solid var(--rmh-navy);
	cursor: pointer;
	transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.wp-block-button__link:hover,
.rmh-btn:hover {
	background: #003a70;
	border-color: #003a70;
	transform: translateY(-2px);
	box-shadow: 0 14px 30px -12px rgba(0, 37, 72, 0.55);
}

.wp-block-button.is-style-outline .wp-block-button__link,
.rmh-btn--outline {
	background: transparent;
	color: var(--rmh-navy) !important;
	border-color: var(--rmh-navy);
}

.wp-block-button.is-style-outline .wp-block-button__link:hover,
.rmh-btn--outline:hover {
	background: var(--rmh-navy);
	color: #fff !important;
}

.wp-block-button.is-style-gold .wp-block-button__link,
.rmh-btn--gold {
	background: linear-gradient(135deg, var(--rmh-gold-l), var(--rmh-gold));
	border-color: transparent;
	color: var(--rmh-deep) !important;
}

.wp-block-button.is-style-gold .wp-block-button__link:hover,
.rmh-btn--gold:hover {
	background: linear-gradient(135deg, #f1d28f, #d6a548);
	border-color: transparent;
	box-shadow: 0 14px 30px -10px rgba(201, 153, 62, 0.65);
}

.wp-block-button.is-style-white .wp-block-button__link {
	background: rgba(255, 255, 255, 0.96);
	border-color: transparent;
	color: var(--rmh-navy) !important;
}

.wp-block-button.is-style-white .wp-block-button__link:hover {
	background: #fff;
	box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.5);
}

.rmh-foot-btn { margin-top: 44px; }

.rmh-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
	color: var(--rmh-navy);
	text-decoration: none;
	border-bottom: 2px solid var(--rmh-gold);
	padding-bottom: 2px;
	transition: gap 0.25s ease, color 0.25s ease;
}

.rmh-link:hover { gap: 14px; color: #003a70; }
.rmh-link .rmh-i { width: 1.05em; height: 1.05em; }

/* ---------- Icons ---------- */

.rmh-i {
	width: 1.25em;
	height: 1.25em;
	flex: none;
	vertical-align: -0.2em;
}

.rmh-ico {
	display: inline-grid;
	place-items: center;
	width: 58px;
	height: 58px;
	border-radius: 16px;
	background: var(--rmh-navy);
	color: var(--rmh-gold-l);
	margin-bottom: 20px;
}

.rmh-ico .rmh-i { width: 27px; height: 27px; }

.wp-block-html:has(> .rmh-ico) { margin: 0; }

/* ---------- Hero ---------- */

.wp-block-cover.rmh-hero {
	padding: 0;
	align-items: stretch;
	overflow: hidden;
}

.rmh-hero .wp-block-cover__background {
	background: linear-gradient(100deg, rgba(0, 16, 34, 0.95) 0%, rgba(0, 37, 72, 0.78) 52%, rgba(0, 37, 72, 0.38) 100%) !important;
	opacity: 1 !important;
}

.rmh-hero .wp-block-cover__inner-container {
	width: 100%;
	max-width: none;
	padding: 0;
	display: flex;
	align-items: center;
}

.rmh-hero__wrap {
	padding-top: 168px !important;
	padding-bottom: 96px !important;
}

.rmh-hero__cols { gap: clamp(32px, 5vw, 72px) !important; margin: 0; align-items: center; }
.rmh-hero .rmh-eyebrow { margin-bottom: 18px !important; }

.rmh-hero h1,
.rmh-hero .rmh-hero__title {
	font-size: clamp(2.7rem, 5.4vw, 4.9rem);
	line-height: 1.02;
	margin: 0 0 0.35em;
}

.rmh-hero .wp-block-buttons { margin-top: 30px; }

.rmh-chips {
	list-style: none !important;
	margin: 28px 0 0 !important;
	padding: 0 !important;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.rmh-chips li {
	margin: 0 !important;
	padding: 8px 18px;
	border-radius: 999px;
	font-size: 0.88rem;
	font-weight: 600;
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.35);
	background: rgba(255, 255, 255, 0.08);
	backdrop-filter: blur(6px);
}

.rmh-hero__img img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	object-position: 6% 50%;
	border-radius: 20px;
	box-shadow: 0 40px 90px -20px rgba(0, 0, 0, 0.65), 0 0 0 7px rgba(255, 255, 255, 0.12);
	transform: rotate(0.01deg);
}

.rmh-hero__cap {
	font-size: 0.78rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.7);
	margin: 18px 0 0 !important;
	text-align: right;
}

/* ---------- Trust strip ---------- */

.rmh-trust {
	background: var(--rmh-deep);
	border-top: 3px solid var(--rmh-gold);
	padding: 0;
}

.rmh-trust__grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
}

.rmh-trust__item {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 26px 22px;
	border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.rmh-trust__item:first-child { border-left: 1px solid rgba(255, 255, 255, 0.1); }

.rmh-trust .rmh-ico {
	width: auto;
	height: auto;
	background: transparent;
	margin: 0;
	color: var(--rmh-gold-l);
}

.rmh-trust .rmh-ico .rmh-i { width: 30px; height: 30px; }

.rmh-trust__item p {
	margin: 0;
	color: rgba(255, 255, 255, 0.9);
	font-size: 0.9rem;
	font-weight: 500;
	line-height: 1.4;
}

/* ---------- Split (image + text) ---------- */

.rmh-split { gap: clamp(36px, 6vw, 88px) !important; margin: 0; }
.rmh-split__text > :last-child { margin-bottom: 0; }

.rmh-media { position: relative; }

.rmh-frame img {
	width: 100%;
	border-radius: var(--rmh-radius);
	box-shadow: var(--rmh-shadow);
}

.rmh-frame--dark img { box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.6); }

/* Taller, more substantial images beside text (wide strips keep their own ratio). */
.rmh-split .rmh-frame img {
	aspect-ratio: 1 / 1.05;
	object-fit: cover;
	object-position: 50% 50%;
	height: auto;
}

.rmh-split .rmh-frame img[src*="render-sunset-solar"] { object-position: 42% 50%; }
.rmh-split .rmh-frame img[src*="render-front-perspective"] { object-position: 38% 50%; aspect-ratio: 1 / 0.9; }
.rmh-split .rmh-frame img[src*="render-colour-options"],
.rmh-split .rmh-frame img[src*="render-two-unit"],
.rmh-split .rmh-frame img[src*="plan-option"] { aspect-ratio: auto; object-fit: contain; }
.rmh-split--tanks .rmh-frame img { aspect-ratio: 4 / 5; }

.rmh-badge {
	position: absolute;
	left: -22px;
	bottom: 30px;
	background: var(--rmh-navy);
	color: #fff;
	padding: 14px 24px 14px 22px;
	border-left: 4px solid var(--rmh-gold);
	border-radius: 6px 12px 12px 6px;
	box-shadow: var(--rmh-shadow-sm);
	max-width: 80%;
}

.rmh-badge p {
	margin: 0;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #fff;
}

.rmh-split.is-reversed .rmh-badge,
.rmh-split .wp-block-column:last-child .rmh-badge { left: auto; right: -22px; border-left: 0; border-right: 4px solid var(--rmh-gold); border-radius: 12px 6px 6px 12px; }

/* ---------- Checks ---------- */

.rmh-checks {
	list-style: none !important;
	margin: 0 0 1.6em !important;
	padding: 0 !important;
}

.rmh-checks li {
	position: relative;
	margin: 0 0 12px !important;
	padding-left: 34px;
}

.rmh-checks li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.28em;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--rmh-gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23001428' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.rmh-checks--sm li { font-size: 0.95rem; margin-bottom: 8px !important; padding-left: 30px; }
.rmh-checks--sm li::before { width: 19px; height: 19px; background-size: 12px; top: 0.3em; }

/* ---------- Stats ---------- */

.rmh-stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	margin: 30px 0 34px;
	padding: 24px 0;
	border-top: 1px solid var(--rmh-line);
	border-bottom: 1px solid var(--rmh-line);
}

.rmh-stat__num {
	font-family: var(--rmh-display);
	font-size: clamp(2.1rem, 3.3vw, 2.8rem);
	font-weight: 600;
	line-height: 1;
	color: var(--rmh-navy);
	margin: 0 0 8px !important;
	white-space: nowrap;
}

.rmh-stat__num span {
	font-family: var(--rmh-body);
	font-size: 0.4em;
	font-weight: 700;
	color: var(--rmh-gold);
	margin-left: 4px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.rmh-stat__label {
	font-size: 0.82rem;
	line-height: 1.35;
	color: var(--rmh-muted);
	margin: 0 !important;
}

/* ---------- Grids ---------- */

.rmh-grid {
	display: grid;
	gap: 24px;
}

.rmh-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rmh-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rmh-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rmh-grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.rmh-grid > * { margin: 0 !important; }

/* Feature cards */
.rmh-feature--card {
	background: #fff;
	border: 1px solid var(--rmh-line);
	border-radius: var(--rmh-radius);
	padding: 32px 28px 26px;
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.rmh-bg-white .rmh-feature--card { background: var(--rmh-cream); border-color: transparent; }

.rmh-feature--card:hover {
	transform: translateY(-6px);
	box-shadow: var(--rmh-shadow);
	border-color: var(--rmh-gold-l);
}

.rmh-feature--card p:last-child,
.rmh-feature--plain p:last-child { margin-bottom: 0; }

.rmh-feature--card p { color: var(--rmh-muted); font-size: 0.97rem; }

.rmh-feature--plain {
	padding: 6px 4px 6px 0;
	position: relative;
}

.rmh-feature--plain .rmh-ico {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: rgba(201, 153, 62, 0.16);
	color: #8a6420;
	margin-bottom: 14px;
}

.rmh-feature--plain .rmh-ico .rmh-i { width: 23px; height: 23px; }
.rmh-feature--plain p { color: var(--rmh-muted); font-size: 0.97rem; }

.rmh-foot { margin-top: 36px; text-align: center; color: var(--rmh-muted); font-size: 0.95rem; }

/* Image cards */
.rmh-imgcard {
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: var(--rmh-radius);
	overflow: hidden;
	box-shadow: var(--rmh-shadow-sm);
	transition: transform 0.35s ease, box-shadow 0.35s ease;
	border: 1px solid rgba(0, 37, 72, 0.06);
}

.rmh-imgcard:hover { transform: translateY(-8px); box-shadow: var(--rmh-shadow); }

.rmh-card__img { overflow: hidden; background: var(--rmh-sand); }

.rmh-card__img img {
	width: 100%;
	aspect-ratio: 16 / 11;
	object-fit: cover;
	transition: transform 0.7s ease;
}

.rmh-card__img img[src*="plan-option"] { object-fit: contain; background: #fff; padding: 6px; aspect-ratio: 16 / 10; }
.rmh-imgcard:hover .rmh-card__img img { transform: scale(1.05); }
.rmh-imgcard:hover .rmh-card__img img[src*="plan-option"] { transform: scale(1.02); }

.rmh-card__body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.rmh-card__body p { color: var(--rmh-muted); font-size: 0.96rem; }
.rmh-card__body > :last-child { margin-bottom: 0; margin-top: auto; }
.rmh-card__body .rmh-checks { margin-top: 4px !important; }

.rmh-tag {
	font-size: 0.72rem !important;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--rmh-gold) !important;
	margin: 0 0 8px !important;
}

/* ---------- Steps ---------- */

.rmh-steps { counter-reset: step; }

.rmh-step {
	position: relative;
	padding: 34px 6px 0 0;
	border-top: 2px solid var(--rmh-line);
}

.rmh-step::before {
	content: "";
	position: absolute;
	top: -2px;
	left: 0;
	width: 64px;
	height: 2px;
	background: var(--rmh-gold);
}

.rmh-step__num {
	font-family: var(--rmh-display);
	font-size: 3.6rem;
	font-weight: 600;
	line-height: 1;
	color: var(--rmh-gold) !important;
	margin: 0 0 12px !important;
}

.rmh-step p:last-child { color: var(--rmh-muted); font-size: 0.97rem; margin-bottom: 0; }

/* ---------- Tanks ---------- */

.rmh-tanks {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	margin: 30px 0 0;
}

.rmh-tank {
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-top-width: 4px;
	border-radius: 14px;
	padding: 22px 20px;
}

.rmh-tank .rmh-ico { width: 44px; height: 44px; border-radius: 12px; margin-bottom: 14px; background: rgba(255, 255, 255, 0.1); color: #fff; }
.rmh-tank .rmh-ico .rmh-i { width: 22px; height: 22px; }
.rmh-tank--clean { border-top-color: #5cc8ee; }
.rmh-tank--clean .rmh-ico { color: #5cc8ee; }
.rmh-tank--grey { border-top-color: #a6b2be; }
.rmh-tank--black { border-top-color: #e8e8e8; background: rgba(0, 0, 0, 0.28); }

.rmh-tank__no {
	font-size: 0.7rem !important;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.55) !important;
	margin: 0 0 4px !important;
}

.rmh-tank h3 { color: #fff !important; font-size: 1.08rem; }
.rmh-tank p:last-child { font-size: 0.88rem; color: rgba(255, 255, 255, 0.72); margin: 0; line-height: 1.55; }

.rmh-fine {
	margin-top: 22px !important;
	font-size: 0.82rem;
	color: rgba(255, 255, 255, 0.58);
	border-left: 3px solid var(--rmh-gold);
	padding-left: 14px;
}

.rmh-on-dark-section .rmh-eyebrow { color: var(--rmh-gold-l) !important; }

/* ---------- Canada cover ---------- */

.wp-block-cover.rmh-canada { padding: 0; }
.rmh-canada .wp-block-cover__inner-container { width: 100%; padding: clamp(72px, 9vw, 128px) 0; }

.rmh-canada .wp-block-cover__background {
	background: linear-gradient(180deg, rgba(0, 20, 40, 0.88), rgba(0, 37, 72, 0.9)) !important;
	opacity: 1 !important;
}

.rmh-canada .rmh-lead { margin: 0 auto 8px; }

.rmh-tiles {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
	margin: 52px 0 40px;
}

.rmh-tile {
	position: relative;
	border-radius: var(--rmh-radius);
	overflow: hidden;
	min-height: 330px;
	display: flex;
	align-items: flex-end;
	background: var(--rmh-deep);
	margin: 0 !important;
}

.rmh-tile__img { position: absolute; inset: 0; }
.rmh-tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.rmh-tile:hover .rmh-tile__img img { transform: scale(1.07); }

.rmh-tile::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 20, 40, 0) 35%, rgba(0, 16, 34, 0.92) 100%);
	pointer-events: none;
}

.rmh-tile__body { position: relative; z-index: 2; padding: 26px 26px 24px; }
.rmh-tile__body h3 { color: #fff !important; margin-bottom: 6px; font-size: 1.25rem; }
.rmh-tile__body p { margin: 0; font-size: 0.93rem; color: rgba(255, 255, 255, 0.82); }

/* ---------- CTA ---------- */

.wp-block-cover.rmh-cta { padding: 0; text-align: center; }
.rmh-cta .wp-block-cover__inner-container { width: 100%; padding: clamp(72px, 9vw, 120px) 0; }

.rmh-cta .wp-block-cover__background {
	background: linear-gradient(180deg, rgba(0, 20, 40, 0.8), rgba(0, 28, 56, 0.92)) !important;
	opacity: 1 !important;
}

.rmh-cta h2 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); margin-bottom: 0.3em; }
.rmh-cta .rmh-lead { margin: 0 auto 28px; }
.rmh-cta__phone { margin-top: 26px !important; color: rgba(255, 255, 255, 0.78); font-size: 1rem; }
.rmh-cta__phone a { color: var(--rmh-gold-l) !important; font-weight: 700; text-decoration: none; border-bottom: 1px solid currentColor; }

/* ---------- FAQ ---------- */

.rmh-faq { display: grid; gap: 14px; }

.rmh-faq .wp-block-details,
.wp-block-details.rmh-faq-item {
	background: #fff;
	border: 1px solid var(--rmh-line);
	border-radius: 14px;
	padding: 0;
	margin: 0 !important;
	transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.rmh-faq .wp-block-details[open] { box-shadow: var(--rmh-shadow-sm); border-color: var(--rmh-gold-l); }

.rmh-faq summary {
	list-style: none;
	cursor: pointer;
	padding: 22px 64px 22px 26px;
	font-weight: 700;
	font-size: 1.05rem;
	color: var(--rmh-navy);
	position: relative;
}

.rmh-faq summary::-webkit-details-marker { display: none; }

.rmh-faq summary::after {
	content: "";
	position: absolute;
	right: 22px;
	top: 50%;
	width: 30px;
	height: 30px;
	margin-top: -15px;
	border-radius: 50%;
	background: var(--rmh-cream) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23002548' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat;
	transition: transform 0.3s ease, background-color 0.3s ease;
}

.rmh-faq details[open] summary::after { transform: rotate(135deg); background-color: var(--rmh-gold-l); }
.rmh-faq details > p { margin: 0 !important; padding: 0 64px 24px 26px; color: var(--rmh-muted); font-size: 0.98rem; }

/* ---------- Gallery ---------- */

.rmh-gallery.wp-block-gallery {
	display: grid !important;
	gap: 16px !important;
	margin: 0;
}

.rmh-gallery.columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rmh-gallery.columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rmh-gallery.columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.rmh-gallery.wp-block-gallery > .wp-block-image {
	width: auto !important;
	margin: 0 !important;
	position: relative;
	overflow: hidden;
	border-radius: 12px;
	background: var(--rmh-sand);
	aspect-ratio: 4 / 3;
	cursor: zoom-in;
}

.rmh-gallery.wp-block-gallery > .wp-block-image a { display: block; height: 100%; }

.rmh-gallery.wp-block-gallery > .wp-block-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.7s ease, filter 0.4s ease;
}

.rmh-gallery.wp-block-gallery > .wp-block-image:hover img { transform: scale(1.07); }

.rmh-gallery.wp-block-gallery > .wp-block-image a::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 55%, rgba(0, 20, 40, 0.45));
	opacity: 0;
	transition: opacity 0.3s ease;
}

.rmh-gallery.wp-block-gallery > .wp-block-image:hover a::after { opacity: 1; }

.rmh-gallery--plans.wp-block-gallery > .wp-block-image { background: #fff; aspect-ratio: 16 / 10; border: 1px solid var(--rmh-line); }
.rmh-gallery--plans.wp-block-gallery > .wp-block-image img { object-fit: contain; padding: 6px; }

/* ---------- Notice ---------- */

.rmh-notice {
	display: flex;
	gap: 20px;
	align-items: flex-start;
	background: #fff;
	border-left: 5px solid var(--rmh-gold);
	border-radius: 6px 14px 14px 6px;
	padding: 24px 28px;
	box-shadow: var(--rmh-shadow-sm);
}

.rmh-notice .rmh-ico { margin: 0; width: 46px; height: 46px; border-radius: 12px; flex: none; }
.rmh-notice p { margin: 0; font-size: 0.97rem; color: var(--rmh-muted); }
.rmh-notice strong { color: var(--rmh-navy); }

/* ---------- Chips (large) ---------- */

.rmh-chips--lg {
	justify-content: center;
	gap: 12px;
}

.rmh-chips--lg li {
	background: #fff;
	color: var(--rmh-navy);
	border: 1px solid var(--rmh-line);
	padding: 12px 22px 12px 44px;
	font-size: 0.97rem;
	position: relative;
	box-shadow: 0 4px 14px -8px rgba(0, 37, 72, 0.35);
	backdrop-filter: none;
}

.rmh-chips--lg li::before {
	content: "";
	position: absolute;
	left: 16px;
	top: 50%;
	width: 18px;
	height: 18px;
	margin-top: -9px;
	border-radius: 50%;
	background: var(--rmh-gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23001428' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* ---------- Tables ---------- */

.rmh-specs table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--rmh-shadow-sm); }
.rmh-specs td { padding: 16px 22px; border-bottom: 1px solid var(--rmh-line); font-size: 0.97rem; }
.rmh-specs td:first-child { width: 34%; font-weight: 700; color: var(--rmh-navy); background: var(--rmh-cream); }
.rmh-specs tr:last-child td { border-bottom: 0; }

/* ---------- Contact ---------- */

.rmh-contact-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 30px; }

.rmh-contact-card {
	background: #fff;
	border-radius: 14px;
	padding: 24px 22px;
	border: 1px solid var(--rmh-line);
}

.rmh-contact-card .rmh-ico { width: 46px; height: 46px; border-radius: 12px; margin-bottom: 12px; }
.rmh-contact-card .rmh-ico .rmh-i { width: 22px; height: 22px; }
.rmh-contact-card h3 { margin-bottom: 6px; }
.rmh-contact-card p { margin: 0; font-size: 0.95rem; color: var(--rmh-muted); }
.rmh-contact-card a { color: var(--rmh-navy); font-weight: 600; text-decoration: none; }
.rmh-contact-card a:hover { color: var(--rmh-gold); }

.rmh-formcard {
	background: #fff;
	border-radius: 20px;
	padding: clamp(26px, 4vw, 46px);
	box-shadow: var(--rmh-shadow);
	border-top: 5px solid var(--rmh-gold);
}

.rmh-formcard h3 { font-family: var(--rmh-display); font-size: 2rem; font-weight: 600; margin-bottom: 18px; }

.rmh-form p { margin: 0 0 18px; }
.rmh-form label { display: block; font-size: 0.85rem; font-weight: 700; color: var(--rmh-navy); margin-bottom: 7px; letter-spacing: 0.02em; }
.rmh-form label span { color: var(--rmh-gold); }

.rmh-form input[type="text"],
.rmh-form input[type="email"],
.rmh-form input[type="tel"],
.rmh-form select,
.rmh-form textarea {
	width: 100%;
	box-sizing: border-box;
	font: inherit;
	font-size: 1rem;
	color: var(--rmh-text);
	background: var(--rmh-cream);
	border: 1.5px solid transparent;
	border-radius: 12px;
	padding: 14px 16px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.rmh-form textarea { resize: vertical; min-height: 140px; }

.rmh-form input:focus,
.rmh-form select:focus,
.rmh-form textarea:focus {
	outline: 0;
	background: #fff;
	border-color: var(--rmh-gold);
	box-shadow: 0 0 0 4px rgba(201, 153, 62, 0.18);
}

.rmh-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
.rmh-form__small { font-size: 0.82rem; color: var(--rmh-muted); }
.rmh-form__hp { position: absolute !important; left: -9999px !important; height: 0; overflow: hidden; }

.rmh-form__notice {
	display: flex;
	gap: 12px;
	align-items: center;
	padding: 14px 18px;
	border-radius: 12px;
	margin-bottom: 20px;
	font-weight: 600;
	font-size: 0.95rem;
}

.rmh-form__notice.is-success { background: #e6f4ea; color: #14532d; }
.rmh-form__notice.is-error { background: #fdecea; color: #7f1d1d; }

.rmh-mapwrap { padding: 0; line-height: 0; }
.rmh-map iframe { width: 100%; height: 440px; border: 0; display: block; filter: saturate(0.85) contrast(1.02); }
.rmh-muted { color: var(--rmh-muted); }

/* ---------- Motion ---------- */

.rmh-js .rmh-reveal {
	opacity: 0;
	transform: translateY(26px);
	transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
	transition-delay: var(--rmh-delay, 0s);
}

.rmh-js .rmh-reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	.rmh-js .rmh-reveal { opacity: 1; transform: none; transition: none; }
	* { scroll-behavior: auto !important; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
	.rmh-grid--4,
	.rmh-grid--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.rmh-trust__grid { grid-template-columns: repeat(3, 1fr); }
	.rmh-trust__item:nth-child(3) { border-right: 1px solid rgba(255, 255, 255, 0.1); }
	.rmh-trust__item { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
}

@media (max-width: 900px) {
	.rmh-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.rmh-tiles { grid-template-columns: 1fr; }
	.rmh-tile { min-height: 260px; }
	.rmh-gallery.columns-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.rmh-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.rmh-badge { left: 14px !important; right: auto !important; border-left: 4px solid var(--rmh-gold) !important; border-right: 0 !important; border-radius: 6px 12px 12px 6px !important; bottom: 18px; }
	.rmh-hero__wrap { padding-top: 140px !important; padding-bottom: 64px !important; }
	.rmh-hero__cap { text-align: left; }
	.rmh-hero__img img { aspect-ratio: 4 / 3.2; }
	.rmh-split .rmh-frame img { aspect-ratio: 4 / 3.4; }
}

@media (max-width: 781px) {
	.wp-block-columns.rmh-split,
	.wp-block-columns.rmh-hero__cols { flex-wrap: wrap !important; }
	.rmh-split > .wp-block-column,
	.rmh-hero__cols > .wp-block-column { flex-basis: 100% !important; }
	.rmh-split--tanks .wp-block-column:last-child { order: -1; }
}

@media (max-width: 640px) {
	.rmh-grid--2,
	.rmh-grid--3,
	.rmh-grid--4,
	.rmh-grid--5 { grid-template-columns: 1fr; }
	.rmh-gallery.columns-3,
	.rmh-gallery.columns-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.rmh-trust__grid { grid-template-columns: 1fr 1fr; }
	.rmh-trust__item { padding: 18px 14px; }
	.rmh-trust__item:nth-child(odd) { border-left: 1px solid rgba(255, 255, 255, 0.1); }
	.rmh-trust__item:nth-child(3) { border-right: 0; }
	.rmh-tanks { grid-template-columns: 1fr; }
	.rmh-contact-cards,
	.rmh-form__grid { grid-template-columns: 1fr; }
	.rmh-faq summary { padding-right: 58px; font-size: 1rem; }
	.rmh-faq details > p { padding-right: 26px; }
	.rmh-notice { flex-direction: column; gap: 12px; }
	.rmh-step { padding-top: 26px; }
	.rmh-gallery.wp-block-gallery { gap: 10px !important; }
}
