/*
Theme Name: RFI Travels
Theme URI: https://rfitravels.com.ng/
Author: RFI Travels
Description: A refined travel, study-abroad and global mobility theme for RFI Travels. Editorial serif headings, a warm gold accent and generous whitespace, with a dedicated Services content type for detailed service pages.
Version: 1.0.0
Requires at least: 5.9
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rfi-travels
Tags: travel, education, one-column, custom-menu, featured-images, translation-ready
*/

/* ==========================================================================
   1. Tokens
   ========================================================================== */

:root {
	--rfi-gold: #c19b76;
	--rfi-gold-dark: #ac8763;
	--rfi-dark: #1c1c1c;
	--rfi-body: #858585;
	--rfi-border: #ececec;
	--rfi-border-strong: #dadada;
	--rfi-light: #f8f8f8;
	--rfi-white: #fff;

	--rfi-serif: "Playfair Display", Georgia, "Times New Roman", serif;
	--rfi-sans: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

	--rfi-container: 1380px;
	--rfi-gutter: 15px;
	--rfi-section-py: 94.4px;
	--rfi-section-py-medium: 70px;

	--rfi-ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ==========================================================================
   2. Reset & base
   ========================================================================== */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--rfi-sans);
	font-size: 16px;
	line-height: 26px;
	font-weight: 400;
	color: var(--rfi-body);
	background: var(--rfi-white);
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body.rfi-nav-open {
	overflow: hidden;
}

img {
	max-width: 100%;
	height: auto;
	border: 0;
	vertical-align: middle;
}

svg {
	vertical-align: middle;
}

a {
	color: var(--rfi-gold);
	text-decoration: none;
	transition: color 0.3s var(--rfi-ease);
}

a:hover,
a:focus-visible {
	color: var(--rfi-gold-dark);
}

:focus-visible {
	outline: 2px solid var(--rfi-gold);
	outline-offset: 3px;
}

h1, h2, h3, h4, h5 {
	font-family: var(--rfi-serif);
	font-weight: 400;
	color: var(--rfi-dark);
	margin: 0 0 24px;
	letter-spacing: normal;
}

h1 { font-size: 62px; line-height: 1.16; }
h2 { font-size: 52px; line-height: 62.4px; margin-bottom: 48px; }
h3 { font-size: 36px; line-height: 1.28; }
h4 { font-size: 24px; line-height: 1.35; letter-spacing: 0.25px; }
h5 { font-size: 20px; line-height: 1.4; }

h6 {
	font-family: var(--rfi-sans);
	font-size: 14px;
	line-height: 19.88px;
	font-weight: 400;
	letter-spacing: 4.2px;
	text-transform: uppercase;
	color: var(--rfi-gold);
	margin: 0 0 9.6px;
}

p {
	margin: 0 0 20.8px;
}

ul, ol {
	margin: 0 0 20.8px;
	padding-left: 20px;
}

blockquote {
	margin: 0 0 32px;
	padding: 0 0 0 28px;
	border-left: 2px solid var(--rfi-gold);
	font-family: var(--rfi-serif);
	font-size: 24px;
	line-height: 38px;
	font-style: italic;
	color: var(--rfi-dark);
}

hr {
	border: 0;
	border-top: 1px solid var(--rfi-border);
	margin: 48px 0;
}

table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 32px;
}

th, td {
	padding: 12px 16px;
	border: 1px solid var(--rfi-border);
	text-align: left;
}

th {
	font-weight: 600;
	color: var(--rfi-dark);
	background: var(--rfi-light);
}

code, pre {
	font-family: SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 14px;
	background: var(--rfi-light);
}

code { padding: 2px 6px; }

pre {
	padding: 20px 24px;
	overflow-x: auto;
	margin-bottom: 26px;
}

/* Accessibility helpers */

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

.rfi-skip-link {
	position: absolute;
	top: -100px;
	left: 16px;
	z-index: 9999;
	padding: 12px 24px;
	background: var(--rfi-dark);
	color: #fff;
	font-size: 13px;
	letter-spacing: 1.8px;
	text-transform: uppercase;
	transition: top 0.25s var(--rfi-ease);
}

.rfi-skip-link:focus {
	top: 16px;
	color: #fff;
}

/* ==========================================================================
   3. Layout primitives
   ========================================================================== */

.rfi-container {
	width: 100%;
	max-width: var(--rfi-container);
	margin: 0 auto;
	padding: 0 var(--rfi-gutter);
}

.rfi-container--narrow {
	max-width: 980px;
}

.rfi-section {
	padding-top: var(--rfi-section-py);
	padding-bottom: var(--rfi-section-py);
	position: relative;
}

.rfi-section--medium {
	padding-top: var(--rfi-section-py-medium);
	padding-bottom: var(--rfi-section-py-medium);
}

.rfi-section--flush-top { padding-top: 0; }
.rfi-section--flush-bottom { padding-bottom: 0; }

.rfi-section--light { background: var(--rfi-light); }
.rfi-section--white { background: var(--rfi-white); }

.rfi-section--dark {
	background: var(--rfi-dark);
	color: rgba(255, 255, 255, 0.66);
}

.rfi-section--dark h1,
.rfi-section--dark h2,
.rfi-section--dark h3,
.rfi-section--dark h4,
.rfi-section--dark h5 {
	color: #fff;
}

.rfi-section--gold {
	background: var(--rfi-gold);
	color: rgba(255, 255, 255, 0.85);
}

.rfi-section--gold h1,
.rfi-section--gold h2,
.rfi-section--gold h3,
.rfi-section--gold h4,
.rfi-section--gold h6 {
	color: #fff;
}

.rfi-grid {
	display: grid;
	gap: 30px;
}

.rfi-grid--2 { grid-template-columns: repeat(2, 1fr); }
.rfi-grid--3 { grid-template-columns: repeat(3, 1fr); }
.rfi-grid--4 { grid-template-columns: repeat(4, 1fr); }

.rfi-text-center { text-align: center; }

/* Section heading block */

.rfi-section-head {
	margin-bottom: 62px;
}

.rfi-section-head--center {
	text-align: center;
	max-width: 760px;
	margin-left: auto;
	margin-right: auto;
}

.rfi-section-head h2 {
	margin-bottom: 0;
}

