/**
 * Inner pages from the "RR Inner pages" design: the project page, the blog
 * and the "Let's Connect" enquiry panel. Loads after theme.css.
 *
 * html is 62.5%, so 1rem = 10px.
 */

:root {
	--cream: #fffdf8;
	/* The lighter gold the design uses for filled buttons and the hero name. */
	--gold-light: #e5b77d;

	/* Distance from the viewport edge to the container's content edge, per
	   Bootstrap breakpoint — lets a column line up with the container while
	   its neighbour bleeds to the screen edge. */
	--rr-edge: 1.6rem;
	/* Wider inset used by the amenities section, which sits outside the container. */
	--rr-edge-wide: clamp(1.6rem, 5.5vw, 11rem);
}

@media (min-width: 576px) { :root { --rr-edge: calc((100vw - 540px) / 2 + 1.6rem); } }
@media (min-width: 768px) { :root { --rr-edge: calc((100vw - 720px) / 2 + 0.75rem); } }
@media (min-width: 992px) { :root { --rr-edge: calc((100vw - 960px) / 2 + 0.75rem); } }
@media (min-width: 1200px) { :root { --rr-edge: calc((100vw - 1140px) / 2 + 0.75rem); } }
@media (min-width: 1400px) { :root { --rr-edge: calc((100vw - 1320px) / 2 + 0.75rem); } }

/* =========================================================================
   Shared pieces
   ========================================================================= */

/* Design: Montserrat 20px / 0.05em tags, TT Ramillas 62px titles. */
.rr-tag {
	display: inline-block;
	font-family: var(--font-regular);
	font-size: clamp(1.3rem, 1.05vw, 2rem);
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--light-black);
	margin-bottom: 1rem;
}

.rr-tag--light { color: var(--white); }

.rr-ptitle {
	font-family: var(--sub-font-regular);
	font-size: clamp(2.8rem, 3.2vw, 6.2rem);
	line-height: 1.05;
	text-transform: uppercase;
	color: var(--primary);
	margin: 0 0 2rem;
}

.rr-ptext {
	max-width: 46rem;
	font-size: clamp(1.4rem, 1.2vw, 1.6rem);
	line-height: 1.7;
	color: var(--gray);
}

.rr-ptext p { margin: 0 0 1.4rem; }
.rr-ptext > :last-child { margin-bottom: 0; }
.rr-ptext + .rr-btn { margin-top: 2.8rem; }

/* Tag with a gold rule running out to the screen edge ("ABOUT THE PROJECT"). */
.rr-tagline {
	position: relative;
	display: inline-flex;
	align-items: center;
	margin-bottom: 1rem;
}

.rr-tagline .rr-tag { margin-bottom: 0; }

.rr-tagline__rule {
	position: absolute;
	top: 50%;
	width: 100vw;
	height: 1px;
	background: var(--primary);
}

.rr-tagline--rule-left .rr-tagline__rule { right: calc(100% + 2rem); }
.rr-tagline--rule-right .rr-tagline__rule { left: calc(100% + 2rem); }

/* ---- buttons ---- */

/* Design: 45px tall, 9px radius, 1px gold border, Montserrat 20px / 0.05em. */
.rr-btn {
	display: inline-flex;
	align-items: center;
	gap: 1rem;
	padding: 1.1rem 2.2rem;
	border: 1px solid var(--primary);
	border-radius: 9px;
	background: transparent;
	color: var(--light-black);
	font-family: var(--font-regular);
	font-size: clamp(1.3rem, 1.1vw, 1.5rem);
	letter-spacing: 0.05em;
	line-height: 1.2;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: all 0.3s ease;
}

.rr-btn i { font-size: 1.2rem; }

.rr-btn:hover {
	background: var(--primary);
	border-color: var(--primary);
	color: var(--black);
}

/* Filled: "View on Map", "Enquire Now". */
.rr-btn--solid {
	background: var(--gold-light);
	border-color: var(--gold-light);
	color: var(--light-black);
	font-family: var(--font-semibold);
	letter-spacing: 0.02em;
}

.rr-btn--solid:hover {
	background: var(--light-black);
	border-color: var(--light-black);
	color: var(--white);
}

