/* ==========================================================================
   The Rise — main stylesheet
   Layout modelled on a premium single-page property campaign: black header,
   full-screen hero with enquiry card, alternating white / #F5F5F5 sections,
   black contact band and footer, gold accents.
   ========================================================================== */

:root {
	--tr-black: #000000;
	--tr-ink: #231d1a;
	--tr-navy: #1a1a3a;
	--tr-gold: #d4af37;
	--tr-gold-dark: #b8962e;
	--tr-white: #ffffff;
	--tr-gray-50: #f8f8f8;
	--tr-gray-100: #f5f5f5;
	--tr-gray-200: #e8e8e8;
	--tr-gray-300: #d9d9d9;
	--tr-muted: #6b6b6b;
	--tr-font-head: 'Outfit', 'Inter', system-ui, sans-serif;
	--tr-font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--tr-radius: 8px;
	--tr-radius-lg: 16px;
	--tr-radius-xl: 24px;
	--tr-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
	--tr-shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.18);
	--tr-ease: 0.3s ease;
	--tr-header-h: 72px;
	--tr-section: 80px;
}

/* Base
   ========================================================================== */

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--tr-header-h) + 16px);
	-webkit-text-size-adjust: 100%;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body {
	font-family: var(--tr-font-body);
	font-size: 16px;
	line-height: 1.65;
	color: var(--tr-ink);
	background: var(--tr-white);
	overflow-x: hidden;
}

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

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--tr-ease), background-color var(--tr-ease), border-color var(--tr-ease), opacity var(--tr-ease); }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
iframe { display: block; border: 0; }

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

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

.tr-container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
}
.tr-container--narrow { max-width: 960px; }
.tr-container--form { max-width: 680px; }

.tr-section { padding: var(--tr-section) 0; }

/* Typography
   ========================================================================== */

.tr-title {
	font-family: var(--tr-font-head);
	font-weight: 300;
	font-size: 36px;
	line-height: 1.2;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-align: center;
	color: var(--tr-ink);
	margin-bottom: 20px;
}
.tr-title--left { text-align: left; }
.tr-title--medium { font-weight: 500; }
.tr-title--light { color: var(--tr-white); font-weight: 400; font-size: 30px; letter-spacing: 0; }
.tr-title--bold {
	font-weight: 700;
	font-size: 48px;
	letter-spacing: -0.025em;
	text-transform: none;
	line-height: 1.1;
}
.tr-title__accent { color: var(--tr-gold); }

.tr-subtitle {
	text-align: center;
	font-size: 16px;
	font-weight: 400;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--tr-muted);
	margin: -6px 0 28px;
}
.tr-subtitle--light { color: rgba(255, 255, 255, 0.7); }

.tr-prose p { margin-bottom: 1em; }
.tr-prose p:last-child { margin-bottom: 0; }
.tr-prose a { color: var(--tr-gold-dark); text-decoration: underline; }
.tr-prose h2, .tr-prose h3 { font-family: var(--tr-font-head); margin: 1.4em 0 0.5em; }
.tr-prose ul, .tr-prose ol { padding-left: 1.4em; margin-bottom: 1em; list-style: revert; }

/* Buttons
   ========================================================================== */

.tr-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 13px 30px;
	border-radius: var(--tr-radius);
	font-family: var(--tr-font-body);
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	line-height: 1.2;
	white-space: nowrap;
	transition: background-color var(--tr-ease), color var(--tr-ease), transform var(--tr-ease), box-shadow var(--tr-ease);
}
.tr-btn--gold { background: var(--tr-gold); color: var(--tr-black); }
.tr-btn--gold:hover { background: var(--tr-gold-dark); color: var(--tr-black); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(212, 175, 55, 0.35); }
.tr-btn--outline { border: 1px solid currentColor; background: transparent; }
.tr-btn--outline:hover { background: var(--tr-ink); color: var(--tr-white); border-color: var(--tr-ink); }
.tr-btn--sm { padding: 9px 20px; font-size: 14px; }
.tr-btn--full { width: 100%; }

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

.tr-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: var(--tr-black);
	height: var(--tr-header-h);
	transition: box-shadow var(--tr-ease);
}
.tr-header.is-scrolled { box-shadow: 0 2px 20px rgba(0, 0, 0, 0.45); }

.tr-header__inner {
	height: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 24px;
}

.tr-header__brand { display: inline-flex; align-items: center; justify-self: start; }
.tr-header__logo { height: 44px; width: auto; }
.tr-header__logo-text {
	font-family: var(--tr-font-head);
	font-weight: 600;
	font-size: 22px;
	letter-spacing: 0.3em;
	color: var(--tr-white);
}