.rfi-section-head p {
	margin: 24px 0 0;
	font-size: 18px;
	line-height: 30px;
}

.rfi-lead {
	font-size: 18px;
	line-height: 30px;
}

/* ==========================================================================
   4. Buttons
   ========================================================================== */

.rfi-btn {
	display: inline-block;
	font-family: var(--rfi-sans);
	font-size: 13px;
	line-height: 17.6px;
	font-weight: 400;
	letter-spacing: 1.8px;
	text-transform: uppercase;
	text-align: center;
	padding: 16.368px 28.8px;
	border: 1px solid var(--rfi-gold);
	background: var(--rfi-gold);
	color: #fff;
	border-radius: 0;
	cursor: pointer;
	transition: background-color 0.3s var(--rfi-ease), border-color 0.3s var(--rfi-ease), color 0.3s var(--rfi-ease);
}

.rfi-btn:hover,
.rfi-btn:focus-visible {
	background: var(--rfi-gold-dark);
	border-color: var(--rfi-gold-dark);
	color: #fff;
}

.rfi-btn--big {
	font-size: 14px;
	padding: 23.2px 28.8px;
}

.rfi-btn--outline {
	background: transparent;
	color: var(--rfi-gold);
}

.rfi-btn--outline:hover,
.rfi-btn--outline:focus-visible {
	background: var(--rfi-gold);
	color: #fff;
}

.rfi-btn--light {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.4);
	color: #fff;
}

.rfi-btn--light:hover,
.rfi-btn--light:focus-visible {
	background: #fff;
	border-color: #fff;
	color: var(--rfi-dark);
}

.rfi-btn--white {
	background: #fff;
	border-color: #fff;
	color: var(--rfi-dark);
}

.rfi-btn--white:hover,
.rfi-btn--white:focus-visible {
	background: var(--rfi-dark);
	border-color: var(--rfi-dark);
	color: #fff;
}

.rfi-btn-link {
	display: inline-block;
	font-size: 13px;
	line-height: 24px;
	font-weight: 800;
	letter-spacing: 1.8px;
	text-transform: uppercase;
	color: var(--rfi-gold);
	background: none;
	border: 0;
	padding: 0;
	position: relative;
}

.rfi-btn-link::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 0;
	height: 1px;
	background: currentColor;
	transition: width 0.35s var(--rfi-ease);
}

.rfi-btn-link:hover::after,
.rfi-btn-link:focus-visible::after {
	width: 100%;
}

/* ==========================================================================
   5. Header
   ========================================================================== */

.rfi-header {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 100;
	padding: 24px 0 28.8px;
	font-size: 14px;
	line-height: 24px;
	color: #fff;
	transition: background-color 0.35s var(--rfi-ease), padding 0.35s var(--rfi-ease), box-shadow 0.35s var(--rfi-ease);
}

.rfi-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.rfi-header__left,
.rfi-header__right {
	display: flex;
	align-items: center;
	gap: 24px;
	flex: 1 1 0;
}

.rfi-header__right {
	justify-content: flex-end;
}

/* Solid header on inner pages and on scroll */

.rfi-header--solid,
.rfi-header.is-stuck {
	position: fixed;
	background: #fff;
	box-shadow: 0 1px 0 var(--rfi-border);
	padding: 14px 0;
	color: var(--rfi-dark);
}

.rfi-header--solid .rfi-logo__text,
.rfi-header.is-stuck .rfi-logo__text {
	color: var(--rfi-dark);
}

.rfi-header--solid .rfi-logo__tagline,
.rfi-header.is-stuck .rfi-logo__tagline {
	color: var(--rfi-body);
}

.rfi-header--solid .rfi-menu-toggle,
.rfi-header.is-stuck .rfi-menu-toggle,
.rfi-header--solid .rfi-header__lang,
.rfi-header.is-stuck .rfi-header__lang {
	color: var(--rfi-dark);
}

.rfi-header--solid .rfi-menu-toggle__bar,
.rfi-header.is-stuck .rfi-menu-toggle__bar {
	background: var(--rfi-dark);
}

/* Logo */

.rfi-logo {
	display: inline-block;
	text-align: center;
	color: #fff;
	line-height: 1;
}

.rfi-logo:hover,
.rfi-logo:focus-visible {
	color: #fff;
}

.rfi-logo__text {
	display: block;
	font-family: var(--rfi-serif);
	font-size: 30px;
	letter-spacing: 6px;
	text-transform: uppercase;
	color: #fff;
	transition: color 0.35s var(--rfi-ease);
}

.rfi-logo__tagline {
	display: block;
	margin-top: 6px;
	font-family: var(--rfi-sans);
	font-size: 9px;
	letter-spacing: 4.2px;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.75);
	transition: color 0.35s var(--rfi-ease);
}

.rfi-logo__rule {
	display: block;
	width: 42px;
	height: 1px;
	margin: 8px auto 0;
	background: var(--rfi-gold);
}

.rfi-logo img {
	max-height: 62px;
	width: auto;
}

/* Menu toggle */

.rfi-menu-toggle {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	background: none;
	border: 0;
	padding: 6px 0;
	color: #fff;
	font-family: var(--rfi-sans);
	font-size: 13px;
	letter-spacing: 1.8px;
	text-transform: uppercase;
	cursor: pointer;
	transition: color 0.35s var(--rfi-ease), opacity 0.3s var(--rfi-ease);
}

.rfi-menu-toggle:hover {
	opacity: 0.75;
}

.rfi-menu-toggle__bars {
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	gap: 4px;
	width: 20px;
}

.rfi-menu-toggle__bar {
	display: block;
	height: 2px;
	width: 100%;
	background: #fff;
	transition: background-color 0.35s var(--rfi-ease), transform 0.35s var(--rfi-ease), opacity 0.3s var(--rfi-ease);
}

.rfi-menu-toggle__bar:nth-child(2) { width: 14px; }

.rfi-header__lang {
	font-size: 13px;
	letter-spacing: 1.8px;
	text-transform: uppercase;
	color: #fff;
	transition: color 0.35s var(--rfi-ease);
}

.rfi-header__phone {
	font-size: 13px;
	letter-spacing: 1.2px;
	color: inherit;
	white-space: nowrap;
}

.rfi-header--solid .rfi-header__phone,
.rfi-header.is-stuck .rfi-header__phone {
	color: var(--rfi-dark);
}