/* Over the hero image: "Download Brochure". */
.rr-btn--glass {
	background: rgba(50, 27, 8, 0.75);
	border-color: var(--gold-light);
	border-radius: 6px;
	color: var(--white);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

.rr-btn--glass:hover {
	background: var(--gold-light);
	color: var(--light-black);
}

/* Over the enquiry panel: "Call Now", "WhatsApp", "Book a Site Visit". */
.rr-btn--light {
	border-color: var(--primary);
	color: var(--white);
}

.rr-btn--light:hover {
	background: var(--gold-light);
	border-color: var(--gold-light);
	color: var(--light-black);
}

/* ---- text column + image bleeding to the screen edge ---- */

.rr-split {
	display: grid;
	grid-template-columns: 1fr;
	align-items: center;
}

.rr-split__text {
	padding-inline: var(--rr-edge) clamp(1.6rem, 4vw, 6rem);
}

.rr-split--reverse .rr-split__text {
	padding-inline: clamp(1.6rem, 4vw, 6rem) var(--rr-edge);
}

.rr-split__media {
	margin: 4rem 0 0;
	aspect-ratio: 16 / 10;
}

.rr-split__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.rr-split--reverse .rr-split__media { order: 2; }

@media (min-width: 992px) {
	.rr-split { grid-template-columns: 1fr 1fr; }

	.rr-split__media {
		margin: 0;
		aspect-ratio: auto;
		height: 100%;
		min-height: clamp(40rem, 36vw, 56rem);
	}

	.rr-split--reverse .rr-split__media { order: 0; }
}

/* =========================================================================
   Header variants
   ========================================================================= */

/* Blog: light bar with dark links and a gold rule, as in the design. */
body.rr-inner--light .rr-header .rr-header__bg {
	background: var(--cream);
	border-bottom: 1px solid var(--primary);
	box-shadow: none;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}

body.rr-inner--light .rr-header.rr-header--scrolled .rr-header__bg {
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}

body.rr-inner--light .rr-header__cta { color: var(--light-black); }
body.rr-inner--light .rr-header__cta:hover { color: var(--primary-dark); }
body.rr-inner--light .rr-header__toggle span { background: var(--light-black); }

@media (min-width: 992px) {
	/* Below 992px the links live in the dark drawer and stay white. */
	body.rr-inner--light .rr-header__link,
	body.rr-inner--light .rr-header__link:hover { color: var(--light-black); }
}

/* =========================================================================
   Project page
   ========================================================================= */

/* ---- hero ---- */

.rr-phero {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 100dvh;
	background: var(--black);
	color: var(--white);
	overflow: hidden;
}

.rr-phero__media { position: absolute; inset: 0; }

.rr-phero__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.03);
}

/* Content sits in the lower half of the image, as in the design. */
.rr-phero .container {
	flex: 1;
	display: flex;
	align-items: flex-end;
}

.rr-phero__content {
	max-width: 64rem;
	padding-block: clamp(15rem, 10rem + 8vw, 20rem) clamp(5rem, 5vw, 9.6rem);
}

.rr-phero__eyebrow {
	display: inline-block;
	font-family: var(--font-regular);
	font-size: clamp(1.3rem, 1.2vw, 1.8rem);
	letter-spacing: 0.075em;
	text-transform: uppercase;
	color: var(--white);
}

.rr-phero__title {
	font-family: var(--sub-font-regular);
	font-size: clamp(3.4rem, 3.6vw, 6.5rem);
	line-height: 1.15;
	text-transform: uppercase;
	color: var(--gold-light);
	margin: 0.4rem 0 clamp(3rem, 6vh, 8rem);
}

.rr-phero__tagline {
	font-family: var(--sub-font-regular);
	font-size: clamp(2.6rem, 2.6vw, 4.8rem);
	line-height: 1.25;
	color: var(--white);
	margin: 0 0 1.6rem;
}

.rr-phero__text {
	max-width: 50rem;
	font-size: clamp(1.4rem, 1.2vw, 1.8rem);
	letter-spacing: 0.05em;
	line-height: 1.4;
	margin: 0 0 3rem;
}

.rr-phero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1.6rem;
}

