@import url("https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap");

/* ── Design tokens ─────────────────────────────────────────────────────── */
:root {
	--navy:       #1a4b8f;
	--navy-dark:  #0f2d5a;
	--navy-mid:   #153d72;
	--navy-light: #e8f0fe;
	--success:    #1b7a4e;
	--success-bg: #e6f4ed;
	--warning:    #b45309;
	--warning-bg: #fef3c7;
	--danger:     #c0392b;
	--danger-bg:  #fdedec;
	--gray-900:   #111827;
	--gray-700:   #374151;
	--gray-500:   #6b7280;
	--gray-300:   #d1d5db;
	--gray-200:   #e5e7eb;
	--gray-100:   #f3f4f6;
	--gray-50:    #f9fafb;
	--white:      #ffffff;
	--radius:     12px;
	--radius-sm:  8px;
	--shadow-xs:  0 1px 2px rgba(0,0,0,.06);
	--shadow-sm:  0 1px 4px rgba(0,0,0,.08), 0 2px 8px rgba(0,0,0,.04);
	--shadow-md:  0 4px 16px rgba(26,75,143,.1), 0 1px 4px rgba(0,0,0,.06);
	--shadow-lg:  0 8px 32px rgba(26,75,143,.14), 0 2px 8px rgba(0,0,0,.08);
	--max-w:      1200px;
	--font:       "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ── Reset / base ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--gray-900);
	background: var(--white);
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); font-weight: 800; line-height: 1.12; }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.125rem); font-weight: 700; line-height: 1.25; }
h3 { font-size: 1.125rem; font-weight: 600; line-height: 1.4; }

/* Frappe wrapper overrides */
.ttt-site-marketing .page-breadcrumbs,
.ttt-site-marketing .page-header-wrapper,
.ttt-site-marketing .page-footer,
.ttt-site-portal .page-breadcrumbs,
.ttt-site-portal .page-header-wrapper,
.ttt-site-portal .page-footer { display: none !important; }
.ttt-site-marketing .page-content-wrapper,
.ttt-site-portal .page-content-wrapper { padding: 0; margin: 0; }
.ttt-site-marketing main, .ttt-site-portal main { max-width: none !important; width: 100% !important; padding: 0 !important; }
.ttt-site-marketing .page_content, .ttt-site-portal .page_content { padding: 0; margin: 0; }

/* ── Layout ───────────────────────────────────────────────────────────── */
.ttt-container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }

/* ── Navigation ───────────────────────────────────────────────────────── */
.ttt-nav {
	position: sticky; top: 0; z-index: 200;
	background: rgba(255,255,255,.95);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--gray-200);
	box-shadow: var(--shadow-xs);
}

.ttt-nav-inner {
	display: flex; align-items: center; justify-content: space-between;
	gap: 1rem; min-height: 68px;
}

.ttt-logo {
	display: inline-flex; align-items: center; gap: .625rem;
	font-weight: 700; font-size: 1.0625rem; color: var(--navy-dark);
	text-decoration: none;
}
.ttt-logo img {
	display: block; width: 36px; height: 36px; min-width: 36px; flex-shrink: 0;
	object-fit: contain;
}
.ttt-logo-text { letter-spacing: -.01em; white-space: nowrap; }

.ttt-nav-links {
	display: flex; align-items: center; gap: 1.5rem; margin-left: auto;
}

.ttt-nav-links a:not(.ttt-btn) {
	font-size: .9375rem; font-weight: 500; color: var(--gray-700);
	transition: color .15s;
}
.ttt-nav-links a:not(.ttt-btn):hover,
.ttt-nav-links a.is-active { color: var(--navy); }

.ttt-nav-toggle {
	display: none; background: none; border: 0; padding: .5rem; cursor: pointer;
	flex-direction: column; gap: 4px;
}
.ttt-nav-toggle span { width: 22px; height: 2px; background: var(--navy-dark); border-radius: 2px; transition: transform .2s, opacity .2s; }

/* Portal nav variant */
.ttt-nav-portal { background: var(--navy-dark); border-bottom-color: rgba(255,255,255,.1); }
.ttt-nav-portal .ttt-logo { color: var(--white); }
.ttt-nav-portal .ttt-nav-links a:not(.ttt-btn) { color: rgba(255,255,255,.8); }
.ttt-nav-portal .ttt-nav-links a:not(.ttt-btn):hover { color: var(--white); }
.ttt-nav-portal .ttt-nav-toggle span { background: var(--white); }

/* ── Buttons ──────────────────────────────────────────────────────────── */
.ttt-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
	padding: .6875rem 1.375rem; border-radius: var(--radius-sm);
	font-size: .9375rem; font-weight: 600; border: 1.5px solid transparent;
	cursor: pointer; transition: all .15s; white-space: nowrap;
	font-family: var(--font); text-decoration: none;
}
.ttt-btn-primary   { background: var(--navy); color: var(--white); border-color: var(--navy); }
.ttt-btn-primary:hover { background: var(--navy-mid); border-color: var(--navy-mid); color: var(--white); }
.ttt-btn-secondary { background: transparent; color: var(--navy); border-color: var(--navy); }
.ttt-btn-secondary:hover { background: var(--navy-light); color: var(--navy); }
.ttt-btn-ghost { background: transparent; color: var(--gray-700); border-color: var(--gray-300); }
.ttt-btn-ghost:hover { background: var(--gray-50); color: var(--gray-900); }
.ttt-btn-danger { background: var(--danger); color: var(--white); border-color: var(--danger); }
.ttt-btn-block { width: 100%; }
.ttt-btn-sm { padding: .5rem 1rem; font-size: .875rem; }