/* ==========================================================================
   6. Off-canvas navigation
   ========================================================================== */

.rfi-nav-overlay {
	position: fixed;
	inset: 0;
	background: rgba(28, 28, 28, 0.6);
	opacity: 0;
	visibility: hidden;
	z-index: 998;
	transition: opacity 0.4s var(--rfi-ease), visibility 0.4s var(--rfi-ease);
}

.rfi-nav-overlay.is-active {
	opacity: 1;
	visibility: visible;
}

.rfi-offcanvas {
	position: fixed;
	top: 0;
	left: 0;
	width: 420px;
	max-width: 88vw;
	height: 100%;
	background: #fff;
	z-index: 999;
	padding: 48px 56px;
	overflow-y: auto;
	transform: translateX(-100%);
	transition: transform 0.45s var(--rfi-ease);
	display: flex;
	flex-direction: column;
}

.rfi-offcanvas.is-active {
	transform: translateX(0);
}

.rfi-offcanvas__close {
	position: absolute;
	top: 28px;
	right: 28px;
	width: 40px;
	height: 40px;
	background: none;
	border: 0;
	cursor: pointer;
	color: var(--rfi-dark);
	font-size: 26px;
	line-height: 1;
	transition: color 0.3s var(--rfi-ease), transform 0.3s var(--rfi-ease);
}

.rfi-offcanvas__close:hover {
	color: var(--rfi-gold);
	transform: rotate(90deg);
}

.rfi-offcanvas__logo {
	margin-bottom: 48px;
}

.rfi-offcanvas__logo .rfi-logo__text {
	color: var(--rfi-dark);
	font-size: 26px;
}

.rfi-offcanvas__logo .rfi-logo__tagline {
	color: var(--rfi-body);
}

.rfi-offcanvas__logo .rfi-logo {
	text-align: left;
}

.rfi-offcanvas__logo .rfi-logo__rule {
	margin-left: 0;
}

/* Menu list */

.rfi-nav-menu,
.rfi-nav-menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.rfi-nav-menu > li {
	border-bottom: 1px solid var(--rfi-border);
}

.rfi-nav-menu a {
	display: block;
	padding: 14px 0;
	font-family: var(--rfi-serif);
	font-size: 22px;
	line-height: 1.4;
	color: var(--rfi-dark);
}

.rfi-nav-menu a:hover,
.rfi-nav-menu .current-menu-item > a,
.rfi-nav-menu .current_page_item > a,
.rfi-nav-menu .current-menu-parent > a {
	color: var(--rfi-gold);
}

.rfi-nav-menu ul {
	padding-left: 0;
	margin-bottom: 12px;
	display: none;
}

.rfi-nav-menu li.is-open > ul {
	display: block;
}

.rfi-nav-menu ul a {
	padding: 8px 0;
	font-family: var(--rfi-sans);
	font-size: 15px;
	color: var(--rfi-body);
	border: 0;
}

.rfi-nav-menu .menu-item-has-children {
	position: relative;
}

.rfi-nav-menu__sub-toggle {
	position: absolute;
	top: 14px;
	right: 0;
	width: 30px;
	height: 30px;
	background: none;
	border: 0;
	cursor: pointer;
	color: var(--rfi-body);
	font-size: 14px;
	line-height: 1;
	transition: transform 0.3s var(--rfi-ease), color 0.3s var(--rfi-ease);
}

.rfi-nav-menu li.is-open > .rfi-nav-menu__sub-toggle {
	transform: rotate(180deg);
	color: var(--rfi-gold);
}

.rfi-offcanvas__footer {
	margin-top: auto;
	padding-top: 40px;
}

.rfi-offcanvas__contact {
	margin-bottom: 24px;
	font-size: 15px;
	line-height: 28px;
}

.rfi-offcanvas__contact a {
	color: var(--rfi-dark);
}

.rfi-offcanvas__contact a:hover {
	color: var(--rfi-gold);
}

.rfi-offcanvas__contact strong {
	display: block;
	font-family: var(--rfi-sans);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 2.4px;
	text-transform: uppercase;
	color: var(--rfi-gold);
	margin-bottom: 4px;
}

/* Social icons */

.rfi-social {
	display: flex;
	align-items: center;
	gap: 10px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.rfi-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border: 1px solid var(--rfi-border-strong);
	color: var(--rfi-body);
	transition: all 0.3s var(--rfi-ease);
}

.rfi-social a:hover,
.rfi-social a:focus-visible {
	background: var(--rfi-gold);
	border-color: var(--rfi-gold);
	color: #fff;
}

.rfi-social svg {
	width: 15px;
	height: 15px;
	fill: currentColor;
}

/* ==========================================================================
   7. Hero
   ========================================================================== */

.rfi-hero {
	position: relative;
	min-height: 720px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: #fff;
	overflow: hidden;
	/* Fallback so the hero still reads as intentional before a photo is set. */
	background: radial-gradient(120% 120% at 50% 0%, #3a332c 0%, #211f1d 55%, #161514 100%);
}

.rfi-hero__media {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	z-index: 0;
}

.rfi-hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(28, 28, 28, 0.45) 0%, rgba(28, 28, 28, 0.55) 100%);
}

.rfi-hero__inner {
	position: relative;
	z-index: 2;
	padding: 160px 0 200px;
	max-width: 900px;
}

.rfi-hero h6 {
	color: #fff;
	margin-bottom: 22px;
}

.rfi-hero h1 {
	color: #fff;
	font-size: 62px;
	line-height: 1.16;
	margin: 0 0 28px;
}

.rfi-hero p {
	font-size: 18px;
	line-height: 30px;
	color: rgba(255, 255, 255, 0.86);
	margin: 0 auto 38px;
	max-width: 640px;
}

.rfi-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	justify-content: center;
}

/* Page banner (inner pages) */