/* Hero buttons: solid gold "Enquire Now", dark glass "Download Brochure". */
.rr-phero__actions .rr-btn {
	padding: 1.3rem 2.4rem;
	border-radius: 6px;
	font-size: clamp(1.3rem, 1.1vw, 1.6rem);
}

.rr-phero__actions .rr-btn--solid { font-family: var(--font-medium); letter-spacing: 0.05em; }

/* Key figures: a frosted black band over the bottom of the image. */
.rr-phero__stats {
	position: relative;
	z-index: 2;
	margin: 0 0.8rem;
	border-radius: 13px 13px 0 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.9) 100%);
	-webkit-backdrop-filter: blur(10px) brightness(0.9);
	backdrop-filter: blur(10px) brightness(0.9);
}

.rr-pstats {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	list-style: none;
	margin: 0;
	padding: clamp(2.4rem, 3vw, 4rem) 0;
}

.rr-pstats__item {
	display: flex;
	align-items: center;
	gap: 1.6rem;
	padding: 0.6rem clamp(2rem, 3vw, 5.6rem);
	border-left: 1px solid rgba(255, 255, 255, 0.35);
}

.rr-pstats__item:first-child { border-left: 0; }

.rr-pstats__icon {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 5rem;
	height: 5rem;
}

.rr-pstats__icon img {
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
}

.rr-pstats__body { display: flex; flex-direction: column; }

.rr-pstats__value {
	font-family: var(--font-regular);
	font-size: clamp(1.5rem, 1.3vw, 2rem);
	line-height: 1.25;
	text-transform: uppercase;
	color: var(--white);
}

.rr-pstats__label {
	margin-top: 0.2rem;
	font-size: clamp(1.2rem, 1vw, 1.6rem);
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #8b8b8b;
}

@media (max-width: 767px) {
	.rr-phero { min-height: 0; }
	.rr-phero__content { padding-top: 18rem; }

	.rr-pstats {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 1.6rem 0;
	}

	.rr-pstats__item { border-left: 0; padding-inline: 1.2rem; }
	.rr-pstats__item:nth-child(2n) { border-left: 1px solid rgba(255, 255, 255, 0.18); }
	.rr-pstats__icon { width: 4rem; height: 4rem; }
}

@media (max-width: 479px) {
	/* Long values ("1,100–2,035 Sq. Ft.") need the full width. */
	.rr-pstats { grid-template-columns: 1fr; gap: 1.2rem; }
	.rr-pstats__item:nth-child(2n) { border-left: 0; }
}

/* ---- about / experience ---- */

.rr-pabout {
	background: var(--white);
	overflow: hidden;
}

.rr-pexp {
	background: var(--cream);
	overflow: hidden;
}

/* ---- amenities ---- */

.rr-pamen {
	background: var(--white);
	overflow: hidden;
}

.rr-pamen__inner {
	display: grid;
	grid-template-columns: 1fr;
	gap: 4rem;
	padding-left: var(--rr-edge-wide);
}

.rr-pamen__inner--no-image { padding-right: var(--rr-edge-wide); }

.rr-pamen__head { margin-bottom: clamp(3rem, 3.5vw, 5rem); }
.rr-pamen__head .rr-ptitle { margin-bottom: 0; }

.rr-pamen__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 3.2rem 0;
	list-style: none;
	margin: 0;
	padding: 0;
}

.rr-pamen__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 0 1.2rem;
	border-right: 1px solid #d6d6d6;
	text-align: center;
}

.rr-pamen__icon {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	height: 5.6rem;
	margin-bottom: 1.4rem;
}

.rr-pamen__icon img {
	width: auto;
	height: auto;
	max-width: 8rem;
	max-height: 5.6rem;
}

.rr-pamen__label {
	font-family: var(--sub-font-regular);
	font-size: clamp(1.3rem, 1.05vw, 2rem);
	line-height: 1.4;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--light-black);
}

.rr-pamen__media {
	margin: 0;
	padding-right: var(--rr-edge-wide);
}

.rr-pamen__media img {
	width: 100%;
	height: auto;
	display: block;
}

@media (max-width: 575px) {
	.rr-pamen__grid { padding-right: var(--rr-edge-wide); }
	.rr-pamen__item:nth-child(2n) { border-right: 0; }
}