/* ── Cards ────────────────────────────────────────────────────────────── */
.ttt-card {
	background: var(--white); border: 1px solid var(--gray-200);
	border-radius: var(--radius); padding: 1.75rem;
	box-shadow: var(--shadow-sm);
}
.ttt-card + .ttt-card { margin-top: 1rem; }
.ttt-card h2, .ttt-card h3 { margin-bottom: .75rem; }

.ttt-card-link { display: block; color: inherit; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.ttt-card-link:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

/* ── Hero ─────────────────────────────────────────────────────────────── */
.ttt-hero {
	background: linear-gradient(140deg, var(--navy-dark) 0%, var(--navy) 60%, #2563a8 100%);
	color: var(--white); padding: 5.5rem 0 6.5rem; position: relative; overflow: hidden;
}
.ttt-hero::before {
	content: ""; position: absolute; inset: 0;
	background: radial-gradient(ellipse at 80% 50%, rgba(255,255,255,.06) 0%, transparent 70%);
}
.ttt-hero h1 { color: var(--white); margin-bottom: 1.25rem; }
.ttt-hero p, .ttt-lead { font-size: 1.125rem; color: rgba(255,255,255,.85); max-width: 600px; }
.ttt-section .ttt-lead { color: var(--gray-500); }

.ttt-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; position: relative; }
.ttt-hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.25rem; }

.ttt-hero-card {
	background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
	border-radius: var(--radius); padding: 1.75rem;
	backdrop-filter: blur(8px);
}
.ttt-hero-card h3 { color: var(--white); margin-bottom: 1.25rem; font-size: 1.0625rem; }

/* ── Stats ────────────────────────────────────────────────────────────── */
.ttt-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 1rem; }
.ttt-stat-card {
	text-align: center; padding: 1.25rem 1rem;
	background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18);
	border-radius: var(--radius);
}
.ttt-stat-number, .ttt-stat { font-size: 2.25rem; font-weight: 800; line-height: 1; color: var(--white); }
.ttt-stat-label { font-size: .8125rem; color: rgba(255,255,255,.75); margin-top: .375rem; }

/* ── Sections ─────────────────────────────────────────────────────────── */
.ttt-section { padding: 5rem 0; }
.ttt-section-alt { background: var(--gray-50); }
.ttt-section-head { text-align: center; max-width: 680px; margin: 0 auto 3rem; }
.ttt-section-head h2 { margin-bottom: .75rem; }
.ttt-muted { color: var(--gray-500); }
.ttt-overline {
	text-transform: uppercase; letter-spacing: .08em; font-size: .75rem;
	font-weight: 700; color: var(--navy); margin-bottom: .5rem;
}

/* ── Grids ────────────────────────────────────────────────────────────── */
.ttt-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.ttt-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.ttt-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }

/* ── Steps ────────────────────────────────────────────────────────────── */
.ttt-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.ttt-step { padding: 1.25rem 1rem 0 0; }
.ttt-step-num {
	display: inline-grid; place-items: center; width: 2.25rem; height: 2.25rem;
	border-radius: 50%; background: var(--navy); color: var(--white);
	font-weight: 700; margin-bottom: 1rem; font-size: .9375rem;
}

/* ── CTA band ─────────────────────────────────────────────────────────── */
.ttt-cta-band {
	background: var(--navy-dark); color: var(--white);
	padding: 4.5rem 0; text-align: center;
}
.ttt-cta-band h2 { color: var(--white); margin-bottom: .875rem; }
.ttt-cta-band p { color: rgba(255,255,255,.8); margin-bottom: 2rem; }

/* ── Forms ────────────────────────────────────────────────────────────── */
.ttt-form { display: grid; gap: 1.125rem; }
.ttt-form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.125rem; }
.ttt-form label { display: block; font-weight: 600; font-size: .9375rem; margin-bottom: .375rem; color: var(--gray-900); }
.ttt-form input,
.ttt-form select,
.ttt-form textarea {
	width: 100%; padding: .75rem 1rem;
	border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm);
	font-family: var(--font); font-size: 1rem; color: var(--gray-900);
	background: var(--white); transition: border-color .15s, box-shadow .15s;
}
.ttt-form input:focus,
.ttt-form select:focus,
.ttt-form textarea:focus {
	outline: none; border-color: var(--navy);
	box-shadow: 0 0 0 3px rgba(26,75,143,.12);
}
.ttt-form input::placeholder,
.ttt-form textarea::placeholder { color: var(--gray-300); }

