/* Home page — hero slider */
.rtpl-hero { position: relative; z-index: 0; background: var(--rtpl-navy-deep); }
.rtpl-hero-img { height: auto; aspect-ratio: 2007 / 784; object-fit: cover; }

/* Keep a usable height on phones by cropping the sides */
@media (max-width: 767.98px) {
	.rtpl-hero-img { aspect-ratio: 4 / 3; }
}

.rtpl-hero .carousel-indicators { margin-bottom: 1.25rem; gap: 0.5rem; }
.rtpl-hero .carousel-indicators [data-bs-target] {
	width: 28px; height: 6px; border: 0; border-radius: 6px;
	background: #fff; opacity: 0.55; transition: width 0.3s, opacity 0.3s, background 0.3s;
}
.rtpl-hero .carousel-indicators .active { width: 48px; opacity: 1; background: var(--rtpl-yellow); }

.rtpl-hero .carousel-control-prev,
.rtpl-hero .carousel-control-next { width: 8%; opacity: 0; transition: opacity 0.25s; }
.rtpl-hero:hover .carousel-control-prev,
.rtpl-hero:hover .carousel-control-next,
.rtpl-hero .carousel-control-prev:focus,
.rtpl-hero .carousel-control-next:focus { opacity: 1; }
.rtpl-hero .carousel-control-prev-icon,
.rtpl-hero .carousel-control-next-icon {
	width: 3rem; height: 3rem; border-radius: 50%;
	background-color: rgba(19, 28, 64, 0.65); background-size: 45%;
	-webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
@media (hover: none) {
	.rtpl-hero .carousel-control-prev, .rtpl-hero .carousel-control-next { opacity: 1; width: 14%; }
	.rtpl-hero .carousel-control-prev-icon, .rtpl-hero .carousel-control-next-icon { width: 2.25rem; height: 2.25rem; }
}

/* Full width: undo the parent's boxed .site-main (max-width 1140px + side padding) */
body .site-main.home-page {
	max-width: none !important;
	width: 100%;
	padding-inline: 0 !important;
	margin-inline: 0 !important;
}
.home-page .rtpl-hero { width: 100%; overflow: hidden; }
.home-page .page-content { max-width: none; }

/* =========================================================
   Bento grid: At a glance
   ========================================================= */
.rtpl-bento { background: var(--rtpl-surface); padding-block: 3.5rem; }
@media (min-width: 992px) { .rtpl-bento { padding-block: 5rem; } }

.rtpl-eyebrow {
	display: inline-flex; align-items: center; gap: 0.6rem;
	font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
	color: var(--rtpl-red);
}
.rtpl-eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--rtpl-red); }
.rtpl-bento-head h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); color: var(--rtpl-navy); margin: 0.5rem 0 0.4rem; text-transform: uppercase; }
.rtpl-bento-sub { color: var(--rtpl-muted); max-width: 52ch; }

/* Tile base */
.rtpl-tile {
	position: relative; overflow: hidden;
	display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem;
	padding: 1.5rem;
	min-height: 13rem;
	border-radius: 18px;
	background: #fff;
	border: 1px solid var(--rtpl-border);
	box-shadow: 0 1px 2px rgba(19, 28, 64, 0.04);
	transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.6s ease;
}
.rtpl-tile:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(19, 28, 64, 0.1); }
@media (min-width: 992px) { .rtpl-tile { padding: 1.75rem; } }

.rtpl-tile-top { display: flex; align-items: center; gap: 0.75rem; }
.rtpl-tile-label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--rtpl-muted); }
.rtpl-tile-text { font-size: 0.9rem; line-height: 1.55; color: var(--rtpl-muted); max-width: 36ch; }
.rtpl-tile-title { font-family: var(--rtpl-font-heading); font-weight: 700; font-size: clamp(1.7rem, 2.6vw, 2.2rem); text-transform: uppercase; color: var(--rtpl-navy); line-height: 1.05; }

/* Icon badge */
.rtpl-icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 40px; height: 40px; flex: none; border-radius: 11px;
	background: rgba(29, 43, 94, 0.08); color: var(--rtpl-navy);
}
.rtpl-icon--red { background: rgba(216, 38, 31, 0.09); color: var(--rtpl-red); }