.rfi-page-banner {
	position: relative;
	min-height: 420px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: #fff;
	overflow: hidden;
	background: radial-gradient(120% 130% at 50% 0%, #3a332c 0%, #232120 60%, #1a1918 100%);
}

.rfi-page-banner__media {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	opacity: 0.42;
}

.rfi-page-banner__inner {
	position: relative;
	z-index: 2;
	padding: 150px 0 80px;
	max-width: 900px;
}

.rfi-page-banner h1 {
	color: #fff;
	font-size: 52px;
	line-height: 1.2;
	margin: 0;
}

.rfi-page-banner h6 {
	color: #fff;
}

.rfi-page-banner p {
	margin: 20px auto 0;
	max-width: 680px;
	font-size: 18px;
	line-height: 30px;
	color: rgba(255, 255, 255, 0.85);
}

/* Breadcrumbs */

.rfi-breadcrumbs {
	margin-top: 22px;
	font-size: 13px;
	letter-spacing: 1.4px;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.7);
}

.rfi-breadcrumbs a {
	color: rgba(255, 255, 255, 0.7);
}

.rfi-breadcrumbs a:hover {
	color: #fff;
}

.rfi-breadcrumbs span + span::before {
	content: "\2014";
	margin: 0 10px;
	opacity: 0.6;
}

/* ==========================================================================
   8. Enquiry bar (overlaps hero)
   ========================================================================== */

.rfi-enquiry-bar {
	position: relative;
	z-index: 10;
	margin-top: -60px;
	margin-bottom: 0;
}

.rfi-enquiry-bar__inner {
	background: #fff;
	box-shadow: 0 14px 44px rgba(28, 28, 28, 0.12);
	display: grid;
	grid-template-columns: repeat(3, 1fr) auto;
	align-items: stretch;
}

.rfi-enquiry-field {
	padding: 24px 30px;
	border-right: 1px solid var(--rfi-border);
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
}

.rfi-enquiry-field label {
	display: block;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 2.4px;
	text-transform: uppercase;
	color: var(--rfi-gold);
	margin-bottom: 8px;
}

/* Specificity is raised deliberately: these must beat the global input rules
   in section 16 so the bar reads as one flush strip, not boxed fields. */
.rfi-enquiry-bar .rfi-enquiry-field select,
.rfi-enquiry-bar .rfi-enquiry-field input[type="text"],
.rfi-enquiry-bar .rfi-enquiry-field input {
	width: 100%;
	border: 0;
	border-radius: 0;
	padding: 0;
	font-family: var(--rfi-serif);
	font-size: 19px;
	line-height: 1.4;
	color: var(--rfi-dark);
	background: transparent;
	appearance: none;
	cursor: pointer;
}

.rfi-enquiry-bar .rfi-enquiry-field select:focus,
.rfi-enquiry-bar .rfi-enquiry-field input:focus {
	outline: none;
	border: 0;
	box-shadow: none;
}

.rfi-enquiry-bar .rfi-enquiry-field input::placeholder {
	color: #b6b6b6;
}

.rfi-enquiry-bar .rfi-btn {
	border-radius: 0;
	padding-left: 42px;
	padding-right: 42px;
	white-space: nowrap;
}

/* ==========================================================================
   9. Service cards
   ========================================================================== */

.rfi-service-card {
	position: relative;
	background: #fff;
	border: 1px solid var(--rfi-border);
	display: flex;
	flex-direction: column;
	height: 100%;
	transition: box-shadow 0.4s var(--rfi-ease), transform 0.4s var(--rfi-ease), border-color 0.4s var(--rfi-ease);
}

.rfi-service-card:hover {
	box-shadow: 0 20px 50px rgba(28, 28, 28, 0.12);
	transform: translateY(-6px);
	border-color: transparent;
}

.rfi-service-card__media {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 3 / 2;
	background: var(--rfi-light);
}

.rfi-service-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.7s var(--rfi-ease);
}

.rfi-service-card:hover .rfi-service-card__media img {
	transform: scale(1.06);
}

.rfi-service-card__placeholder {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #efe6dc 0%, #dccbb6 100%);
	color: var(--rfi-gold-dark);
}

.rfi-service-card__placeholder svg {
	width: 58px;
	height: 58px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.25;
}

.rfi-service-card__body {
	padding: 34px 36px 38px;
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
}

.rfi-service-card__icon {
	color: var(--rfi-gold);
	margin-bottom: 20px;
}

.rfi-service-card__icon svg {
	width: 40px;
	height: 40px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.25;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.rfi-service-card__body h3 {
	font-size: 26px;
	line-height: 1.3;
	margin: 0 0 16px;
}

.rfi-service-card__body h3 a {
	color: inherit;
}

.rfi-service-card__body h3 a:hover {
	color: var(--rfi-gold);
}

.rfi-service-card__body p {
	margin: 0 0 24px;
}

.rfi-service-card__body .rfi-btn-link {
	margin-top: auto;
	align-self: flex-start;
}

/* Feature (large tile) variant used on the homepage showcase */

.rfi-feature-tile {
	position: relative;
	display: block;
	overflow: hidden;
	min-height: 420px;
	color: #fff;
	/* Fallback for tiles with no featured image yet. */
	background: linear-gradient(160deg, #4a4038 0%, #2a2724 60%, #1c1c1c 100%);
}

.rfi-feature-tile__media {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	transition: transform 0.8s var(--rfi-ease);
}

.rfi-feature-tile:hover .rfi-feature-tile__media {
	transform: scale(1.06);
}

.rfi-feature-tile::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(28, 28, 28, 0.15) 40%, rgba(28, 28, 28, 0.82) 100%);
	z-index: 1;
}

.rfi-feature-tile__body {
	position: absolute;
	left: 0;
	bottom: 0;
	z-index: 2;
	padding: 40px;
	width: 100%;
}

.rfi-feature-tile__body h3 {
	color: #fff;
	font-size: 30px;
	margin: 0 0 12px;
}

.rfi-feature-tile__body p {
	color: rgba(255, 255, 255, 0.82);
	margin: 0 0 18px;
}

.rfi-feature-tile__body .rfi-btn-link {
	color: #fff;
}

/* ==========================================================================
   10. Advantages (dark band)
   ========================================================================== */

.rfi-advantages {
	position: relative;
	background: var(--rfi-dark);
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
}

.rfi-advantages::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(28, 28, 28, 0.9);
}

.rfi-advantages > .rfi-container {
	position: relative;
	z-index: 2;
}

/* The band is dark, so its headings and body copy must invert. */
.rfi-advantages h1,
.rfi-advantages h2,
.rfi-advantages h3 {
	color: #fff;
}

.rfi-advantages .rfi-section-head p {
	color: rgba(255, 255, 255, 0.66);
}