/* ── Alerts ───────────────────────────────────────────────────────────── */
.ttt-alert { padding: .875rem 1.125rem; border-radius: var(--radius-sm); font-size: .9375rem; font-weight: 500; }
.ttt-alert-success { background: var(--success-bg); color: var(--success); border: 1px solid #b6dfc9; }
.ttt-alert-error   { background: var(--danger-bg);  color: var(--danger);  border: 1px solid #f5c6c2; }
.ttt-alert-info    { background: var(--navy-light);  color: var(--navy);    border: 1px solid #c0d4f7; }

/* ── Badges ───────────────────────────────────────────────────────────── */
.ttt-badge {
	display: inline-flex; align-items: center; gap: .35rem;
	padding: .25rem .75rem; border-radius: 999px;
	font-size: .8rem; font-weight: 600;
}
.ttt-badge-open   { background: var(--warning-bg); color: var(--warning); }
.ttt-badge-closed { background: var(--success-bg); color: var(--success); }
.ttt-badge-new    { background: var(--navy-light);  color: var(--navy); }

/* ── Footer ───────────────────────────────────────────────────────────── */
.ttt-footer { background: #08203f; color: rgba(255,255,255,.8); padding: 3.5rem 0 1.5rem; }
.ttt-footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 2.5rem; }
.ttt-footer h4 { color: var(--white); font-size: .875rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: .875rem; }
.ttt-footer ul { display: flex; flex-direction: column; gap: .5rem; }
.ttt-footer a { color: rgba(255,255,255,.7); font-size: .9375rem; transition: color .15s; }
.ttt-footer a:hover { color: var(--white); }
.ttt-footer-brand { display: flex; align-items: center; margin-bottom: 1rem; max-width: 100%; }
.ttt-footer-brand img { height: 40px; width: auto; max-width: 180px; object-fit: contain; display: block; }
.ttt-footer-grid > div { min-width: 0; }
.ttt-footer-tagline { font-size: .9375rem; color: rgba(255,255,255,.6); margin-top: .5rem; }
.ttt-footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 2.5rem; padding-top: 1.25rem; font-size: .875rem; color: rgba(255,255,255,.5); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem; }
.ttt-footer-minimal { padding: 1.25rem 0; }
.ttt-footer-minimal .ttt-container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem; font-size: .875rem; }

/* ── Page hero (inner pages) ──────────────────────────────────────────── */
.ttt-page-hero {
	background: linear-gradient(140deg, var(--navy-dark) 0%, var(--navy) 100%);
	color: var(--white); padding: 3.75rem 0 3rem;
}
.ttt-page-hero h1 { color: var(--white); font-size: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: .625rem; }
.ttt-lead-page { color: rgba(255,255,255,.8); font-size: 1.0625rem; }

/* ── Portal layout ────────────────────────────────────────────────────── */
.ttt-portal-shell { padding: 2.5rem 0 5rem; min-height: calc(100vh - 68px); background: var(--gray-50); }

.ttt-portal-grid {
	display: grid; grid-template-columns: 240px 1fr;
	gap: 2rem; align-items: start;
}

/* Portal sidebar */
.ttt-portal-sidebar {
	background: var(--white); border: 1px solid var(--gray-200);
	border-radius: var(--radius); overflow: hidden;
	box-shadow: var(--shadow-xs); position: sticky; top: 84px;
}
.ttt-portal-sidebar-header {
	padding: 1rem 1.125rem .75rem; border-bottom: 1px solid var(--gray-100);
}
.ttt-portal-sidebar-user { font-size: .875rem; color: var(--gray-500); }
.ttt-portal-sidebar-name { font-size: 1rem; font-weight: 700; color: var(--gray-900); }
.ttt-portal-sidebar nav { padding: .5rem; }
.ttt-portal-sidebar a {
	display: flex; align-items: center; gap: .625rem;
	padding: .625rem .875rem; border-radius: var(--radius-sm);
	font-size: .9375rem; font-weight: 500; color: var(--gray-700);
	transition: background .12s, color .12s;
}
.ttt-portal-sidebar a:hover { background: var(--gray-50); color: var(--gray-900); }
.ttt-portal-sidebar a.active,
.ttt-portal-sidebar a.is-active { background: var(--navy-light); color: var(--navy); font-weight: 600; }
.ttt-portal-sidebar-footer { padding: .5rem; border-top: 1px solid var(--gray-100); }
.ttt-portal-sidebar-footer a { color: var(--gray-500); font-size: .875rem; }
.ttt-portal-sidebar-footer a:hover { color: var(--danger); background: var(--danger-bg); }

/* Portal main content */
.ttt-portal-content { min-width: 0; }

.ttt-portal-welcome {
	background: linear-gradient(120deg, var(--navy) 0%, #2563a8 100%);
	border-radius: var(--radius); padding: 2rem; margin-bottom: 1.5rem;
	color: var(--white);
}
.ttt-portal-welcome h2 { color: var(--white); font-size: 1.375rem; margin-bottom: .25rem; }
.ttt-portal-welcome p { color: rgba(255,255,255,.8); font-size: .9375rem; }

.ttt-portal-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 1.5rem; }
.ttt-stat-box {
	background: var(--white); border: 1px solid var(--gray-200);
	border-radius: var(--radius); padding: 1.25rem 1.5rem;
	box-shadow: var(--shadow-xs);
}
.ttt-stat-box-num { font-size: 2rem; font-weight: 800; color: var(--navy); line-height: 1; }
.ttt-stat-box-label { font-size: .8125rem; color: var(--gray-500); margin-top: .25rem; }

/* Page header row */
.ttt-page-header-row {
	display: flex; flex-wrap: wrap; justify-content: space-between;
	align-items: center; gap: 1rem; margin-bottom: 1.25rem;
}
.ttt-page-header-row h1 { font-size: 1.5rem; font-weight: 700; }

/* ── List ─────────────────────────────────────────────────────────────── */
.ttt-list { padding: 0; margin: 0; }
.ttt-list-item {
	display: flex; flex-wrap: wrap; align-items: center;
	gap: .75rem; padding: 1rem 0; border-bottom: 1px solid var(--gray-100);
}
.ttt-list-item:last-child { border-bottom: 0; }
.ttt-list-item a { color: var(--navy); font-weight: 600; }
.ttt-list-item a:hover { text-decoration: underline; }
.ttt-list-item-main { flex: 1 1 200px; }
.ttt-list-item-title { font-weight: 600; color: var(--gray-900); font-size: .9375rem; }
.ttt-list-item-meta { font-size: .8125rem; color: var(--gray-500); margin-top: .125rem; }

/* ── Filter bar ───────────────────────────────────────────────────────── */
.ttt-filter-bar { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 1.25rem; }
.ttt-filter-bar a {
	padding: .375rem .875rem; border-radius: 999px;
	border: 1.5px solid var(--gray-200); font-size: .875rem; font-weight: 500;
	color: var(--gray-500); transition: all .12s;
}
.ttt-filter-bar a.is-active,
.ttt-filter-bar a:hover { background: var(--navy-light); border-color: var(--navy); color: var(--navy); }

/* ── Timeline ─────────────────────────────────────────────────────────── */
.ttt-timeline-portal { margin: 1rem 0; display: flex; flex-direction: column; gap: 1rem; }

/* ── Comment ──────────────────────────────────────────────────────────── */
.ttt-comment { padding: 1rem 0; border-bottom: 1px solid var(--gray-100); }
.ttt-comment:last-child { border-bottom: 0; }
.ttt-comment-meta { font-size: .8125rem; color: var(--gray-500); margin-bottom: .375rem; }

/* ── Service detail ───────────────────────────────────────────────────── */
.ttt-service-detail { display: grid; grid-template-columns: 1.2fr .8fr; gap: 3rem; align-items: start; }
.ttt-check-list { padding: 0; margin: 1rem 0 1.5rem; }
.ttt-check-list li {
	position: relative; padding-left: 1.625rem; margin-bottom: .75rem;
	color: var(--gray-700); font-size: .9375rem;
}
.ttt-check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--navy); font-weight: 700; }