@media (min-width: 576px) { .rr-pamen__grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 992px) { .rr-pamen__grid { grid-template-columns: repeat(4, 1fr); } }

@media (min-width: 1200px) {
	.rr-pamen__inner {
		grid-template-columns: minmax(0, 1fr) clamp(30rem, 30vw, 50rem);
		align-items: center;
		column-gap: clamp(3rem, 4vw, 7rem);
	}

	.rr-pamen__inner--no-image { grid-template-columns: 1fr; }
	.rr-pamen__media { padding-right: 0; }
	.rr-pamen__media img { max-height: 46rem; object-fit: cover; }
}

@media (min-width: 1400px) { .rr-pamen__grid { grid-template-columns: repeat(6, 1fr); } }

/* ---- location & connectivity ---- */

.rr-ploc {
	background: var(--light-black);
	color: var(--white);
	overflow: hidden;
}

.rr-ploc__inner { padding-left: var(--rr-edge); }

.rr-ploc__head {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	margin-bottom: clamp(3rem, 3.5vw, 5rem);
	padding-right: var(--rr-edge);
}

.rr-ploc__head .rr-ptitle { margin-bottom: 0; }

.rr-ploc__text {
	max-width: 56rem;
	margin: 0;
	font-size: clamp(1.4rem, 1.2vw, 1.6rem);
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.85);
}

.rr-ploc__body {
	display: grid;
	grid-template-columns: 1fr;
	gap: 4rem;
	padding-right: var(--rr-edge);
}

.rr-ploc__list {
	columns: 1;
	column-gap: 4rem;
	column-rule: 1px solid rgba(255, 255, 255, 0.15);
	list-style: none;
	margin: 0;
	padding: 0;
}

.rr-ploc__list li {
	break-inside: avoid;
	margin-bottom: 1.8rem;
	font-size: clamp(1.3rem, 1.05vw, 2rem);
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--white);
}

.rr-ploc__list strong { font-family: var(--font-semibold); font-weight: normal; }

.rr-ploc__actions { margin-top: 3.2rem; }

.rr-ploc__media { margin: 0; }

.rr-ploc__media a { display: block; }

.rr-ploc__media img {
	width: 100%;
	height: auto;
	display: block;
	border: 1px solid rgba(255, 255, 255, 0.15);
}

@media (min-width: 576px) { .rr-ploc__list { columns: 2; } }

@media (min-width: 992px) {
	.rr-ploc__head {
		grid-template-columns: minmax(0, 48rem) minmax(0, 60rem);
		column-gap: 6rem;
		align-items: start;
	}

	.rr-ploc__text { padding-top: clamp(1rem, 3vw, 4.4rem); }

	.rr-ploc__body {
		grid-template-columns: minmax(0, 1fr) clamp(36rem, 38vw, 74rem);
		column-gap: 5rem;
		align-items: start;
		padding-right: 0;
	}

	.rr-ploc__body--no-map { grid-template-columns: 1fr; padding-right: var(--rr-edge); }
}

/* ---- master plan ---- */

.rr-pplan { background: var(--white); }

.rr-pplan .container {
	padding-bottom: clamp(4rem, 5vw, 7rem);
	border-bottom: 2px solid var(--gold-light);
}

.rr-pplan__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 3rem;
}

.rr-pplan__media { position: relative; }

.rr-pplan__head {
	max-width: 46rem;
	margin-bottom: 2rem;
	padding: clamp(2rem, 2.4vw, 3.6rem);
	background: rgba(254, 252, 248, 0.94);
}

.rr-pplan__head .rr-ptitle { margin-bottom: 0; }

.rr-pplan__img { display: block; }

.rr-pplan__img img {
	width: 100%;
	height: auto;
	display: block;
}

.rr-pplan__legend {
	max-width: 44rem;
	padding: 2.4rem 2.8rem;
	border: 1px solid #707070;
	border-radius: 17px;
	background: var(--white);
}

.rr-pplan__legend-title {
	padding-bottom: 1rem;
	border-bottom: 1px solid #a70000;
	font-family: var(--sub-font-regular);
	font-size: clamp(1.8rem, 1.5vw, 2.7rem);
	text-transform: uppercase;
	color: var(--primary);
}

