/*
Theme Name: Rhino Thermex
Theme URI: https://rhinothermex.com.au/
Author: Rhino Thermex
Author URI: https://rhinothermex.com.au/
Description: Custom classic WordPress theme for Rhino Thermex, Australia's manufacturer of polypropylene sheet. Implements the blue and white design system: sticky nav with contact topbar, overlay hero, stats, product colour swatches, services, FAQ accordion and quote form.
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rhinothermex
Tags: custom-menu, custom-logo, translation-ready, threaded-comments
*/

/* ==========================================================================
   1. Tokens
   ========================================================================== */
:root {
	--rt-navy: #0f2a4d;
	--rt-navy-deep: #0a1d36;
	--rt-navy-800: #17345c;
	--rt-navy-700: #1f4170;
	--rt-navy-600: #284e84;
	--rt-navy-500: #325b96;

	--rt-accent: #255ca8;
	--rt-accent-hover: #1b4a8a;
	--rt-accent-soft: #e6eef9;
	--rt-accent-soft-text: #9cc0f0;

	--rt-sage: #4580d1;
	--rt-sage-hover: #2f6bbd;

	--rt-cream: #f4f8fd;
	--rt-ink: #0f2a4d;
	--rt-muted: #566a85;
	--rt-muted-2: #7d90ab;
	--rt-border: #d9e3f0;
	--rt-white: #fff;

	--rt-shadow: 0 12px 30px rgba(15, 42, 77, 0.08);
	--rt-shadow-lg: 0 24px 48px rgba(15, 42, 77, 0.16);

	--rt-radius-sm: 8px;
	--rt-radius-md: 10px;
	--rt-radius-lg: 14px;
	--rt-radius-xl: 16px;

	--rt-container: 1280px;
	--rt-gutter: clamp(20px, 5vw, 56px);
	--rt-nav-h: 84px;
	--rt-nav-h-scrolled: 68px;
	--rt-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ==========================================================================
   2. Reset + base
   ========================================================================== */
* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

body {
	margin: 0;
	background: var(--rt-cream);
	color: var(--rt-ink);
	font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.65;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-wrap: pretty;
}

img {
	max-width: 100%;
	display: block;
}

::selection {
	background: #cfe0f7;
}

a {
	color: var(--rt-accent);
	text-decoration: none;
}

a:hover {
	color: var(--rt-accent-hover);
}

h1, h2, h3, h4, h5, h6 {
	font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -0.01em;
	margin: 0 0 0.6em;
	color: var(--rt-navy);
}

p {
	margin: 0 0 1em;
}

ul, ol {
	padding-left: 22px;
}

button {
	font-family: inherit;
}

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 2px solid var(--rt-accent);
	outline-offset: 2px;
}

.rt-container {
	max-width: var(--rt-container);
	margin: 0 auto;
	padding-left: var(--rt-gutter);
	padding-right: var(--rt-gutter);
}

.rt-visually-hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.rt-skip-link {
	position: fixed;
	top: 0.5rem;
	left: 0.5rem;
	z-index: 9999;
	padding: 0.75rem 1.25rem;
	background: var(--rt-accent);
	color: #fff;
	font-weight: 800;
	font-size: 0.875rem;
	border-radius: var(--rt-radius-sm);
	transform: translateY(-160%);
	transition: transform 0.2s var(--rt-ease);
}

.rt-skip-link:focus {
	transform: translateY(0);
}

/* ==========================================================================
   3. Buttons
   ========================================================================== */
.rt-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	text-decoration: none;
	font-size: 15px;
	font-weight: 700;
	padding: 15px 28px;
	border-radius: var(--rt-radius-sm);
	border: 0;
	cursor: pointer;
	transition: background 0.2s var(--rt-ease), color 0.2s var(--rt-ease), border-color 0.2s var(--rt-ease), transform 0.2s var(--rt-ease);
	white-space: nowrap;
}

.rt-btn--accent {
	background: var(--rt-accent);
	color: #fff;
}

.rt-btn--accent:hover {
	background: var(--rt-accent-hover);
	color: #fff;
}