.tr-header__partners {
	display: flex;
	align-items: center;
	gap: 28px;
	padding: 0 16px;
	border-left: 1px solid rgba(255, 255, 255, 0.15);
	border-right: 1px solid rgba(255, 255, 255, 0.15);
}
.tr-header__partner { height: 34px; width: auto; opacity: 0.95; }
.tr-header__partner-link { display: inline-flex; }
.tr-header__partner-link:hover .tr-header__partner { opacity: 1; }

.tr-header__actions { display: flex; align-items: center; justify-content: flex-end; gap: 18px; }
.tr-header__phone { display: inline-flex; align-items: center; gap: 8px; color: var(--tr-white); font-size: 14px; font-weight: 500; }
.tr-header__phone i { color: var(--tr-gold); font-size: 13px; }
.tr-header__phone:hover { color: var(--tr-gold); }

.tr-header__toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 40px;
	height: 40px;
	padding: 8px;
}
.tr-header__toggle span { display: block; height: 2px; width: 100%; background: var(--tr-white); border-radius: 2px; }

/* Off-canvas nav (phones/tablets) */
.tr-nav {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	width: 320px;
	max-width: 86vw;
	background: var(--tr-black);
	color: var(--tr-white);
	padding: 84px 28px 32px;
	transform: translateX(100%);
	transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
	z-index: 1002;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.tr-nav.is-open { transform: translateX(0); }
.tr-nav__close { position: absolute; top: 20px; right: 20px; font-size: 24px; color: var(--tr-white); width: 40px; height: 40px; }
.tr-nav__menu li { border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.tr-nav__menu a { display: block; padding: 14px 0; font-size: 15px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.tr-nav__menu a:hover { color: var(--tr-gold); }
.tr-nav__phone { display: inline-flex; gap: 10px; align-items: center; font-weight: 500; }
.tr-nav__phone i { color: var(--tr-gold); }
.tr-nav__backdrop {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.6);
	opacity: 0;
	pointer-events: none;
	transition: opacity var(--tr-ease);
	z-index: 1001;
}
.tr-nav__backdrop.is-open { opacity: 1; pointer-events: auto; }

/* Hero
   ========================================================================== */

.tr-hero {
	position: relative;
	min-height: 100vh;
	display: flex;
	align-items: center;
	background: #0a0f1a;
	color: var(--tr-white);
	overflow: hidden;
	isolation: isolate;
}
.tr-hero__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	z-index: -2;
}
.tr-hero__shade {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(90deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0) 100%), rgba(0, 0, 0, 0.1);
}

.tr-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 448px;
	align-items: center;
	gap: 48px;
	max-width: 1328px;
	padding-top: 80px;
	padding-bottom: 80px;
}
.tr-hero__copy { max-width: 768px; }

.tr-hero__eyebrow { font-size: 20px; font-weight: 500; color: rgba(255, 255, 255, 0.9); margin-bottom: 8px; }
.tr-hero__title {
	font-family: var(--tr-font-head);
	font-weight: 700;
	font-size: 72px;
	line-height: 1.08;
	letter-spacing: -0.01em;
	margin-bottom: 12px;
	text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}
.tr-hero__tagline { font-style: italic; font-weight: 500; font-size: 30px; line-height: 1.3; color: rgba(255, 255, 255, 0.92); margin-bottom: 28px; max-width: 640px; }
.tr-hero__price-label { font-size: 24px; font-weight: 300; color: rgba(255, 255, 255, 0.85); margin-bottom: 0; }
.tr-hero__price { font-family: var(--tr-font-body); font-weight: 700; font-size: 72px; line-height: 1.1; margin-bottom: 10px; }
.tr-hero__configs { font-style: italic; font-weight: 700; font-size: 24px; color: rgba(255, 255, 255, 0.92); }

.tr-hero__card {
	background: rgba(0, 0, 0, 0.6);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 12px;
	padding: 32px;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}
.tr-hero__card-title {
	font-family: var(--tr-font-head);
	font-weight: 700;
	font-size: 24px;
	line-height: 1.3;
	text-align: center;
	margin-bottom: 20px;
}

/* Mobile image strip (shown < 992px)
   ========================================================================== */

.tr-strip { display: none; padding: 40px 0; background: var(--tr-white); }
.tr-strip__track {
	display: flex;
	gap: 16px;
	overflow-x: auto;
	padding: 0 16px;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}
.tr-strip__track::-webkit-scrollbar { display: none; }
.tr-strip__item { flex: 0 0 min(300px, 78vw); scroll-snap-align: center; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); }
.tr-strip__img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }

/* Forms (Contact Form 7 + fallback)
   ========================================================================== */