.rfi-advantage {
	text-align: center;
	padding: 0 12px;
}

.rfi-advantage__icon {
	color: var(--rfi-gold);
	margin-bottom: 24px;
}

.rfi-advantage__icon svg {
	width: 46px;
	height: 46px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.rfi-advantage h4 {
	color: #fff;
	font-size: 24px;
	letter-spacing: 0.25px;
	margin: 0 0 14px;
}

.rfi-advantage p {
	color: rgba(255, 255, 255, 0.62);
	margin: 0;
}

/* ==========================================================================
   11. Services tabbed grid
   ========================================================================== */

.rfi-tabs {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 34px;
	margin-bottom: 56px;
	padding: 0;
	list-style: none;
}

.rfi-tab {
	background: none;
	border: 0;
	padding: 6px 0;
	font-family: var(--rfi-sans);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 2.4px;
	text-transform: uppercase;
	color: var(--rfi-body);
	cursor: pointer;
	position: relative;
	transition: color 0.3s var(--rfi-ease);
}

.rfi-tab::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 0;
	height: 1px;
	background: var(--rfi-gold);
	transition: width 0.35s var(--rfi-ease);
}

.rfi-tab:hover,
.rfi-tab.is-active {
	color: var(--rfi-gold);
}

.rfi-tab.is-active::after {
	width: 100%;
}

.rfi-tab-panel[hidden] {
	display: none;
}

/* ==========================================================================
   12. Testimonials
   ========================================================================== */

.rfi-testimonial {
	text-align: center;
	max-width: 900px;
	margin: 0 auto;
}

.rfi-testimonial__quote {
	font-family: var(--rfi-serif);
	font-size: 30px;
	line-height: 46px;
	color: #fff;
	margin: 0 0 30px;
	font-style: italic;
}

.rfi-testimonial__author {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 2.4px;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.85);
}

/* ==========================================================================
   13. Stats
   ========================================================================== */

.rfi-stat {
	text-align: center;
}

.rfi-stat__num {
	display: block;
	font-family: var(--rfi-serif);
	font-size: 56px;
	line-height: 1.1;
	color: var(--rfi-gold);
	margin-bottom: 10px;
}

.rfi-stat__label {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 2.4px;
	text-transform: uppercase;
	color: var(--rfi-body);
}

.rfi-section--dark .rfi-stat__label {
	color: rgba(255, 255, 255, 0.6);
}

/* ==========================================================================
   14. Blog / news cards
   ========================================================================== */

.rfi-post-card {
	background: #fff;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.rfi-post-card__media {
	display: block;
	overflow: hidden;
	aspect-ratio: 3 / 2;
	background: var(--rfi-light);
	margin-bottom: 26px;
}

.rfi-post-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.7s var(--rfi-ease);
}

.rfi-post-card:hover .rfi-post-card__media img {
	transform: scale(1.06);
}

.rfi-post-card__meta {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 2.4px;
	text-transform: uppercase;
	color: var(--rfi-gold);
	margin-bottom: 14px;
}

.rfi-post-card__meta a {
	color: inherit;
}

.rfi-post-card h3 {
	font-size: 26px;
	line-height: 1.32;
	margin: 0 0 16px;
}

.rfi-post-card h3 a {
	color: inherit;
}

.rfi-post-card h3 a:hover {
	color: var(--rfi-gold);
}

.rfi-post-card p {
	margin-bottom: 22px;
}

.rfi-post-card .rfi-btn-link {
	margin-top: auto;
	align-self: flex-start;
}

/* ==========================================================================
   15. CTA band
   ========================================================================== */

.rfi-cta {
	position: relative;
	background: var(--rfi-dark);
	background-size: cover;
	background-position: center;
	text-align: center;
	color: #fff;
	overflow: hidden;
}

.rfi-cta::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(28, 28, 28, 0.82);
}

.rfi-cta > .rfi-container {
	position: relative;
	z-index: 2;
}

.rfi-cta h2 {
	color: #fff;
	margin-bottom: 20px;
}

.rfi-cta p {
	font-size: 18px;
	line-height: 30px;
	color: rgba(255, 255, 255, 0.78);
	max-width: 700px;
	margin: 0 auto 36px;
}

.rfi-cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	justify-content: center;
}

/* ==========================================================================
   16. Forms
   ========================================================================== */

.rfi-form {
	display: grid;
	gap: 22px;
}

.rfi-form--2col {
	grid-template-columns: repeat(2, 1fr);
}

.rfi-form__field--full {
	grid-column: 1 / -1;
}

.rfi-form label,
.rfi-label {
	display: block;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 2.4px;
	text-transform: uppercase;
	color: var(--rfi-gold);
	margin-bottom: 10px;
}

.rfi-form input[type="text"],
.rfi-form input[type="email"],
.rfi-form input[type="tel"],
.rfi-form input[type="url"],
.rfi-form input[type="date"],
.rfi-form select,
.rfi-form textarea,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="search"],
input[type="password"],
textarea,
select {
	width: 100%;
	padding: 15px 18px;
	font-family: var(--rfi-sans);
	font-size: 15px;
	line-height: 24px;
	color: var(--rfi-dark);
	background: #fff;
	border: 1px solid var(--rfi-border-strong);
	border-radius: 0;
	transition: border-color 0.3s var(--rfi-ease), box-shadow 0.3s var(--rfi-ease);
}

.rfi-form textarea,
textarea {
	min-height: 160px;
	resize: vertical;
}

.rfi-form input:focus,
.rfi-form select:focus,
.rfi-form textarea:focus,
input:focus,
textarea:focus,
select:focus {
	outline: none;
	border-color: var(--rfi-gold);
	box-shadow: 0 0 0 1px var(--rfi-gold);
}

.rfi-form__consent {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-size: 14px;
	line-height: 22px;
}

.rfi-form__consent input {
	width: auto;
	margin-top: 4px;
	flex: 0 0 auto;
}

.rfi-form__consent label {
	margin: 0;
	font-size: 14px;
	font-weight: 400;
	letter-spacing: normal;
	text-transform: none;
	color: var(--rfi-body);
}

.rfi-form__note {
	font-size: 13px;
	line-height: 22px;
	color: var(--rfi-body);
	margin: 0;
}

/* Notices */