.rt-btn--secondary {
	background: transparent;
	border: 2px solid var(--rt-sage);
	color: var(--rt-ink);
}

.rt-btn--secondary:hover {
	background: var(--rt-sage);
	border-color: var(--rt-sage-hover);
	color: #fff;
}

/* On dark backgrounds (hero, order panel) keep the label readable. */
.rt-hero .rt-btn--secondary,
.rt-order-panel .rt-btn--secondary {
	color: #fff;
}

.rt-btn--sm {
	padding: 10px 20px;
	font-size: 13.5px;
}

/* ==========================================================================
   4. Topbar + nav
   ========================================================================== */
.rt-topbar {
	background: var(--rt-navy);
	color: #c9d6e8;
}

.rt-topbar-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
	padding-top: 9px;
	padding-bottom: 9px;
	font-size: 13px;
}

.rt-topbar-info,
.rt-topbar-contact {
	display: flex;
	gap: 24px;
	align-items: center;
	flex-wrap: wrap;
}

.rt-topbar a {
	color: #c9d6e8;
}

.rt-topbar a:hover {
	color: #fff;
}

.rt-topbar-phone {
	color: #fff !important;
	font-weight: 600;
}

.rt-site-nav {
	position: sticky;
	top: 0;
	z-index: 100;
	background: #fff;
	border-bottom: 1px solid var(--rt-border);
	transition: box-shadow 0.3s var(--rt-ease), border-color 0.3s var(--rt-ease);
}

.rt-site-nav.is-scrolled {
	border-bottom-color: transparent;
	box-shadow: 0 4px 20px rgba(15, 42, 77, 0.08);
}

.rt-nav-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: var(--rt-nav-h);
	transition: height 0.3s var(--rt-ease);
}

.rt-site-nav.is-scrolled .rt-nav-row {
	height: var(--rt-nav-h-scrolled);
}

.rt-brand {
	display: flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	color: var(--rt-ink);
	flex: none;
}

.rt-brand-mark {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--rt-accent);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: "Poppins", sans-serif;
	font-weight: 800;
	font-size: 18px;
	flex: none;
}

.rt-brand-text {
	display: flex;
	flex-direction: column;
	line-height: 1.1;
}

.rt-brand-name {
	font-family: "Poppins", sans-serif;
	font-weight: 800;
	font-size: 19px;
	letter-spacing: 0.01em;
	color: var(--rt-ink);
}

.rt-nav-actions {
	display: flex;
	align-items: center;
	gap: clamp(20px, 2.6vw, 40px);
}

.rt-primary-menu {
	display: flex;
	align-items: center;
	gap: clamp(14px, 2vw, 28px);
	list-style: none;
	margin: 0;
	padding: 0;
}

.rt-primary-menu li {
	position: relative;
}

.rt-primary-menu a {
	color: var(--rt-ink);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.02em;
	white-space: nowrap;
}

.rt-primary-menu a:hover,
.rt-primary-menu .current-menu-item > a,
.rt-primary-menu .current_page_item > a {
	color: var(--rt-accent);
}

.rt-nav-divider {
	width: 2px;
	height: 26px;
	background: var(--rt-border);
}

.rt-nav-phone {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--rt-ink);
	font-size: 14px;
	font-weight: 700;
	white-space: nowrap;
}

.rt-nav-phone__icon {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--rt-accent-soft);
	color: var(--rt-accent);
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
}

.rt-nav-toggle {
	display: none;
	background: var(--rt-navy);
	border: 0;
	border-radius: var(--rt-radius-sm);
	width: 44px;
	height: 44px;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: #fff;
}

/* Mobile overlay menu */
.rt-mobile-menu {
	position: fixed;
	inset: 0;
	background: var(--rt-navy);
	z-index: 200;
	display: flex;
	flex-direction: column;
	padding: 24px;
	transform: translateX(100%);
	transition: transform 0.3s var(--rt-ease);
}

.rt-mobile-menu.is-open {
	transform: translateX(0);
}

.rt-mobile-menu-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 40px;
}

.rt-mobile-menu-head span {
	font-family: "Poppins", sans-serif;
	font-weight: 800;
	font-size: 19px;
	color: #fff;
}