.tr-form p { margin: 0 0 12px; }
.tr-form .wpcf7-form-control-wrap { display: block; width: 100%; }
.tr-form input[type="text"],
.tr-form input[type="email"],
.tr-form input[type="tel"],
.tr-form select,
.tr-form textarea {
	width: 100%;
	height: 48px;
	padding: 0 14px;
	font-family: var(--tr-font-body);
	font-size: 16px;
	color: var(--tr-white);
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: var(--tr-radius);
	outline: none;
	transition: border-color var(--tr-ease), box-shadow var(--tr-ease), background-color var(--tr-ease);
	-webkit-appearance: none;
	appearance: none;
}
.tr-form textarea { height: auto; padding: 12px 14px; }
.tr-form input::placeholder, .tr-form textarea::placeholder { color: rgba(255, 255, 255, 0.55); }
.tr-form input:focus, .tr-form select:focus, .tr-form textarea:focus {
	border-color: var(--tr-gold);
	box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
	background: rgba(255, 255, 255, 0.12);
}
.tr-form select {
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23ffffff' stroke-width='1.5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	padding-right: 28px;
	cursor: pointer;
}
.tr-form select option { color: var(--tr-ink); background: var(--tr-white); }

.tr-form__phone { display: flex; gap: 8px; align-items: stretch; }
.tr-form__phone .wpcf7-form-control-wrap[data-name="country_code"] { flex: 0 0 118px; width: 118px; }
.tr-form__phone .wpcf7-form-control-wrap[data-name="your-phone"] { flex: 1 1 auto; }
.tr-form__code {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	padding: 0 14px;
	font-size: 16px;
	font-weight: 600;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: var(--tr-radius);
	background: rgba(255, 255, 255, 0.08);
}

.tr-form__consent, .tr-form .wpcf7-acceptance { font-size: 12px; line-height: 1.5; color: rgba(255, 255, 255, 0.7); }
.tr-form .wpcf7-acceptance .wpcf7-list-item { margin: 0; }
.tr-form .wpcf7-acceptance label { display: flex; gap: 8px; align-items: flex-start; cursor: pointer; }
.tr-form .wpcf7-acceptance input[type="checkbox"], .tr-form__consent input[type="checkbox"] { accent-color: var(--tr-gold); margin-top: 2px; flex: 0 0 auto; width: 15px; height: 15px; }
.tr-form .wpcf7-acceptance .wpcf7-list-item-label { display: inline; }
.tr-form__consent label { display: flex; gap: 8px; align-items: flex-start; }

.tr-form .wpcf7-submit, .tr-form button[type="submit"] {
	width: 100%;
	height: 50px;
	border: 0;
	border-radius: 12px;
	background: var(--tr-gold);
	color: var(--tr-black);
	font-family: var(--tr-font-body);
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color var(--tr-ease), transform var(--tr-ease), box-shadow var(--tr-ease);
}
.tr-form .wpcf7-submit:hover, .tr-form button[type="submit"]:hover { background: var(--tr-gold-dark); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(212, 175, 55, 0.35); }
.tr-form .wpcf7-submit:disabled { opacity: 0.7; cursor: wait; transform: none; }
.tr-form .wpcf7-spinner { display: block; margin: 8px auto 0; }

