/* =========================================================
   TERMS PAGE
========================================================= */

.ht-terms-page {
	background: #fafafa;
}

/* =========================================================
   HERO
========================================================= */

.ht-terms-hero {
	position: relative;
	overflow: hidden;
	padding: 120px 20px 85px;
	background:
		radial-gradient(circle at 85% 20%,
			rgba(255, 205, 57, 0.12),
			transparent 32%),
		linear-gradient(135deg,
			var(--primary-dark),
			#102746);
	color: #fff;
}

.ht-terms-hero::before {
	content: "";
	position: absolute;
	width: 420px;
	height: 420px;
	border: 1px solid rgba(255, 205, 57, 0.14);
	border-radius: 50%;
	right: -160px;
	top: -180px;
}

.ht-terms-hero::after {
	content: "";
	position: absolute;
	width: 280px;
	height: 280px;
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 50%;
	left: -130px;
	bottom: -150px;
}

.ht-terms-hero-content {
	position: relative;
	z-index: 1;
	max-width: 1100px;
	margin: 0 auto;
}

.ht-terms-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 18px;
	padding: 7px 14px;
	border: 1px solid rgba(255, 205, 57, 0.35);
	border-radius: 30px;
	color: var(--gold);
	background: rgba(255, 255, 255, 0.04);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 1.5px;
	text-transform: uppercase;
}

.ht-terms-eyebrow::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--gold);
}

.ht-terms-title {
	margin: 0;
	font-family: 'Playfair Display', serif;
	font-size: clamp(38px, 5vw, 62px);
	line-height: 1.1;
	font-weight: 600;
}

.ht-terms-subtitle {
	max-width: 760px;
	margin: 20px 0 0;
	color: rgba(255, 255, 255, 0.78);
	font-size: 16px;
	line-height: 1.8;
}

.ht-terms-date {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin-top: 28px;
	padding: 10px 16px;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	font-size: 13px;
}

.ht-terms-date i {
	color: var(--gold);
}

/* =========================================================
   MAIN LAYOUT
========================================================= */

.ht-terms-container {
	max-width: 1180px;
	margin: 0 auto;
	padding: 70px 20px 90px;
}

.ht-terms-layout {
	display: grid;
	grid-template-columns: 245px minmax(0, 1fr);
	gap: 45px;
	align-items: start;
}

/* =========================================================
   SIDEBAR
========================================================= */

.ht-terms-sidebar {
	position: sticky;
	top: 100px;
}

.ht-terms-nav {
	padding: 22px;
	border: 1px solid var(--border-light);
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 8px 30px rgba(27, 54, 93, 0.06);
}

.ht-terms-nav-title {
	margin-bottom: 14px;
	color: var(--primary-dark);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}

.ht-terms-nav a {
	display: block;
	padding: 8px 0;
	color: var(--text-muted);
	font-size: 12px;
	line-height: 1.4;
	text-decoration: none;
	transition: all 0.2s ease;
}

.ht-terms-nav a:hover {
	padding-left: 5px;
	color: var(--primary-dark);
}

/* =========================================================
   INTRO
========================================================= */

.ht-terms-intro {
	margin-bottom: 32px;
	padding: 26px 28px;
	border-left: 4px solid var(--gold);
	border-radius: 0 12px 12px 0;
	background: #fff;
	box-shadow: 0 8px 25px rgba(27, 54, 93, 0.05);
}

.ht-terms-intro p {
	margin: 0;
	color: var(--text-main);
	font-size: 14px;
	line-height: 1.85;
}

/* =========================================================
   SECTION CARDS
========================================================= */

.ht-terms-section {
	scroll-margin-top: 25px;
	margin-bottom: 22px;
	padding: 30px;
	border: 1px solid var(--border-light);
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 7px 25px rgba(27, 54, 93, 0.045);
}

.ht-terms-section-header {
	display: flex;
	align-items: flex-start;
	gap: 15px;
	margin-bottom: 18px;
}

.ht-terms-number {
	flex: 0 0 38px;
	width: 38px;
	height: 38px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	background: rgba(255, 205, 57, 0.15);
	color: var(--primary-dark);
	font-size: 13px;
	font-weight: 700;
}

.ht-terms-section h2 {
	margin: 2px 0 0;
	color: var(--primary-dark);
	font-family: 'Playfair Display', serif;
	font-size: 25px;
	line-height: 1.3;
	font-weight: 600;
}

.ht-terms-section p {
	margin: 0 0 14px;
	color: var(--text-main);
	font-size: 14px;
	line-height: 1.85;
}

.ht-terms-section p:last-child {
	margin-bottom: 0;
}