.rt-mobile-menu-close {
	background: var(--rt-navy-800);
	border: 0;
	border-radius: var(--rt-radius-sm);
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: #fff;
}

.rt-mobile-menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.rt-mobile-menu a {
	display: block;
	color: #fff;
	font-family: "Poppins", sans-serif;
	font-size: 24px;
	font-weight: 700;
	padding: 16px 0;
	border-bottom: 1px solid var(--rt-navy-700);
}

.rt-mobile-menu-call {
	margin-top: 28px;
	display: inline-block;
	color: #fff;
	font-size: 20px;
	font-weight: 700;
}

body.rt-nav-open {
	overflow: hidden;
}

/* ==========================================================================
   5. Eyebrow / section heads
   ========================================================================== */
.rt-eyebrow {
	display: block;
	font-size: 13px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--rt-accent);
	font-weight: 700;
	margin: 0 0 14px;
}

.rt-eyebrow--on-dark {
	color: var(--rt-accent-soft-text);
}

.rt-section-head {
	text-align: center;
	max-width: 680px;
	margin: 0 auto 44px;
}

.rt-section {
	padding-top: clamp(4rem, 8vw, 5rem);
	padding-bottom: clamp(4rem, 8vw, 5rem);
}

.rt-section--sm {
	padding-top: 56px;
	padding-bottom: 56px;
}

.rt-section--alt {
	background: var(--rt-accent-soft);
}

/* ==========================================================================
   6. Page hero band (internal pages)
   ========================================================================== */
.rt-page-hero {
	background: var(--rt-navy);
	padding: 56px var(--rt-gutter);
}

.rt-page-hero .rt-container {
	padding-left: 0;
	padding-right: 0;
}

.rt-page-hero h1 {
	font-size: clamp(28px, 3.4vw, 42px);
	line-height: 1.15;
	color: #fff;
	margin: 0;
}

.rt-page-hero p {
	font-size: 15px;
	line-height: 1.6;
	color: #c9d6e8;
	margin: 14px 0 0;
	max-width: 70ch;
}

.rt-page-hero p a {
	color: var(--rt-accent-soft-text);
}

/* ==========================================================================
   7. Home hero (overlay)
   ========================================================================== */
.rt-hero {
	position: relative;
	min-height: 600px;
	display: flex;
	align-items: center;
	overflow: hidden;
	background: var(--rt-navy);
}

.rt-hero__media {
	position: absolute;
	inset: -40px 0;
	z-index: 0;
}

.rt-hero-slide {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity 1.2s ease;
}

.rt-hero-slide.is-active {
	opacity: 1;
}

.rt-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(100deg, rgba(10, 29, 54, 0.92) 0%, rgba(15, 42, 77, 0.78) 55%, rgba(15, 42, 77, 0.45) 100%);
}

.rt-hero .rt-container {
	position: relative;
	z-index: 2;
	width: 100%;
	padding-top: 96px;
	padding-bottom: 120px;
}

.rt-hero-content {
	max-width: 640px;
}

.rt-hero-content h1 {
	font-size: clamp(30px, 4.4vw, 52px);
	line-height: 1.2;
	color: #fff;
	margin: 0 0 22px;
}

.rt-hero-content p {
	font-size: 17px;
	line-height: 1.65;
	color: #d7dce4;
	max-width: 56ch;
	margin: 0 0 34px;
}

.rt-hero-actions {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
}

.rt-hero-dots {
	display: flex;
	gap: 10px;
	margin-top: 64px;
}

.rt-hero-dots span {
	width: 6px;
	height: 6px;
	border-radius: 3px;
	background: rgba(255, 255, 255, 0.4);
	transition: width 0.3s ease, background 0.3s ease;
}

.rt-hero-dots span.is-active {
	width: 28px;
	background: var(--rt-accent);
}

/* ==========================================================================
   8. Stats
   ========================================================================== */
.rt-stats-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 24px;
	text-align: center;
}

.rt-stat__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: var(--rt-accent-soft);
	color: var(--rt-accent);
	margin-bottom: 16px;
}