.tr-form .wpcf7-not-valid-tip { display: block; margin-top: 4px; font-size: 12px; color: #ff7b7b; }
.tr-form .wpcf7-response-output { display: none; }
.tr-form.sent .wpcf7-response-output,
.tr-form.invalid .wpcf7-response-output,
.tr-form.failed .wpcf7-response-output,
.tr-form.aborted .wpcf7-response-output,
.tr-form.spam .wpcf7-response-output,
.tr-form.unaccepted .wpcf7-response-output {
	display: block;
	margin: 12px 0 0 !important;
	padding: 10px 14px !important;
	border: 1px solid rgba(255, 255, 255, 0.3) !important;
	border-radius: var(--tr-radius);
	font-size: 13px;
	line-height: 1.5;
	color: var(--tr-white);
}
.tr-form.sent .wpcf7-response-output { border-color: #3fbf7f !important; background: rgba(63, 191, 127, 0.12); }
.tr-form.invalid .wpcf7-response-output, .tr-form.failed .wpcf7-response-output, .tr-form.aborted .wpcf7-response-output { border-color: #ff7b7b !important; background: rgba(255, 123, 123, 0.12); }
.tr-form__note { font-size: 11px; color: rgba(255, 255, 255, 0.5); text-align: center; margin: 0; }
.tr-form .screen-reader-text,
.wpcf7 .screen-reader-response { position: absolute; width: 1px; height: 1px; margin: 0; padding: 0; border: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tr-form .hidden-fields-container { display: none; }

/* Intro
   ========================================================================== */

.tr-intro { background: var(--tr-white); padding: 40px 0 0; }
.tr-intro__text { max-width: 820px; margin: 0 auto; text-align: center; font-size: 16px; line-height: 1.8; color: #444; }

.tr-intro__stats {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	margin: 40px auto 80px;
}
.tr-stat {
	background: var(--tr-gray-100);
	border-radius: 12px;
	padding: 32px;
	text-align: center;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.tr-stat__value { display: block; font-family: var(--tr-font-body); font-weight: 600; font-size: 36px; line-height: 1.15; color: var(--tr-ink); }
.tr-stat__label { display: block; margin-top: 6px; font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--tr-muted); }

/* Payment plan
   ========================================================================== */

.tr-payment { background: var(--tr-white); padding: 0 0 20px; }
.tr-payment__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 8px; }
.tr-pay {
	background: var(--tr-gray-100);
	border-radius: 12px;
	padding: 32px;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.tr-pay--wide { grid-column: 1 / -1; max-width: 371px; width: 100%; margin: 0 auto; }
.tr-pay__percent { font-family: var(--tr-font-body); font-weight: 600; font-size: 36px; line-height: 1.1; color: var(--tr-ink); }
.tr-pay__label { font-size: 10px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--tr-muted); }
.tr-pay__when { width: 100%; max-width: 200px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--tr-black); font-size: 18px; font-weight: 500; color: var(--tr-ink); }
.tr-pay__note { font-size: 10px; text-transform: uppercase; color: var(--tr-muted); }

/* Location
   ========================================================================== */

.tr-location { background: var(--tr-gray-50); }
.tr-location .tr-container { max-width: 1328px; }
.tr-location__grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 64px; align-items: center; }
.tr-location__text { font-size: 16px; line-height: 1.8; color: #444; margin-bottom: 32px; }
.tr-location__distances { display: grid; grid-template-columns: 1fr; gap: 28px; }
.tr-distance { padding: 0; }
.tr-distance__time { display: block; font-family: var(--tr-font-body); font-weight: 700; font-size: 18px; text-transform: uppercase; color: var(--tr-ink); }
.tr-distance__label { display: block; font-size: 12px; color: var(--tr-muted); margin-top: 2px; }
.tr-location__map { border-radius: 24px; overflow: hidden; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.08); background: var(--tr-gray-200); }
.tr-location__map iframe { width: 100%; height: 460px; }
.tr-location__img { width: 100%; height: auto; display: block; }

/* Investment appeal
   ========================================================================== */

.tr-investment { background: linear-gradient(180deg, #f9fafb 0%, #ffffff 100%); padding: 24px 0 64px; }
.tr-investment__head { max-width: 1000px; margin: 0 auto 28px; text-align: center; }
.tr-investment__intro { font-size: 16px; line-height: 1.8; color: #444; margin-top: 4px; }

.tr-investment__tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-bottom: 28px; }
.tr-tile {
	background: var(--tr-white);
	border: 1px solid #f3f4f6;
	border-radius: var(--tr-radius-lg);
	padding: 24px 16px;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
	transition: box-shadow var(--tr-ease);
}
.tr-tile:hover { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1); }
.tr-tile__icon {
	width: 80px;
	height: 80px;
	border-radius: 16px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--tr-gold);
	font-size: 30px;
}
.tr-tile__icon img { width: 56px; height: 56px; object-fit: contain; }
.tr-tile__text { font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--tr-ink); }

.tr-investment__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-top: 12px; }
.tr-card {
	background: var(--tr-white);
	padding: 32px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
	transition: box-shadow 0.3s ease;
}
.tr-card:hover { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1); }
.tr-card__icon { color: var(--tr-gold); font-size: 28px; line-height: 1; margin-bottom: 20px; }
.tr-card__title { font-family: var(--tr-font-head); font-weight: 700; font-size: 20px; margin-bottom: 12px; color: var(--tr-ink); }
.tr-card__text { font-size: 14px; line-height: 1.75; color: #555; }

/* Tabs (gallery + amenities)
   ========================================================================== */

.tr-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; margin: 0 0 64px; }
.tr-tabs__btn {
	padding: 10px 30px;
	border: 1px solid var(--tr-gray-300);
	border-radius: var(--tr-radius);
	background: var(--tr-white);
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--tr-ink);
	transition: background-color var(--tr-ease), color var(--tr-ease), border-color var(--tr-ease);
}
.tr-tabs__btn:hover { border-color: var(--tr-gold); color: var(--tr-gold-dark); }
.tr-tabs__btn.is-active { background: var(--tr-gold); border-color: var(--tr-gold); color: var(--tr-white); }

/* Gallery
   ========================================================================== */

.tr-gallery { background: var(--tr-gray-100); }
.tr-gallery__panel { display: none; }
.tr-gallery__panel.is-active { display: block; }
.tr-gallery__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 29vw, 417px); grid-auto-flow: dense; gap: 16px; }
.tr-gallery__item { position: relative; border-radius: 24px; overflow: hidden; background: var(--tr-gray-200); }
.tr-gallery__item::after { content: ""; position: absolute; inset: 0; border: 2px solid transparent; border-radius: 24px; transition: border-color 0.3s ease; pointer-events: none; }
.tr-gallery__item:hover::after { border-color: rgba(212, 175, 55, 0.5); }
.tr-gallery__img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.tr-gallery__item:hover .tr-gallery__img { transform: scale(1.03); }
.tr-gallery__item:nth-child(4n + 2) { grid-row: span 2; }
.tr-gallery__item:nth-child(4n) { grid-column: span 2; grid-row: span 2; }
.tr-gallery__note { margin-top: 16px; text-align: center; font-size: 12px; font-style: italic; color: var(--tr-muted); }

