/* =====================================================================
 * TT GENESIS — Trang chủ (bám design mẫu bamland.vn/du-an/tt-genesis)
 * Bảng màu section:
 *   hero      rgb(224,237,247)   tiêu đề: h1 gradient
 *   tổng quan rgb(0,54,90)       tiêu đề: rgb(139,197,63)
 *   tiện ích  rgb(0,50,139)      tiêu đề: rgb(216,104,66)
 *   vị trí    rgb(0,30,54)       tiêu đề: rgb(139,197,63)
 *   mặt bằng  rgb(253,249,238)   tiêu đề: rgb(0,30,54)
 *   pháp lý   ảnh nền            tiêu đề: rgb(139,197,63)
 *   giá bán   rgb(223,98,56)     tiêu đề: rgb(11,26,94)
 *   chủ đầu tư rgb(255,255,255)  tiêu đề: rgb(139,197,63)
 * ================================================================== */

html, body { font-family: "Lexend", "Lato", sans-serif; font-weight: normal; }
h1, h2, h3, h4, h5, h6 { font-family: "Lexend", "Lato", sans-serif; font-weight: bold; }

.section-title-container { margin-bottom: 0; }
.section-title-center .section-title-main {
	margin-right: 0;
	padding-bottom: 0;
	border-bottom: 0;
	text-transform: none;
	font-size: 40px;
	font-weight: 700;
	letter-spacing: -0.5px;
	line-height: 1.2;
}