.rt-stat__icon--flag {
	font-size: 24px;
	line-height: 1;
}

.rt-stat__icon i {
	font-size: 22px;
	line-height: 1;
}

.rt-stat__value {
	font-family: "Poppins", sans-serif;
	font-weight: 800;
	font-size: clamp(30px, 3.2vw, 42px);
	line-height: 1;
	color: var(--rt-navy);
	margin: 0 0 8px;
	font-feature-settings: "tnum" 1;
}

.rt-stat__label {
	font-size: 13.5px;
	line-height: 1.4;
	letter-spacing: 0.03em;
	color: var(--rt-muted);
	margin: 0;
}

/* ==========================================================================
   9. Cards (features / applications / services / partners / spec)
   ========================================================================== */
.rt-card {
	background: #fff;
	border-radius: var(--rt-radius-lg);
	box-shadow: var(--rt-shadow);
	padding: 32px 26px;
}

.rt-card--sm-pad {
	padding: 26px;
}

.rt-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: var(--rt-radius-lg);
	background: var(--rt-accent-soft);
	color: var(--rt-accent);
	margin-bottom: 18px;
}

.rt-card__icon--sm {
	width: 44px;
	height: 44px;
	border-radius: var(--rt-radius-md);
}

.rt-card--image {
	padding: 0 0 26px;
	overflow: hidden;
}

.rt-card__image {
	margin: 0 0 20px;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--rt-cream);
}

.rt-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.rt-card--image h3,
.rt-card--image p {
	padding-left: 26px;
	padding-right: 26px;
}

.rt-card h3 {
	font-size: 17px;
	margin: 0 0 10px;
}

.rt-card p {
	font-size: 14px;
	line-height: 1.6;
	color: var(--rt-muted);
	margin: 0;
}

.rt-grid-2 {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}

.rt-grid-3 {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.rt-grid-4 {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}

.rt-grid--center .rt-card {
	text-align: center;
}

/* ==========================================================================
   10. About split (image + copy)
   ========================================================================== */
.rt-about-split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 56px;
	align-items: center;
}

.rt-about-split figure {
	margin: 0;
	border-radius: var(--rt-radius-xl);
	overflow: hidden;
	box-shadow: var(--rt-shadow-lg);
}

.rt-about-split figure img {
	aspect-ratio: 4 / 5;
	object-fit: cover;
	width: 100%;
}

.rt-about-split p {
	font-size: 15.5px;
	line-height: 1.75;
	color: var(--rt-muted);
}

/* ==========================================================================
   11. Sustainability (dark dotted section)
   ========================================================================== */
.rt-sustainability {
	background: var(--rt-navy);
	position: relative;
	overflow: hidden;
}

.rt-sustainability::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1.5px, transparent 1.5px);
	background-size: 20px 20px;
	pointer-events: none;
}

.rt-sustainability .rt-container {
	position: relative;
}

.rt-sustainability h2 {
	color: #fff;
}

.rt-sustainability .rt-prose {
	max-width: 820px;
	margin: 0 auto;
}

.rt-sustainability .rt-prose p {
	font-size: 15px;
	line-height: 1.75;
	color: #c9d6e8;
}

/* ==========================================================================
   12. Product colours (tabs + swatches)
   ========================================================================== */
.rt-panel {
	background: #fff;
	border-radius: var(--rt-radius-xl);
	padding: clamp(24px, 4vw, 44px);
	box-shadow: var(--rt-shadow);
	margin-bottom: 40px;
}

.rt-panel h2 {
	font-size: 22px;
	margin: 0 0 12px;
}

.rt-panel > p {
	font-size: 15px;
	line-height: 1.7;
	max-width: 70ch;
	color: var(--rt-muted);
	margin: 0 0 28px;
}

.rt-color-tabs {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	margin-bottom: 28px;
}

.rt-color-tab {
	padding: 11px 22px;
	border: 0;
	border-radius: var(--rt-radius-sm);
	font-size: 13.5px;
	font-weight: 700;
	cursor: pointer;
	background: var(--rt-cream);
	color: var(--rt-muted);
	transition: background 0.2s var(--rt-ease), color 0.2s var(--rt-ease);
}