/* Amenities
   ========================================================================== */

.tr-amenities { background: var(--tr-gray-100); padding: 64px 0; }
.tr-amenities .tr-title { margin-bottom: 48px; }
.tr-amenities .tr-subtitle { margin: -36px 0 48px; }
.tr-amenities__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px;
	max-width: 1152px;
	margin: 0 auto;
}
.tr-amenity { cursor: pointer; }
.tr-amenity__media {
	position: relative;
	height: 256px;
	border-radius: 12px;
	overflow: hidden;
	background: var(--tr-gray-200);
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}
.tr-amenity__img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
.tr-amenity:hover .tr-amenity__img { transform: scale(1.1); }
.tr-amenity__icon { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 72px; color: var(--tr-gold); background: linear-gradient(135deg, #1a1a1a, #2d2d2d); }
.tr-amenity__name {
	margin-top: 16px;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #1f2937;
	transition: color var(--tr-ease);
}
.tr-amenity:hover .tr-amenity__name { color: var(--tr-black); }

/* Developers
   ========================================================================== */

.tr-developers { background: var(--tr-white); }
.tr-developers__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; align-items: center; }
.tr-developers__title { font-family: var(--tr-font-head); font-weight: 800; font-size: 36px; line-height: 1.1; color: var(--tr-navy); margin-bottom: 10px; }
.tr-developers__accent { display: block; }
.tr-developers__sub { font-size: 16px; color: var(--tr-muted); margin-bottom: 22px; }
.tr-developers__chips-label { font-size: 16px; font-weight: 500; color: var(--tr-ink); margin-bottom: 10px; }
.tr-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.tr-chip { padding: 8px 24px; border-radius: 8px; font-size: 14px; font-weight: 400; color: var(--tr-ink); background: #f6e9c9; }
.tr-points { display: flex; flex-direction: column; }
.tr-point { padding: 18px 0; }
.tr-point + .tr-point { border-top: 1px solid var(--tr-gray-200); }
.tr-point__title { font-family: var(--tr-font-head); font-weight: 700; font-size: 18px; margin-bottom: 4px; color: var(--tr-ink); }
.tr-point__text { font-size: 14px; line-height: 1.7; color: #555; }
.tr-developers__media { border-radius: 24px; overflow: hidden; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); background: var(--tr-gray-200); }
.tr-developers__img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* Contact band
   ========================================================================== */

.tr-contact { background: var(--tr-black); color: var(--tr-white); }
.tr-contact .tr-title { margin-bottom: 28px; }
/* Bottom form follows the brief's order: Name · Email · Phone. */
.tr-form--contact { display: flex; flex-direction: column; }
.tr-form--contact .tr-f-name { order: 1; }
.tr-form--contact .tr-f-email { order: 2; }
.tr-form--contact .tr-f-phone { order: 3; }
.tr-form--contact .tr-f-consent { order: 4; }
.tr-form--contact .tr-f-submit { order: 5; }
.tr-form--contact .wpcf7-response-output { order: 6; }
.tr-contact__form .tr-form input[type="text"],
.tr-contact__form .tr-form input[type="email"],
.tr-contact__form .tr-form input[type="tel"],
.tr-contact__form .tr-form select { background: rgba(255, 255, 255, 0.06); }

/* Footer
   ========================================================================== */

.tr-footer { background: var(--tr-black); color: rgba(255, 255, 255, 0.7); border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 44px 0 0; font-size: 14px; }
.tr-footer__grid { display: grid; grid-template-columns: 1fr 1.4fr auto; gap: 32px; align-items: start; padding-bottom: 32px; }
.tr-footer__logo { height: 44px; width: auto; margin-bottom: 12px; }
.tr-footer__logo-text { display: block; font-family: var(--tr-font-head); font-weight: 600; font-size: 20px; letter-spacing: 0.3em; color: var(--tr-white); margin-bottom: 12px; }
.tr-footer__rera { font-size: 12px; color: rgba(255, 255, 255, 0.5); }
.tr-footer__contact li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 10px; line-height: 1.6; }
.tr-footer__contact i { color: var(--tr-gold); margin-top: 4px; font-size: 14px; flex: 0 0 16px; }
.tr-footer__contact a:hover { color: var(--tr-gold); }
.tr-footer__social { display: flex; gap: 10px; }
.tr-footer__social a { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.08); color: var(--tr-white); font-size: 15px; }
.tr-footer__social a:hover { background: var(--tr-gold); color: var(--tr-black); }
.tr-footer__legal { border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 16px 0 20px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: rgba(255, 255, 255, 0.45); }
.tr-footer__disclaimer { font-style: italic; }