/* ── Team / contact ───────────────────────────────────────────────────── */
.ttt-team-avatar {
	width: 3.5rem; height: 3.5rem; border-radius: 50%;
	background: var(--navy); color: var(--white);
	display: grid; place-items: center; font-weight: 700; margin: 0 auto 1rem;
}
.ttt-contact-list { padding: 0; }
.ttt-contact-list li { padding: .5rem 0; border-bottom: 1px solid var(--gray-100); }
.ttt-contact-list li:last-child { border-bottom: 0; }

/* ── Timeline (about page) ────────────────────────────────────────────── */
.ttt-timeline-item { display: grid; grid-template-columns: 4rem 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--gray-100); }
.ttt-timeline-year { font-weight: 700; color: var(--navy); }

/* ── Map placeholder ─────────────────────────────────────────────────── */
.ttt-map-placeholder {
	background: var(--gray-50); border: 1.5px dashed var(--gray-200);
	border-radius: var(--radius); min-height: 220px;
	display: grid; place-items: center; padding: 2rem; text-align: center;
}

/* ── Misc ─────────────────────────────────────────────────────────────── */
.ttt-link-arrow { display: inline-flex; align-items: center; gap: .375rem; color: var(--navy); font-weight: 600; font-size: .9375rem; }
.ttt-link-arrow:hover { text-decoration: underline; }
.ttt-service-nav { display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin-top: 1.5rem; }
.ttt-service-nav a { color: rgba(255,255,255,.85); padding: .35rem .75rem; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; font-size: .875rem; }
.ttt-service-nav a:hover { background: rgba(255,255,255,.15); color: var(--white); }

/* Access denied card */
.ttt-access-denied {
	max-width: 480px; margin: 4rem auto; text-align: center;
}
.ttt-access-denied-icon {
	width: 72px; height: 72px; border-radius: 50%;
	background: var(--navy-light); color: var(--navy);
	display: grid; place-items: center; margin: 0 auto 1.5rem; font-size: 2rem;
}
.ttt-access-denied h1 { font-size: 1.5rem; margin-bottom: .625rem; }
.ttt-access-denied p { color: var(--gray-500); margin-bottom: 1.5rem; font-size: .9375rem; }

