/* ==========================================================
   Tushar Realty — main styles
   Colors --tr-primary / --tr-accent come from the Customizer.
   ========================================================== */
:root {
	--tr-primary: #000000;
	--tr-accent: #000000;
	--tr-ink: #000000;
	--tr-muted: #808080;
	--tr-soft: #b1b1b1;
	--tr-line: #d3d3d3;
	--tr-bg: #ffffff;
	--tr-tint: #f4f4f4;
	--tr-serif: "Michroma", "Eurostile Extended", "Arial Black", sans-serif;
	--tr-sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
	--tr-radius: 0;
	--tr-header-h: 84px;
	--tr-gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--tr-header-h); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--tr-sans); font-size: 16px; line-height: 1.65; color: var(--tr-ink); background: var(--tr-bg); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--tr-serif); font-weight: 600; line-height: 1.1; margin: 0 0 .5em; color: var(--tr-primary); }
h2 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
p { margin: 0 0 1em; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.tr-skip:focus { position: fixed !important; top: 8px; left: 8px; width: auto; height: auto; clip: auto; z-index: 999; background: #fff; padding: 10px 16px; }
.tr-container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--tr-gutter); }
.tr-center { text-align: center; margin-top: 48px; }
.tr-muted { color: var(--tr-muted); }
.tr-icon { flex: none; vertical-align: middle; }

.tr-kicker { font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; color: var(--tr-accent); margin-bottom: 14px; }
.tr-rule { display: block; width: 56px; height: 2px; background: var(--tr-accent); margin-bottom: 20px; }

/* ---------- Buttons ---------- */
.tr-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 28px; font: 600 .82rem/1 var(--tr-sans); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; border: 1px solid transparent; border-radius: var(--tr-radius); cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s; }
.tr-btn:hover { transform: translateY(-2px); }
.tr-btn .tr-icon { transition: transform .25s; }
.tr-btn:hover .tr-icon { transform: translateX(4px); }
.tr-btn--accent { background: var(--tr-accent); color: #fff; }
.tr-btn--accent:hover { background: var(--tr-primary); }
.tr-btn--primary { background: var(--tr-primary); color: #fff; }
.tr-btn--primary:hover { background: var(--tr-accent); }
.tr-btn--ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.tr-btn--ghost:hover { background: #fff; color: var(--tr-primary); }
.tr-btn--outline { border-color: var(--tr-primary); color: var(--tr-primary); }
.tr-btn--outline:hover { background: var(--tr-primary); color: #fff; }
.tr-btn--block { width: 100%; margin-top: 12px; }

/* ---------- Header ---------- */
.tr-header { position: sticky; top: 0; z-index: 50; background: var(--tr-primary); color: #fff; transition: background .3s, box-shadow .3s; }
.tr-has-hero .tr-header { position: fixed; left: 0; right: 0; background: transparent; }
.tr-has-hero .tr-header.is-scrolled, .tr-header.is-open { background: var(--tr-primary); box-shadow: 0 4px 24px rgba(0,0,0,.15); }
.admin-bar .tr-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .tr-header { top: 46px; } }
.tr-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--tr-header-h); }
.tr-brand a { text-decoration: none; color: #fff; }
.tr-brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.tr-brand__text strong { font-family: var(--tr-serif); font-size: 1.7rem; font-weight: 700; letter-spacing: .02em; }
.tr-brand__text span { font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--tr-accent); margin-top: 4px; }
.tr-brand .custom-logo { max-height: 56px; width: auto; }

.tr-nav { display: flex; align-items: center; gap: 28px; }
.tr-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 26px; }
.tr-menu a { text-decoration: none; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; position: relative; padding: 6px 0; }
.tr-menu a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: var(--tr-accent); transition: width .25s; }
.tr-menu a:hover::after, .tr-menu .current-menu-item > a::after { width: 100%; }
.tr-menu .sub-menu { display: none; }
.tr-nav__extra { display: flex; align-items: center; gap: 18px; padding-left: 24px; border-left: 1px solid rgba(255,255,255,.2); }
.tr-nav__phone { display: inline-flex; gap: 8px; align-items: center; text-decoration: none; font-size: .88rem; font-weight: 600; white-space: nowrap; }
.tr-social { display: flex; gap: 12px; }
.tr-social a { display: inline-flex; opacity: .85; transition: opacity .2s, color .2s; }
.tr-social a:hover { opacity: 1; color: var(--tr-accent); }