/* Floating buttons
   ========================================================================== */

.tr-float { position: fixed; right: 20px; bottom: 20px; z-index: 900; display: flex; align-items: center; gap: 10px; }
.tr-float__callback {
	display: inline-flex;
	align-items: center;
	padding: 12px 20px;
	border-radius: 999px;
	background: var(--tr-white);
	color: var(--tr-black);
	font-size: 16px;
	font-weight: 600;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
	transition: transform var(--tr-ease), background-color var(--tr-ease);
}
.tr-float__callback:hover { background: var(--tr-gold); transform: translateY(-2px); }
.tr-float__wa { width: 48px; height: 48px; border-radius: 50%; background: #25d366; color: var(--tr-white); display: inline-flex; align-items: center; justify-content: center; font-size: 26px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); }
.tr-float__wa:hover { transform: translateY(-2px); color: var(--tr-white); }

/* Inner pages / thank-you / 404
   ========================================================================== */

.tr-page { padding: 72px 0 96px; min-height: 60vh; }
.tr-page__inner { max-width: 820px; }
.tr-page .tr-title { text-align: left; margin-bottom: 32px; }

.tr-thanks { min-height: calc(100vh - var(--tr-header-h)); display: flex; align-items: center; background: var(--tr-gray-50); padding: 64px 0; }
.tr-thanks__inner { text-align: center; max-width: 640px; }
.tr-thanks__icon { width: 72px; height: 72px; border-radius: 50%; background: var(--tr-gold); color: var(--tr-black); display: inline-flex; align-items: center; justify-content: center; font-size: 30px; margin-bottom: 24px; }
.tr-thanks__text { font-size: 16px; color: #444; margin-bottom: 28px; }
.tr-thanks__actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ==========================================================================
   Motion
   JS adds .tr-js to <html>; without JS everything is simply visible.
   - [data-reveal="up|down|left|right|zoom|fade"]  single element on scroll
   - [data-reveal-stagger="up|zoom|left"]            children one after another
   - hero: entrance sequence + slow Ken Burns + parallax (JS)
   ========================================================================== */

:root { --tr-motion-ease: cubic-bezier(0.22, 1, 0.36, 1); }

@keyframes trFadeUp { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: none; } }
@keyframes trFadeRight { from { opacity: 0; transform: translateX(48px); } to { opacity: 1; transform: none; } }
@keyframes trFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes trKenBurns { from { scale: 1.12; } to { scale: 1; } }
@keyframes trPulseRing {
	0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.55); }
	70% { box-shadow: 0 0 0 16px rgba(212, 175, 55, 0); }
	100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}
@keyframes trPulseRingWa {
	0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55); }
	70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
	100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
@keyframes trLineIn { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Single reveals */
.tr-js [data-reveal] { transition: opacity 0.8s var(--tr-motion-ease), transform 0.8s var(--tr-motion-ease); will-change: opacity, transform; }
.tr-js [data-reveal]:not(.is-visible) { opacity: 0; }
.tr-js [data-reveal=""]:not(.is-visible),
.tr-js [data-reveal="up"]:not(.is-visible) { transform: translateY(36px); }
.tr-js [data-reveal="down"]:not(.is-visible) { transform: translateY(-36px); }
.tr-js [data-reveal="left"]:not(.is-visible) { transform: translateX(-56px); }
.tr-js [data-reveal="right"]:not(.is-visible) { transform: translateX(56px); }
.tr-js [data-reveal="zoom"]:not(.is-visible) { transform: scale(0.9); }
.tr-js [data-reveal].is-done { will-change: auto; }

/* Staggered children (JS sets --i on each child) */
.tr-js [data-reveal-stagger] > * { transition: opacity 0.7s var(--tr-motion-ease), transform 0.7s var(--tr-motion-ease); transition-delay: calc(var(--i, 0) * 90ms); }
.tr-js [data-reveal-stagger]:not(.is-visible) > * { opacity: 0; }
.tr-js [data-reveal-stagger=""]:not(.is-visible) > *,
.tr-js [data-reveal-stagger="up"]:not(.is-visible) > * { transform: translateY(30px); }
.tr-js [data-reveal-stagger="zoom"]:not(.is-visible) > * { transform: scale(0.88) translateY(12px); }
.tr-js [data-reveal-stagger="left"]:not(.is-visible) > * { transform: translateX(-36px); }
.tr-js [data-reveal-stagger].is-done > * { transition-delay: 0ms; }

/* Section titles: gold hairline draws in under the heading */
.tr-title { position: relative; padding-bottom: 18px; }
.tr-title::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0;
	width: 56px;
	height: 2px;
	margin-left: -28px;
	background: var(--tr-gold);
	transform-origin: center;
	transform: scaleX(0);
	transition: transform 0.9s var(--tr-motion-ease) 0.35s;
}
.tr-title--left::after { left: 0; margin-left: 0; transform-origin: left; }
.tr-title--bold::after, .tr-hero__card-title::after { display: none; }
.is-visible .tr-title::after, .tr-title.is-visible::after { transform: scaleX(1); }
html:not(.tr-js) .tr-title::after { transform: scaleX(1); }