.rr-pplan__sizes {
	display: grid;
	gap: 1.2rem;
	list-style: none;
	margin: 1.6rem 0 0;
	padding: 0;
}

.rr-pplan__sizes li {
	display: flex;
	align-items: center;
	gap: 1.4rem;
	font-size: 1.4rem;
	color: var(--light-black);
}

.rr-pplan__swatch {
	flex-shrink: 0;
	width: 3.2rem;
	height: 1.4rem;
	border-radius: 2px;
}

.rr-pplan__note {
	max-width: 44rem;
	margin: 3rem 0 0;
	font-family: var(--sub-font-regular);
	font-size: clamp(1.6rem, 1.4vw, 2.7rem);
	letter-spacing: 0.04em;
	text-align: center;
	text-transform: uppercase;
	color: var(--primary);
}

@media (min-width: 992px) {
	.rr-pplan__grid {
		grid-template-columns: minmax(0, 1.6fr) minmax(28rem, 1fr);
		column-gap: 5rem;
		align-items: end;
	}

	.rr-pplan__grid--no-legend { grid-template-columns: 1fr; }

	/* The title box sits over the plan's top-left corner, as in the design. */
	.rr-pplan__head {
		position: absolute;
		top: 0;
		left: 0;
		z-index: 1;
		margin: 0;
	}

	.rr-pplan__media { padding-top: 5rem; }
}

/* ---- gallery ---- */

.rr-pgal {
	background: var(--white);
	overflow: hidden;
}

/* Cream band behind the heading that the top half of the slides overlaps. */
.rr-pgal__band {
	background: var(--cream);
	padding: clamp(6rem, 7vw, 9rem) 0 clamp(16rem, 17vw, 22rem);
}

.rr-pgal__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
}

.rr-pgal__head .rr-ptitle { margin-bottom: 0; }

.rr-pgal__slider {
	margin-top: calc(-1 * clamp(9rem, 10vw, 13rem));
	padding-bottom: clamp(3rem, 4vw, 5rem);
}

/* Runs to the screen's right edge; extra slides peek out like the design. */
.rr-pgal__swiper { margin-right: calc(-50vw + 50%); }

.rr-pgal__swiper .swiper-slide { width: clamp(24rem, 27vw, 38.4rem); }

.rr-pgal__item {
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	background: none;
	overflow: hidden;
	cursor: zoom-in;
}

/* height:auto beats the <img height> attribute so aspect-ratio can apply. */
.rr-pgal__item img {
	width: 100%;
	height: auto;
	aspect-ratio: 5 / 3;
	object-fit: cover;
	display: block;
	transition: transform 0.8s ease;
}

.rr-pgal__item:hover img { transform: scale(1.05); }

.rr-pgal__nav {
	justify-content: flex-start;
	margin-top: 2.4rem;
}

/* Full-screen viewer. */
.rr-gallery-modal .modal-content {
	background: #050505;
	border: 0;
	border-radius: 0;
	overflow: hidden;
}

.rr-gallery-modal__carousel,
.rr-gallery-modal .carousel-inner,
.rr-gallery-modal .carousel-item { height: 100%; }

/* Bootstrap hides inactive slides with display:none — only override the
   ones it shows, or every slide stacks up and nothing appears to move. */
.rr-gallery-modal .carousel-item.active,
.rr-gallery-modal .carousel-item-next,
.rr-gallery-modal .carousel-item-prev {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 6rem 2rem;
}

.rr-gallery-modal .carousel-item img {
	max-width: 100%;
	max-height: calc(100dvh - 14rem);
	width: auto;
	height: auto;
	object-fit: contain;
}

.rr-gallery-modal__caption {
	margin: 1.6rem 0 0;
	font-size: 1.4rem;
	color: rgba(255, 255, 255, 0.75);
}

.rr-gallery-modal .carousel-control-prev,
.rr-gallery-modal .carousel-control-next {
	width: 8rem;
	font-size: 2.4rem;
	color: var(--white);
	opacity: 0.7;
}

.rr-gallery-modal__count {
	position: absolute;
	left: 50%;
	bottom: 2rem;
	transform: translateX(-50%);
	font-size: 1.4rem;
	letter-spacing: 0.1em;
	color: rgba(255, 255, 255, 0.75);
}