/* Numbers: sized to support the content, not dominate it */
.rtpl-num { font-family: var(--rtpl-font-heading); font-weight: 700; line-height: 1; color: var(--rtpl-navy); font-variant-numeric: tabular-nums; }
.rtpl-num--xl { font-size: clamp(3.5rem, 6.5vw, 5rem); }
.rtpl-num--lg { font-size: clamp(2.25rem, 3.8vw, 3.1rem); }
.rtpl-num small { font-size: 0.4em; font-weight: 600; letter-spacing: 0.06em; margin-left: 0.35em; text-transform: uppercase; color: var(--rtpl-muted); }
.rtpl-num em { font-style: normal; margin: 0 0.12em; color: var(--rtpl-muted); font-weight: 500; }

/* Featured navy tile */
.rtpl-tile--navy {
	background: linear-gradient(160deg, #26367a 0%, var(--rtpl-navy) 50%, var(--rtpl-navy-deep) 100%);
	border-color: transparent; min-height: 20rem;
}
.rtpl-tile--navy .rtpl-icon { background: rgba(255, 255, 255, 0.12); color: var(--rtpl-yellow); }
.rtpl-tile--navy .rtpl-tile-label { color: rgba(255, 255, 255, 0.7); }
.rtpl-tile--navy .rtpl-num { color: #fff; }
.rtpl-tile--navy .rtpl-tile-text { color: rgba(255, 255, 255, 0.72); }
.rtpl-tile-glow {
	position: absolute; right: -90px; bottom: -90px; width: 260px; height: 260px; border-radius: 50%;
	background: radial-gradient(circle, rgba(246, 201, 14, 0.35), rgba(216, 38, 31, 0.15) 55%, transparent 70%);
	pointer-events: none;
}

/* Accent tile: white with a top brand line */
.rtpl-tile--accent::before {
	content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
	background: linear-gradient(90deg, var(--rtpl-red), var(--rtpl-yellow));
}

/* KVA scale */
.rtpl-scale-bar { display: block; height: 6px; border-radius: 6px; background: rgba(29, 43, 94, 0.1); position: relative; overflow: hidden; }
.rtpl-scale-bar::after {
	content: ""; position: absolute; inset: 0; border-radius: 6px;
	background: linear-gradient(90deg, var(--rtpl-navy), var(--rtpl-red));
	transform-origin: left;
}
.rtpl-js .rtpl-tile:not(.is-in) .rtpl-scale-bar::after { transform: scaleX(0); }
.rtpl-tile.is-in .rtpl-scale-bar::after { transition: transform 1.3s cubic-bezier(.2,.8,.2,1) 0.3s; }
.rtpl-scale-ends { display: flex; justify-content: space-between; margin-top: 0.45rem; font-size: 0.7rem; letter-spacing: 0.06em; color: var(--rtpl-muted); }
.rtpl-scale-ends b { font-weight: 600; }

/* Product spec sheet */
.rtpl-tile--product { min-height: 0; }
.rtpl-specs { display: block; }
.rtpl-spec {
	display: grid; grid-template-columns: 8rem 1fr; gap: 1rem; align-items: center;
	padding: 0.75rem 0; border-top: 1px solid var(--rtpl-border);
}
.rtpl-spec:first-child { border-top: 0; padding-top: 0; }
.rtpl-spec:last-child { padding-bottom: 0; }
.rtpl-spec dt { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--rtpl-muted); }
.rtpl-spec dd { margin: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; font-size: 0.9rem; color: var(--rtpl-ink); }
@media (max-width: 575.98px) { .rtpl-spec { grid-template-columns: 1fr; gap: 0.4rem; } }

.rtpl-chip {
	display: inline-flex; align-items: center; gap: 0.45rem;
	padding: 0.35rem 0.8rem; border-radius: 8px;
	background: var(--rtpl-surface); border: 1px solid var(--rtpl-border);
	font-weight: 600; font-size: 0.85rem; color: var(--rtpl-navy);
}
.rtpl-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.rtpl-dot--copper { background: radial-gradient(circle at 30% 30%, #e6a06a, #b87333); }
.rtpl-dot--alu { background: radial-gradient(circle at 30% 30%, #f3f5f8, #a9b2c0); }

/* Scroll reveal: fade-in-up (only when JS is running) */
.rtpl-js [data-reveal] {
	opacity: 0;
	transform: translateY(32px);
	transition: opacity 0.8s ease, transform 0.8s cubic-bezier(.2,.8,.2,1);
	will-change: opacity, transform;
}
.rtpl-js [data-reveal="left"]  { transform: translateX(-40px); }
.rtpl-js [data-reveal="right"] { transform: translateX(40px); }
.rtpl-js [data-reveal].is-in { opacity: 1; transform: none; }
/* After the entrance finishes, restore the snappy tile hover */
.rtpl-js .rtpl-tile[data-reveal].is-done { transition: transform 0.3s ease, box-shadow 0.3s ease; will-change: auto; }
.rtpl-js .rtpl-tile[data-reveal].is-done:hover { transform: translateY(-3px); }
.rtpl-js [data-reveal].is-done { will-change: auto; }

@media (max-width: 991.98px) { .rtpl-tile--navy { min-height: 16rem; } }
@media (prefers-reduced-motion: reduce) {
	.rtpl-tile, .rtpl-scale-bar::after { transition: none !important; }
	.rtpl-js [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* =========================================================
   About Us
   ========================================================= */
.rtpl-about { background: #fff; padding-block: 3.5rem; overflow: hidden; }
@media (min-width: 992px) { .rtpl-about { padding-block: 5.5rem; } }

.rtpl-about-media { position: relative; padding: 0 0 1.5rem 1.5rem; }
.rtpl-about-media::before { /* offset brand block behind the photo */
	content: ""; position: absolute; left: 0; bottom: 0; width: 78%; height: 78%;
	border-radius: 28px;
	background: linear-gradient(150deg, var(--rtpl-navy) 0%, var(--rtpl-red) 70%, var(--rtpl-yellow) 100%);
	z-index: 0;
}
.rtpl-about-media img {
	position: relative; z-index: 1; display: block; width: 100%; height: auto;
	aspect-ratio: 1 / 1; object-fit: cover;
	border-radius: 28px;
	box-shadow: 0 24px 50px rgba(19, 28, 64, 0.2);
}
.rtpl-about-badge {
	position: absolute; z-index: 2; right: -0.25rem; top: 2rem;
	display: flex; align-items: center; gap: 0.75rem;
	padding: 0.75rem 1.1rem 0.75rem 0.9rem; border-radius: 16px;
	background: rgba(255, 255, 255, 0.85);
	-webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
	border: 1px solid rgba(255, 255, 255, 0.7);
	box-shadow: 0 14px 34px rgba(19, 28, 64, 0.18);
}
.rtpl-about-badge-num { font-family: var(--rtpl-font-heading); font-weight: 700; font-size: 2.4rem; line-height: 1; color: var(--rtpl-navy); }
.rtpl-about-badge-txt { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.3; color: var(--rtpl-muted); }
@media (max-width: 575.98px) { .rtpl-about-badge { right: 0.5rem; top: 1rem; } }

.rtpl-about-title { font-size: clamp(2.2rem, 4vw, 3.4rem); color: var(--rtpl-navy); text-transform: uppercase; margin: 0.6rem 0 1.25rem; }
.rtpl-about-title span { display: block; color: var(--rtpl-red); }
.rtpl-about-lead { font-size: 1.15rem; line-height: 1.6; color: var(--rtpl-ink); font-weight: 500; max-width: 60ch; }
.rtpl-about-text { color: var(--rtpl-muted); line-height: 1.75; max-width: 62ch; }

.rtpl-about-sectors { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.5rem 0; }
.rtpl-about-sectors span {
	padding: 0.4rem 0.9rem; border-radius: 999px; font-size: 0.82rem; font-weight: 600;
	color: var(--rtpl-navy); background: var(--rtpl-surface); border: 1px solid var(--rtpl-border);
	transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.rtpl-about-sectors span:hover { background: var(--rtpl-navy); color: #fff; border-color: var(--rtpl-navy); }

.rtpl-about-points { display: grid; gap: 0.75rem; }
@media (min-width: 768px) { .rtpl-about-points { grid-template-columns: 1fr 1fr; } }
.rtpl-about-point {
	display: flex; gap: 0.9rem; align-items: flex-start;
	padding: 1.1rem; border-radius: 16px;
	background: var(--rtpl-surface); border: 1px solid var(--rtpl-border);
}
.rtpl-about-point h3 { font-family: var(--rtpl-font-body); font-size: 0.95rem; font-weight: 600; letter-spacing: 0; color: var(--rtpl-navy); margin: 0 0 0.2rem; line-height: 1.3; }
.rtpl-about-point p { font-size: 0.85rem; line-height: 1.55; color: var(--rtpl-muted); margin: 0; }
.rtpl-about-point .rtpl-icon { background: #fff; }

/* About Us: original copy, order: company name, "About Us", paragraphs */
.rtpl-about-title { margin: 0 0 0.6rem; }
.rtpl-eyebrow--sub { margin-bottom: 1.25rem; }
.rtpl-about-lead { margin-bottom: 1rem; }

/* About: Read More button */
.rtpl-readmore { display: inline-flex; align-items: center; gap: 0.6rem; margin-top: 1.5rem; padding: 0.75rem 1.6rem; }
.rtpl-readmore svg { transition: transform 0.25s ease; }
.rtpl-readmore:hover svg { transform: translateX(4px); }

/* =========================================================
   Products
   ========================================================= */
.rtpl-products { background: var(--rtpl-surface); padding-block: 3.5rem; }
@media (min-width: 992px) { .rtpl-products { padding-block: 5.5rem; } }
.rtpl-products-head h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); color: var(--rtpl-navy); margin: 0.5rem 0 0; text-transform: uppercase; }

.rtpl-product {
	display: flex; flex-direction: column;
	padding: 0.6rem;
	border-radius: 22px;
	background: #fff;
	border: 1px solid var(--rtpl-border);
	box-shadow: 0 1px 2px rgba(19, 28, 64, 0.04);
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.rtpl-product:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(19, 28, 64, 0.14); border-color: rgba(216, 38, 31, 0.35); }

.rtpl-product-media { position: relative; display: block; overflow: hidden; border-radius: 16px; background: var(--rtpl-surface); aspect-ratio: 1 / 1; }
.rtpl-product-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(.2,.8,.2,1); }
.rtpl-product:hover .rtpl-product-media img { transform: scale(1.07); }
.rtpl-product-media::after { /* soft bottom fade for depth */
	content: ""; position: absolute; inset: auto 0 0 0; height: 40%;
	background: linear-gradient(180deg, transparent, rgba(19, 28, 64, 0.35));
	opacity: 0; transition: opacity 0.4s ease; pointer-events: none;
}
.rtpl-product:hover .rtpl-product-media::after { opacity: 1; }

.rtpl-product-index {
	position: absolute; z-index: 1; top: 0.75rem; left: 0.75rem;
	min-width: 2.4rem; padding: 0.25rem 0.6rem; border-radius: 999px; text-align: center;
	font-family: var(--rtpl-font-heading); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.06em;
	color: var(--rtpl-navy); background: rgba(255, 255, 255, 0.9);
}

.rtpl-product-body { display: flex; flex-direction: column; justify-content: space-between; gap: 1rem; flex: 1; padding: 1.1rem 0.75rem 0.75rem; }
.rtpl-product-name { font-size: clamp(1.4rem, 1.9vw, 1.7rem); color: var(--rtpl-navy); text-transform: uppercase; margin: 0; }

.rtpl-product-link {
	display: inline-flex; align-items: center; justify-content: space-between; gap: 0.75rem;
	padding: 0.35rem 0.35rem 0.35rem 1.1rem; border-radius: 999px;
	font-weight: 600; font-size: 0.88rem; color: var(--rtpl-navy); text-decoration: none;
	background: var(--rtpl-surface); border: 1px solid var(--rtpl-border);
	transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.rtpl-product-arrow {
	display: inline-flex; align-items: center; justify-content: center;
	width: 34px; height: 34px; border-radius: 50%;
	background: var(--rtpl-red); color: #fff;
	transition: transform 0.3s ease;
}
.rtpl-product-link:hover, .rtpl-product:hover .rtpl-product-link { background: var(--rtpl-navy); color: #fff; border-color: var(--rtpl-navy); }
.rtpl-product-link:hover .rtpl-product-arrow, .rtpl-product:hover .rtpl-product-arrow { transform: rotate(45deg); }
.rtpl-product-link:focus-visible { outline: 3px solid var(--rtpl-yellow); outline-offset: 2px; }

/* Reveal: keep the card hover snappy after the entrance */
.rtpl-js .rtpl-product[data-reveal].is-done { transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; }
.rtpl-js .rtpl-product[data-reveal].is-done:hover { transform: translateY(-6px); }
@media (prefers-reduced-motion: reduce) {
	.rtpl-product, .rtpl-product-media img, .rtpl-product-arrow { transition: none !important; }
}

/* Product carousel: same card design, one/two/four cards per view */
.rtpl-carousel {
	--rtpl-per-view: 1;
	--rtpl-gap: 0.75rem;
	position: relative;
}
@media (min-width: 576px) { .rtpl-carousel { --rtpl-per-view: 2; } }
@media (min-width: 992px) { .rtpl-carousel { --rtpl-gap: 1.5rem; } }
@media (min-width: 1200px) { .rtpl-carousel { --rtpl-per-view: 4; } }

.rtpl-carousel-viewport {
	overflow: hidden;
	margin: 0 -0.25rem;
	padding: 0.25rem;
	outline-offset: 4px;
}
.rtpl-carousel-track {
	display: flex;
	gap: var(--rtpl-gap);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	padding-bottom: 2px; /* room for focus outline */
}
.rtpl-carousel-track::-webkit-scrollbar { display: none; }

.rtpl-carousel-slide {
	flex: 0 0 calc((100% - (var(--rtpl-per-view) - 1) * var(--rtpl-gap)) / var(--rtpl-per-view));
	scroll-snap-align: start;
}

/* Arrow controls */
.rtpl-carousel-btn {
	position: absolute; top: 50%; z-index: 2;
	display: inline-flex; align-items: center; justify-content: center;
	width: 46px; height: 46px; margin-top: -1.5rem; /* sit above the dots, roughly centred on the cards */
	border: 1px solid var(--rtpl-border); border-radius: 50%;
	background: #fff; color: var(--rtpl-navy);
	box-shadow: 0 10px 24px rgba(19, 28, 64, 0.14);
	transition: background 0.25s, color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.rtpl-carousel-btn:hover { background: var(--rtpl-red); color: #fff; border-color: var(--rtpl-red); box-shadow: 0 14px 28px rgba(216, 38, 31, 0.28); }
.rtpl-carousel-btn:focus-visible { outline: 3px solid var(--rtpl-yellow); outline-offset: 2px; }
.rtpl-carousel-btn[disabled] { opacity: 0.35; pointer-events: none; }
.rtpl-carousel-btn--prev { left: -1.25rem; transform: translateY(-50%); }
.rtpl-carousel-btn--next { right: -1.25rem; transform: translateY(-50%); }
.rtpl-carousel-btn--prev:hover { transform: translateY(-50%) translateX(-2px); }
.rtpl-carousel-btn--next:hover { transform: translateY(-50%) translateX(2px); }
@media (max-width: 575.98px) {
	.rtpl-carousel-btn { width: 38px; height: 38px; }
	.rtpl-carousel-btn--prev { left: 0.25rem; }
	.rtpl-carousel-btn--next { right: 0.25rem; }
}

/* Dots */
.rtpl-carousel-dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 1.75rem; }
.rtpl-carousel-dots button {
	width: 9px; height: 9px; padding: 0; border: 0; border-radius: 999px;
	background: var(--rtpl-border); transition: width 0.3s, background 0.3s;
}
.rtpl-carousel-dots button.is-active { width: 26px; background: var(--rtpl-red); }
.rtpl-carousel-dots button:focus-visible { outline: 3px solid var(--rtpl-yellow); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
	.rtpl-carousel-track { scroll-behavior: auto; }
	.rtpl-carousel-btn { transition: none; }
}

.rtpl-products-head h2 { margin-bottom: 0.75rem; }
.rtpl-products-sub { color: var(--rtpl-muted); font-size: 1.05rem; line-height: 1.7; max-width: 62ch; }

/* =========================================================
   Quality Commitment (dark)
   ========================================================= */
.rtpl-quality {
	position: relative; overflow: hidden; color: #fff;
	background: var(--rtpl-navy-deep);
	padding-block: 4rem;
}
@media (min-width: 992px) { .rtpl-quality { padding-block: 6rem; } }

.rtpl-quality-grid { /* faint engineering-grid texture */
	position: absolute; inset: 0; pointer-events: none;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
	background-size: 56px 56px;
	-webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 75%);
	mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 75%);
}
.rtpl-quality-glow {
	position: absolute; pointer-events: none; width: 520px; height: 520px; border-radius: 50%;
	right: -160px; top: -160px;
	background: radial-gradient(circle, rgba(216, 38, 31, 0.32), rgba(246, 201, 14, 0.1) 45%, transparent 70%);
}

.rtpl-quality-title { font-size: clamp(2.4rem, 4.6vw, 3.8rem); color: #fff; text-transform: uppercase; margin: 0 0 1.25rem; }
.rtpl-quality-title::after { content: ""; display: block; width: 64px; height: 4px; margin-top: 1rem; border-radius: 4px; background: linear-gradient(90deg, var(--rtpl-red), var(--rtpl-yellow)); }
.rtpl-quality-text { color: rgba(255, 255, 255, 0.78); font-size: 1.08rem; line-height: 1.75; max-width: 46ch; margin: 0; }
@media (min-width: 992px) { .rtpl-quality .col-lg-5 { position: sticky; top: 2rem; } }

.rtpl-quality-intro { color: rgba(255, 255, 255, 0.9); font-size: 1.1rem; font-weight: 500; margin: 0 0 1.25rem; }

.rtpl-quality-list { display: grid; gap: 0.85rem; }
@media (min-width: 576px) { .rtpl-quality-list { grid-template-columns: 1fr 1fr; } .rtpl-quality-item--wide { grid-column: 1 / -1; } }

.rtpl-quality-item {
	position: relative; overflow: hidden;
	display: flex; align-items: center; gap: 1rem;
	padding: 1.15rem 1.25rem; min-height: 5.5rem;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.12);
	-webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
	transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.rtpl-quality-item:hover { background: rgba(255, 255, 255, 0.09); border-color: rgba(246, 201, 14, 0.5); }
.rtpl-quality-no {
	position: absolute; right: 1rem; top: 0.6rem;
	font-family: var(--rtpl-font-heading); font-weight: 700; font-size: 1.5rem; line-height: 1;
	color: rgba(255, 255, 255, 0.14);
}
.rtpl-quality-icon {
	display: inline-flex; align-items: center; justify-content: center; flex: none;
	width: 46px; height: 46px; border-radius: 13px;
	background: rgba(246, 201, 14, 0.12); color: var(--rtpl-yellow);
	transition: background 0.3s, color 0.3s;
}
.rtpl-quality-item:hover .rtpl-quality-icon { background: var(--rtpl-yellow); color: var(--rtpl-navy-deep); }
.rtpl-quality-label { font-weight: 600; font-size: 1rem; line-height: 1.4; color: #fff; padding-right: 1.5rem; }

/* Reveal: keep hover snappy after the entrance */
.rtpl-js .rtpl-quality-item[data-reveal].is-done { transition: background 0.3s ease, border-color 0.3s ease; }
@media (prefers-reduced-motion: reduce) { .rtpl-quality-item, .rtpl-quality-icon { transition: none !important; } }

/* =========================================================
   Customized Transformer Solutions (full-width band)
   ========================================================= */
.rtpl-custom {
	position: relative; overflow: hidden;
	padding-block: 3.5rem;
	background:
		radial-gradient(45% 120% at 100% 0%, rgba(216, 38, 31, 0.10), transparent 60%),
		radial-gradient(40% 120% at 0% 100%, rgba(246, 201, 14, 0.14), transparent 60%),
		var(--rtpl-surface);
	border-block: 1px solid var(--rtpl-border);
}
@media (min-width: 992px) { .rtpl-custom { padding-block: 5rem; } }

.rtpl-custom-grid { /* blueprint texture */
	position: absolute; inset: 0; pointer-events: none;
	background-image:
		linear-gradient(rgba(29, 43, 94, 0.06) 1px, transparent 1px),
		linear-gradient(90deg, rgba(29, 43, 94, 0.06) 1px, transparent 1px);
	background-size: 40px 40px;
	-webkit-mask-image: linear-gradient(120deg, transparent 20%, #000 100%);
	mask-image: linear-gradient(120deg, transparent 20%, #000 100%);
}
.rtpl-custom-title { font-size: clamp(2.2rem, 4.4vw, 3.6rem); color: var(--rtpl-navy); text-transform: uppercase; margin: 0.6rem 0 1rem; }
.rtpl-custom-text { color: var(--rtpl-muted); font-size: 1.08rem; line-height: 1.75; max-width: 64ch; margin: 0; }
.rtpl-custom-btn { margin-top: 0; }

/* Wider than the standard container, but not edge to edge */
.rtpl-custom-wide { max-width: 1440px; margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 3rem); }
.rtpl-custom-text { max-width: 80ch; }

/* =========================================================
   Contact Us + Enquiry form
   ========================================================= */
.rtpl-contact { background: #fff; padding-block: 3.5rem; scroll-margin-top: 1rem; }
@media (min-width: 992px) { .rtpl-contact { padding-block: 5.5rem; } }

.rtpl-contact-title { font-size: clamp(2.2rem, 4vw, 3.2rem); color: var(--rtpl-navy); text-transform: uppercase; margin: 0 0 0.5rem; }
.rtpl-contact-title::after { content: ""; display: block; width: 56px; height: 4px; margin-top: 0.9rem; border-radius: 4px; background: linear-gradient(90deg, var(--rtpl-red), var(--rtpl-yellow)); }
.rtpl-contact-company { font-family: var(--rtpl-font-body); font-size: 1.15rem; font-weight: 700; letter-spacing: 0; color: var(--rtpl-ink); margin: 1.25rem 0; }

.rtpl-contact-row {
	display: flex; align-items: center; gap: 1rem;
	padding: 1rem 1.15rem; margin-bottom: 0.9rem;
	border-radius: 16px; background: var(--rtpl-surface); border: 1px solid var(--rtpl-border);
}
.rtpl-contact-row--address { align-items: flex-start; }
.rtpl-contact-row address { font-style: normal; line-height: 1.65; color: var(--rtpl-ink); }
.rtpl-contact-label { display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--rtpl-red); margin-bottom: 0.25rem; }
.rtpl-contact-row a { color: var(--rtpl-navy); font-weight: 600; text-decoration: none; }
.rtpl-contact-row a:hover { color: var(--rtpl-red); }
.rtpl-contact-row .rtpl-icon { background: #fff; }

.rtpl-contact-people { display: grid; gap: 0.6rem; margin: 0 0 0.9rem; padding: 0; }
@media (min-width: 576px) { .rtpl-contact-people { grid-template-columns: 1fr 1fr; } }
.rtpl-contact-people li {
	display: grid; grid-template-columns: auto 1fr; grid-template-areas: "av name" "av phone";
	column-gap: 0.85rem; align-items: center;
	padding: 0.85rem 1rem; border-radius: 16px; background: #fff; border: 1px solid var(--rtpl-border);
	transition: border-color 0.25s, box-shadow 0.25s;
}
.rtpl-contact-people li:hover { border-color: rgba(216, 38, 31, 0.35); box-shadow: 0 10px 24px rgba(19, 28, 64, 0.08); }
.rtpl-contact-avatar {
	grid-area: av; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
	font-family: var(--rtpl-font-heading); font-weight: 700; font-size: 1.2rem; color: #fff;
	background: linear-gradient(140deg, var(--rtpl-navy), var(--rtpl-navy-deep));
}
.rtpl-contact-person { grid-area: name; font-weight: 600; font-size: 0.92rem; color: var(--rtpl-ink); line-height: 1.3; }
.rtpl-contact-phone { grid-area: phone; font-size: 0.95rem; font-weight: 600; color: var(--rtpl-red); text-decoration: none; }
.rtpl-contact-phone:hover { text-decoration: underline; }

.rtpl-contact-tagline {
	margin: 1.5rem 0 0; padding-left: 1rem; border-left: 4px solid var(--rtpl-red);
	font-family: var(--rtpl-font-heading); font-weight: 600; font-size: clamp(1.4rem, 2.2vw, 1.8rem); line-height: 1.25; color: var(--rtpl-navy);
}

/* Form card */
.rtpl-form-card {
	position: relative; overflow: hidden;
	padding: clamp(1.5rem, 3vw, 2.5rem);
	border-radius: 28px; background: #fff; border: 1px solid var(--rtpl-border);
	box-shadow: 0 30px 60px rgba(19, 28, 64, 0.12);
}
.rtpl-form-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--rtpl-navy), var(--rtpl-red), var(--rtpl-yellow)); }
.rtpl-form-title { font-size: clamp(1.7rem, 2.6vw, 2.1rem); color: var(--rtpl-navy); text-transform: uppercase; margin: 0 0 1.25rem; }

.rtpl-form .form-label { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--rtpl-muted); margin-bottom: 0.4rem; }
.rtpl-form .form-control, .rtpl-form .form-select {
	padding: 0.8rem 1rem; border-radius: 12px; font-size: 0.95rem;
	background-color: var(--rtpl-surface); border: 1px solid transparent; color: var(--rtpl-ink);
	transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}
.rtpl-form .form-control:focus, .rtpl-form .form-select:focus {
	background-color: #fff; border-color: var(--rtpl-navy); box-shadow: 0 0 0 4px rgba(29, 43, 94, 0.12); outline: 0;
}
.rtpl-form textarea.form-control { resize: vertical; min-height: 7rem; }
.rtpl-form-submit { margin-top: 0.5rem; border: 0; }
.rtpl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.rtpl-form-alert { padding: 0.85rem 1rem; border-radius: 12px; font-size: 0.92rem; font-weight: 500; margin-bottom: 1.25rem; }
.rtpl-form-alert--ok { background: rgba(25, 135, 84, 0.1); color: #146c43; border: 1px solid rgba(25, 135, 84, 0.3); }
.rtpl-form-alert--err { background: rgba(216, 38, 31, 0.08); color: #a8140f; border: 1px solid rgba(216, 38, 31, 0.3); }

/* =========================================================
   Parent Company
   ========================================================= */
.rtpl-parent { background: var(--rtpl-surface); padding-block: 3.5rem; }
@media (min-width: 992px) { .rtpl-parent { padding-block: 5.5rem; } }

.rtpl-parent-card {
	position: relative; overflow: hidden;
	padding: clamp(1.5rem, 3.5vw, 3rem);
	border-radius: 32px; background: #fff; border: 1px solid var(--rtpl-border);
	box-shadow: 0 30px 60px rgba(19, 28, 64, 0.08);
}
.rtpl-parent-grid { /* faint blueprint texture, echoes the custom-solutions band */
	position: absolute; inset: 0; pointer-events: none;
	background-image:
		linear-gradient(rgba(29, 43, 94, 0.05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(29, 43, 94, 0.05) 1px, transparent 1px);
	background-size: 40px 40px;
	-webkit-mask-image: radial-gradient(ellipse at 100% 0%, #000 15%, transparent 65%);
	mask-image: radial-gradient(ellipse at 100% 0%, #000 15%, transparent 65%);
}

.rtpl-parent-media { position: relative; padding: 0 1.5rem 1.5rem 0; }
.rtpl-parent-media::before {
	content: ""; position: absolute; right: 0; bottom: 0; width: 78%; height: 78%;
	border-radius: 28px;
	background: linear-gradient(150deg, var(--rtpl-yellow) 0%, var(--rtpl-red) 60%, var(--rtpl-navy) 100%);
	z-index: 0;
}
.rtpl-parent-media img {
	position: relative; z-index: 1; display: block; width: 100%; height: auto;
	aspect-ratio: 1 / 1; object-fit: cover;
	border-radius: 28px;
	box-shadow: 0 24px 50px rgba(19, 28, 64, 0.18);
}
.rtpl-parent-badge {
	position: absolute; z-index: 2; left: -0.25rem; top: 2rem;
	display: flex; align-items: center; gap: 0.75rem;
	padding: 0.75rem 1.1rem 0.75rem 0.9rem; border-radius: 16px;
	background: rgba(255, 255, 255, 0.85);
	-webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
	border: 1px solid rgba(255, 255, 255, 0.7);
	box-shadow: 0 14px 34px rgba(19, 28, 64, 0.18);
}
.rtpl-parent-badge-num { font-family: var(--rtpl-font-heading); font-weight: 700; font-size: 2.1rem; line-height: 1; color: var(--rtpl-navy); }
.rtpl-parent-badge-txt { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.3; color: var(--rtpl-muted); }
@media (max-width: 575.98px) { .rtpl-parent-badge { left: 0.5rem; top: 1rem; } }

.rtpl-parent-title { font-size: clamp(1.9rem, 3.4vw, 2.6rem); color: var(--rtpl-navy); margin: 0.6rem 0 1.1rem; line-height: 1.15; }
.rtpl-parent-text { color: var(--rtpl-muted); line-height: 1.75; max-width: 62ch; margin: 0 0 1.5rem; }

.rtpl-parent-regions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.75rem; }
.rtpl-parent-regions span {
	padding: 0.4rem 0.9rem; border-radius: 999px; font-size: 0.82rem; font-weight: 600;
	color: var(--rtpl-navy); background: var(--rtpl-surface); border: 1px solid var(--rtpl-border);
	transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.rtpl-parent-regions span:hover { background: var(--rtpl-navy); color: #fff; border-color: var(--rtpl-navy); }