.rt-color-tab.is-active {
	background: var(--rt-accent);
	color: #fff;
}

.rt-swatch-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
	gap: 14px;
	margin-bottom: 20px;
}

.rt-swatch-grid[hidden] {
	display: none;
}

.rt-swatch {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	background: none;
	border: 0;
	padding: 0;
}

.rt-swatch__chip {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	border-radius: var(--rt-radius-md);
	border: 1px solid var(--rt-border);
	transition: border-color 0.15s ease, transform 0.15s ease;
}

.rt-swatch.is-selected .rt-swatch__chip {
	border: 3px solid var(--rt-accent);
	transform: scale(1.06);
}

.rt-swatch__label {
	font-size: 14px;
	line-height: 1.3;
	text-align: center;
	color: var(--rt-muted);
	font-weight: 500;
}

.rt-swatch.is-selected .rt-swatch__label {
	color: var(--rt-accent);
	font-weight: 700;
}

.rt-swatch__pms {
	font-size: 12.5px;
	font-weight: 400;
	color: var(--rt-muted-2);
}

.rt-swatch-picked {
	display: none;
	align-items: center;
	gap: 16px;
	padding: 16px 20px;
	background: var(--rt-accent-soft);
	border-radius: var(--rt-radius-md);
	margin-bottom: 20px;
	flex-wrap: wrap;
}

.rt-swatch-picked.is-visible {
	display: flex;
}

.rt-swatch-picked p {
	margin: 0;
	font-size: 14.5px;
	color: var(--rt-navy);
}

.rt-swatch-picked .rt-btn {
	margin-left: auto;
}

.rt-fineprint {
	font-size: 13.5px;
	line-height: 1.6;
	color: var(--rt-muted-2);
	margin: 0 0 28px;
}

.rt-tag-row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.rt-tag {
	font-size: 12.5px;
	font-weight: 600;
	padding: 6px 12px;
	border-radius: 6px;
	background: var(--rt-cream);
	color: var(--rt-muted);
}

.rt-tag--dark {
	background: var(--rt-navy);
	color: #fff;
	font-weight: 700;
	padding: 6px 14px;
}

/* ==========================================================================
   13. Home products teaser
   ========================================================================== */
.rt-products-teaser {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
	gap: 48px;
	align-items: center;
}

.rt-swatch-preview {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(56px, 1fr));
	gap: 10px;
}

.rt-swatch-preview span {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	border-radius: var(--rt-radius-sm);
}

/* ==========================================================================
   14. Blog cards
   ========================================================================== */
.rt-blog-card {
	background: #fff;
	border-radius: var(--rt-radius-lg);
	overflow: hidden;
	box-shadow: var(--rt-shadow);
	text-decoration: none;
	color: inherit;
	display: block;
}

.rt-blog-card figure {
	margin: 0;
	width: 100%;
	aspect-ratio: 16 / 10;
	background: var(--rt-navy-600);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.rt-blog-card figure img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.rt-blog-card__body {
	padding: 20px 22px;
}

.rt-blog-card__tag {
	font-size: 12px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--rt-accent);
	font-weight: 700;
}

.rt-blog-card h3,
.rt-blog-card h2 {
	font-family: "Poppins", sans-serif;
	font-weight: 700;
	font-size: 16px;
	line-height: 1.4;
	margin: 8px 0 10px;
	color: var(--rt-navy);
}

.rt-blog-card__more {
	font-size: 13px;
	font-weight: 700;
	color: var(--rt-accent);
}

.rt-blog-card p {
	font-size: 13.5px;
	line-height: 1.6;
	color: var(--rt-muted);
	margin: 0;
}

/* ==========================================================================
   15. FAQ accordion
   ========================================================================== */
.rt-faq-list {
	max-width: 820px;
	margin: 0 auto;
	display: grid;
	gap: 14px;
}

.rt-faq-item {
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 8px 20px rgba(15, 42, 77, 0.05);
	overflow: hidden;
}

.rt-faq-question {
	width: 100%;
	text-align: left;
	background: none;
	border: 0;
	padding: 20px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	cursor: pointer;
	color: var(--rt-navy);
}