/* ---- RERA ---- */

.rr-prera { background: var(--white); }

.rr-prera__number {
	margin: 0 0 1.2rem;
	font-family: var(--font-regular);
	font-size: clamp(2rem, 2.1vw, 4rem);
	letter-spacing: 0.05em;
	color: var(--light-black);
}

.rr-prera__text {
	max-width: 90rem;
	margin: 0 0 2.4rem;
	font-size: clamp(1.4rem, 1.2vw, 1.6rem);
	line-height: 1.6;
	color: var(--gray);
}

/* Sections carry their own bottom padding; the enquiry panel that follows
   keeps just the gap from the design. */
.rr-project > section:not(.rr-phero) + .rr-enquiry { padding-top: 0; }

/* =========================================================================
   "Let's Connect" enquiry panel
   ========================================================================= */

.rr-enquiry { background: var(--white); }
body.rr-inner--light .rr-enquiry { background: var(--cream); }
.rr-blog + .rr-enquiry { padding-top: 0; }

.rr-enquiry__panel {
	position: relative;
	overflow: hidden;
	padding: clamp(3.2rem, 4vw, 6rem) clamp(2rem, 3vw, 5.6rem);
	color: var(--white);
}

.rr-enquiry__bg {
	position: absolute;
	inset: 0;
	background: #1a1409 center / cover no-repeat;
	transform: scale(1.03);
}

.rr-enquiry__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
}

.rr-enquiry__row {
	position: relative;
	display: grid;
	grid-template-columns: 1fr;
	gap: 4rem;
	align-items: center;
}

.rr-enquiry__title { color: var(--primary); }

.rr-enquiry__text {
	max-width: 46rem;
	margin: 0 0 3.2rem;
	font-size: clamp(1.4rem, 1.2vw, 1.6rem);
	line-height: 1.6;
	color: var(--white);
}

.rr-enquiry__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1.2rem;
}

.rr-enquiry__actions .rr-btn {
	padding: 0.9rem 1.6rem;
	font-size: 1.2rem;
}

.rr-enquiry__actions .rr-btn i { font-size: 1.4rem; }

.rr-enquiry__form {
	padding: clamp(2rem, 2.4vw, 3.2rem);
	border-radius: 21px;
	background: rgba(255, 255, 255, 0.08);
	-webkit-backdrop-filter: blur(30px) brightness(1.1);
	backdrop-filter: blur(30px) brightness(1.1);
}

@media (min-width: 992px) {
	.rr-enquiry__row {
		grid-template-columns: 1.2fr 1fr;
		column-gap: 6rem;
	}

	.rr-enquiry__row--no-form { grid-template-columns: 1fr; }
}

/* The popup form, restyled as the boxed fields of the panel. */
.rr-form--inline .rr-form__grid {
	grid-template-columns: 1fr;
	gap: 0;
}

.rr-form--inline .rr-form__field {
	position: relative;
	margin-bottom: 1rem;
}

/* Placeholders carry the hint; keep the labels for screen readers only. */
.rr-form--inline .rr-form__field label {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.rr-form--inline input[type="text"],
.rr-form--inline input[type="email"],
.rr-form--inline input[type="tel"],
.rr-form--inline select,
.rr-form--inline textarea {
	padding: 0.9rem 1.4rem;
	border: 1px solid var(--primary);
	border-radius: 9px;
	background: rgba(0, 0, 0, 0.5);
	font-size: 1.3rem;
}

.rr-form--inline input:focus,
.rr-form--inline select:focus,
.rr-form--inline textarea:focus {
	border-color: var(--white);
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.3);
}

.rr-form--inline input::placeholder,
.rr-form--inline textarea::placeholder { color: rgba(255, 255, 255, 0.55); }

.rr-form--inline select {
	padding-right: 3.2rem;
	background-position: right 1.2rem center;
}

.rr-form--inline textarea { min-height: 8.4rem; }

.rr-form--inline .rr-form__phone { gap: 0.8rem; }
.rr-form--inline .rr-form__phone .wpcf7-form-control-wrap[data-name="country_code"] { flex: 0 0 12rem; }