.ht-terms-section ul {
	margin: 12px 0 0;
	padding-left: 21px;
}

.ht-terms-section li {
	margin-bottom: 10px;
	padding-left: 4px;
	color: var(--text-main);
	font-size: 14px;
	line-height: 1.75;
}

.ht-terms-section li::marker {
	color: var(--gold);
}

.ht-terms-section strong {
	color: var(--primary-dark);
	font-weight: 600;
}

/* =========================================================
   IMPORTANT NOTICE
========================================================= */

.ht-terms-notice {
	margin-top: 18px;
	padding: 18px 20px;
	border-radius: 10px;
	background: #f8f9fa;
	border: 1px solid var(--border-light);
}

.ht-terms-notice p {
	margin: 0;
	font-size: 13px;
	line-height: 1.7;
	color: var(--text-muted);
}

/* =========================================================
   CONTACT CARD
========================================================= */

.ht-terms-contact {
	position: relative;
	overflow: hidden;
	margin-top: 30px;
	padding: 36px;
	border-radius: 16px;
	background:
		radial-gradient(circle at 90% 15%,
			rgba(255, 205, 57, 0.14),
			transparent 30%),
		var(--primary-dark);
	color: #fff;
}

.ht-terms-contact::after {
	content: "";
	position: absolute;
	width: 190px;
	height: 190px;
	right: -90px;
	bottom: -110px;
	border: 1px solid rgba(255, 205, 57, 0.18);
	border-radius: 50%;
}

.ht-terms-contact-content {
	position: relative;
	z-index: 1;
}

.ht-terms-contact-label {
	margin-bottom: 10px;
	color: var(--gold);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
}

.ht-terms-contact h2 {
	margin: 0 0 10px;
	color: #fff;
	font-family: 'Playfair Display', serif;
	font-size: 30px;
}

.ht-terms-contact-description {
	max-width: 650px;
	margin-bottom: 25px;
	color: rgba(255, 255, 255, 0.72);
	font-size: 14px;
	line-height: 1.7;
}

.ht-terms-contact-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 15px;
}

.ht-terms-contact-item {
	padding: 16px;
	border: 1px solid rgba(255, 255, 255, 0.09);
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.05);
}

.ht-terms-contact-item-label {
	display: block;
	margin-bottom: 5px;
	color: rgba(255, 255, 255, 0.5);
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.8px;
}

.ht-terms-contact-item a,
.ht-terms-contact-item span {
	color: #fff;
	font-size: 13px;
	line-height: 1.6;
	text-decoration: none;
}

.ht-terms-contact-item a:hover {
	color: var(--gold);
}

/* =========================================================
   FOOTER TAGLINE
========================================================= */

.ht-terms-footer-note {
	margin-top: 35px;
	text-align: center;
}

.ht-terms-footer-note strong {
	display: block;
	margin-bottom: 5px;
	color: var(--primary-dark);
	font-family: 'Playfair Display', serif;
	font-size: 20px;
}

.ht-terms-footer-note span {
	color: var(--text-muted);
	font-size: 12px;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991px) {

	.ht-terms-layout {
		grid-template-columns: 1fr;
	}

	.ht-terms-sidebar {
		position: static;
	}

	.ht-terms-nav {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 0 20px;
	}

	.ht-terms-nav-title {
		grid-column: 1 / -1;
	}

	.ht-terms-contact-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 767px) {

	.ht-terms-hero {
		padding: 65px 20px 60px;
	}

	.ht-terms-container {
		padding: 45px 15px 60px;
	}

	.ht-terms-layout {
		gap: 25px;
	}

	.ht-terms-nav {
		display: block;
	}

	.ht-terms-nav a {
		padding: 7px 0;
	}

	.ht-terms-section {
		padding: 23px 20px;
	}

	.ht-terms-section h2 {
		font-size: 22px;
	}

	.ht-terms-intro {
		padding: 20px;
	}

	.ht-terms-contact {
		padding: 28px 22px;
	}

	.ht-terms-contact h2 {
		font-size: 26px;
	}
}

@media (max-width: 480px) {

	.ht-terms-title {
		font-size: 36px;
	}

	.ht-terms-subtitle {
		font-size: 14px;
	}

	.ht-terms-section {
		padding: 20px 17px;
	}

	.ht-terms-section-header {
		gap: 11px;
	}

	.ht-terms-number {
		flex-basis: 34px;
		width: 34px;
		height: 34px;
		font-size: 11px;
	}

	.ht-terms-section h2 {
		font-size: 20px;
	}

	.ht-terms-section p,
	.ht-terms-section li {
		font-size: 13px;
	}
}