/* Hero entrance */
.tr-js .tr-hero__bg { animation: trKenBurns 16s ease-out both; will-change: transform; }
.tr-js .tr-hero__copy > * { animation: trFadeUp 0.9s var(--tr-motion-ease) both; }
.tr-js .tr-hero__copy > :nth-child(1) { animation-delay: 0.15s; }
.tr-js .tr-hero__copy > :nth-child(2) { animation-delay: 0.28s; }
.tr-js .tr-hero__copy > :nth-child(3) { animation-delay: 0.41s; }
.tr-js .tr-hero__copy > :nth-child(4) { animation-delay: 0.54s; }
.tr-js .tr-hero__copy > :nth-child(5) { animation-delay: 0.62s; }
.tr-js .tr-hero__copy > :nth-child(6) { animation-delay: 0.75s; }
.tr-js .tr-hero__card { animation: trFadeRight 1s var(--tr-motion-ease) 0.6s both; }
.tr-js .tr-header { animation: trFadeIn 0.6s ease both; }

/* Tab panels fade in when switched */
.tr-gallery__panel.is-active { animation: trFadeIn 0.5s ease both; }

/* Floating buttons breathe */
.tr-float__callback { animation: trPulseRing 2.8s ease-out infinite 2s; }
.tr-float__wa { animation: trPulseRingWa 2.8s ease-out infinite 2.6s; }

/* Hover micro-interactions */
.tr-stat, .tr-pay, .tr-tile, .tr-card, .tr-amenity__media, .tr-gallery__item, .tr-location__map, .tr-developers__media { transition: transform 0.4s var(--tr-motion-ease), box-shadow 0.4s var(--tr-motion-ease); }
.tr-stat:hover, .tr-pay:hover { transform: translateY(-4px); box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.15); }
.tr-tile:hover, .tr-card:hover { transform: translateY(-4px); }
.tr-chip { transition: background-color 0.3s ease, transform 0.3s ease; }
.tr-chip:hover { background: var(--tr-gold); transform: translateY(-2px); }
.tr-distance__time { display: inline-block; transition: color 0.3s ease; }
.tr-distance:hover .tr-distance__time { color: var(--tr-gold-dark); }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.tr-js [data-reveal]:not(.is-visible), .tr-js [data-reveal-stagger]:not(.is-visible) > * { opacity: 1; transform: none; }
	.tr-title::after { transform: scaleX(1); }
	*, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; }
}

/* ---- brochure button ---- */
.tr-gallery__brochure { text-align: center; margin-top: 32px; }
.tr-gallery__brochure .tr-btn i { margin-right: 8px; }