.rt-faq-question span.rt-faq-q-text {
	font-family: "Poppins", sans-serif;
	font-weight: 700;
	font-size: 15.5px;
}

.rt-faq-chevron {
	display: flex;
	flex: none;
	transition: transform 0.25s ease;
	color: var(--rt-accent);
}

.rt-faq-item.is-open .rt-faq-chevron {
	transform: rotate(180deg);
}

.rt-faq-answer {
	overflow: hidden;
	max-height: 0;
	transition: max-height 0.3s ease;
}

.rt-faq-item.is-open .rt-faq-answer {
	max-height: 320px;
}

.rt-faq-answer p {
	font-size: 14.5px;
	line-height: 1.7;
	margin: 0 24px 22px;
	color: var(--rt-muted);
}

/* ==========================================================================
   16. Order / quote form
   ========================================================================== */
.rt-order-panel {
	background: var(--rt-navy);
	border-radius: 20px;
	padding: clamp(28px, 5vw, 56px);
}

.rt-order-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 0.7fr);
	gap: 48px;
}

.rt-form {
	display: grid;
	gap: 18px;
}

.rt-form label {
	display: block;
	font-size: 13px;
	color: #c9d6e8;
	margin-bottom: 6px;
}

.rt-form input,
.rt-form textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 14px 16px;
	border-radius: var(--rt-radius-sm);
	border: 1px solid var(--rt-navy-500);
	background: var(--rt-navy-800);
	color: #fff;
	font: inherit;
	font-size: 14.5px;
}

.rt-form textarea {
	min-height: 120px;
	resize: vertical;
}

.rt-form input:focus,
.rt-form textarea:focus {
	border-color: var(--rt-accent);
	outline: 2px solid var(--rt-accent);
	outline-offset: 0;
}

.rt-form-submit {
	justify-self: start;
	background: var(--rt-accent);
	color: #fff;
	border: 0;
	font-size: 15px;
	font-weight: 700;
	padding: 15px 30px;
	border-radius: var(--rt-radius-sm);
	cursor: pointer;
	transition: background 0.2s var(--rt-ease);
}

.rt-form-submit:hover {
	background: var(--rt-accent-hover);
}

.rt-form-recaptcha-note {
	font-size: 12px;
	line-height: 1.5;
	color: var(--rt-muted-2);
	margin: 0;
}

.rt-form-recaptcha-note a {
	color: var(--rt-muted-2);
	text-decoration: underline;
}

.rt-form-notice {
	padding: 14px 18px;
	border-radius: var(--rt-radius-sm);
	font-size: 14px;
	margin-bottom: 10px;
}

.rt-form-notice--success {
	background: rgba(126, 211, 33, 0.15);
	color: #cdeeb0;
	border: 1px solid rgba(126, 211, 33, 0.35);
}

.rt-form-notice--error {
	background: rgba(232, 89, 12, 0.15);
	color: #ffc9a3;
	border: 1px solid rgba(232, 89, 12, 0.35);
}

.rt-form-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.rt-contact-cards {
	display: grid;
	gap: 20px;
	align-content: start;
}

.rt-contact-card {
	background: var(--rt-navy-800);
	border-radius: 12px;
	padding: 22px;
}

.rt-contact-card p {
	margin: 0 0 6px;
	font-size: 14px;
	color: #c9d6e8;
}

.rt-contact-card p:last-child {
	margin-bottom: 0;
}

.rt-contact-card strong,
.rt-contact-card .rt-contact-heading {
	display: block;
	margin: 0 0 6px;
	font-family: "Poppins", sans-serif;
	font-weight: 700;
	font-size: 15.5px;
	color: #fff;
}

.rt-contact-card a {
	color: var(--rt-accent-soft-text);
}

/* ==========================================================================
   17. Legal / long-form content page
   ========================================================================== */
.rt-legal-panel {
	max-width: 880px;
	margin: 0 auto;
	background: #fff;
	border-radius: var(--rt-radius-xl);
	padding: clamp(24px, 4vw, 44px);
	box-shadow: var(--rt-shadow);
}