/* ---------- HERO ---------- */
.ttg-hero { min-height: 630px; display: flex; align-items: center; }
.ttg-hero .col { padding-bottom: 0; }
.ttg-hero__box {
	background-color: rgba(100, 92, 92, 0.669);
	border-radius: 6px;
	padding: 26px 20px;
}
.ttg-hero h1 {
	font-weight: 900;
	font-size: 3em;
	font-family: "Arial Black", "Arial", sans-serif;
	margin-bottom: 0.2em;
	background: linear-gradient(to right, #fdc18d 30%, #d08870 70%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}
.ttg-hero p { font-size: 18.72px; color: #fff; margin-bottom: 0; }

/* ---------- Khối tổng quan (viền nổi như .row-logo gốc) ---------- */
.ttg-tongquan { box-shadow: 2px 2px 20px #00000024; }
.ttg-tongquan .col { padding-bottom: 0; }

/* ---------- Nút CTA đăng ký (rainbow viền khi hover) ---------- */
.cta-dangky {
	position: relative;
	padding: 14px 34px;
	border-radius: 999px;
	font-weight: 700;
	background: #e60012;
	color: #fff !important;
	border: 3px solid transparent;
	background-clip: padding-box;
	transition: all .3s ease;
}
.cta-dangky span { color: #fff !important; }
.cta-dangky i { display: inline-block; animation: cta-spin 2s linear infinite; }
.cta-dangky::before {
	content: "";
	position: absolute;
	inset: -3px;
	border-radius: inherit;
	background: linear-gradient(45deg, red, orange, yellow, green, cyan, blue, violet, red);
	z-index: -1;
	background-size: 400%;
	animation: rainbow 6s linear infinite;
	opacity: 0;
	transition: opacity .3s ease;
}
.cta-dangky:hover::before { opacity: 1; }
.cta-dangky:hover { transform: translateY(-2px); }

@keyframes cta-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes rainbow { 0% { background-position: 0 0; } 100% { background-position: 400% 0; } }

/* ---------- Tiêu đề phụ trang trí (thay cho font tuyetsac-viethoa) ---------- */
.ttg-script { font-weight: 700; letter-spacing: -0.3px; }
.ttg-script--cam    { color: #ff6600; }
.ttg-script--gach   { color: #d86842; }
.ttg-script--xanhla { color: #8bc500; }
.ttg-script--xanhduong { color: #0b1a5e; }

/* ---------- Bảng dữ liệu (viền mảnh như bản mẫu) ---------- */
.ttg-tbl { border-collapse: collapse; width: 100%; }
.ttg-tbl th, .ttg-tbl td {
	border: 0;
	border-bottom: 1px solid rgba(128, 128, 128, .25);
	padding: 11px 14px 11px 0;
	vertical-align: top;
	line-height: 1.65;
	text-align: left;
	font-size: 15px;
}
.ttg-tbl th { font-weight: 700; }
.ttg-tbl tr:last-child th,
.ttg-tbl tr:last-child td { border-bottom: 0; }
.ttg-tbl ul { margin: 0 0 0 16px; }
.ttg-tbl ul li { margin-bottom: 2px; }
.ttg-tbl-wrap { width: 100%; overflow-x: auto; }

/* Bảng trên nền tối: đường kẻ sáng mờ */
.dark .ttg-tbl th,
.dark .ttg-tbl td { border-bottom-color: rgba(255, 255, 255, .18); }

/* Bảng giá (nền cam) — có viền đầy đủ cho dễ đọc */
.ttg-tbl--gia th, .ttg-tbl--gia td {
	border: 1px solid rgba(255, 255, 255, .35);
	padding: 10px 12px;
}
.ttg-tbl--gia thead th, .ttg-tbl--gia tr:first-child th { background: rgba(0, 0, 0, .15); }

/* ---------- Danh sách đánh số (section chủ đầu tư) ---------- */
.section1 .large-12 ul.ttg-stt { counter-reset: item; padding-left: 0; }
.section1 .large-12 ul.ttg-stt li {
	text-align: left;
	list-style: none !important;
	background: #f7eed0 !important;
	padding: 7px 15px 7px 30px !important;
	margin-bottom: 5px;
	counter-increment: item;
	position: relative;
	color: #1c1c1c;
}
.section1 .large-12 ul.ttg-stt li::before {
	position: absolute;
	content: counter(item);
	font-size: 1.5em;
	left: -15px;
	background-color: #73633f;
	top: 0;
	color: #fff;
	line-height: 32px;
	padding: 0 10px;
}

/* ---------- Logo dạng chữ (đối tác chưa có file logo) ---------- */
.ttg-logo-text {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 62px;
	margin-bottom: 12px;
	font-weight: 700;
	font-size: 19px;
	letter-spacing: 1px;
	line-height: 1.15;
	color: #00538d;
}
.ttg-logo-text span {
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 3px;
	color: #7b8794;
}

/* ---------- Khối FAQ (nền vàng nhạt như bản gốc) ---------- */
.ttg-faq { background-color: rgba(242, 245, 193, 0.43); padding: 24px 26px; }
.ttg-faq h2 { font-size: 28px; margin-bottom: 18px; }
.ttg-faq h3 { font-size: 18px; margin: 18px 0 6px; }
.ttg-faq p { margin-bottom: 0; }

/* ---------- Khối form đăng ký ---------- */
.ttg-formbox { background-color: rgba(37, 37, 37, 0.186); padding: 10px 20px 20px; }
.ttg-formbox .ttg-form-title {
	text-align: center;
	color: #09206b;
	font-size: 130%;
	font-weight: 700;
	margin-bottom: 6px;
}

.form-lien-he .row-info { display: block; clear: both; width: 100%; }
.form-lien-he .row-info .left  { display: inline-block; width: 65%; padding-right: 15px; float: left; }
.form-lien-he .row-info .right { display: inline-block; width: 35%; padding-left: 15px; float: right; }
.form-lien-he .row-info .right .box {
	box-shadow: 0 13px 20px #00000012;
	border-radius: 5px;
	border: none;
	padding: 20px;
	background: #fff;
}
.form-lien-he textarea {
	min-height: 200px;
	box-shadow: 0 13px 20px #00000012;
	border-radius: 5px;
	border: none;
	padding: 20px;
	margin-bottom: 40px;
}
.form-lien-he p.des { font-size: 15px; color: gray; }
.form-lien-he label { font-weight: 500; color: #00538d; }
.form-lien-he input { font-size: 15px; box-shadow: none; border-radius: 5px; }
.form-lien-he input[type='submit'] {
	margin: 0;
	background: #f7941d;
	text-transform: none;
	letter-spacing: 0;
	font-weight: 500;
	width: 100%;
}

/* ---------- Caption ảnh ---------- */
.img .caption { font-style: italic; font-size: 13.5px; }

/* ---------- Tablet ---------- */
@media (max-width: 849px) {
	.section-title-center .section-title-main { font-size: 30px; }
	.ttg-hero h1 { font-size: 2.1em; }
}

/* ---------- Mobile ---------- */
@media (max-width: 549px) {
	.section-title-center .section-title-main { font-size: 25px; }
	.ttg-hero { padding-top: 100px !important; padding-bottom: 100px !important; }
	.ttg-hero h1 { font-size: 1.8em; }
	.ttg-hero p { font-size: 15px; }
	.form-lien-he .row-info .left,
	.form-lien-he .row-info .right { width: 100%; padding-left: 0; padding-right: 0; }
	.form-lien-he textarea { margin-bottom: 20px; }
	.form-lien-he p.des { margin-bottom: 20px; }
	.ttg-faq { padding: 18px 16px; }
	.ttg-tbl th, .ttg-tbl td { padding: 7px 9px; font-size: 14px; }
}