@media (max-width: 575px) {
	/* Phones: less chrome around the form, and the dialling code on its own line
	   so the "Contact Number" placeholder is not cut off. */
	.rr-enquiry__panel { padding: 2.4rem 1.6rem; }
	.rr-enquiry__form { padding: 1.6rem; }
	.rr-form--inline .rr-form__phone { flex-wrap: wrap; }
	.rr-form--inline .rr-form__phone .wpcf7-form-control-wrap[data-name="country_code"] { flex: 1 1 100%; margin-bottom: 0.8rem; }
}

.rr-form--inline .rr-form__submit { margin-top: 0.6rem; }

.rr-form--inline .wpcf7-submit {
	width: 100%;
	justify-content: center;
	padding: 1.2rem;
	border-radius: 9px;
	border-color: var(--gold-light);
	background: var(--gold-light);
	font-family: var(--font-semibold);
	font-size: 1.5rem;
	letter-spacing: 0.02em;
}

.rr-form--inline .wpcf7-submit:hover {
	background: var(--white);
	border-color: var(--white);
	color: var(--black);
}

.rr-form--inline .wpcf7-not-valid { border-color: #e5484d; }
.rr-form--inline .wpcf7-response-output { margin-top: 1.2rem; }

/* ---- floating WhatsApp button ---- */

.rr-whatsapp {
	position: fixed;
	right: 2rem;
	bottom: 2rem;
	z-index: 990;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 5.2rem;
	height: 5.2rem;
	border-radius: 50%;
	background: #25d366;
	color: var(--white);
	font-size: 2.8rem;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
	transition: transform 0.3s ease;
}

.rr-whatsapp:hover {
	transform: scale(1.08);
	color: var(--white);
}

/* =========================================================================
   Blog
   ========================================================================= */

.rr-blog { background: var(--cream); }

.rr-blog__head { margin-bottom: clamp(3rem, 4vw, 5rem); }
.rr-blog__head .rr-section-head__tag { font-size: 1.4rem; letter-spacing: 0.12em; }

/* line — ✦ — line under the title */
.rr-blog__ornament {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1.2rem;
	width: min(36rem, 100%);
	margin: 1.6rem auto 0;
	font-size: 1.4rem;
	color: var(--light-black);
}

.rr-blog__ornament::before,
.rr-blog__ornament::after {
	content: "";
	flex: 1;
	height: 1px;
	background: var(--light-black);
}

.rr-blog__layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 4rem;
}

.rr-blog__subhead {
	margin: 0 0 2.4rem;
	font-family: var(--sub-font-regular);
	font-size: clamp(2rem, 1.8vw, 2.6rem);
	color: var(--light-black);
}

/* ---- categories sidebar ---- */

.rr-blog__side-title {
	margin: 0 0 2rem;
	font-family: var(--font-regular);
	font-size: 1.3rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--primary);
}

.rr-blog__cats {
	display: flex;
	flex-wrap: wrap;
	gap: 0.8rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.rr-blog__cats li { position: relative; }

.rr-blog__cats a {
	display: block;
	padding: 0.6rem 1.4rem;
	border: 1px solid var(--border);
	font-size: 1.4rem;
	color: var(--light-black);
	text-decoration: none;
	transition: color 0.3s ease, border-color 0.3s ease;
}

.rr-blog__cats a:hover,
.rr-blog__cats .is-active a { color: var(--primary); }
.rr-blog__cats .is-active a { border-color: var(--primary); }

@media (min-width: 992px) {
	.rr-blog__layout {
		grid-template-columns: 22rem minmax(0, 1fr);
		column-gap: clamp(4rem, 5vw, 9rem);
		align-items: start;
	}

	.rr-blog__cats {
		display: block;
		min-height: 24rem;
		border-left: 1px solid var(--primary);
	}

	.rr-blog__cats a {
		padding: 1rem 0 1rem 2.4rem;
		border: 0;
	}

	/* Thicker marker on the rule beside the active category. */
	.rr-blog__cats .is-active::before {
		content: "";
		position: absolute;
		top: 0.8rem;
		bottom: 0.8rem;
		left: -2px;
		width: 3px;
		background: var(--primary);
	}
}

@media (min-width: 1400px) {
	.rr-blog__layout { grid-template-columns: 26rem minmax(0, 1fr); }
}

/* ---- cards ---- */

.rr-blog__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(3.2rem, 4vw, 5.6rem) 2.4rem;
}