.rfi-notice {
	padding: 16px 22px;
	margin-bottom: 26px;
	border-left: 3px solid var(--rfi-gold);
	background: var(--rfi-light);
	font-size: 15px;
	line-height: 25px;
}

.rfi-notice--success {
	border-left-color: #3d8b5f;
	color: #2c6444;
}

.rfi-notice--error {
	border-left-color: #b3453c;
	color: #8f342d;
}

/* ==========================================================================
   17. Contact blocks
   ========================================================================== */

.rfi-contact-card {
	text-align: center;
	padding: 46px 32px;
	border: 1px solid var(--rfi-border);
	background: #fff;
	height: 100%;
	transition: box-shadow 0.4s var(--rfi-ease), transform 0.4s var(--rfi-ease);
}

.rfi-contact-card:hover {
	box-shadow: 0 18px 44px rgba(28, 28, 28, 0.1);
	transform: translateY(-4px);
}

.rfi-contact-card__icon {
	color: var(--rfi-gold);
	margin-bottom: 22px;
}

.rfi-contact-card__icon svg {
	width: 38px;
	height: 38px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.25;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.rfi-contact-card h4 {
	font-size: 20px;
	margin: 0 0 12px;
	letter-spacing: 0.25px;
}

.rfi-contact-card p {
	margin: 0;
	font-size: 15px;
	line-height: 27px;
}

.rfi-contact-card a {
	color: var(--rfi-body);
}

.rfi-contact-card a:hover {
	color: var(--rfi-gold);
}

/* ==========================================================================
   18. Single service page
   ========================================================================== */

.rfi-service-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 380px;
	gap: 70px;
	align-items: start;
}

.rfi-entry-content {
	font-size: 16px;
	line-height: 28px;
}

.rfi-entry-content > *:first-child {
	margin-top: 0;
}

.rfi-entry-content h2 {
	font-size: 36px;
	line-height: 1.28;
	margin: 52px 0 22px;
}

.rfi-entry-content h3 {
	font-size: 28px;
	margin: 44px 0 18px;
}

.rfi-entry-content h4 {
	font-size: 22px;
	margin: 36px 0 16px;
}

.rfi-entry-content img {
	margin: 12px 0 28px;
}

.rfi-entry-content ul,
.rfi-entry-content ol {
	padding-left: 0;
	list-style: none;
	margin-bottom: 28px;
}

.rfi-entry-content ul li {
	position: relative;
	padding-left: 30px;
	margin-bottom: 12px;
}

.rfi-entry-content ul li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 11px;
	width: 8px;
	height: 8px;
	border: 1px solid var(--rfi-gold);
	transform: rotate(45deg);
}

.rfi-entry-content ol {
	counter-reset: rfi-ol;
}

.rfi-entry-content ol li {
	position: relative;
	padding-left: 38px;
	margin-bottom: 12px;
	counter-increment: rfi-ol;
}

.rfi-entry-content ol li::before {
	content: counter(rfi-ol, decimal-leading-zero);
	position: absolute;
	left: 0;
	top: 0;
	font-family: var(--rfi-serif);
	font-size: 16px;
	color: var(--rfi-gold);
}

/* Sidebar */

.rfi-sidebar {
	position: sticky;
	top: 110px;
	display: grid;
	gap: 30px;
}

.rfi-widget {
	border: 1px solid var(--rfi-border);
	padding: 34px 32px;
	background: #fff;
}

.rfi-widget--gold {
	background: var(--rfi-gold);
	border-color: var(--rfi-gold);
	color: rgba(255, 255, 255, 0.88);
}

.rfi-widget--gold h4,
.rfi-widget--gold a {
	color: #fff;
}

.rfi-widget--dark {
	background: var(--rfi-dark);
	border-color: var(--rfi-dark);
	color: rgba(255, 255, 255, 0.7);
}

.rfi-widget--dark h4 {
	color: #fff;
}

.rfi-widget__title,
.rfi-widget h4 {
	font-size: 20px;
	letter-spacing: 0.25px;
	margin: 0 0 20px;
}

.rfi-widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.rfi-widget li + li {
	margin-top: 2px;
}

.rfi-widget li a {
	display: block;
	padding: 11px 0;
	border-bottom: 1px solid var(--rfi-border);
	color: var(--rfi-body);
	font-size: 15px;
}

.rfi-widget li a:hover,
.rfi-widget li.is-current a {
	color: var(--rfi-gold);
}

.rfi-widget li.is-current a {
	font-weight: 600;
}

.rfi-widget li:last-child a {
	border-bottom: 0;
}

.rfi-widget .rfi-btn {
	width: 100%;
	margin-top: 8px;
}

.rfi-widget--gold .rfi-btn--white {
	background: #fff;
	border-color: #fff;
	color: var(--rfi-dark);
}

/* Highlight list used inside service intros */

.rfi-highlights {
	display: grid;
	gap: 18px;
	list-style: none;
	margin: 0 0 36px;
	padding: 0;
}

.rfi-highlights li {
	position: relative;
	padding-left: 36px;
	font-size: 16px;
	line-height: 27px;
}

.rfi-highlights li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 8px;
	width: 18px;
	height: 10px;
	border-left: 1.5px solid var(--rfi-gold);
	border-bottom: 1.5px solid var(--rfi-gold);
	transform: rotate(-45deg);
}

/* Process steps */

.rfi-step {
	position: relative;
	padding-top: 28px;
	border-top: 1px solid var(--rfi-border);
}

.rfi-step__num {
	display: block;
	font-family: var(--rfi-serif);
	font-size: 15px;
	letter-spacing: 2px;
	color: var(--rfi-gold);
	margin-bottom: 14px;
}

.rfi-step h4 {
	font-size: 21px;
	margin: 0 0 12px;
}

.rfi-step p {
	margin: 0;
	font-size: 15px;
	line-height: 26px;
}

/* FAQ */

.rfi-faq {
	border-top: 1px solid var(--rfi-border);
}

.rfi-faq__item {
	border-bottom: 1px solid var(--rfi-border);
}

.rfi-faq__q {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	text-align: left;
	background: none;
	border: 0;
	padding: 24px 0;
	font-family: var(--rfi-serif);
	font-size: 21px;
	line-height: 1.4;
	color: var(--rfi-dark);
	cursor: pointer;
	transition: color 0.3s var(--rfi-ease);
}