.tr-burger { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.tr-burger span:not(.screen-reader-text) { display: block; width: 26px; height: 2px; background: #fff; margin: 6px 0; transition: transform .3s, opacity .3s; }
.tr-header.is-open .tr-burger span:nth-of-type(2) { transform: translateY(8px) rotate(45deg); }
.tr-header.is-open .tr-burger span:nth-of-type(3) { opacity: 0; }
.tr-header.is-open .tr-burger span:nth-of-type(4) { transform: translateY(-8px) rotate(-45deg); }

/* Tablet / small desktop window: collapse to burger */
@media (max-width: 1180px) {
	.tr-burger { display: block; }
	.tr-nav { position: fixed; inset: var(--tr-header-h) 0 0 0; flex-direction: column; align-items: stretch; gap: 0; padding: 24px var(--tr-gutter) 40px; background: var(--tr-primary); transform: translateX(100%); transition: transform .35s ease; overflow-y: auto; }
	.tr-header.is-open .tr-nav { transform: none; }
	.tr-menu { flex-direction: column; gap: 0; }
	.tr-menu a { display: block; padding: 16px 0; font-size: 1rem; border-bottom: 1px solid rgba(255,255,255,.1); }
	.tr-menu a::after { display: none; }
	.tr-nav__extra { border: 0; padding: 28px 0 0; flex-direction: column; align-items: flex-start; }
	body.tr-lock { overflow: hidden; }
}

/* ---------- Hero ---------- */
.tr-hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; color: #fff; background: var(--tr-primary) var(--tr-hero-img, none) center / cover no-repeat; isolation: isolate; }
.tr-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(10,16,30,.82) 0%, rgba(10,16,30,.55) 50%, rgba(10,16,30,.25) 100%); }
.tr-hero:not([style])::before { background: radial-gradient(ellipse at 80% 20%, rgba(200,161,101,.25), transparent 60%), linear-gradient(135deg, var(--tr-primary), #0a101e); }
.tr-hero__inner { padding-top: calc(var(--tr-header-h) + 40px); padding-bottom: 100px; }
.tr-hero__title { color: #fff; font-size: clamp(2.8rem, 7.5vw, 6rem); font-weight: 500; max-width: 13ch; margin-bottom: 24px; }
.tr-hero__text { font-size: clamp(1.05rem, 1.8vw, 1.3rem); max-width: 40ch; opacity: .9; margin-bottom: 40px; }
.tr-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.tr-hero__scroll { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 1px solid rgba(255,255,255,.6); border-radius: 14px; }
.tr-hero__scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; background: #fff; border-radius: 2px; animation: tr-scroll 1.8s infinite; }
@keyframes tr-scroll { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Sections ---------- */
.tr-section { padding: clamp(64px, 10vw, 120px) 0; }
.tr-section--tint { background: var(--tr-tint); }
.tr-section__head { margin-bottom: 48px; }
.tr-empty { padding: 32px; border: 1px dashed var(--tr-line); text-align: center; color: var(--tr-muted); }

/* ---------- Grid & cards ---------- */
.tr-grid { display: grid; gap: clamp(20px, 3vw, 32px); }
.tr-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .tr-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .tr-grid--3 { grid-template-columns: 1fr; } }

.tr-card { background: #fff; border: 1px solid var(--tr-line); transition: box-shadow .3s, transform .3s; }
.tr-card:hover { box-shadow: 0 18px 40px rgba(20,33,61,.12); transform: translateY(-4px); }
.tr-card__link { display: block; text-decoration: none; color: inherit; height: 100%; }
.tr-card__media { position: relative; aspect-ratio: 18 / 13; overflow: hidden; background: var(--tr-tint); }
.tr-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tr-card:hover .tr-card__media img { transform: scale(1.06); }
.tr-card__placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, var(--tr-tint), #e9e2d6); }
.tr-badge { position: absolute; top: 16px; left: 16px; background: var(--tr-accent); color: #fff; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; padding: 6px 12px; }
.tr-card__body { padding: 22px 24px 26px; }
.tr-card__eyebrow { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--tr-muted); margin-bottom: 6px; }
.tr-card__title { font-size: 1.55rem; margin-bottom: 14px; }
.tr-card__specs { list-style: none; margin: 0 0 16px; padding: 0 0 16px; display: flex; gap: 20px; border-bottom: 1px solid var(--tr-line); color: var(--tr-muted); font-size: .9rem; }
.tr-card__specs li { display: inline-flex; gap: 6px; align-items: center; }
.tr-card__price { font-family: var(--tr-serif); font-size: 1.6rem; font-weight: 700; color: var(--tr-primary); margin: 0; }

/* ---------- About ---------- */
.tr-about { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.tr-about__media { position: relative; }
.tr-about__media::after { content: ""; position: absolute; inset: 24px -24px -24px 24px; border: 1px solid var(--tr-accent); z-index: 0; }
.tr-about__media img, .tr-about__placeholder { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.tr-about__placeholder { display: grid; place-items: center; background: var(--tr-primary); }
.tr-about__placeholder span { font-family: var(--tr-serif); font-size: 8rem; color: var(--tr-accent); }
.tr-about__body p { color: #3f4552; font-size: 1.05rem; }
.tr-stats { list-style: none; padding: 28px 0; margin: 12px 0 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; border-top: 1px solid var(--tr-line); border-bottom: 1px solid var(--tr-line); }
.tr-stats strong { display: block; font-family: var(--tr-serif); font-size: clamp(2rem, 4vw, 2.8rem); color: var(--tr-accent); line-height: 1; }
.tr-stats span { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--tr-muted); }
@media (max-width: 860px) {
	.tr-about { grid-template-columns: 1fr; }
	.tr-about__media { max-width: 420px; margin-right: 24px; }
}

/* ---------- Sell / Buy ---------- */
.tr-split { display: grid; grid-template-columns: 1fr 1fr; }
.tr-split__card { position: relative; min-height: clamp(380px, 48vw, 560px); display: flex; align-items: flex-end; padding: clamp(32px, 5vw, 64px); color: #fff; text-decoration: none; background: var(--tr-primary) var(--tr-card-img, none) center / cover; overflow: hidden; isolation: isolate; }
.tr-split__card--buy:not([style]) { background-color: #1f2f52; }
.tr-split__card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(10,16,30,.85), rgba(10,16,30,.2)); transition: background .4s; }
.tr-split__card:hover::before { background: linear-gradient(to top, rgba(10,16,30,.92), rgba(10,16,30,.45)); }
.tr-split__content { max-width: 420px; transition: transform .4s; }
.tr-split__card:hover .tr-split__content { transform: translateY(-8px); }
.tr-split__card h2 { color: #fff; font-size: clamp(2.6rem, 5vw, 4rem); }
.tr-split__card p { opacity: .88; }
.tr-split__cta { display: inline-flex; align-items: center; gap: 10px; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--tr-accent); border-bottom: 1px solid var(--tr-accent); padding-bottom: 6px; }
@media (min-width: 701px) {
	.tr-split__card--sell, .tr-contact__media { padding-left: max(var(--tr-gutter), calc((100vw - 1240px) / 2 + var(--tr-gutter))); }
}
@media (max-width: 700px) { .tr-split { grid-template-columns: 1fr; } }

/* ---------- Testimonials slider ---------- */
.tr-slider { position: relative; }
.tr-slider__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 64px) / 3); gap: 32px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 8px; }
.tr-slider__track::-webkit-scrollbar { display: none; }
@media (max-width: 960px) { .tr-slider__track { grid-auto-columns: calc((100% - 32px) / 2); } }
@media (max-width: 600px) { .tr-slider__track { grid-auto-columns: 88%; gap: 16px; } }
.tr-quote { scroll-snap-align: start; margin: 0; padding: 36px 32px; background: var(--tr-tint); border-top: 2px solid var(--tr-accent); display: flex; flex-direction: column; }
.tr-quote .tr-icon { width: 32px; height: 32px; color: var(--tr-accent); margin-bottom: 16px; }
.tr-quote blockquote { margin: 0 0 20px; flex: 1; font-family: var(--tr-serif); font-size: 1.25rem; line-height: 1.5; color: var(--tr-ink); }
.tr-quote blockquote p:last-child { margin: 0; }
.tr-quote figcaption { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--tr-primary); }
.tr-slider__nav { display: flex; gap: 10px; justify-content: flex-end; margin-top: 24px; }
.tr-slider__btn { width: 48px; height: 48px; border: 1px solid var(--tr-primary); background: transparent; color: var(--tr-primary); font-size: 1.1rem; cursor: pointer; transition: background .2s, color .2s; }
.tr-slider__btn:hover { background: var(--tr-primary); color: #fff; }

/* ---------- Contact ---------- */
.tr-contact { display: grid; grid-template-columns: 1fr 1fr; background: var(--tr-tint); }
.tr-contact__media { position: relative; min-height: 420px; background: var(--tr-primary) var(--tr-contact-img, none) center / cover; display: flex; align-items: flex-end; padding: clamp(24px, 4vw, 48px); }
.tr-contact__media::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,16,30,.7), transparent 60%); }
.tr-contact__card { position: relative; color: #fff; display: flex; flex-direction: column; gap: 10px; }
.tr-contact__card a { display: inline-flex; gap: 10px; align-items: center; text-decoration: none; font-size: 1.1rem; }
.tr-contact__body { padding: clamp(48px, 7vw, 96px) clamp(24px, 6vw, 80px); }
.tr-contact__intro { color: var(--tr-muted); margin-bottom: 32px; max-width: 46ch; }
@media (max-width: 860px) { .tr-contact { grid-template-columns: 1fr; } .tr-contact__media { min-height: 260px; order: 2; } }

/* ---------- Form ---------- */
.tr-form { display: grid; gap: 18px; }
.tr-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 520px) { .tr-form__row { grid-template-columns: 1fr; } }
.tr-form label > span { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--tr-primary); margin-bottom: 6px; }
.tr-form input[type=text], .tr-form input[type=email], .tr-form input[type=tel], .tr-form select, .tr-form textarea { width: 100%; padding: 14px 16px; font: inherit; font-size: 16px; color: var(--tr-ink); background: #fff; border: 1px solid var(--tr-line); border-radius: var(--tr-radius); transition: border-color .2s, box-shadow .2s; }
.tr-form input:focus, .tr-form select:focus, .tr-form textarea:focus { outline: none; border-color: var(--tr-accent); box-shadow: 0 0 0 3px rgba(200,161,101,.2); }
.tr-form__check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--tr-muted); }
.tr-form__check input { margin-top: 4px; accent-color: var(--tr-accent); }
.tr-form__check span { text-transform: none !important; letter-spacing: 0 !important; font-weight: 400 !important; color: var(--tr-muted) !important; font-size: .9rem !important; }
.tr-form .tr-btn { justify-self: start; }
.tr-form__hp { position: absolute; left: -9999px; }
.tr-notice { padding: 14px 18px; margin-bottom: 20px; border-left: 3px solid; }
.tr-notice--ok { background: #eef7ef; border-color: #3c8d4a; }
.tr-notice--err { background: #fbeeee; border-color: #b94040; }

/* ---------- Inner pages ---------- */
.tr-page__banner, .tr-property-hero { position: relative; padding: calc(var(--tr-header-h) + 72px) 0 72px; background: var(--tr-primary) var(--tr-hero-img, none) center / cover; color: #fff; isolation: isolate; }
.tr-has-hero .tr-page__banner { padding-top: calc(var(--tr-header-h) + 72px); }
body:not(.tr-has-hero) .tr-page__banner, body:not(.tr-has-hero) .tr-property-hero { padding-top: 72px; }
.tr-page__banner::before, .tr-property-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(10,16,30,.6); }
.tr-page__banner h1, .tr-property-hero h1 { color: #fff; font-size: clamp(2.4rem, 6vw, 4.2rem); margin: 0; }
.tr-property-hero { padding-bottom: 56px; min-height: 60vh; display: flex; align-items: flex-end; }
.tr-property-hero .tr-badge { position: static; display: inline-block; margin-bottom: 16px; }
.tr-property-hero__addr { display: flex; gap: 8px; align-items: center; margin: 12px 0 0; opacity: .9; }
.tr-property-hero__price { font-family: var(--tr-serif); font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--tr-accent); margin: 12px 0 0; font-weight: 700; }

.tr-prose { max-width: 820px; }
.tr-prose > * + * { margin-top: 1em; }
.tr-prose img, .tr-prose .wp-block-gallery { margin: 32px 0; }

.tr-property { display: grid; grid-template-columns: 1fr 340px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.tr-property .tr-prose { max-width: none; }
.tr-property__specs { list-style: none; padding: 0; margin: 0 0 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 1px; background: var(--tr-line); border: 1px solid var(--tr-line); }
.tr-property__specs li { background: #fff; padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.tr-property__specs .tr-icon { color: var(--tr-accent); }
.tr-property__specs strong { font-family: var(--tr-serif); font-size: 1.6rem; color: var(--tr-primary); }
.tr-property__specs span { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--tr-muted); }
.tr-sidecard { position: sticky; top: calc(var(--tr-header-h) + 24px); padding: 32px; background: var(--tr-tint); border-top: 2px solid var(--tr-accent); }
@media (max-width: 900px) { .tr-property { grid-template-columns: 1fr; } .tr-sidecard { position: static; } }

.tr-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.tr-filters a { padding: 9px 18px; border: 1px solid var(--tr-line); text-decoration: none; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; transition: all .2s; }
.tr-filters a:hover, .tr-filters a.is-active { background: var(--tr-primary); border-color: var(--tr-primary); color: #fff; }

.tr-pagination { margin-top: 48px; }
.tr-pagination .nav-links { display: flex; gap: 8px; justify-content: center; }
.tr-pagination .page-numbers { padding: 10px 16px; border: 1px solid var(--tr-line); text-decoration: none; }
.tr-pagination .current { background: var(--tr-primary); color: #fff; border-color: var(--tr-primary); }

/* ---------- Footer ---------- */
.tr-footer { background: #0b1222; color: rgba(255,255,255,.75); padding: 72px 0 0; font-size: .95rem; }
.tr-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 56px; }
.tr-footer__name { font-family: var(--tr-serif); font-size: 2rem; color: #fff; margin-bottom: 4px; }
.tr-footer__muted { margin-bottom: 20px; }
.tr-footer__label { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--tr-accent); font-weight: 600; margin-bottom: 18px; }
.tr-footer__list, .tr-footer__menu, .tr-footer .tr-menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.tr-footer .tr-menu { flex-direction: column; }
.tr-footer__list li { display: flex; gap: 10px; align-items: flex-start; }
.tr-footer a { text-decoration: none; transition: color .2s; }
.tr-footer a:hover { color: var(--tr-accent); }
.tr-footer .tr-menu a { font-size: .95rem; text-transform: none; letter-spacing: 0; padding: 0; border: 0; }
.tr-footer .tr-menu a::after { display: none; }
.tr-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; padding-bottom: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: .82rem; }
.tr-footer__bottom p { margin: 0; }
@media (max-width: 800px) { .tr-footer__grid { grid-template-columns: 1fr; } }

.tr-totop { position: fixed; right: 20px; bottom: 20px; width: 44px; height: 44px; display: grid; place-items: center; background: var(--tr-accent); color: #fff; text-decoration: none; opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 40; }
.tr-totop.is-visible { opacity: 1; pointer-events: auto; }

/* ---------- Reveal on scroll ---------- */
.js .tr-reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.js .tr-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.js .tr-reveal { opacity: 1; transform: none; }
}

/* ==========================================================
   Monochrome skin — black / white / gray, wide uppercase headings,
   full-width rule under section titles, square uppercase buttons.
   ========================================================== */
h1, h2 { font-family: var(--tr-serif); font-weight: 400; text-transform: uppercase; letter-spacing: .02em; color: var(--tr-ink); }
h2 { font-size: clamp(1.35rem, 2.6vw, 2rem); line-height: 1.3; }
h3, .tr-card__title { font-family: var(--tr-sans); font-weight: 500; text-transform: none; letter-spacing: 0; }
.tr-rule { display: none; }
.tr-kicker { color: var(--tr-soft); letter-spacing: .2em; }

/* Section titles with a full-width black line underneath */
.tr-section__head h2, .tr-about__body h2, .tr-contact__body h2 { padding-bottom: 18px; border-bottom: 2px solid var(--tr-primary); margin-bottom: 0; }
.tr-section__head { margin-bottom: 40px; }
.tr-about__body h2, .tr-contact__body h2 { margin-bottom: 28px; }

/* Buttons: square, uppercase, Figtree 500 */
.tr-btn { font: 500 1rem/1 var(--tr-sans); letter-spacing: .02em; padding: 15px 24px 13px; border-radius: 0; }
.tr-btn:hover { transform: none; }
.tr-btn--accent { background: #fff; color: #000; border-color: #fff; }
.tr-btn--accent:hover { background: #000; color: #fff; border-color: #000; }
.tr-btn--primary { background: var(--tr-primary); color: #fff; border-color: var(--tr-primary); }
.tr-btn--primary:hover { background: #fff; color: #000; border-color: #000; }
.tr-btn--ghost { border-color: #fff; }
.tr-btn--outline { background: #000; color: #fff; border-color: #000; }
.tr-btn--outline:hover { background: #fff; color: #000; }
/* On light backgrounds the "accent" button is solid black */
.tr-form .tr-btn--accent, .tr-sidecard .tr-btn--accent { background: #000; color: #fff; border-color: #000; }
.tr-form .tr-btn--accent:hover, .tr-sidecard .tr-btn--accent:hover { background: #fff; color: #000; }

/* Header: black fading to transparent over the hero, solid black on scroll */
.tr-has-hero .tr-header { background: linear-gradient(rgba(0,0,0,.85) 10%, rgba(0,0,0,0) 100%); }
.tr-has-hero .tr-header.is-scrolled, .tr-header.is-open, .tr-header { --tr-solid: #000; }
.tr-has-hero .tr-header.is-scrolled, .tr-header.is-open { background: #000; box-shadow: none; }
.tr-brand__text strong { font-family: var(--tr-serif); font-weight: 400; font-size: 1.15rem; text-transform: uppercase; letter-spacing: .04em; }
.tr-brand__text span { color: var(--tr-soft); font-size: .68rem; letter-spacing: .2em; margin-top: 6px; }
.tr-menu a { font-size: .9rem; letter-spacing: .06em; font-weight: 400; }
.tr-menu a::after { background: #fff; }
.tr-social a:hover { color: var(--tr-soft); }
@media (max-width: 1180px) { .tr-nav { background: #000; } .tr-menu a { font-size: 1.35rem; text-transform: uppercase; } }

/* Hero: photo with black overlay, wide uppercase title */
.tr-hero { background-color: #000; }
.tr-hero::before { background: linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,.55)); }
.tr-hero:not([style])::before { background: linear-gradient(135deg, #1a1a1a, #000); }
.tr-hero__title { font-size: clamp(1.8rem, 4.6vw, 3.6rem); font-weight: 400; max-width: 20ch; line-height: 1.2; }
.tr-hero__text { font-size: clamp(1.05rem, 1.6vw, 1.25rem); }

/* Property cards: type label on photo, clean black text */
.tr-card { border: 0; }
.tr-card:hover { box-shadow: none; transform: none; }
.tr-card__media { aspect-ratio: 3 / 2; }
.tr-badge { background: #000; color: #fff; letter-spacing: .08em; top: 0; left: 0; padding: 8px 14px; }
.tr-card__body { padding: 18px 0 8px; }
.tr-card__eyebrow { color: var(--tr-muted); letter-spacing: .08em; }
.tr-card__title { font-size: 1.15rem; margin-bottom: 10px; color: #000; }
.tr-card__specs { color: #000; border-bottom-color: var(--tr-line); }
.tr-card__price { font-family: var(--tr-sans); font-size: 1.3rem; font-weight: 600; color: #000; }
.tr-card__placeholder { background: linear-gradient(135deg, #eee, #d3d3d3); }

/* About */
.tr-about__media::after { border-color: #000; }
.tr-about__placeholder { background: #000; }
.tr-about__placeholder span { color: #fff; font-family: var(--tr-serif); }
.tr-about__body p { color: #333; }
.tr-stats strong { color: #000; font-size: clamp(1.4rem, 3vw, 2rem); }

/* Sell / Buy */
.tr-split { gap: 0; }
.tr-split__card::before { background: rgba(0,0,0,.5); }
.tr-split__card:hover::before { background: rgba(0,0,0,.7); }
.tr-split__card--buy:not([style]) { background-color: #1a1a1a; }
.tr-split__card h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
.tr-split__cta { color: #fff; border-bottom-color: #fff; letter-spacing: .04em; font-size: .95rem; font-weight: 500; }

/* Testimonials */
.tr-quote { background: #fff; border: 1px solid var(--tr-line); border-top: 2px solid #000; }
.tr-quote .tr-icon { color: var(--tr-soft); }
.tr-quote blockquote { font-family: var(--tr-sans); font-size: 1.05rem; line-height: 1.6; }
.tr-quote figcaption { color: var(--tr-muted); }
.tr-slider__btn { border-color: #000; color: #000; }
.tr-slider__btn:hover { background: #000; }

/* Contact & form */
.tr-contact { background: #fff; }
.tr-contact__media { background-color: #000; }
.tr-form label > span { color: #000; }
.tr-form input[type=text], .tr-form input[type=email], .tr-form input[type=tel], .tr-form select, .tr-form textarea { border-color: #000; }
.tr-form input:focus, .tr-form select:focus, .tr-form textarea:focus { border-color: #000; box-shadow: 0 0 0 2px rgba(0,0,0,.15); }
.tr-form__check input { accent-color: #000; }

/* Inner pages */
.tr-page__banner::before, .tr-property-hero::before { background: rgba(0,0,0,.55); }
.tr-page__banner, .tr-property-hero { background-color: #000; }
.tr-property-hero__price { font-family: var(--tr-sans); font-weight: 600; color: #fff; }
.tr-property__specs .tr-icon { color: #000; }
.tr-property__specs strong { font-family: var(--tr-sans); font-weight: 600; color: #000; }
.tr-sidecard { background: var(--tr-tint); border-top-color: #000; }
.tr-sidecard h3 { font-size: 1.4rem; }
.tr-filters a { border-color: #000; }

/* Footer */
.tr-footer { background: #000; color: #fff; }
.tr-footer__name { font-family: var(--tr-serif); font-size: 1.2rem; text-transform: uppercase; }
.tr-footer__muted { color: var(--tr-soft); }
.tr-footer__label { color: var(--tr-soft); }
.tr-footer a:hover { color: var(--tr-soft); }
.tr-footer__bottom { color: var(--tr-soft); border-top-color: #333; }
.tr-totop { background: #000; border: 1px solid #fff; }
.tr-contact__media::before { background: linear-gradient(to top, rgba(0,0,0,.75), rgba(0,0,0,0) 60%); }

/* Elementor pages: full width, no theme padding */
.tr-elementor { width: 100%; }
.tr-elementor > .elementor { width: 100%; }

/* Sections inside Elementor: always visible (Elementor re-renders them live),
   and the hero sits under a solid header instead of a transparent one. */
.elementor .tr-reveal { opacity: 1 !important; transform: none !important; }
.elementor .tr-hero { min-height: calc(100vh - var(--tr-header-h)); min-height: calc(100svh - var(--tr-header-h)); }
.elementor .tr-hero__inner { padding-top: 80px; }
.elementor .tr-section h2, .elementor .tr-split h2, .elementor .tr-contact h2 { font-family: var(--tr-serif); }
.elementor-widget-tr_hero, .elementor-widget-tr_properties, .elementor-widget-tr_about,
.elementor-widget-tr_sellbuy, .elementor-widget-tr_testimonials, .elementor-widget-tr_contact { width: 100%; }

/* ==========================================================
   Header v1.3 — full width, fluid sizing, language button
   ========================================================== */
.tr-header__inner { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 48px); width: 100%; min-height: var(--tr-header-h); padding: 0 clamp(16px, 3.5vw, 64px); }
.tr-brand { flex: none; min-width: 0; }
.tr-brand__text strong { font-size: clamp(1rem, .55vw + .8rem, 1.3rem); white-space: nowrap; }
.tr-brand__text span { font-size: clamp(.58rem, .2vw + .52rem, .7rem); white-space: nowrap; }
.tr-nav { margin-left: auto; gap: clamp(16px, 2vw, 32px); }
.tr-menu { gap: clamp(14px, 1.8vw, 36px); }
.tr-menu a { font-size: clamp(.8rem, .25vw + .72rem, .95rem); white-space: nowrap; }
.tr-header__end { display: flex; align-items: center; gap: 10px; flex: none; }
.tr-burger { margin-right: -10px; }

/* Language button */
.tr-lang { display: flex; gap: 8px; }
.tr-lang__link { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 0 16px; border: 1px solid rgba(255,255,255,.7); color: #fff; text-decoration: none; font-size: .78rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; transition: background .2s, color .2s; }
.tr-lang__link:hover, .tr-lang__link:focus-visible { background: #fff; color: #000; }
.tr-lang__short { display: none; }

/* Mid-size desktops: keep the bar on one line (phone/social move into the menu panel on smaller screens) */
@media (min-width: 1181px) and (max-width: 1439px) { .tr-nav__extra { display: none; } }

/* Tablet & small windows: menu panel; language button stays in the bar */
@media (max-width: 1180px) {
	.tr-nav { margin-left: 0; }
	.tr-header__end { margin-left: auto; }
}

/* Phones */
@media (max-width: 600px) {
	:root { --tr-header-h: 68px; }
	.tr-header__inner { gap: 12px; }
	.tr-lang__full { display: none; }
	.tr-lang__short { display: inline; }
	.tr-lang__link { min-height: 34px; padding: 0 12px; }
	.tr-brand .custom-logo { max-height: 42px; }
}
@media (max-width: 360px) {
	.tr-brand__text span { display: none; }
}

/* Language button: two-letter code (FR / EN) on every screen size */
.tr-lang__short { display: inline !important; }
.tr-lang__link { min-width: 44px; min-height: 38px; padding: 0 12px; letter-spacing: .1em; font-size: .8rem; }
@media (max-width: 600px) { .tr-lang__link { min-width: 40px; min-height: 34px; padding: 0 10px; } }

/* Language button: top bar on desktop, inside the ☰ menu on tablets & phones */
.tr-nav__lang { display: none; }
@media (max-width: 1180px) {
	.tr-header__end .tr-lang { display: none; }
	.tr-nav__lang { display: block; padding-top: 28px; }
	.tr-nav__lang .tr-lang__link { min-width: 48px; min-height: 42px; font-size: .9rem; }
}