.rr-post-card {
	display: flex;
	flex-direction: column;
}

.rr-post-card__media {
	display: block;
	margin-bottom: 2rem;
	border-radius: 8px;
	overflow: hidden;
}

.rr-post-card__media img {
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	display: block;
	transition: transform 0.8s ease;
}

.rr-post-card:hover .rr-post-card__media img { transform: scale(1.04); }

.rr-post-card__placeholder {
	display: block;
	aspect-ratio: 16 / 9;
	background: var(--off-white);
}

.rr-post-card__body {
	flex: 1;
	display: flex;
	flex-direction: column;
}

.rr-post-card__title {
	margin: 0 0 1.2rem;
	font-family: var(--sub-font-regular);
	font-size: clamp(2rem, 1.8vw, 2.6rem);
	line-height: 1.25;
}

.rr-post-card__title a { color: var(--primary); text-decoration: none; }
.rr-post-card__title a:hover { color: var(--primary-dark); }

.rr-post-card__excerpt {
	margin: 0 0 2rem;
	font-size: 1.4rem;
	line-height: 1.6;
	color: var(--light-black);
}

.rr-post-card__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.6rem;
	margin-top: auto;
}

.rr-post-card__date {
	font-size: 1.4rem;
	color: var(--light-black);
}

.rr-post-card--featured { grid-column: 1 / -1; }

@media (min-width: 768px) {
	.rr-blog__grid { grid-template-columns: 1fr 1fr; }

	.rr-post-card--featured {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		column-gap: 2.4rem;
		align-items: stretch;
	}

	.rr-post-card--featured .rr-post-card__media { margin-bottom: 0; }
	.rr-post-card--featured .rr-post-card__media img { height: 100%; aspect-ratio: 3 / 2; }
	.rr-post-card--featured .rr-post-card__title { font-size: clamp(2.2rem, 2vw, 3rem); }
}

.rr-blog__empty { padding-block: 2rem; }
.rr-blog__empty .rr-page__content { margin-bottom: 2rem; }

.rr-blog .navigation.pagination { margin-top: clamp(4rem, 5vw, 6rem); }
.rr-blog .nav-links { justify-content: center; }
.rr-blog .page-numbers { border-color: var(--primary); }
.rr-blog .page-numbers.current { color: var(--black); }

/* ---- single post ---- */

.rr-post__title {
	max-width: 80rem;
	margin: 0 auto 2.8rem;
	font-family: var(--sub-font-regular);
	font-size: clamp(2.8rem, 3vw, 4.6rem);
	line-height: 1.2;
	text-align: center;
	color: var(--primary);
}

.rr-post__media {
	margin: 0 0 2rem;
	border-radius: 8px;
	overflow: hidden;
}

.rr-post__media img {
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	display: block;
}

.rr-post__date {
	display: block;
	margin-bottom: 2rem;
	font-size: 1.4rem;
	color: var(--light-black);
}

.rr-post__content {
	max-width: none;
	font-size: 1.5rem;
	color: var(--light-black);
}

.rr-post__content p,
.rr-post__content ul,
.rr-post__content ol { max-width: 80rem; }

/* Section headings become the gold labels of the design ("Improved Connectivity"). */
.rr-post__content h2 {
	display: inline-block;
	margin: 2.4rem 0 1rem;
	padding: 0.6rem 1.6rem;
	background: var(--primary);
	font-family: var(--font-regular);
	font-size: 1.5rem;
	letter-spacing: 0;
	text-transform: none;
	color: var(--light-black);
}

/* Sub-headings ("Conclusion"): bold with a short gold rule above. */
.rr-post__content h3 {
	position: relative;
	margin: 3.2rem 0 1rem;
	padding-top: 1.4rem;
	font-family: var(--font-semibold);
	font-size: 1.5rem;
	color: var(--light-black);
}

.rr-post__content h3::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 7rem;
	height: 2px;
	background: var(--primary);
}

.rr-post__content h2 + p,
.rr-post__content h3 + p { margin-top: 0.4rem; }

.rr-post__foot { margin-top: 4rem; }