.rfi-faq__q:hover {
	color: var(--rfi-gold);
}

.rfi-faq__icon {
	flex: 0 0 auto;
	width: 16px;
	height: 16px;
	position: relative;
}

.rfi-faq__icon::before,
.rfi-faq__icon::after {
	content: "";
	position: absolute;
	background: var(--rfi-gold);
	transition: transform 0.3s var(--rfi-ease), opacity 0.3s var(--rfi-ease);
}

.rfi-faq__icon::before {
	left: 0;
	top: 7px;
	width: 16px;
	height: 2px;
}

.rfi-faq__icon::after {
	left: 7px;
	top: 0;
	width: 2px;
	height: 16px;
}

.rfi-faq__q[aria-expanded="true"] .rfi-faq__icon::after {
	transform: rotate(90deg);
	opacity: 0;
}

.rfi-faq__a {
	padding: 0 0 26px;
	max-width: 860px;
}

.rfi-faq__a p:last-child {
	margin-bottom: 0;
}

.rfi-faq__a[hidden] {
	display: none;
}

/* ==========================================================================
   19. Footer
   ========================================================================== */

.rfi-footer {
	background: var(--rfi-dark);
	color: rgba(255, 255, 255, 0.6);
	font-size: 14px;
	line-height: 26.6px;
}

.rfi-footer__top {
	padding: 88px 0 64px;
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1.4fr;
	gap: 50px;
}

.rfi-footer h4 {
	color: #fff;
	font-size: 19px;
	letter-spacing: 0.25px;
	margin: 0 0 26px;
}

.rfi-footer a {
	color: rgba(255, 255, 255, 0.6);
}

.rfi-footer a:hover,
.rfi-footer a:focus-visible {
	color: var(--rfi-gold);
}

.rfi-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.rfi-footer li {
	margin-bottom: 10px;
}

.rfi-footer .rfi-logo {
	text-align: left;
	margin-bottom: 24px;
}

.rfi-footer .rfi-logo__rule {
	margin-left: 0;
}

.rfi-footer .rfi-social a {
	border-color: rgba(255, 255, 255, 0.2);
	color: rgba(255, 255, 255, 0.7);
}

.rfi-footer .rfi-social a:hover {
	background: var(--rfi-gold);
	border-color: var(--rfi-gold);
	color: #fff;
}

.rfi-footer__contact-line {
	display: flex;
	gap: 12px;
	margin-bottom: 14px;
}

.rfi-footer__contact-line svg {
	flex: 0 0 auto;
	width: 16px;
	height: 16px;
	margin-top: 5px;
	fill: none;
	stroke: var(--rfi-gold);
	stroke-width: 1.4;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.rfi-footer__newsletter p {
	margin-bottom: 20px;
}

.rfi-footer__newsletter-form {
	display: flex;
	border: 1px solid rgba(255, 255, 255, 0.2);
}

.rfi-footer__newsletter-form input {
	flex: 1 1 auto;
	border: 0;
	background: transparent;
	color: #fff;
	padding: 14px 16px;
	font-size: 14px;
	min-width: 0;
}

.rfi-footer__newsletter-form input::placeholder {
	color: rgba(255, 255, 255, 0.4);
}

.rfi-footer__newsletter-form input:focus {
	box-shadow: none;
	border: 0;
	outline: none;
}

.rfi-footer__newsletter-form button {
	flex: 0 0 auto;
	border: 0;
	background: var(--rfi-gold);
	color: #fff;
	padding: 14px 22px;
	font-size: 12px;
	letter-spacing: 1.8px;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 0.3s var(--rfi-ease);
}

.rfi-footer__newsletter-form button:hover {
	background: var(--rfi-gold-dark);
}

.rfi-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding: 30px 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
	font-size: 13px;
}

.rfi-footer__bottom p {
	margin: 0;
}

.rfi-footer__bottom ul {
	display: flex;
	gap: 26px;
	flex-wrap: wrap;
}

.rfi-footer__bottom li {
	margin: 0;
}

/* Back to top */

.rfi-to-top {
	position: fixed;
	right: 26px;
	bottom: 26px;
	width: 52px;
	height: 52px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--rfi-gold);
	color: #fff;
	border: 0;
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);
	transition: all 0.35s var(--rfi-ease);
	z-index: 90;
}

.rfi-to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.rfi-to-top:hover {
	background: var(--rfi-dark);
}

.rfi-to-top svg {
	width: 16px;
	height: 16px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* Floating WhatsApp */

.rfi-whatsapp {
	position: fixed;
	right: 26px;
	bottom: 90px;
	width: 52px;
	height: 52px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #25d366;
	color: #fff;
	z-index: 90;
	transition: transform 0.3s var(--rfi-ease);
}

.rfi-whatsapp:hover {
	transform: scale(1.08);
	color: #fff;
}

.rfi-whatsapp svg {
	width: 26px;
	height: 26px;
	fill: currentColor;
}

/* ==========================================================================
   20. Pagination & misc WordPress
   ========================================================================== */

.rfi-pagination {
	margin-top: 70px;
	display: flex;
	justify-content: center;
}

.rfi-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 46px;
	height: 46px;
	padding: 0 12px;
	margin: 0 4px;
	border: 1px solid var(--rfi-border-strong);
	color: var(--rfi-body);
	font-size: 14px;
	transition: all 0.3s var(--rfi-ease);
}

.rfi-pagination .page-numbers:hover,
.rfi-pagination .page-numbers.current {
	background: var(--rfi-gold);
	border-color: var(--rfi-gold);
	color: #fff;
}

.rfi-post-meta {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 2.4px;
	text-transform: uppercase;
	color: var(--rfi-gold);
	margin-bottom: 18px;
}

.alignleft { float: left; margin: 6px 30px 20px 0; }
.alignright { float: right; margin: 6px 0 20px 30px; }
.aligncenter { display: block; margin: 12px auto 26px; }
.alignwide, .alignfull { margin: 26px 0; }

.wp-caption { max-width: 100%; }

.wp-caption-text,
.wp-block-image figcaption {
	font-size: 13px;
	line-height: 22px;
	color: var(--rfi-body);
	margin-top: 10px;
	text-align: center;
}