/* ---- brochure modal ---- */
.tr-brochure-modal { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; padding: 16px; }
.tr-brochure-modal[hidden] { display: none; }
.tr-brochure-modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.7); backdrop-filter: blur(4px); }
.tr-brochure-modal__box { position: relative; background: var(--tr-black, #0a0a0a); color: var(--tr-white, #fff); border-radius: 16px; max-width: 480px; width: 100%; padding: 40px 32px; max-height: 90vh; overflow-y: auto; box-shadow: 0 24px 60px rgba(0,0,0,.5); }
.tr-brochure-modal__close { position: absolute; top: 12px; right: 12px; background: none; border: none; font-size: 20px; color: rgba(255,255,255,.5); cursor: pointer; padding: 8px; line-height: 1; transition: color .2s; }
.tr-brochure-modal__close:hover { color: var(--tr-white, #fff); }
.tr-brochure-modal__title { font-family: var(--tr-serif, 'Playfair Display', serif); font-size: 24px; font-style: italic; text-align: center; margin: 0 0 8px; color: var(--tr-white, #fff); }
.tr-brochure-modal__subtitle { text-align: center; font-size: 14px; color: rgba(255,255,255,.6); margin: 0 0 24px; }
.tr-brochure-modal__form .tr-form { max-width: 100%; }
.tr-brochure-modal__form .tr-form input[type=text],
.tr-brochure-modal__form .tr-form input[type=email],
.tr-brochure-modal__form .tr-form input[type=tel],
.tr-brochure-modal__form .tr-form select { background: rgba(255,255,255,.06); }
.tr-brochure-modal__success { text-align: center; padding: 32px 0; }
.tr-brochure-modal__success i { font-size: 48px; color: var(--tr-gold, #d4af37); margin-bottom: 16px; display: block; }
.tr-brochure-modal__success p { font-size: 16px; color: var(--tr-white, #fff); }


/* ---- floor plan section ---- */
.tr-floorplan { position: relative; overflow: hidden; background: var(--tr-black); text-align: center; padding: 90px 0 70px; }
.tr-floorplan__bg { position: absolute; inset: 0; background: center / cover no-repeat; opacity: .2; }
.tr-floorplan__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.4); pointer-events: none; }
.tr-floorplan__action { margin-top: 36px; }
.tr-btn--white { display: inline-block; background: var(--tr-gold, #d4af37); color: var(--tr-black, #0a0a0a); border: 1px solid var(--tr-gold, #d4af37); padding: 14px 48px; border-radius: 50px; font-family: var(--tr-font-body); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }


/* ---- floor plan lightbox ---- */
.tr-floorplan-lb { position: fixed; inset: 0; z-index: 10001; display: flex; align-items: center; justify-content: center; padding: 24px; }
.tr-floorplan-lb[hidden] { display: none; }
.tr-floorplan-lb__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.88); backdrop-filter: blur(4px); }
.tr-floorplan-lb__close { position: absolute; top: 20px; right: 20px; z-index: 2; background: rgba(255,255,255,.1); border: none; color: #fff; font-size: 24px; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s, transform .2s; }
.tr-floorplan-lb__close:hover { background: rgba(255,255,255,.25); transform: scale(1.1); }
.tr-floorplan-lb__prev,
.tr-floorplan-lb__next { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; background: rgba(255,255,255,.1); border: none; color: #fff; font-size: 22px; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.tr-floorplan-lb__prev { left: 24px; }
.tr-floorplan-lb__next { right: 24px; }
.tr-floorplan-lb__prev:hover,
.tr-floorplan-lb__next:hover { background: rgba(255,255,255,.25); }
.tr-floorplan-lb__stage { position: relative; z-index: 1; max-width: 90vw; max-height: 85vh; display: flex; align-items: center; justify-content: center; }
.tr-floorplan-lb__img { max-width: 100%; max-height: 85vh; object-fit: contain; border-radius: 12px; background: #fff; box-shadow: 0 20px 60px rgba(0,0,0,.5); }

/* ---- floor plan overrides ---- */
.tr-floorplan .tr-title { text-align: center; color: var(--tr-gold, #d4af37); }
.tr-floorplan .tr-title::after { left: 50%; margin-left: -28px; }
.tr-floorplan .tr-floorplan__action { text-align: center; }

/* ---- gallery lightbox slider ---- */
.tr-gallery__item { cursor: pointer; position: relative; }
.tr-gallery__zoom { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(10,10,10,.35); color: #fff; font-size: 28px; opacity: 0; transition: opacity .3s ease; pointer-events: none; }
.tr-gallery__item:hover .tr-gallery__zoom { opacity: 1; }
.tr-gallery-lb { position: fixed; inset: 0; z-index: 10001; display: flex; align-items: center; justify-content: center; padding: 24px; }
.tr-gallery-lb[hidden] { display: none; }
.tr-gallery-lb__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.9); backdrop-filter: blur(4px); }
.tr-gallery-lb__close { position: absolute; top: 20px; right: 24px; z-index: 3; background: rgba(255,255,255,.1); border: none; color: #fff; font-size: 24px; width: 46px; height: 46px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s, transform .2s; }
.tr-gallery-lb__close:hover { background: rgba(255,255,255,.25); transform: scale(1.1); }
.tr-gallery-lb__prev, .tr-gallery-lb__next { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; background: rgba(255,255,255,.1); border: none; color: #fff; font-size: 22px; width: 50px; height: 50px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.tr-gallery-lb__prev { left: 24px; }
.tr-gallery-lb__next { right: 24px; }
.tr-gallery-lb__prev:hover, .tr-gallery-lb__next:hover { background: var(--tr-gold, #d4af37); color: #0a0a0a; }
.tr-gallery-lb__stage { position: relative; z-index: 1; max-width: 90vw; max-height: 85vh; display: flex; align-items: center; justify-content: center; }
.tr-gallery-lb__img { max-width: 100%; max-height: 85vh; object-fit: contain; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.tr-gallery-lb__count { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 3; color: rgba(255,255,255,.85); font-size: 14px; letter-spacing: .1em; background: rgba(0,0,0,.4); padding: 6px 16px; border-radius: 20px; }
@media (max-width: 640px) {
	.tr-gallery-lb__prev { left: 10px; } .tr-gallery-lb__next { right: 10px; }
	.tr-gallery-lb__prev, .tr-gallery-lb__next { width: 42px; height: 42px; font-size: 18px; }
}
