/* =========================================================================
   TEJTHAKOR.CA — Luxury homepage (Royal LePage Terra Realty)
   YELLOW (gold) + BLACK theme. Modern, premium, mobile-first.
   ========================================================================= */

/* Theme variables available globally (so the site-wide nav resolves them on
   theme pages that don't carry the .tej-luxe body class). */
:root {
	--black: #141414; --ink: #1d1d1d; --muted: #6e6e6e;
	--gold: #f5b301; --gold-dark: #d99a00; --gold-soft: #fff4d6;
	--bg: #ffffff; --bg-2: #faf8f2; --line: #ece7da;
	--shadow-sm: 0 6px 18px -10px rgba(0,0,0,.25);
	--shadow: 0 24px 50px -28px rgba(0,0,0,.35);
	--shadow-lg: 0 40px 80px -36px rgba(0,0,0,.45);
	--r: 18px; --r-sm: 12px; --wrap: 1200px;
}

/* On theme-rendered pages (no .tej-luxe body): hide RealHomes' own header and
   leave room for our fixed nav. */
body:not(.tej-luxe) .rh_header { display: none !important; }
body:not(.tej-luxe) { padding-top: 76px; }

body.tej-luxe {
	--black: #141414;         /* dark sections / headings */
	--ink: #1d1d1d;           /* body text */
	--muted: #6e6e6e;         /* secondary text */
	--gold: #f5b301;          /* primary yellow / gold */
	--gold-dark: #d99a00;     /* hover */
	--gold-soft: #fff4d6;     /* pale yellow panels */
	--bg: #ffffff;
	--bg-2: #faf8f2;          /* warm off-white */
	--line: #ece7da;
	--shadow-sm: 0 6px 18px -10px rgba(0,0,0,.25);
	--shadow: 0 24px 50px -28px rgba(0,0,0,.35);
	--shadow-lg: 0 40px 80px -36px rgba(0,0,0,.45);
	--r: 18px;
	--r-sm: 12px;
	--wrap: 1200px;

	margin: 0;
	font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: var(--ink);
	background: var(--bg);
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
body.tej-luxe *, body.tej-luxe *::before, body.tej-luxe *::after { box-sizing: border-box; }
body.tej-luxe img { max-width: 100%; display: block; }
body.tej-luxe a { text-decoration: none; color: inherit; }
html { scroll-behavior: smooth; }

.tej-luxe h1, .tej-luxe h2, .tej-luxe h3, .tej-luxe h4 {
	font-family: "Plus Jakarta Sans", "Inter", sans-serif;
	color: var(--black);
	margin: 0; line-height: 1.15; letter-spacing: -.02em; font-weight: 700;
}

.tej-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }

/* Content always visible; gentle one-time hero entrance only */
.tej-reveal { opacity: 1; transform: none; }
.tej-hero .tej-reveal { animation: tej-fade-up .9s both; }
.tej-hero__title.tej-reveal { animation-delay: .08s; }
.tej-hero__sub.tej-reveal { animation-delay: .18s; }
.tej-hero__actions.tej-reveal { animation-delay: .28s; }
@keyframes tej-fade-up { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .tej-hero .tej-reveal { animation: none; } html { scroll-behavior: auto; } }

/* ---------- Kicker / labels ---------- */
.tej-kicker {
	display: inline-flex; align-items: center; gap: 10px;
	font-weight: 700; font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase;
	color: var(--black); margin-bottom: 16px;
}
.tej-kicker::before { content: ""; width: 26px; height: 3px; background: var(--gold); border-radius: 2px; }
.tej-kicker--light { color: #fff; }
.tej-sec__head .tej-kicker { justify-content: center; }

/* ============================================================
   UNIFIED BUTTON SYSTEM — Trust & Authority palette
   ------------------------------------------------------------
   PRIMARY:   Navy #0a3a7a + white text
              → hover: deep navy #072a5e + shadow lift (100ms)
   SECONDARY: White + navy border + navy text
              → hover: light blue tint #eaf2ff fill
   GLASS:     For dark/photo backgrounds (rare — hero overlays only)
   GOLD:      RESERVED for award/certification badges (NOT buttons)
   ============================================================ */
.tej-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	padding: 14px 28px;
	border-radius: 999px;
	font-family: "Plus Jakarta Sans", sans-serif;
	font-weight: 700;
	font-size: 15px;
	letter-spacing: -.1px;
	cursor: pointer;
	border: 2px solid transparent;
	transition: background .1s ease, color .1s ease, border-color .1s ease, transform .1s ease, box-shadow .1s ease;
	white-space: nowrap;
	text-decoration: none;
	line-height: 1.2;
}

/* PRIMARY — Navy button (the main CTA everywhere) */
.tej-btn--primary {
	background: #0a3a7a;
	color: #fff;
	border-color: #0a3a7a;
	box-shadow: 0 4px 12px -4px rgba(10, 58, 122, .28);
}
.tej-btn--primary:hover,
.tej-btn--primary:focus-visible {
	background: #072a5e;
	border-color: #072a5e;
	color: #fff;
	transform: translateY(-1px);
	box-shadow: 0 10px 22px -8px rgba(10, 58, 122, .45);
}
.tej-btn--primary:active { transform: translateY(0); }

/* SECONDARY (ghost) — White + navy border. Aliases: --secondary, --ghost, --outline */
.tej-btn--secondary,
.tej-btn--ghost,
.tej-btn--outline {
	background: #fff;
	color: #0a3a7a;
	border-color: #0a3a7a;
	box-shadow: none;
}
.tej-btn--secondary:hover,
.tej-btn--secondary:focus-visible,
.tej-btn--ghost:hover,
.tej-btn--ghost:focus-visible,
.tej-btn--outline:hover,
.tej-btn--outline:focus-visible {
	background: #eaf2ff;
	color: #0a3a7a;
	border-color: #0a3a7a;
	transform: translateY(-1px);
}

/* GLASS — translucent button for dark photo overlays only (hero on photo bg etc.) */
.tej-btn--glass {
	background: rgba(255, 255, 255, .14);
	color: #fff;
	border-color: rgba(255, 255, 255, .6);
	backdrop-filter: blur(6px);
}
.tej-btn--glass:hover,
.tej-btn--glass:focus-visible {
	background: #fff;
	color: #0a3a7a;
	border-color: #fff;
}