.sticky .rfi-post-card { outline: 1px solid var(--rfi-gold); }

.rfi-no-results {
	text-align: center;
	padding: 40px 0;
}

/* ==========================================================================
   21. Reveal animation
   ========================================================================== */

.rfi-reveal {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 0.75s var(--rfi-ease), transform 0.75s var(--rfi-ease);
}

.rfi-reveal.is-visible {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		transition-duration: 0.001ms !important;
		scroll-behavior: auto !important;
	}

	.rfi-reveal {
		opacity: 1;
		transform: none;
	}
}

/* ==========================================================================
   22. Responsive
   ========================================================================== */

@media (max-width: 1199px) {
	:root {
		--rfi-section-py: 76px;
	}

	h1 { font-size: 52px; }
	h2 { font-size: 42px; line-height: 1.2; margin-bottom: 38px; }
	h3 { font-size: 30px; }

	.rfi-hero h1 { font-size: 50px; }
	.rfi-page-banner h1 { font-size: 42px; }

	.rfi-service-layout {
		grid-template-columns: minmax(0, 1fr) 320px;
		gap: 46px;
	}

	.rfi-footer__top {
		grid-template-columns: repeat(2, 1fr);
		gap: 44px;
	}

	.rfi-grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 991px) {
	:root {
		--rfi-section-py: 64px;
	}

	h1 { font-size: 42px; }
	h2 { font-size: 34px; margin-bottom: 32px; }
	h3 { font-size: 26px; }

	.rfi-hero {
		min-height: 560px;
	}

	.rfi-hero h1 { font-size: 40px; }

	.rfi-hero__inner {
		padding: 140px 0 150px;
	}

	.rfi-page-banner {
		min-height: 340px;
	}

	.rfi-page-banner__inner {
		padding: 130px 0 60px;
	}

	.rfi-page-banner h1 { font-size: 34px; }

	.rfi-grid--3 { grid-template-columns: repeat(2, 1fr); }

	.rfi-service-layout {
		grid-template-columns: minmax(0, 1fr);
		gap: 60px;
	}

	.rfi-sidebar {
		position: static;
	}

	.rfi-enquiry-bar__inner {
		grid-template-columns: repeat(2, 1fr);
	}

	.rfi-enquiry-bar .rfi-btn {
		grid-column: 1 / -1;
	}

	.rfi-enquiry-field {
		border-bottom: 1px solid var(--rfi-border);
	}

	.rfi-enquiry-field:nth-child(2n) {
		border-right: 0;
	}

	.rfi-advantages {
		background-attachment: scroll;
	}

	.rfi-section-head {
		margin-bottom: 44px;
	}

	.rfi-header__phone {
		display: none;
	}
}

@media (max-width: 767px) {
	:root {
		--rfi-section-py: 56px;
		--rfi-gutter: 18px;
	}

	h1 { font-size: 34px; }
	h2 { font-size: 29px; }
	h3 { font-size: 24px; }
	h4 { font-size: 21px; }

	body { font-size: 15px; line-height: 25px; }

	.rfi-hero h1 { font-size: 33px; }

	.rfi-hero__inner {
		padding: 120px 0 130px;
	}

	.rfi-hero p,
	.rfi-lead,
	.rfi-section-head p {
		font-size: 16px;
		line-height: 27px;
	}

	.rfi-grid--2,
	.rfi-grid--3,
	.rfi-grid--4 {
		grid-template-columns: 1fr;
	}

	.rfi-enquiry-bar {
		margin-top: -30px;
	}

	.rfi-enquiry-bar__inner {
		grid-template-columns: 1fr;
	}

	.rfi-enquiry-field {
		border-right: 0;
	}

	.rfi-form--2col {
		grid-template-columns: 1fr;
	}

	.rfi-offcanvas {
		padding: 40px 28px;
	}

	.rfi-footer__top {
		grid-template-columns: 1fr;
		gap: 40px;
		padding: 60px 0 44px;
	}

	.rfi-footer__bottom {
		flex-direction: column;
		text-align: center;
	}

	.rfi-testimonial__quote {
		font-size: 22px;
		line-height: 36px;
	}

	.rfi-hero__actions,
	.rfi-cta__actions {
		flex-direction: column;
	}

	.rfi-hero__actions .rfi-btn,
	.rfi-cta__actions .rfi-btn {
		width: 100%;
	}

	.rfi-tabs {
		gap: 20px;
		margin-bottom: 38px;
	}

	.rfi-service-card__body {
		padding: 28px 26px 30px;
	}

	.rfi-whatsapp {
		right: 18px;
		bottom: 80px;
	}

	.rfi-to-top {
		right: 18px;
		bottom: 18px;
	}

	/* The three header items must fit one narrow row without wrapping. */
	.rfi-header {
		padding: 16px 0;
	}

	.rfi-header__inner {
		gap: 10px;
	}

	.rfi-header__left,
	.rfi-header__right {
		flex: 0 0 auto;
	}

	.rfi-logo {
		flex: 1 1 auto;
		min-width: 0;
	}

	.rfi-logo__text {
		font-size: 19px;
		letter-spacing: 3px;
		white-space: nowrap;
	}

	.rfi-logo__tagline {
		font-size: 7px;
		letter-spacing: 2.6px;
		margin-top: 4px;
	}

	.rfi-logo__rule {
		width: 28px;
		margin-top: 5px;
	}

	.rfi-logo img {
		max-height: 42px;
	}

	.rfi-header__right .rfi-btn {
		padding: 11px 14px;
		font-size: 10px;
		letter-spacing: 1px;
	}
}

@media (max-width: 480px) {
	/* Drop the "Menu" word rather than the CTA — the enquiry button is the
	   primary conversion action and has to survive on phones. */
	.rfi-menu-toggle span:not(.rfi-menu-toggle__bars):not(.rfi-menu-toggle__bar) {
		display: none;
	}

	.rfi-menu-toggle {
		gap: 0;
	}

	.rfi-logo__text {
		font-size: 17px;
		letter-spacing: 2.4px;
	}

	.rfi-logo__tagline {
		display: none;
	}

	.rfi-logo__rule {
		margin-top: 6px;
	}

	.rfi-header__right .rfi-btn {
		padding: 10px 11px;
		font-size: 9px;
		letter-spacing: 0.6px;
	}
}