.rt-legal-panel h2 {
	font-size: 19px;
	margin: 28px 0 12px;
}

.rt-legal-panel h2:first-child {
	margin-top: 0;
}

.rt-legal-panel p,
.rt-legal-panel li {
	font-size: 15px;
	line-height: 1.75;
	color: var(--rt-muted);
}

.rt-legal-panel ul {
	margin: 0 0 20px;
}

/* ==========================================================================
   18. Footer
   ========================================================================== */
.rt-site-footer {
	background: var(--rt-navy-deep);
	color: #c9d6e8;
}

.rt-site-footer .rt-container {
	padding-top: 64px;
	padding-bottom: 32px;
}

.rt-footer-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 36px;
}

.rt-footer-brand {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 16px;
}

.rt-footer-brand .rt-brand-mark {
	width: 36px;
	height: 36px;
	font-size: 16px;
}

.rt-footer-brand span {
	font-family: "Poppins", sans-serif;
	font-weight: 800;
	font-size: 17px;
	color: #fff;
}

.rt-site-footer h4 {
	font-family: "Poppins", sans-serif;
	font-weight: 700;
	font-size: 15px;
	color: #fff;
	margin: 0 0 18px;
}

.rt-site-footer p,
.rt-site-footer a {
	font-size: 13.5px;
	color: #c9d6e8;
}

.rt-site-footer a:hover {
	color: #fff;
}

.rt-site-footer a.rt-btn,
.rt-site-footer a.rt-btn:hover {
	color: #fff;
}

.rt-footer-links li {
	list-style: none;
}

.rt-footer-links {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.rt-footer-bottom {
	border-top: 1px solid var(--rt-navy-700);
	margin-top: 40px;
	padding-top: 24px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
}

.rt-footer-bottom p,
.rt-footer-bottom a {
	font-size: 13px;
	color: var(--rt-muted-2);
}

/* ==========================================================================
   19. Scroll reveal
   --------------------------------------------------------------------------
   Elements only become hidden once main.js adds `rt-reveal-ready` to <html>,
   so content never disappears without JS (or with reduced motion).
   ========================================================================== */
.rt-reveal-ready .rt-reveal {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.7s var(--rt-ease), transform 0.7s var(--rt-ease);
}

.rt-reveal-ready .rt-reveal.is-revealed {
	opacity: 1;
	transform: none;
}

/* ==========================================================================
   20. Responsive
   ========================================================================== */
@media (max-width: 980px) {
	.rt-topbar,
	.rt-nav-phone,
	.rt-primary-menu,
	.rt-nav-divider,
	.rt-nav-actions > .rt-btn {
		display: none;
	}

	.rt-nav-toggle {
		display: flex;
	}

	.rt-stats-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.rt-grid-4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.rt-grid-2,
	.rt-grid-3,
	.rt-about-split,
	.rt-products-teaser,
	.rt-order-grid,
	.rt-footer-grid {
		grid-template-columns: 1fr;
	}

	.rt-about-split {
		gap: 32px;
	}

	.rt-about-split figure {
		order: -1;
	}

	.rt-hero {
		min-height: 0;
	}
}

@media (max-width: 640px) {
	.rt-stats-grid,
	.rt-grid-4,
	.rt-footer-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.rt-swatch-picked .rt-btn {
		margin-left: 0;
	}
}

/* Editable block-editor content area on template pages */
.rt-page-content {
	padding-top: 56px;
	padding-bottom: 8px;
}
.rt-page-content > .rt-container > * { max-width: 880px; }

/* Products page: Standard and Translucent colour groups stacked, no tabs */
.rt-color-group {
	margin-top: 36px;
	padding-top: 28px;
	border-top: 1px solid var(--rt-border);
}

.rt-color-group:first-of-type {
	border-top: 0;
	padding-top: 0;
}

.rt-color-group h3 {
	font-size: clamp(20px, 2.4vw, 26px);
	margin: 0 0 12px;
}

.rt-color-group__note {
	font-size: 15px;
	color: var(--rt-muted);
	margin: 0 0 18px;
}