/* ── Property cards ───────────────────────────────────────────────────── */
.ttt-property-card {
	background: var(--white); border: 1px solid var(--gray-200);
	border-radius: var(--radius); overflow: hidden;
	box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s;
	display: flex; flex-direction: column;
}
.ttt-property-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.ttt-property-card-img {
	position: relative; background: var(--navy-light);
	height: 200px; overflow: hidden;
}
.ttt-property-card-img img { width: 100%; height: 100%; object-fit: cover; image-orientation: from-image; }
.ttt-property-card-placeholder {
	display: flex; align-items: center; justify-content: center;
	height: 100%; font-size: 4rem; color: var(--navy);
	background: linear-gradient(135deg, var(--navy-light) 0%, #d0e1fb 100%);
}
.ttt-property-badge {
	position: absolute; top: .75rem; left: .75rem;
	background: var(--navy); color: var(--white);
	font-size: .75rem; font-weight: 700; padding: .25rem .625rem;
	border-radius: 999px; letter-spacing: .02em;
}
.ttt-property-available {
	position: absolute; top: .75rem; right: .75rem;
	background: var(--success); color: var(--white);
	font-size: .75rem; font-weight: 700; padding: .25rem .625rem;
	border-radius: 999px;
}
.ttt-property-card-body {
	padding: 1.375rem; display: flex; flex-direction: column; gap: .625rem; flex: 1;
}
.ttt-property-card-body h3 { font-size: 1.0625rem; margin-bottom: 0; }
.ttt-property-meta { font-size: .875rem; color: var(--gray-500); }
.ttt-property-price { font-size: 1rem; font-weight: 700; color: var(--navy); }
.ttt-property-features { display: flex; flex-wrap: wrap; gap: .375rem; margin-top: .25rem; }
.ttt-feat-tag {
	font-size: .75rem; padding: .2rem .625rem;
	background: var(--navy-light); color: var(--navy);
	border-radius: 999px; font-weight: 500;
}
.ttt-property-card-body .ttt-btn { margin-top: auto; }
.ttt-property-card-link { display: block; color: inherit; text-decoration: none; }

/* ── Listing detail (/mat-bang/...) ───────────────────────────────────── */
.ttt-breadcrumb { margin-bottom: 1.25rem; font-size: .875rem; }
.ttt-breadcrumb a { color: var(--navy); font-weight: 600; text-decoration: none; }
.ttt-listing-detail { padding: 2rem 0 3rem; }
.ttt-listing-hero {
	display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: start;
}
@media (max-width: 900px) {
	.ttt-listing-hero { grid-template-columns: 1fr; }
}
.ttt-listing-gallery {
	border-radius: var(--radius); overflow: hidden;
	background: var(--navy-light); border: 1px solid var(--gray-200);
}
.ttt-listing-main-img { width: 100%; max-height: 480px; object-fit: cover; display: block; }
.ttt-listing-thumbs { display: flex; gap: .5rem; margin-top: .75rem; overflow-x: auto; padding-bottom: .25rem; }
.ttt-listing-thumb {
	border: 2px solid transparent; border-radius: 8px; padding: 0; background: none; cursor: pointer; flex: 0 0 auto;
}
.ttt-listing-thumb.is-active { border-color: var(--navy); }
.ttt-listing-thumb img { width: 72px; height: 72px; object-fit: cover; border-radius: 6px; display: block; }
.ttt-listing-img-placeholder {
	min-height: 320px; display: flex; align-items: center; justify-content: center;
	font-size: 5rem; background: linear-gradient(135deg, var(--navy-light) 0%, #d0e1fb 100%);
}
.ttt-listing-summary h1 { font-size: 1.75rem; margin: .75rem 0; }
.ttt-listing-badges { display: flex; flex-wrap: wrap; gap: .5rem; }
.ttt-listing-building, .ttt-listing-address, .ttt-listing-meta {
	font-size: .9375rem; color: var(--gray-600); margin: .375rem 0;
}
.ttt-listing-price { font-size: 1.25rem; font-weight: 800; color: var(--navy); margin: .75rem 0; }
.ttt-listing-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }

/* ── Listing modal (mat-bang) ─────────────────────────────────────────── */
.ttt-property-card-link,
.ttt-card-title-btn {
	border: none; background: none; padding: 0; cursor: pointer; text-align: left; width: 100%;
}
.ttt-card-title-btn {
	color: inherit; font: inherit; font-weight: 600;
}
.ttt-listing-modal {
	position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 1rem;
}
.ttt-listing-modal[hidden] { display: none !important; }
.ttt-listing-modal-backdrop {
	position: absolute; inset: 0; background: rgba(15, 23, 42, .55); backdrop-filter: blur(4px);
}
.ttt-listing-modal-panel {
	position: relative; width: min(960px, 100%); max-height: min(90vh, 880px); overflow: auto;
	background: var(--white); border-radius: 20px; box-shadow: 0 25px 50px rgba(15, 23, 42, .25);
	animation: tttModalIn .22s ease-out;
}
@keyframes tttModalIn {
	from { opacity: 0; transform: translateY(12px) scale(.98); }
	to { opacity: 1; transform: none; }
}
.ttt-listing-modal-close {
	position: absolute; top: .75rem; right: .75rem; z-index: 2;
	width: 36px; height: 36px; border: none; border-radius: 999px;
	background: rgba(255,255,255,.92); color: var(--gray-700); font-size: 1.5rem; line-height: 1; cursor: pointer;
	box-shadow: var(--shadow-sm);
}
.ttt-listing-modal-body { padding: 1.25rem; }
.ttt-modal-loading { padding: 3rem; text-align: center; color: var(--gray-500); }
.ttt-modal-layout {
	display: grid; grid-template-columns: 1.05fr .95fr; gap: 1.25rem; align-items: start;
}
@media (max-width: 768px) {
	.ttt-modal-layout { grid-template-columns: 1fr; }
}
.ttt-modal-gallery {
	border-radius: 14px; overflow: hidden; background: var(--navy-light); border: 1px solid var(--gray-200);
}
.ttt-modal-main-img {
	width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; image-orientation: from-image;
}
.ttt-modal-gallery-empty {
	min-height: 240px; display: grid; place-items: center; font-size: 4rem;
	background: linear-gradient(135deg, var(--navy-light) 0%, #d0e1fb 100%);
}
.ttt-modal-thumbs { display: flex; gap: .5rem; padding: .75rem; overflow-x: auto; background: var(--white); }
.ttt-modal-thumb {
	border: 2px solid transparent; border-radius: 8px; padding: 0; background: none; cursor: pointer; flex: 0 0 auto;
}
.ttt-modal-thumb.is-active { border-color: var(--navy); }
.ttt-modal-thumb img { width: 64px; height: 64px; object-fit: cover; border-radius: 6px; display: block; image-orientation: from-image; }
.ttt-modal-info h2 { font-size: 1.5rem; margin: .5rem 0 .75rem; line-height: 1.25; }
.ttt-modal-address { font-size: .9375rem; color: var(--gray-600); margin: 0 0 .5rem; }
.ttt-modal-meta { font-size: .875rem; color: var(--gray-500); margin: 0 0 .75rem; line-height: 1.5; }

/* ── Amenity cards ────────────────────────────────────────────────────── */
.ttt-amenity-card {
	text-align: center; padding: 1.75rem 1.25rem;
}
.ttt-amenity-icon { font-size: 2rem; margin-bottom: .75rem; }
.ttt-amenity-card h3 { font-size: 1rem; margin-bottom: .375rem; }

/* ── Feature card (mat-bang included services) ────────────────────────── */
.ttt-feature-card { text-align: center; }
.ttt-feature-card .ttt-amenity-icon { font-size: 2.25rem; }

/* ── Hero checklist & stats ───────────────────────────────────────────── */
.ttt-hero-checklist {
	list-style: none; padding: 0; margin: 1.25rem 0;
	display: flex; flex-direction: column; gap: .5rem;
}
.ttt-hero-checklist li { color: rgba(255,255,255,.9); font-size: .9375rem; }
.ttt-hero-stats {
	display: flex; gap: 1.5rem; margin-top: 1.25rem;
	padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.2);
}
.ttt-hero-stats > div { display: flex; flex-direction: column; gap: .125rem; }
.ttt-hero-stats strong { font-size: 1.375rem; font-weight: 800; color: var(--white); }
.ttt-hero-stats span { font-size: .8125rem; color: rgba(255,255,255,.7); }

/* ── Testimonial ──────────────────────────────────────────────────────── */
.ttt-testimonial { display: flex; flex-direction: column; gap: .75rem; }
.ttt-testimonial-stars { color: #f59e0b; font-size: 1.125rem; letter-spacing: .125rem; }
.ttt-testimonial-quote { font-size: 1.0625rem; line-height: 1.65; color: var(--gray-700); font-style: italic; flex: 1; }

/* ── Contact list enhanced ────────────────────────────────────────────── */
.ttt-contact-icon { font-size: 1.25rem; flex-shrink: 0; }
.ttt-contact-list li { display: flex; align-items: flex-start; gap: .75rem; }

/* ── Back link ────────────────────────────────────────────────────────── */
.ttt-back-link {
	display: inline-flex; align-items: center; gap: .375rem;
	font-size: .875rem; color: var(--gray-500); font-weight: 500;
	margin-bottom: .625rem; transition: color .12s;
}
.ttt-back-link:hover { color: var(--navy); }

/* ── Empty state ──────────────────────────────────────────────────────── */
.ttt-empty {
	text-align: center; padding: 2.5rem 1rem; color: var(--gray-500);
}
.ttt-empty p { margin-bottom: .75rem; }

/* ── Form actions row ─────────────────────────────────────────────────── */
.ttt-form-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ── Required asterisk ────────────────────────────────────────────────── */
.ttt-required { color: var(--danger); }

/* ── Info rows (settings) ─────────────────────────────────────────────── */
.ttt-info-row {
	display: flex; justify-content: space-between; align-items: center;
	padding: .75rem 0; border-bottom: 1px solid var(--gray-100); gap: 1rem;
}
.ttt-info-row:last-child { border-bottom: 0; }
.ttt-info-label { font-size: .875rem; color: var(--gray-500); }
.ttt-info-value { font-weight: 600; color: var(--gray-900); text-align: right; }

/* ── List item actions ────────────────────────────────────────────────── */
.ttt-list-item-actions { display: flex; align-items: center; gap: .5rem; flex-shrink: 0; }

/* ── List item — block display ────────────────────────────────────────── */
.ttt-list-item-main { display: flex; flex-direction: column; flex: 1 1 200px; min-width: 0; }
.ttt-list-item-title { font-weight: 600; color: var(--gray-900); font-size: .9375rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ttt-list-item-meta { font-size: .8125rem; color: var(--gray-500); margin-top: .125rem; }
a.ttt-list-item-main:hover .ttt-list-item-title { color: var(--navy); text-decoration: underline; }

/* ── Prose content ────────────────────────────────────────────────────── */
.ttt-prose { color: var(--gray-700); line-height: 1.7; white-space: pre-wrap; font-size: .9375rem; }

/* ── Comments ─────────────────────────────────────────────────────────── */
.ttt-comments { margin-bottom: 1rem; }
.ttt-comment-body { color: var(--gray-700); font-size: .9375rem; line-height: 1.6; }
.ttt-comment-meta { display: flex; gap: .5rem; align-items: baseline; }

/* ── Badge large ──────────────────────────────────────────────────────── */
.ttt-badge-lg { font-size: .875rem; padding: .35rem 1rem; }

/* ── Timeline dot ─────────────────────────────────────────────────────── */
.ttt-timeline-portal-item { display: flex; gap: 1rem; }
.ttt-timeline-dot {
	width: .625rem; height: .625rem; border-radius: 50%; background: var(--navy);
	border: 2px solid var(--white); box-shadow: 0 0 0 2px var(--navy);
	flex-shrink: 0; margin-top: .4375rem;
}

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 992px) {
	.ttt-hero-grid, .ttt-grid-4, .ttt-steps, .ttt-service-detail { grid-template-columns: 1fr 1fr; }
	.ttt-footer-grid { grid-template-columns: 1fr 1fr; }
	.ttt-portal-grid { grid-template-columns: 220px 1fr; }
}

@media (max-width: 768px) {
	.ttt-nav-toggle { display: flex; }
	.ttt-nav-links {
		display: none; position: absolute; top: 68px; left: 0; right: 0;
		flex-direction: column; align-items: stretch;
		background: var(--white); padding: 1rem 1.5rem;
		border-bottom: 1px solid var(--gray-200);
		box-shadow: var(--shadow-md); margin: 0; gap: .25rem;
	}
	.ttt-nav-portal .ttt-nav-links { background: var(--navy-dark); border-bottom-color: rgba(255,255,255,.1); }
	.ttt-nav-links.is-open { display: flex; }
	.ttt-nav-inner { position: relative; }

	.ttt-hero { padding: 3.5rem 0 4.5rem; }
	.ttt-hero-grid, .ttt-grid-4, .ttt-grid-3, .ttt-grid-2, .ttt-steps, .ttt-service-detail { grid-template-columns: 1fr; }
	.ttt-footer-grid { grid-template-columns: 1fr; gap: 2rem; }
	.ttt-form-row { grid-template-columns: 1fr; }
	.ttt-stats-grid { grid-template-columns: repeat(2, 1fr); }
	.ttt-section { padding: 3.5rem 0; }

	/* Portal mobile */
	.ttt-portal-grid { grid-template-columns: 1fr; }
	.ttt-portal-sidebar { position: static; }
	.ttt-portal-sidebar nav { display: flex; flex-wrap: wrap; gap: .25rem; padding: .75rem; }
	.ttt-portal-sidebar a { padding: .5rem .875rem; }
	.ttt-portal-stats { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
	.ttt-portal-stats { grid-template-columns: 1fr; }
	.ttt-page-header-row { flex-direction: column; align-items: stretch; }
}

/* ── Chat bot widget ──────────────────────────────────────────────────── */
.ttt-chat {
	position: fixed;
	right: 1.25rem;
	bottom: 1.25rem;
	z-index: 300;
	font-family: var(--font);
}

.ttt-chat-fab {
	display: flex;
	align-items: center;
	gap: .625rem;
	padding: .875rem 1.125rem;
	border: none;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
	color: var(--white);
	font-size: .9375rem;
	font-weight: 600;
	box-shadow: var(--shadow-lg);
	cursor: pointer;
	transition: transform .2s ease, box-shadow .2s ease;
}

.ttt-chat-fab:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(26,75,143,.22); }
.ttt-chat-fab-icon { font-size: 1.25rem; line-height: 1; }

.ttt-chat-panel {
	position: absolute;
	right: 0;
	bottom: calc(100% + .75rem);
	width: min(380px, calc(100vw - 2rem));
	height: min(560px, calc(100vh - 6rem));
	background: var(--white);
	border-radius: var(--radius);
	box-shadow: var(--shadow-lg);
	border: 1px solid var(--gray-200);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	opacity: 0;
	transform: translateY(12px) scale(.98);
	pointer-events: none;
	transition: opacity .22s ease, transform .22s ease;
}

.ttt-chat-panel.is-open {
	opacity: 1;
	transform: translateY(0) scale(1);
	pointer-events: auto;
}

.ttt-chat-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: .75rem;
	padding: .875rem 1rem;
	background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
	color: var(--white);
}

.ttt-chat-header strong { display: block; font-size: .9375rem; }
.ttt-chat-subtitle { display: block; font-size: .75rem; opacity: .85; margin-top: .125rem; }

.ttt-chat-close {
	border: none;
	background: rgba(255,255,255,.15);
	color: var(--white);
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	font-size: 1.25rem;
	line-height: 1;
	cursor: pointer;
}

.ttt-chat-messages {
	flex: 1;
	overflow-y: auto;
	padding: 1rem;
	display: flex;
	flex-direction: column;
	gap: .625rem;
	background: var(--gray-50);
}

.ttt-chat-msg {
	max-width: 88%;
	padding: .625rem .875rem;
	border-radius: 1rem;
	font-size: .875rem;
	line-height: 1.45;
	white-space: pre-wrap;
	word-break: break-word;
}

.ttt-chat-msg-bot {
	align-self: flex-start;
	background: var(--white);
	border: 1px solid var(--gray-200);
	color: var(--gray-900);
	border-bottom-left-radius: .25rem;
}

.ttt-chat-msg-user {
	align-self: flex-end;
	background: var(--navy);
	color: var(--white);
	border-bottom-right-radius: .25rem;
}

.ttt-chat-msg-manager {
	align-self: flex-start;
	background: #ecfdf5;
	border: 1px solid #a7f3d0;
	color: #065f46;
	border-bottom-left-radius: .25rem;
}

.ttt-chat-input-area {
	border-top: 1px solid var(--gray-200);
	background: var(--white);
	padding: .75rem;
}

.ttt-chat-chips {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
}

.ttt-chat-chip {
	border: 1px solid var(--navy-light);
	background: var(--navy-light);
	color: var(--navy-dark);
	padding: .4375rem .75rem;
	border-radius: 999px;
	font-size: .8125rem;
	font-weight: 500;
	cursor: pointer;
	transition: background .15s ease;
}

.ttt-chat-chip:hover { background: #d6e6ff; }

.ttt-chat-form {
	display: flex;
	gap: .5rem;
}

.ttt-chat-form input {
	flex: 1;
	border: 1px solid var(--gray-300);
	border-radius: 999px;
	padding: .625rem .875rem;
	font: inherit;
	font-size: .875rem;
}

.ttt-chat-form input:focus {
	outline: none;
	border-color: var(--navy);
	box-shadow: 0 0 0 3px rgba(26,75,143,.12);
}

.ttt-chat-send {
	border: none;
	background: var(--navy);
	color: var(--white);
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	cursor: pointer;
	font-size: .875rem;
}

@media (max-width: 480px) {
	.ttt-chat { right: .75rem; bottom: .75rem; }
	.ttt-chat-fab-label { display: none; }
	.ttt-chat-fab { padding: .875rem; border-radius: 50%; }
	.ttt-chat-panel {
		width: calc(100vw - 1.5rem);
		height: min(70vh, 520px);
	}
}

.ttt-file-list,
.ttt-attachment-list {
	margin: .5rem 0 0;
	padding-left: 1.1rem;
	color: var(--text-muted, #64748b);
	font-size: .875rem;
}

.ttt-attachment-list a {
	color: var(--navy);
	font-weight: 500;
}

/* ── Login page ───────────────────────────────────────────────────────── */
body[data-path="login"],
body.ttt-login-page {
	font-family: var(--font);
	background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 45%, #2563eb 100%);
	min-height: 100vh;
}

body[data-path="login"] .navbar,
body[data-path="login"] nav,
body[data-path="login"] header.navbar,
body[data-path="login"] .web-footer,
body[data-path="login"] .page-breadcrumbs,
body[data-path="login"] .page-header-wrapper,
body.ttt-login-page .navbar,
body.ttt-login-page .web-footer,
body.ttt-login-page .page-breadcrumbs,
body.ttt-login-page .page-header-wrapper { display: none !important; }

body[data-path="login"] .page-content-wrapper,
body[data-path="login"] main,
body[data-path="login"] .page_content,
body.ttt-login-page .page-content-wrapper,
body.ttt-login-page main,
body.ttt-login-page .page_content {
	padding: 0 !important;
	margin: 0 !important;
	max-width: none !important;
	width: 100% !important;
	background: transparent !important;
}

.ttt-login-shell {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 2rem 1rem 2.5rem;
}

.ttt-login-shell section.for-login,
.ttt-login-shell section.for-forgot,
.ttt-login-shell section.for-login-with-email-link,
.ttt-login-shell section.for-signup,
.ttt-login-shell section.for-email-login {
	width: 100%;
	max-width: 440px;
	margin: 0 auto;
}

.ttt-login-panel {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.ttt-login-head {
	width: 100%;
	padding-top: 0 !important;
	text-align: center;
}

.ttt-login-logo {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .625rem;
	text-decoration: none;
	color: var(--white);
	margin-bottom: .75rem;
}

.ttt-login-logo .app-logo {
	max-height: 44px;
	width: 44px;
	height: 44px;
	object-fit: contain;
	border-radius: 12px;
	background: #fff;
	padding: 5px;
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
}

.ttt-login-brand {
	font-size: 1.0625rem;
	font-weight: 800;
	letter-spacing: .02em;
	white-space: nowrap;
}

.ttt-login-head h4 {
	color: var(--white) !important;
	font-size: 1.375rem !important;
	font-weight: 700 !important;
	margin-top: 0 !important;
	margin-bottom: .25rem !important;
}

.ttt-login-subtitle {
	color: rgba(255,255,255,.82);
	font-size: .9375rem;
	margin-top: 0;
	margin-bottom: 0;
	line-height: 1.5;
}

.ttt-login-card.page-card {
	width: 100%;
	border: none !important;
	border-radius: 16px !important;
	box-shadow: var(--shadow-lg) !important;
	padding: 1.75rem 1.5rem 1.5rem !important;
	margin-top: 1.25rem !important;
}

.ttt-login-card .form-label {
	font-weight: 600;
	font-size: .875rem;
	color: var(--gray-700);
	margin-bottom: .35rem;
}

.ttt-login-card .form-label.sr-only {
	position: static;
	width: auto;
	height: auto;
	clip: auto;
}

.ttt-login-card input.form-control {
	border: 1px solid var(--gray-200) !important;
	border-radius: 10px !important;
	background: var(--gray-50) !important;
	padding: .65rem .75rem .65rem 2.25rem !important;
	margin-bottom: 0 !important;
}

.ttt-login-card .btn-login,
.ttt-login-card .btn-forgot,
.ttt-login-card .btn-login-with-email-link {
	background: var(--navy) !important;
	border: none !important;
	border-radius: 10px !important;
	font-weight: 600 !important;
	padding: .65rem 1rem !important;
}

.ttt-login-card .btn-login:hover,
.ttt-login-card .btn-forgot:hover,
.ttt-login-card .btn-login-with-email-link:hover {
	background: var(--navy-dark) !important;
}

.ttt-login-card .forgot-password-message a,
.ttt-login-home a,
.ttt-login-card .sign-up-message a {
	color: var(--navy);
	font-weight: 600;
}

.ttt-login-home {
	width: 100%;
	text-align: center;
	margin-top: 1.25rem;
}

.ttt-login-home a {
	color: rgba(255,255,255,.9);
	font-weight: 600;
	text-decoration: none;
}

.ttt-login-home a:hover { text-decoration: underline; }

body[data-path="login"] .sign-up-message,
body.ttt-login-page .sign-up-message {
	color: rgba(255,255,255,.85);
}

body[data-path="login"] .login-divider,
body.ttt-login-page .login-divider { color: rgba(255,255,255,.7) !important; }