.tej-btn--block { width: 100%; }
.tej-btn:disabled,
.tej-btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---------- Section scaffolding ---------- */
.tej-sec { padding: 104px 0; }
.tej-sec__head { max-width: 720px; margin: 0 auto 58px; text-align: center; }
.tej-sec__title { font-size: clamp(28px, 4vw, 46px); }
.tej-sec__lead { color: var(--muted); margin-top: 16px; font-size: 18px; }
.tej-link { color: #141414; font-weight: 700; font-size: 15px; border-bottom: 2px solid var(--gold); padding-bottom: 2px; }
.tej-link:hover { color: var(--gold-dark); }

/* ===================== FIXED SOCIAL RAIL ===================== */
.tej-social-rail {
	position: fixed; left: 18px; top: 50%; transform: translateY(-50%);
	z-index: 990; display: flex; flex-direction: column; gap: 12px;
}
.tej-social-rail a {
	width: 44px; height: 44px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	background: var(--gold); color: #141414;
	box-shadow: 0 10px 24px -10px rgba(0,0,0,.5);
	transition: transform .2s ease, background .2s ease, color .2s ease;
}
.tej-social-rail a:hover { background: #141414; color: var(--gold); transform: translateY(-3px) scale(1.06); }
.tej-social-rail svg { width: 19px; height: 19px; fill: currentColor; }
@media (max-width: 900px) { .tej-social-rail { display: none; } }

/* ===================== COMMUNITIES PAGE ===================== */
.tej-comm-hero { position: relative; min-height: 50vh; display: flex; align-items: center; padding: 160px 0 80px; color: #fff;
	background: #141414 url('https://images.unsplash.com/photo-1486325212027-8081e485255e?auto=format&fit=crop&w=1920&q=70') center/cover; }
.tej-comm-hero__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9,9,9,.68) 0%, rgba(9,9,9,.85) 100%); }
.tej-comm-hero__inner { position: relative; z-index: 2; max-width: 760px; }
body.tej-luxe .tej-comm-hero__title { color: #fff; font-size: clamp(34px, 5vw, 58px); font-weight: 800; line-height: 1.06; text-shadow: 0 2px 30px rgba(0,0,0,.4); }
.tej-comm-hero__sub { color: rgba(255,255,255,.9); font-size: 18px; margin-top: 18px; max-width: 600px; }

.tej-comm { background: var(--bg-2); }
.tej-comm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.tej-comm-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; text-decoration: none; color: inherit; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; }
.tej-comm-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.tej-comm-card__media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; }
.tej-comm-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tej-comm-card:hover .tej-comm-card__media img { transform: scale(1.06); }
.tej-comm-card__region { position: absolute; top: 14px; left: 14px; background: var(--gold); color: #141414; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.tej-comm-card__body { padding: 24px; }
.tej-comm-card__name { font-size: 22px; margin-bottom: 8px; }
.tej-comm-card__blurb { color: var(--muted); font-size: 14.5px; margin-bottom: 16px; }
.tej-comm-card__link { color: #141414; font-weight: 700; font-size: 14px; border-bottom: 2px solid var(--gold); padding-bottom: 2px; }
.tej-comm-card:hover .tej-comm-card__link { color: var(--gold-dark); }

.tej-comm-cta { background: var(--black); color: #fff; padding: 66px 0; }
.tej-comm-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.tej-comm-cta h2 { color: #fff; font-size: clamp(24px, 3.2vw, 38px); }
.tej-comm-cta p { color: rgba(255,255,255,.7); margin: 10px 0 0; font-size: 17px; max-width: 46ch; }
.tej-comm-cta__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.tej-comm-cta .tej-btn--outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.tej-comm-cta .tej-btn--outline:hover { background: #fff; color: #141414; border-color: #fff; }
@media (max-width: 980px) { .tej-comm-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .tej-comm-grid { grid-template-columns: 1fr; } .tej-comm-cta__inner { flex-direction: column; text-align: center; } .tej-comm-cta__actions { justify-content: center; } }

/* ===================== FLOATING WHATSAPP BUTTON ===================== */
.tej-wa-float {
	position: fixed; right: 24px; bottom: 24px; z-index: 1100;
	width: 60px; height: 60px; border-radius: 50%;
	background: #25d366; color: #fff;
	display: flex; align-items: center; justify-content: center;
	box-shadow: 0 14px 30px -8px rgba(37,211,102,.6);
	transition: transform .2s ease, box-shadow .2s ease;
}
.tej-wa-float svg { width: 33px; height: 33px; fill: currentColor; }
.tej-wa-float:hover { transform: scale(1.08); box-shadow: 0 18px 38px -8px rgba(37,211,102,.7); }
.tej-wa-float::before {
	content: ""; position: absolute; inset: 0; border-radius: 50%;
	background: #25d366; z-index: -1; animation: tej-wa-pulse 2.2s infinite;
}
.tej-wa-float::after {
	content: attr(data-tip);
	position: absolute; right: 72px; top: 50%; transform: translateY(-50%);
	background: #141414; color: #fff; font-size: 13px; font-weight: 600;
	padding: 8px 14px; border-radius: 8px; white-space: nowrap;
	opacity: 0; pointer-events: none; transition: opacity .2s ease;
	box-shadow: var(--shadow-sm);
}
.tej-wa-float:hover::after { opacity: 1; }
@keyframes tej-wa-pulse { 0% { transform: scale(1); opacity: .55; } 70% { transform: scale(1.7); opacity: 0; } 100% { opacity: 0; } }
@media (max-width: 600px) {
	.tej-wa-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
	.tej-wa-float svg { width: 29px; height: 29px; }
	.tej-wa-float::after { display: none; }
}

/* ============================ NAV ============================ */
.tej-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; transition: background .3s ease, box-shadow .3s ease, padding .3s ease; padding: 8px 0; }
.tej-nav::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,0) 100%); opacity: 1; transition: opacity .3s ease; pointer-events: none; z-index: -1; }
.tej-nav.scrolled::before { opacity: 0; }
body.admin-bar .tej-nav { top: 32px; }
.tej-nav__inner { max-width: var(--wrap); margin: 0 auto; padding: 14px 28px; display: flex; align-items: center; gap: 24px; }
.tej-nav.scrolled { background: rgba(255,255,255,.95); box-shadow: 0 8px 30px -16px rgba(0,0,0,.35); backdrop-filter: blur(10px); }
.tej-nav__brand { display: flex; flex-direction: column; line-height: 1.1; margin-right: auto; }
.tej-nav__brand-name { font-family: "Plus Jakarta Sans", sans-serif; font-weight: 800; font-size: 20px; color: #fff; letter-spacing: -.01em; }
.tej-nav__brand-sub { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.tej-nav.scrolled .tej-nav__brand-name { color: var(--black); }
.tej-nav.scrolled .tej-nav__brand-sub { color: var(--gold-dark); }
.tej-nav__menu { display: flex; gap: 28px; }
.tej-nav__menu a { font-weight: 600; font-size: 15px; color: #fff !important; position: relative; padding: 4px 0; }
.tej-nav__menu a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--gold); transition: width .25s ease; }
.tej-nav__menu a:hover::after { width: 100%; }
.tej-nav.scrolled .tej-nav__menu a { color: var(--black) !important; }
.tej-nav__cta { display: inline-flex; align-items: center; gap: 8px; background: var(--gold); color: #141414; font-weight: 700; font-size: 14px; padding: 11px 20px; border-radius: 999px; transition: background .2s ease, transform .2s ease; }
.tej-nav__cta:hover { background: var(--gold-dark); transform: translateY(-2px); }
.tej-nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.tej-nav__burger span { width: 26px; height: 2px; background: #fff; transition: all .3s ease; border-radius: 2px; }
.tej-nav.scrolled .tej-nav__burger span { background: var(--black); }
.tej-nav__mobile { display: none; }

/* Listings dropdown */
.tej-has-dropdown { position: relative; display: inline-flex; align-items: center; }
.tej-drop-toggle { display: inline-flex; align-items: center; gap: 4px; }
.tej-caret { width: 12px; height: 12px; transition: transform .2s ease; }
.tej-has-dropdown:hover .tej-caret { transform: rotate(180deg); }
.tej-nav__dropdown { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(10px); min-width: 215px; background: #fff; border-radius: 12px; box-shadow: 0 24px 50px -18px rgba(0,0,0,.4); padding: 8px; opacity: 0; visibility: hidden; transition: opacity .2s ease, transform .2s ease; z-index: 60; }
.tej-nav__dropdown::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.tej-has-dropdown:hover .tej-nav__dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.tej-nav__menu .tej-nav__dropdown a { color: var(--ink) !important; display: block; padding: 11px 14px; border-radius: 8px; font-weight: 600; font-size: 14.5px; white-space: nowrap; }
.tej-nav__dropdown a::after { display: none !important; }
.tej-nav__menu .tej-nav__dropdown a:hover { background: var(--gold-soft); color: var(--black) !important; }

/* Nested Communities flyout (second-level panel) */
.tej-has-subdropdown { position: relative; }
.tej-subdrop-toggle { display: flex !important; align-items: center; justify-content: space-between; gap: 10px; }
.tej-subdrop-arrow { font-size: 18px; line-height: 1; opacity: .6; }
.tej-nav__subdropdown { position: absolute; top: -8px; left: 100%; min-width: 230px; max-height: 70vh; overflow-y: auto; background: #fff; border-radius: 12px; box-shadow: 0 24px 50px -18px rgba(0,0,0,.4); padding: 8px; opacity: 0; visibility: hidden; transform: translateX(8px); transition: opacity .18s ease, transform .18s ease; z-index: 70; }
.tej-has-subdropdown:hover .tej-nav__subdropdown { opacity: 1; visibility: visible; transform: translateX(0); }
.tej-has-subdropdown:hover > .tej-subdrop-toggle { background: var(--gold-soft); color: var(--black) !important; }
.tej-nav__menu .tej-nav__subdropdown a { color: var(--ink) !important; display: block; padding: 10px 14px; border-radius: 8px; font-weight: 600; font-size: 14px; white-space: nowrap; }
.tej-nav__menu .tej-nav__subdropdown a:hover { background: var(--gold-soft); color: var(--black) !important; }
/* If the flyout would overflow the right edge, flip it to open leftward */
@media (max-width: 1280px) { .tej-nav__subdropdown { left: auto; right: 100%; transform: translateX(-8px); } .tej-has-subdropdown:hover .tej-nav__subdropdown { transform: translateX(0); } }

/* ===================== HERO (Royal LePage red) ===================== */
.tej-hero {
	position: relative; min-height: 100vh; display: flex; align-items: center;
	color: #fff; padding: 130px 0 90px; overflow: hidden;
}
.tej-hero--rlp {
	background:
		radial-gradient(120% 130% at 82% 8%, #e51e36 0%, #c8102e 38%, #9c0c22 100%);
}
.tej-hero--rlp::after {
	content: ""; position: absolute; right: -8%; top: -10%; width: 520px; height: 520px;
	border-radius: 50%; background: radial-gradient(circle, rgba(245,179,1,.28), transparent 70%);
	pointer-events: none;
}
.tej-hero__grid { position: relative; z-index: 2; width: 100%; display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; }
body.tej-luxe .tej-hero__title { color: #fff; font-size: clamp(36px, 5.6vw, 66px); font-weight: 800; line-height: 1.06; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.tej-hero__sub { font-size: clamp(16px, 2.1vw, 20px); color: rgba(255,255,255,.92); margin: 22px 0 36px; max-width: 520px; }
.tej-hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* figure: social icons beside the portrait */
.tej-hero__figure { display: flex; align-items: center; justify-content: center; gap: 24px; }
.tej-hero__social { display: flex; flex-direction: column; gap: 13px; }
.tej-hero__social a { width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.4); color: #fff; transition: all .2s ease; }
.tej-hero__social a:hover { background: var(--gold); color: #141414; border-color: var(--gold); transform: translateY(-3px); }
.tej-hero__social svg { width: 18px; height: 18px; fill: currentColor; }
.tej-hero__portrait {
	position: relative; width: min(420px, 78%); aspect-ratio: 1; border-radius: 50%;
	overflow: hidden; background: #fff; border: 6px solid var(--gold);
	box-shadow: 0 34px 80px -24px rgba(0,0,0,.6);
}
.tej-hero__portrait img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
@media (max-width: 900px) {
	.tej-hero { text-align: center; padding: 110px 0 70px; }
	.tej-hero__grid { grid-template-columns: 1fr; gap: 40px; }
	.tej-hero__sub { margin-left: auto; margin-right: auto; }
	.tej-hero__actions { justify-content: center; }
	.tej-hero__figure { flex-direction: column-reverse; gap: 18px; }
	.tej-hero__social { flex-direction: row; justify-content: center; }
	.tej-hero__portrait { width: min(300px, 70%); }
}

/* ===================== FEATURED PROPERTY ===================== */
.tej-featured { background: var(--bg); }
.tej-featured__card { display: grid; grid-template-columns: 1.05fr 1fr; background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.tej-featured__media { position: relative; min-height: 420px; }
.tej-featured__media img { width: 100%; height: 100%; object-fit: cover; }
.tej-featured__tag { position: absolute; top: 20px; left: 20px; background: var(--gold); color: #141414; font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding: 8px 16px; border-radius: 999px; }
.tej-featured__body { padding: 44px 44px 40px; }
.tej-featured__name { font-size: clamp(22px, 2.6vw, 30px); }
.tej-featured__loc { color: var(--muted); margin: 8px 0 24px; font-weight: 500; }
.tej-featured__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 22px; background: var(--gold-soft); border-radius: var(--r-sm); margin-bottom: 26px; }
.tej-featured__stats div { text-align: center; }
.tej-featured__stats strong { display: block; font-family: "Plus Jakarta Sans", sans-serif; font-size: 24px; color: var(--black); }
.tej-featured__stats span { font-size: 12.5px; color: #7a6a3f; }
.tej-featured__list { list-style: none; margin: 0 0 30px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; }
.tej-featured__list li { position: relative; padding-left: 28px; font-size: 14.5px; color: var(--ink); }
.tej-featured__list li::before { content: "✓"; position: absolute; left: 0; top: -1px; width: 18px; height: 18px; border-radius: 50%; background: var(--gold); color: #141414; font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.tej-featured__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ============================ MY STORY (Tech → Real Estate) ============================
   2-column section between Hero and Buyers.
   Left: long-form story. Right: photo card + 9:16 reel (vertical YouTube Shorts).
   Stacks on tablet/mobile. Uses blue brand palette.
   ===================================================================== */
.tej-story {
	background: linear-gradient(180deg, #ffffff 0%, var(--blue-light, #eaf2ff) 100%);
	padding: 84px 0;
	position: relative;
}
.tej-story__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
	gap: 56px;
	align-items: start;
}
.tej-story__copy {
	font-size: 16px;
	line-height: 1.8;
	color: var(--ink, #3a3a3a);
	min-width: 0; /* allow text to shrink without overflowing the grid cell */
}
.tej-story__copy .tej-kicker { color: var(--blue, #0a3a7a); margin-bottom: 14px; }
.tej-story__copy .tej-kicker::before { background: var(--blue, #0a3a7a); }
.tej-story__title {
	font-family: "Plus Jakarta Sans", sans-serif;
	font-weight: 800;
	font-size: clamp(24px, 2.6vw, 34px);
	line-height: 1.2;
	color: var(--blue, #0a3a7a);
	letter-spacing: -.4px;
	margin: 0 0 44px !important;   /* generous gap before the first paragraph */
	hyphens: none;
}
.tej-story__title em {
	display: block;
	font-style: italic;
	color: var(--ink, #3a3a3a);
	font-weight: 700;
	margin-top: 8px;               /* small breathing room between the two lines of the title */
	font-size: .9em;
}
.tej-story__copy p { margin: 0 0 18px; }
.tej-story__copy p:last-of-type { margin-bottom: 0; }
.tej-story__copy strong { color: var(--blue, #0a3a7a); font-weight: 700; }
.tej-story__highlight {
	background: rgba(10, 58, 122, .06);
	border-left: 4px solid var(--blue, #0a3a7a);
	padding: 18px 22px;
	border-radius: 0 10px 10px 0;
	margin: 24px 0 !important;
	font-size: 16px;
	line-height: 1.7;
}
.tej-story__highlight strong { color: var(--blue, #0a3a7a); }

.tej-story__copy .tej-story__subhead {
	font-family: "Plus Jakarta Sans", sans-serif;
	font-size: 18px;
	font-weight: 800;
	color: var(--blue, #0a3a7a);
	margin-top: 40px !important;
	margin-bottom: 36px !important;   /* large gap BELOW heading before bullets */
	letter-spacing: -.2px;
	display: block;
}
.tej-story__copy .tej-story__commit {
	list-style: none;
	padding: 0;
	margin: 24px 0 28px !important;   /* belt-and-suspenders: also give list a top margin */
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 12px 24px;
}
.tej-story__commit li {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 15px;
	color: var(--ink, #3a3a3a);
	line-height: 1.4;
}
.tej-story__commit li span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px; height: 24px;
	border-radius: 50%;
	background: var(--blue, #0a3a7a);
	color: #fff;
	font-size: 12px;
	font-weight: 800;
	flex-shrink: 0;
}
.tej-story__commit li strong {
	color: var(--ink, #3a3a3a);
	font-weight: 600;
}
.tej-story__closer {
	margin-top: 36px !important;       /* clear separation from previous paragraph */
	padding-top: 32px;                 /* extra space ABOVE the closer (after the divider line) */
	border-top: 1px solid rgba(10, 58, 122, .15);
	font-size: 16px;
	line-height: 1.7;
}
.tej-story__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 28px;
}

/* --- RIGHT column: photo + reel --- */
.tej-story__media {
	position: sticky;
	top: 100px;
	display: flex;
	flex-direction: column;
	gap: 22px;
	min-width: 0;     /* prevent grid blowout */
	max-width: 360px; /* cap so the photo never dominates */
	margin: 0 0 0 auto; /* sit at the right edge of its column */
}
.tej-story__photocard {
	margin: 0;
	background: #fff;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 14px 40px -16px rgba(10, 58, 122, .35);
	border: 1px solid rgba(10, 58, 122, .12);
	max-width: 100%;
}
.tej-story__photocard img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	object-position: center 20%;
}
/* When the photo card has no caption (the image carries its own quote/text),
   show the full image — no fixed crop, no aspect-ratio clamp. */
.tej-story__photocard--nocaption img {
	aspect-ratio: auto;
	object-fit: contain;
	object-position: center;
}
.tej-story__photocaption {
	padding: 16px 20px;
	background: var(--blue, #0a3a7a);
	color: #fff;
	text-align: center;
}
.tej-story__photocaption strong {
	display: block;
	font-family: "Plus Jakarta Sans", sans-serif;
	font-size: 19px;
	font-weight: 800;
	letter-spacing: -.2px;
}
.tej-story__photocaption span {
	display: block;
	font-size: 12px;
	color: rgba(255, 255, 255, .85);
	margin-top: 4px;
	letter-spacing: .03em;
}

/* --- Reel (9:16 vertical) --- */
.tej-story__reelwrap { text-align: center; }
.tej-story__reel {
	position: relative;
	aspect-ratio: 9 / 16;
	max-width: 280px;
	margin: 0 auto;
	background: #000;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 14px 40px -16px rgba(0, 0, 0, .5);
}
.tej-story__reel iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}
.tej-story__reel--placeholder {
	background: linear-gradient(135deg, #0a3a7a 0%, #072a5e 100%);
	display: flex;
	align-items: center;
	justify-content: center;
}
.tej-story__placeholder {
	color: #fff;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding: 24px;
}
.tej-story__placeholder svg { color: rgba(255, 255, 255, .85); margin-bottom: 4px; }
.tej-story__placeholder strong {
	display: block;
	font-family: "Plus Jakarta Sans", sans-serif;
	font-size: 16px;
	font-weight: 800;
	letter-spacing: -.2px;
}
.tej-story__placeholder span {
	display: block;
	font-size: 12px;
	color: rgba(255, 255, 255, .7);
	text-transform: uppercase;
	letter-spacing: .14em;
}
.tej-story__reelcap {
	margin: 12px 0 0;
	font-size: 13px;
	color: var(--muted, #888);
	font-style: italic;
}

/* Stack on tablet/mobile */
@media ( max-width: 980px ) {
	.tej-story { padding: 64px 0; }
	.tej-story__grid { grid-template-columns: 1fr; gap: 48px; }
	.tej-story__media { position: static; max-width: 380px; margin: 0 auto; }
	.tej-story__copy { max-width: none; }
	.tej-story__commit { grid-template-columns: 1fr; }
}
@media ( max-width: 560px ) {
	.tej-story { padding: 48px 0; }
	.tej-story__copy { font-size: 15px; line-height: 1.7; }
	.tej-story__title { font-size: 26px; }
	.tej-story__reel { max-width: 260px; }
}

/* ============================ BUYERS ============================ */
.tej-buyers { background: var(--bg-2); }
.tej-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.tej-step { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 30px 24px; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; }
.tej-step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.tej-step__num { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background: var(--black); color: var(--gold); font-family: "Plus Jakarta Sans", sans-serif; font-weight: 800; margin-bottom: 18px; }
.tej-step__title { font-size: 18px; margin-bottom: 8px; }
.tej-step__text { font-size: 14px; color: var(--muted); }

/* ============================ SELLERS ============================ */
.tej-sellers { background: var(--bg); }
.tej-sellers__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.tej-sellers__stats { display: flex; gap: 32px; margin: 28px 0 30px; flex-wrap: wrap; }
.tej-sellers__stats strong { display: block; font-family: "Plus Jakarta Sans", sans-serif; font-size: 34px; color: var(--black); }
.tej-sellers__stats strong::after { content: ""; display: block; width: 28px; height: 3px; background: var(--gold); border-radius: 2px; margin-top: 6px; }
.tej-sellers__stats span { font-size: 13px; color: var(--muted); }
.tej-sellers__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.tej-mini { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 28px 24px; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; }
.tej-mini:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.tej-mini__icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 14px; background: var(--gold-soft); font-size: 24px; margin-bottom: 16px; }
.tej-mini__title { font-size: 17px; margin-bottom: 6px; }
.tej-mini__text { font-size: 14px; color: var(--muted); }

/* ======================= MORTGAGE CALCULATOR ======================= */
.tej-mortgage { background: var(--bg-2); }
.tej-mortgage__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.tej-mortgage__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 26px; }
.tej-mortgage__fields label { font-weight: 600; font-size: 14px; color: var(--black); display: block; }
.tej-mortgage__fields small { color: var(--muted); font-weight: 500; }
.tej-input { display: flex; align-items: center; gap: 6px; margin-top: 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px 16px; transition: border-color .2s ease, box-shadow .2s ease; }
.tej-input:focus-within { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(245,179,1,.18); }
.tej-input span { color: var(--muted); font-weight: 600; }
.tej-input input { border: 0; outline: 0; width: 100%; font-size: 17px; font-weight: 600; color: var(--black); background: transparent; font-family: "Plus Jakarta Sans", sans-serif; }
.tej-mortgage__result { background: linear-gradient(160deg, #0d4f4f 0%, #0a3330 100%); color: #fff; border-radius: var(--r); padding: 40px 36px; box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,.12); }
.tej-mortgage__reslabel { font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.tej-mortgage__amount { font-family: "Plus Jakarta Sans", sans-serif; font-weight: 800; font-size: clamp(40px, 6vw, 56px); margin: 6px 0 22px; line-height: 1; color: #fff; }
.tej-mortgage__break { list-style: none; margin: 0 0 26px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.2); border-bottom: 1px solid rgba(255,255,255,.2); display: grid; gap: 12px; }
.tej-mortgage__break li { display: flex; justify-content: space-between; font-size: 15px; }
.tej-mortgage__break span { color: rgba(255,255,255,.8); }
.tej-mortgage__break strong { font-family: "Plus Jakarta Sans", sans-serif; }
/* Mortgage section has dark background — primary button stays navy/white for consistency,
   but uses a soft inner glow so it doesn't disappear into the dark surface */
.tej-mortgage .tej-btn--primary { background: #0a3a7a; color: #fff; box-shadow: 0 0 0 1px rgba(255,255,255,.15), 0 6px 18px -6px rgba(0,0,0,.6); }
.tej-mortgage .tej-btn--primary:hover { background: #072a5e; color: #fff; box-shadow: 0 0 0 1px rgba(255,255,255,.25), 0 10px 22px -8px rgba(10,58,122,.7); }
.tej-mortgage__note { font-size: 12px; color: rgba(255,255,255,.6); margin: 14px 0 0; text-align: center; }

/* ============================ BLOG ============================ */
.tej-blog { background: var(--bg); }
.tej-blog__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.tej-post { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; }
.tej-post:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.tej-post__media { aspect-ratio: 16/10; overflow: hidden; }
.tej-post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tej-post:hover .tej-post__media img { transform: scale(1.06); }
.tej-post__body { padding: 26px 26px 28px; }
.tej-post__title { font-size: 20px; margin-bottom: 10px; }
.tej-post__excerpt { font-size: 14.5px; color: var(--muted); margin-bottom: 18px; }

/* ============================ ABOUT ============================ */
.tej-about { background: var(--bg-2); }
.tej-about__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: center; }
.tej-about__media { aspect-ratio: 4/5; border-radius: 220px 220px var(--r) var(--r); background: linear-gradient(180deg, var(--gold-soft), #f0dca6); overflow: hidden; display: flex; align-items: flex-end; justify-content: center; box-shadow: var(--shadow); }
.tej-about__media img { width: 92%; height: 99%; object-fit: contain; object-position: bottom center; mix-blend-mode: multiply; }
.tej-about__text { color: var(--ink); font-size: 17px; margin: 18px 0 0; }
.tej-about__counters { display: flex; gap: 36px; margin: 30px 0; flex-wrap: wrap; }
.tej-about__counters strong { display: block; font-family: "Plus Jakarta Sans", sans-serif; font-weight: 800; font-size: 40px; color: var(--black); line-height: 1; }
.tej-about__counters strong::after { content: ""; display: block; width: 30px; height: 3px; background: var(--gold); border-radius: 2px; margin-top: 8px; }
.tej-about__counters span { font-size: 13px; color: var(--muted); }
.tej-about__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ============================ FOOTER ============================ */
.tej-foot { background: var(--black); color: rgba(255,255,255,.75); }
.tej-foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 40px; padding: 72px 28px 50px; }
.tej-foot__name { font-family: "Plus Jakarta Sans", sans-serif; font-weight: 800; font-size: 22px; color: #fff; display: block; }
.tej-foot__sub { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: 14px; }
.tej-foot__blurb { font-size: 14.5px; margin: 0 0 18px; }
.tej-foot__social { display: flex; gap: 10px; }
.tej-foot__social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; color: #fff; transition: background .2s ease, color .2s ease, transform .2s ease; }
.tej-foot__social a:hover { background: var(--gold); color: #141414; transform: translateY(-3px); }
.tej-foot__h { color: #fff; font-size: 16px; margin-bottom: 18px; }
.tej-foot__links, .tej-foot__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.tej-foot__links a:hover { color: var(--gold); }
.tej-foot__contact li { display: flex; flex-direction: column; }
.tej-foot__contact span { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.tej-foot__contact a { color: #fff; font-weight: 600; }
.tej-cform { display: grid; gap: 10px; }
.tej-cform input, .tej-cform textarea { width: 100%; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 10px; padding: 12px 14px; color: #fff; font-family: inherit; font-size: 14px; }
.tej-cform input::placeholder, .tej-cform textarea::placeholder { color: rgba(255,255,255,.55); }
.tej-cform input:focus, .tej-cform textarea:focus { outline: none; border-color: var(--gold); background: rgba(255,255,255,.12); }
.tej-foot__bar { border-top: 1px solid rgba(255,255,255,.12); }
.tej-foot__barinner { display: flex; justify-content: space-between; gap: 16px; padding: 22px 28px; flex-wrap: wrap; }
.tej-foot__bar span { font-size: 12.5px; color: rgba(255,255,255,.55); }

/* =========================== RESPONSIVE =========================== */
@media (max-width: 1024px) {
	.tej-steps { grid-template-columns: repeat(2, 1fr); }
	.tej-blog__grid { grid-template-columns: repeat(2, 1fr); }
	.tej-foot__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
	.tej-nav__menu, .tej-nav__cta { display: none; }
	.tej-nav__burger { display: flex; }
	.tej-nav.open .tej-nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
	.tej-nav.open .tej-nav__burger span:nth-child(2) { opacity: 0; }
	.tej-nav.open .tej-nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
	.tej-nav__mobile { display: block; max-height: 0; overflow: hidden; background: #fff; transition: max-height .35s ease; box-shadow: 0 20px 40px -20px rgba(0,0,0,.4); }
	.tej-nav.open .tej-nav__mobile { max-height: 460px; }
	.tej-nav__mobile a { display: block; padding: 15px 28px; color: var(--ink); font-weight: 600; border-top: 1px solid var(--line); }
	.tej-nav__mobile .tej-mobile-cta { background: var(--gold); color: #141414; text-align: center; }
	.tej-nav__mobile .tej-mobile-group { display: block; padding: 14px 28px 4px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); border-top: 1px solid var(--line); }
	.tej-nav__mobile .tej-mobile-sub { padding-left: 44px !important; }
	.tej-featured__card { grid-template-columns: 1fr; }
	.tej-featured__media { min-height: 280px; }
	.tej-sellers__grid, .tej-mortgage__grid, .tej-about__grid { grid-template-columns: 1fr; gap: 40px; }
	.tej-about__media { max-width: 360px; margin: 0 auto; }
}
@media (max-width: 720px) {
	.tej-sec { padding: 72px 0; }
	.tej-steps, .tej-blog__grid, .tej-sellers__cards { grid-template-columns: 1fr; }
	.tej-featured__list { grid-template-columns: 1fr; }
	.tej-mortgage__fields { grid-template-columns: 1fr; }
	.tej-featured__body { padding: 30px 24px; }
	.tej-foot__grid { grid-template-columns: 1fr; gap: 30px; padding: 56px 28px 40px; }
	.tej-foot__barinner { flex-direction: column; }
}
@media (max-width: 480px) {
	.tej-featured__stats { grid-template-columns: 1fr 1fr; gap: 16px; }
	.tej-hero__actions .tej-btn { width: 100%; }
}

/* RealHomes Modern footer renders a "|" separator between the copyright text
   and the "Designed by" credit. We've removed the credit from the DB, so the
   pipe is left dangling — hide it. */
.rh-footer-bottom-items-separator { display: none !important; }

/* =====================================================================
 * Instagram Reels section (tej-reels)
 * ===================================================================== */
.tej-reels { padding: 90px 0; background: #fff; }
.tej-reels__inner { max-width: 1180px; margin: 0 auto; padding: 0 22px; }
.tej-reels__head { text-align: center; max-width: 700px; margin: 0 auto 50px; }
.tej-reels__eyebrow { display: inline-block; padding: 6px 14px; background: var(--black); color: var(--gold); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; border-radius: 999px; margin-bottom: 16px; font-family: "Inter", sans-serif; }
.tej-reels__h { font-family: "Plus Jakarta Sans", sans-serif; font-weight: 800; font-size: 38px; line-height: 1.15; color: var(--black); margin: 0 0 14px; letter-spacing: -.5px; }
.tej-reels__sub { font-size: 16px; line-height: 1.55; color: var(--ink); margin: 0 0 24px; }
.tej-reels__cta { display: inline-flex; align-items: center; gap: 9px; padding: 13px 22px; background: linear-gradient(135deg, #f5b301 0%, #d99a00 100%); color: #141414; font-weight: 700; font-size: 14px; text-decoration: none; border-radius: 999px; transition: transform .15s ease, box-shadow .15s ease; }
.tej-reels__cta:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -10px rgba(245,179,1,.55); color: #141414; }
.tej-reels__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.tej-reel { background: #fff; border-radius: 16px; overflow: hidden; text-decoration: none; color: inherit; display: flex; flex-direction: column; box-shadow: 0 4px 12px -6px rgba(0,0,0,.1); transition: transform .25s ease, box-shadow .25s ease; }
.tej-reel:hover { transform: translateY(-6px); box-shadow: 0 20px 40px -14px rgba(20,20,20,.22); }
.tej-reel__media { position: relative; aspect-ratio: 9/16; max-height: 480px; overflow: hidden; background: linear-gradient(135deg, #2a2a2a, #141414); }
.tej-reel__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.tej-reel:hover .tej-reel__media img { transform: scale(1.05); }
.tej-reel__play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,.92); color: #141414; display: flex; align-items: center; justify-content: center; transition: transform .2s ease, background .15s ease; backdrop-filter: blur(6px); }
.tej-reel:hover .tej-reel__play { transform: translate(-50%, -50%) scale(1.08); background: var(--gold); }
.tej-reel__play svg { margin-left: 3px; }
.tej-reel__badge { position: absolute; top: 12px; right: 12px; background: rgba(20,20,20,.86); color: var(--gold); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; padding: 5px 10px; border-radius: 6px; backdrop-filter: blur(6px); }
.tej-reel__b { padding: 18px 20px 20px; }
.tej-reel__title { font-family: "Plus Jakarta Sans", sans-serif; font-weight: 700; font-size: 15px; line-height: 1.35; color: var(--black); margin: 0 0 6px; }
.tej-reel__excerpt { font-size: 13px; line-height: 1.5; color: var(--muted); margin: 0; }

/* === Inline YouTube Shorts variant — same card chrome, iframe instead of static image === */
.tej-reel--inline { background: #fff; border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 6px 18px -10px rgba(0,0,0,.14); transition: transform .25s ease, box-shadow .25s ease; }
.tej-reel--inline:hover { transform: translateY(-5px); box-shadow: 0 22px 40px -16px rgba(20,20,20,.22); }
.tej-reel__media--video { position: relative; aspect-ratio: 9/16; max-height: 480px; overflow: hidden; background: #000; cursor: pointer; }
.tej-reel__media--video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.tej-reel__cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease, filter .3s ease; }
.tej-reel--inline:hover .tej-reel__cover { transform: scale(1.05); filter: brightness(.85); }
.tej-yt-facade:focus-visible { outline: 3px solid #1976d2; outline-offset: 3px; }

/* YouTube-style red play button (same as testimonials page — matches YT's iconography) */
.tej-yt-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 68px; height: 48px; display: flex; align-items: center; justify-content: center; pointer-events: none; transition: transform .2s ease, filter .2s ease; filter: drop-shadow(0 2px 10px rgba(0,0,0,.55)); }
.tej-yt-play svg { width: 68px; height: 48px; display: block; }
.tej-yt-facade:hover .tej-yt-play { transform: translate(-50%, -50%) scale(1.12); filter: drop-shadow(0 4px 18px rgba(255,0,0,.6)); }
@media (max-width: 640px) { .tej-yt-play { width: 56px; height: 40px; } .tej-yt-play svg { width: 56px; height: 40px; } }
.tej-reel__badge--yt { background: rgba(255,0,0,.9) !important; color: #fff !important; letter-spacing: .1em; }
.tej-reel__ig-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 6px 12px; font-size: 12px; font-weight: 600; color: #c13584; background: #fdf2f8; border: 1px solid #fbcfe8; border-radius: 999px; text-decoration: none; transition: all .15s ease; }
.tej-reel__ig-link:hover { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); color: #fff; border-color: transparent; }

@media (max-width: 980px) { .tej-reels__grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } .tej-reels__h { font-size: 30px; } }
@media (max-width: 640px) { .tej-reels { padding: 60px 0; } .tej-reels__grid { grid-template-columns: 1fr; gap: 18px; } .tej-reels__h { font-size: 24px; } .tej-reels__sub { font-size: 14px; } .tej-reel__media, .tej-reel__media--video { aspect-ratio: 4/5; max-height: 380px; } }

/* =====================================================================
 * Client Reviews carousel (tej-rev)
 * ===================================================================== */
.tej-rev { padding: 90px 0; background: linear-gradient(180deg, #fff8e2 0%, #fffaf0 100%); }
.tej-rev__inner { max-width: 1180px; margin: 0 auto; padding: 0 22px; }
.tej-rev__head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.tej-rev__rating { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; background: #fff; border-radius: 999px; box-shadow: 0 4px 14px -6px rgba(20,20,20,.12); margin-bottom: 18px; }
.tej-rev__stars { color: var(--gold); font-size: 16px; letter-spacing: 2px; }
.tej-rev__avg { font-size: 13px; color: var(--ink); font-weight: 600; }
.tej-rev__h { font-family: "Plus Jakarta Sans", sans-serif; font-weight: 800; font-size: 38px; line-height: 1.18; color: var(--black); margin: 0 0 14px; letter-spacing: -.5px; }
.tej-rev__sub { font-size: 16px; line-height: 1.55; color: var(--ink); margin: 0 0 26px; }
.tej-rev__ctas { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.tej-rev__cta { display: inline-flex; align-items: center; gap: 9px; padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: 14px; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.tej-rev__cta--g { background: #fff; color: var(--black); border: 1px solid var(--line); }
.tej-rev__cta--g:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -10px rgba(20,20,20,.2); }
.tej-rev__cta--write { background: var(--black); color: #fff; }
.tej-rev__cta--write:hover { transform: translateY(-2px); background: #2a2a2a; box-shadow: 0 10px 22px -10px rgba(20,20,20,.4); color: #fff; }

.tej-rev__viewport { overflow: hidden; margin: 0 -10px; }
.tej-rev__track { display: flex; gap: 22px; padding: 4px 10px 24px; scroll-snap-type: x mandatory; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.tej-rev__track::-webkit-scrollbar { display: none; }

.tej-rev__card { flex: 0 0 calc(33.333% - 15px); scroll-snap-align: start; background: #fff; border-radius: 18px; padding: 26px 24px; box-shadow: 0 6px 18px -10px rgba(20,20,20,.14); display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; min-height: 240px; }
.tej-rev__card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px -16px rgba(20,20,20,.2); }
.tej-rev__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.tej-rev__stars-card { color: var(--gold); font-size: 17px; letter-spacing: 1px; }
.tej-rev__src { flex: 0 0 20px; }
.tej-rev__body { font-size: 15px; line-height: 1.6; color: var(--ink); margin: 0 0 22px; flex: 1; font-style: italic; }
.tej-rev__by { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid #f0f2f5; }
.tej-rev__avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--gold); color: var(--black); display: inline-flex; align-items: center; justify-content: center; font-family: "Plus Jakarta Sans", sans-serif; font-weight: 800; font-size: 14px; flex: 0 0 40px; }
.tej-rev__avatar--img { padding: 0; object-fit: cover; }
.tej-rev__by-text { display: flex; flex-direction: column; line-height: 1.3; }
.tej-rev__name { font-family: "Plus Jakarta Sans", sans-serif; font-weight: 700; color: var(--black); font-size: 14px; }
.tej-rev__sub-line { font-size: 12px; color: var(--muted); margin-top: 2px; }

.tej-rev__nav { display: flex; justify-content: center; gap: 10px; margin-top: 8px; }
.tej-rev__btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--black); font-size: 22px; line-height: 1; cursor: pointer; transition: all .15s ease; font-family: inherit; }
.tej-rev__btn:hover { background: var(--black); color: var(--gold); border-color: var(--black); transform: translateY(-2px); }
.tej-rev__btn:disabled { opacity: .35; cursor: not-allowed; transform: none; background: #fff; color: var(--black); border-color: var(--line); }

@media (max-width: 980px) { .tej-rev__card { flex: 0 0 calc(50% - 11px); } .tej-rev__h { font-size: 30px; } }
@media (max-width: 640px) { .tej-rev { padding: 60px 0; } .tej-rev__card { flex: 0 0 88%; padding: 22px 20px; } .tej-rev__h { font-size: 24px; } .tej-rev__sub { font-size: 14px; } }
/* Footer: languages line + balanced brand column (added with footer trim) */
.tej-foot__langs { margin: 10px 0 0; font-size: 12.5px; font-weight: 600; color: var(--gold, #c9a35d); line-height: 1.6; }
.tej-foot__brandcol .tej-foot__blurb { margin-bottom: 0; }
.tej-foot__brandcol { max-width: 360px; }
.tej-foot__brokerlogo { display: block; margin: 16px 0 4px; width: auto; max-width: 210px; height: auto; opacity: .95; }

/* Mortgage section: buyer vs seller routing buttons (inside teal result card) */
.tej-mortgage__paths { display: grid; gap: 12px; margin: 2px 0 0; }
.tej-mortgage__path { display: block; text-decoration: none; border-radius: 12px; padding: 14px 18px; transition: transform .12s ease, box-shadow .12s ease; }
.tej-mortgage__path strong { display: block; font-family: "Plus Jakarta Sans", sans-serif; font-size: 16px; font-weight: 800; line-height: 1.2; }
.tej-mortgage__path span { display: block; font-size: 12.5px; margin-top: 3px; }
.tej-mortgage__path--buy { background: #fff; color: #0d4f4f; }
.tej-mortgage__path--buy span { color: #4a6a6a; }
.tej-mortgage__path--sell { background: transparent; border: 1.5px solid rgba(255,255,255,.55); color: #fff; }
.tej-mortgage__path--sell span { color: rgba(255,255,255,.8); }
.tej-mortgage__path:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -12px rgba(0,0,0,.45); }

/* Mortgage buyer/seller paths — force readable text + button feel + animation */
.tej-mortgage__path { position: relative; cursor: pointer; }
.tej-mortgage__path--buy, .tej-mortgage__path--buy strong { color: #0d4f4f !important; }
.tej-mortgage__path--buy span { color: #4a6a6a !important; }
.tej-mortgage__path--sell, .tej-mortgage__path--sell strong { color: #ffffff !important; }
.tej-mortgage__path--sell span { color: rgba(255,255,255,.82) !important; }
.tej-mortgage__path--buy { box-shadow: 0 6px 18px -8px rgba(0,0,0,.4); animation: tejBuyPulse 2.6s ease-in-out infinite; }
@keyframes tejBuyPulse { 0%,100% { box-shadow: 0 6px 18px -8px rgba(0,0,0,.4); transform: translateY(0); } 50% { box-shadow: 0 10px 28px -6px rgba(255,255,255,.55); transform: translateY(-2px); } }
.tej-mortgage__path:hover { transform: translateY(-3px) scale(1.012); }
.tej-mortgage__path--buy:hover { box-shadow: 0 18px 34px -10px rgba(0,0,0,.55); animation: none; }
.tej-mortgage__path--sell:hover { background: rgba(255,255,255,.12) !important; border-color: #fff !important; }
@media (prefers-reduced-motion: reduce) { .tej-mortgage__path--buy { animation: none; } }

/* ===== For-Sellers redesign: reassurance, CTAs, "Why Choose Us" card ===== */
.tej-sellers__reassure { color: var(--tej-ink, #2a3340); font-size: 15.5px; line-height: 1.7; margin: 22px 0 22px; max-width: 560px; }
.tej-sellers__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.tej-seller-btn { display: inline-flex; align-items: center; text-decoration: none; font-family: "Plus Jakarta Sans", sans-serif; font-weight: 800; font-size: 15px; padding: 14px 26px; border-radius: 999px; transition: transform .14s ease, box-shadow .14s ease, background .14s ease, color .14s ease; }
.tej-seller-btn--primary { background: #0d4f4f; color: #fff; box-shadow: 0 8px 22px -8px rgba(13,79,79,.5); animation: tejSellPulse 2.8s ease-in-out infinite; }
.tej-seller-btn--primary:hover { background: #0a3a3a; transform: translateY(-3px); box-shadow: 0 16px 30px -10px rgba(13,79,79,.6); animation: none; }
.tej-seller-btn--outline { background: #fff; color: #0d4f4f; border: 2px solid #0d4f4f; }
.tej-seller-btn--outline:hover { background: #0d4f4f; color: #fff; transform: translateY(-3px); box-shadow: 0 14px 28px -10px rgba(13,79,79,.45); }
@keyframes tejSellPulse { 0%,100% { box-shadow: 0 8px 22px -8px rgba(13,79,79,.5); } 50% { box-shadow: 0 12px 30px -6px rgba(13,79,79,.85); } }
@media (prefers-reduced-motion: reduce) { .tej-seller-btn--primary { animation: none; } }

/* "Why Families Choose Us" card */
.tej-sellers__why { background: #fff; border: 1px solid var(--line, #e3e8ec); border-radius: 20px; padding: 30px 30px 24px; box-shadow: 0 18px 44px -22px rgba(13,79,79,.35); align-self: start; }
.tej-why__title { font-family: "Plus Jakarta Sans", sans-serif; font-weight: 800; font-size: clamp(20px,2.4vw,26px); color: var(--tej-blue-dark, #0a3a7a); margin: 0 0 16px; position: relative; padding-bottom: 12px; }
.tej-why__title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 54px; height: 3px; border-radius: 2px; background: var(--gold, #c9a35d); }
.tej-why__banner { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; background: linear-gradient(135deg, #0d4f4f 0%, #0a3a3a 100%); color: #fff; border-radius: 12px; padding: 14px 20px; margin: 0 0 20px; }
.tej-why__banner strong { font-family: "Plus Jakarta Sans", sans-serif; font-weight: 800; font-size: clamp(18px,2.2vw,23px); }
.tej-why__banner span { font-size: 13.5px; color: rgba(255,255,255,.85); }
.tej-why__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 11px 22px; }
@media (max-width: 520px) { .tej-why__list { grid-template-columns: 1fr; } }
.tej-why__list li { display: flex; align-items: flex-start; gap: 9px; font-size: 14.5px; color: var(--tej-ink, #1a2433); line-height: 1.4; }
.tej-why__check { flex: 0 0 auto; width: 20px; height: 20px; border-radius: 50%; background: #0d4f4f; color: #fff; font-size: 12px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; margin-top: 1px; }
.tej-why__list b { color: var(--gold-dark, #b07d2b); font-weight: 800; margin-right: 2px; }
.tej-why__fine { font-size: 11px; color: #8a96a3; line-height: 1.5; margin: 18px 0 0; }

/* Seller CTAs — force white text on green button (beats body.tej-luxe a inherit) + clean animation */
.tej-seller-btn--primary, .tej-seller-btn--primary:hover { color: #ffffff !important; }
.tej-seller-btn--outline { color: #0d4f4f !important; }
.tej-seller-btn--outline:hover { color: #ffffff !important; }
.tej-seller-btn--primary { box-shadow: 0 8px 20px -8px rgba(13,79,79,.45); animation: tejSellBreathe 2.6s ease-in-out infinite; }
.tej-seller-btn--primary:hover { animation: none; transform: translateY(-3px) scale(1.03); box-shadow: 0 16px 30px -10px rgba(13,79,79,.55); }
.tej-seller-btn--outline:hover { transform: translateY(-3px) scale(1.03); }
@keyframes tejSellBreathe { 0%,100% { transform: scale(1); } 50% { transform: scale(1.035); } }
@media (prefers-reduced-motion: reduce) { .tej-seller-btn--primary { animation: none; } }

/* "Why Choose Us" commission banner — cleaner stacked alignment */
.tej-why__banner { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 5px; padding: 18px 22px; }
.tej-why__banner strong { line-height: 1.15; display: inline-block; }
.tej-why__banner span { color: rgba(255,255,255,.82); font-size: 13.5px; font-style: italic; }
.tej-why__banner .tej-claim-asterisk { vertical-align: baseline; position: relative; top: -.5em; font-size: .5em; margin-left: 1px; color: #f0b58e; }

/* Commission banner v2 — bold 1% focal point + divider + hierarchy */
.tej-why__banner { display: flex; flex-direction: row; align-items: center; gap: 22px; padding: 18px 24px; }
.tej-why__pct { flex: 0 0 auto; font-family: "Plus Jakarta Sans", sans-serif; font-weight: 800; font-size: 58px; line-height: .85; color: #f0b58e; letter-spacing: -1px; }
.tej-why__pct sup { font-size: .42em; vertical-align: super; top: 0; margin-left: 1px; }
.tej-why__bantext { display: flex; flex-direction: column; gap: 2px; padding-left: 22px; border-left: 1px solid rgba(255,255,255,.22); }
.tej-why__bantext small { font-size: 11px; font-weight: 800; letter-spacing: .18em; color: rgba(255,255,255,.65); }
.tej-why__bantext strong { font-family: "Plus Jakarta Sans", sans-serif; font-weight: 800; font-size: clamp(19px,2.2vw,23px); color: #fff; line-height: 1.1; }
.tej-why__bantext em { font-style: italic; font-size: 13px; color: rgba(255,255,255,.8); }
.tej-why__bantext .tej-claim-asterisk { vertical-align: baseline; position: relative; top: -.5em; font-size: .5em; margin-left: 1px; color: #f0b58e; }
@media (max-width: 380px) { .tej-why__banner { gap: 14px; padding: 16px 18px; } .tej-why__pct { font-size: 46px; } .tej-why__bantext { padding-left: 14px; } }

/* Revert banner to clean single-line stack + give the orange title bar breathing room */
.tej-why__banner { flex-direction: column !important; align-items: flex-start !important; gap: 5px !important; }
.tej-why__banner strong { font-family: "Plus Jakarta Sans", sans-serif; font-weight: 800; font-size: clamp(18px,2.2vw,23px); color: #fff; line-height: 1.15; }
.tej-why__banner span { color: rgba(255,255,255,.82); font-size: 13.5px; font-style: italic; }
/* Orange accent bar under "Why Families Choose Us" — refined + spaced */
.tej-why__title { padding-bottom: 16px !important; margin-bottom: 24px !important; }
.tej-why__title::after { width: 44px; height: 3px; border-radius: 3px; background: var(--gold, #c9a35d); }

/* ===== Buyers section — services + why + CTA ===== */
.tej-buyers__intro { max-width: 920px; margin: 0 auto 28px; text-align: center; }
.tej-buyers__intro p { color: var(--tej-ink, #2a3340); font-size: 16px; line-height: 1.7; margin: 0 0 12px; }
.tej-buyers__panel, .tej-buyers__why { background: #fff; border: 1px solid var(--line, #e3e8ec); border-radius: 20px; padding: 28px 30px; box-shadow: 0 18px 44px -22px rgba(13,79,79,.3); margin: 0 auto 22px; max-width: 1040px; }
.tej-buyers__list { grid-template-columns: repeat(3, 1fr) !important; }
@media (max-width: 860px) { .tej-buyers__list { grid-template-columns: 1fr 1fr !important; } }
@media (max-width: 560px) { .tej-buyers__list { grid-template-columns: 1fr !important; } }
.tej-buyers__whylead { color: var(--tej-ink, #2a3340); font-size: 15.5px; line-height: 1.6; margin: 0 0 14px; }
.tej-buyers__bullets { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 9px 26px; }
@media (max-width: 560px) { .tej-buyers__bullets { grid-template-columns: 1fr; } }
.tej-buyers__bullets li { position: relative; padding-left: 22px; font-size: 14.5px; color: var(--tej-ink, #1a2433); line-height: 1.5; }
.tej-buyers__bullets li::before { content: "\2192"; position: absolute; left: 0; color: var(--tej-blue, #0d4f4f); font-weight: 800; }
.tej-buyers__cta { text-align: center; max-width: 760px; margin: 8px auto 0; }
.tej-buyers__cta h3 { font-family: "Plus Jakarta Sans", sans-serif; font-weight: 800; color: var(--tej-blue-dark, #0a3a7a); font-size: clamp(22px,3vw,28px); margin: 0 0 10px; }
.tej-buyers__cta p { color: var(--tej-ink, #2a3340); font-size: 15.5px; line-height: 1.65; margin: 0 auto 18px; }
.tej-buyers__cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Reel cover-less placeholder — show the title on the gradient so it never looks empty */
.tej-reel__media--ph { display: flex; align-items: flex-end; }
.tej-reel__phcap { position: absolute; left: 16px; right: 16px; bottom: 54px; z-index: 1; color: #fff; font-family: "Plus Jakarta Sans", sans-serif; font-weight: 800; font-size: 18px; line-height: 1.25; text-shadow: 0 2px 14px rgba(0,0,0,.45); }

/* Seminar attendee reviews — auto-scrolling carousel (fixed height, never expands page) */
.sm-tmarq { overflow: hidden; max-width: 100%; margin: 0 auto; padding: 6px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.sm-tmarq__track { display: flex; gap: 22px; width: max-content; align-items: stretch; animation: tejRevScroll 60s linear infinite; }
.sm-tmarq:hover .sm-tmarq__track { animation-play-state: paused; }
.sm-tmarq .sm-tcard { flex: 0 0 380px; width: 380px; height: 340px; display: flex; flex-direction: column; }
.sm-tmarq .sm-tcard__quote { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding-right: 8px; scrollbar-width: thin; }
.sm-tmarq .sm-tcard__quote::-webkit-scrollbar { width: 5px; }
.sm-tmarq .sm-tcard__quote::-webkit-scrollbar-thumb { background: rgba(13,79,79,.28); border-radius: 4px; }
.sm-tmarq .sm-tcard__meta { margin-top: auto; }
@keyframes tejRevScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .sm-tmarq__track { animation: none; overflow-x: auto; } }
/* 1–2 reviews: no scroll, just center them */
.sm-tmarq.is-static { overflow: visible; -webkit-mask-image: none; mask-image: none; }
.sm-tmarq.is-static .sm-tmarq__track { width: auto; animation: none; justify-content: center; flex-wrap: wrap; }
@media (max-width: 560px) { .sm-tmarq .sm-tcard { flex-basis: 86vw; width: 86vw; } }
