* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	font-size: 16px;
}

body {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI',
		sans-serif;
	background-color: #0b0c10;
	color: #f9fafb;
	line-height: 1.6;
	overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: 'Poppins', sans-serif;
	font-weight: 600;
	color: #ffffff;
	line-height: 1.2;
	margin-bottom: 1rem;
}

h1 {
	font-size: 3rem;
}

h2 {
	font-size: 2.5rem;
}

h3 {
	font-size: 2rem;
}

h4 {
	font-size: 1.5rem;
}

p {
	color: #d1d5db;
	margin-bottom: 1rem;
}

a {
	color: #f59e0b;
	text-decoration: none;
	transition: all 0.4s ease;
}

a:hover {
	color: #10b981;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

button {
	cursor: pointer;
	border: none;
	outline: none;
	font-family: inherit;
}

/* ============================================
   2. UTILITY CLASSES
   ============================================ */

.tm-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 2rem;
}

.tm-container-wide {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 2rem;
}

.tm-section {
	padding: 5rem 0;
}

.tm-section-alt {
	background-color: #16181d;
}

.tm-grid-2 {
	display: grid;
	grid-template-columns: auto-fill, minmax(400px, 1fr);
	gap: 2rem;
}

.tm-grid-3 {
	display: grid;
	grid-template-columns: auto-fill, minmax(350px, 1fr);
	gap: 2rem;
}

.tm-grid-4 {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 2rem;
}

.tm-text-center {
	text-align: center;
}

.tm-mb-1 {
	margin-bottom: 1rem;
}

.tm-mb-2 {
	margin-bottom: 2rem;
}

.tm-mb-3 {
	margin-bottom: 3rem;
}

.tm-mt-2 {
	margin-top: 2rem;
}

.tm-accent-text {
	color: #f59e0b;
}

.tm-secondary-text {
	color: #d1d5db;
}

/* ============================================
   3. HEADER STYLES
   ============================================ */

.tm-header {
	position: fixed;
	top: 20px;
	left: 50%;
	transform: translateX(-50%);
	width: calc(100% - 4rem);
	max-width: 1400px;
	background-color: #16181d;
	border-bottom: 2px solid #10b981;
	z-index: 1000;
	padding: 1rem 2rem;
	border-radius: 12px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
	transition: all 0.4s ease;
}

.tm-header.tm-scrolled {
	background-color: rgba(22, 24, 29, 0.95);
	backdrop-filter: blur(10px);
}

.tm-header-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.tm-logo {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-size: 1.5rem;
	font-weight: 600;
	color: #ffffff;
}

.tm-logo-icon {
	font-size: 1.8rem;
	color: #f59e0b;
}

.tm-nav {
	display: flex;
	gap: 2rem;
	align-items: center;
}

.tm-nav-link {
	color: #f9fafb;
	font-size: 1rem;
	font-weight: 500;
	position: relative;
	padding: 0.5rem 0;
	transition: color 0.4s ease;
}

.tm-nav-link::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 2px;
	background-color: #f59e0b;
	transition: width 0.4s ease;
}

.tm-nav-link:hover {
	color: #f59e0b;
}

.tm-nav-link:hover::after {
	width: 100%;
}

.tm-nav-link.tm-active {
	color: #f59e0b;
}

.tm-nav-link.tm-active::after {
	width: 100%;
}

.tm-mobile-menu-btn {
	display: none;
	background: transparent;
	color: #f9fafb;
	font-size: 1.5rem;
	padding: 0.5rem;
}

.tm-mobile-nav {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	background-color: rgba(11, 12, 16, 0.98);
	z-index: 999;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 2rem;
	opacity: 0;
	transform: translateY(100%);
	transition: all 0.4s ease;
}

.tm-mobile-nav.tm-active {
	display: flex;
	opacity: 1;
	transform: translateY(0);
}

.tm-mobile-nav-link {
	color: #f9fafb;
	font-size: 1.5rem;
	font-weight: 600;
	transition: all 0.4s ease;
}

.tm-mobile-nav-link:hover {
	color: #f59e0b;
	transform: translateX(10px);
}

/* ============================================
   4. FOOTER STYLES
   ============================================ */

.tm-footer {
	background-color: #0b0c10;
	padding: 4rem 0 2rem;
	border-top: 2px solid #374151;
}

.tm-footer-content {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 3rem;
	margin-bottom: 3rem;
}

.tm-footer-section h4 {
	color: #f59e0b;
	margin-bottom: 1.5rem;
	font-size: 1.2rem;
}

.tm-footer-section p {
	color: #d1d5db;
	line-height: 1.8;
}

.tm-footer-nav {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.tm-footer-nav a {
	color: #d1d5db;
	transition: all 0.4s ease;
	padding-left: 0;
	display: inline-block;
}

.tm-footer-nav a:hover {
	color: #f59e0b;
	padding-left: 10px;
}

.tm-footer-contact-item {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	margin-bottom: 1rem;
	color: #d1d5db;
}

.tm-footer-contact-item i {
	color: #10b981;
	margin-top: 0.25rem;
}

.tm-footer-bottom {
	text-align: center;
	padding-top: 2rem;
	border-top: 1px solid #374151;
	color: #d1d5db;
}

/* ============================================
   5. HERO SECTION
   ============================================ */

.tm-hero {
	position: relative;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding-top: 6rem;
	overflow: hidden;
}

.tm-hero-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.5;
	z-index: 0;
}

.tm-hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(
		135deg,
		rgba(11, 12, 16, 0.8) 0%,
		rgba(22, 24, 29, 0.9) 100%
	);
	z-index: 1;
}

.tm-hero-content {
	position: relative;
	z-index: 2;
	max-width: 900px;
	padding: 0 2rem;
}

.tm-hero h1 {
	font-size: 4rem;
	margin-bottom: 1.5rem;
	animation: tm-slide-left 1s ease-out;
}

.tm-hero-subtitle {
	font-size: 1.5rem;
	color: #d1d5db;
	margin-bottom: 2.5rem;
	animation: tm-slide-left 1s ease-out 0.2s both;
}

.tm-btn-primary {
	background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
	color: #ffffff;
	padding: 1rem 2.5rem;
	font-size: 1.1rem;
	font-weight: 600;
	border-radius: 50px;
	transition: all 0.4s ease;
	display: inline-block;
	box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
	animation: tm-slide-left 1s ease-out 0.4s both;
}

.tm-btn-primary:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 25px rgba(245, 158, 11, 0.5);
}

/* ============================================
   6. CARD STYLES
   ============================================ */

.tm-card {
	background-color: #16181d;
	border-radius: 12px;
	padding: 2rem;
	transition: all 0.4s ease;
	border: 1px solid #374151;
	height: 100%;
}

.tm-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 8px 30px rgba(245, 158, 11, 0.2);
	border-color: #f59e0b;
}

.tm-card-icon {
	font-size: 3rem;
	color: #f59e0b;
	margin-bottom: 1.5rem;
	display: block;
}

.tm-card h3 {
	color: #ffffff;
	margin-bottom: 1rem;
	font-size: 1.5rem;
}

.tm-card p {
	color: #d1d5db;
	line-height: 1.8;
}

.tm-card-horizontal {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 1.5rem;
	align-items: start;
}

/* ============================================
   7. TAB STYLES
   ============================================ */

.tm-tabs-container {
	margin-top: 3rem;
}

.tm-tabs-buttons {
	display: flex;
	gap: 1rem;
	justify-content: center;
	flex-wrap: wrap;
	margin-bottom: 2rem;
}

.tm-tab-btn {
	background-color: #16181d;
	color: #d1d5db;
	padding: 1rem 2rem;
	font-size: 1rem;
	font-weight: 600;
	border-radius: 50px;
	transition: all 0.4s ease;
	border: 2px solid transparent;
}

.tm-tab-btn:hover {
	background-color: #374151;
	color: #f9fafb;
}

.tm-tab-btn.tm-active {
	background-color: #f59e0b;
	color: #ffffff;
	border-color: #f59e0b;
	box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.tm-tab-content {
	display: none;
	animation: tm-fade-up 0.5s ease-out;
}

.tm-tab-content.tm-active {
	display: block;
}

/* ============================================
   8. ACCORDION STYLES
   ============================================ */

.tm-accordion {
	margin-top: 2rem;
}

.tm-accordion-item {
	background-color: #16181d;
	border-radius: 12px;
	margin-bottom: 1rem;
	overflow: hidden;
	border: 1px solid #374151;
}

.tm-accordion-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1.5rem;
	cursor: pointer;
	transition: all 0.4s ease;
	background-color: #16181d;
}

.tm-accordion-header:hover {
	background-color: #1f2128;
}

.tm-accordion-header h4 {
	margin: 0;
	color: #ffffff;
	font-size: 1.2rem;
}

.tm-accordion-icon {
	font-size: 1.5rem;
	color: #f59e0b;
	transition: transform 0.4s ease;
}

.tm-accordion-item.tm-active .tm-accordion-icon {
	transform: rotate(180deg);
}

.tm-accordion-content {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.4s ease;
}

.tm-accordion-content-inner {
	padding: 1rem 1.5rem 1.5rem;
}

.tm-accordion-content p {
	color: #d1d5db;
	line-height: 1.8;
}

/* ============================================
   9. FORM STYLES
   ============================================ */

.tm-form {
	background-color: #16181d;
	padding: 2.5rem;
	border-radius: 12px;
	border: 1px solid #374151;
}

.tm-form-group {
	margin-bottom: 1.5rem;
}

.tm-form-label {
	display: block;
	color: #f9fafb;
	font-weight: 600;
	margin-bottom: 0.5rem;
	font-size: 1rem;
}

.tm-form-input,
.tm-form-textarea {
	width: 100%;
	padding: 1rem;
	background-color: #0b0c10;
	border: 2px solid #374151;
	border-radius: 8px;
	color: #f9fafb;
	font-size: 1rem;
	font-family: inherit;
	transition: all 0.4s ease;
}

.tm-form-input:focus,
.tm-form-textarea:focus {
	outline: none;
	border-color: #f59e0b;
	box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.tm-form-input.tm-error,
.tm-form-textarea.tm-error {
	border-color: #ef4444;
}

.tm-form-error-message {
	color: #ef4444;
	font-size: 0.875rem;
	margin-top: 0.5rem;
	display: none;
}

.tm-form-error-message.tm-show {
	display: block;
}

.tm-form-textarea {
	min-height: 150px;
	resize: vertical;
}

.tm-btn-submit {
	background: linear-gradient(135deg, #10b981 0%, #059669 100%);
	color: #ffffff;
	padding: 1rem 2.5rem;
	font-size: 1.1rem;
	font-weight: 600;
	border-radius: 50px;
	transition: all 0.4s ease;
	width: 100%;
	box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.tm-btn-submit:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 25px rgba(16, 185, 129, 0.5);
}

.tm-btn-submit:disabled {
	opacity: 0.5;
	cursor: not-allowed;
	transform: none;
}

/* ============================================
   10. COOKIE BANNER
   ============================================ */

.tm-cookie-banner {
	position: fixed;
	bottom: 2rem;
	left: 50%;
	transform: translateX(-50%);
	background-color: #16181d;
	border: 2px solid #f59e0b;
	border-radius: 12px;
	padding: 1.5rem 2rem;
	max-width: 600px;
	width: calc(100% - 4rem);
	z-index: 1001;
	display: none;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
	animation: tm-slide-up 0.5s ease-out;
}

.tm-cookie-banner.tm-show {
	display: block;
}

.tm-cookie-banner p {
	margin-bottom: 1rem;
	color: #f9fafb;
}

.tm-cookie-banner-actions {
	display: flex;
	gap: 1rem;
	align-items: center;
}

.tm-btn-cookie-accept {
	background-color: #10b981;
	color: #ffffff;
	padding: 0.75rem 1.5rem;
	border-radius: 50px;
	font-weight: 600;
	transition: all 0.4s ease;
}

.tm-btn-cookie-accept:hover {
	background-color: #059669;
	transform: translateY(-2px);
}

.tm-cookie-link {
	color: #f59e0b;
	font-size: 0.9rem;
}

/* ============================================
   11. ANIMATIONS
   ============================================ */

@keyframes tm-fade-up {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes tm-fade-in {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes tm-slide-left {
	from {
		opacity: 0;
		transform: translateX(-50px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes tm-slide-up {
	from {
		opacity: 0;
		transform: translateX(-50%) translateY(50px);
	}
	to {
		opacity: 1;
		transform: translateX(-50%) translateY(0);
	}
}

@keyframes tm-zoom-in {
	from {
		opacity: 0;
		transform: scale(0.9);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

.tm-animate-fade-up {
	animation: tm-fade-up 0.8s ease-out;
}

.tm-animate-fade-in {
	animation: tm-fade-in 0.8s ease-out;
}

.tm-animate-slide-left {
	animation: tm-slide-left 0.8s ease-out;
}

.tm-animate-zoom-in {
	animation: tm-zoom-in 0.8s ease-out;
}

/* Scroll animations */
.tm-scroll-animate {
	opacity: 0;
	transform: translateY(30px);
	transition: all 0.8s ease-out;
}

.tm-scroll-animate.tm-visible {
	opacity: 1;
	transform: translateY(0);
}

/* ============================================
   12. SECTION-SPECIFIC STYLES
   ============================================ */

/* Section Title */
.tm-section-title {
	text-align: center;
	margin-bottom: 3rem;
}

.tm-section-title h2 {
	font-size: 2.5rem;
	margin-bottom: 1rem;
	position: relative;
	display: inline-block;
}

.tm-section-title h2::after {
	content: '';
	position: absolute;
	bottom: -10px;
	left: 50%;
	transform: translateX(-50%);
	width: 80px;
	height: 4px;
	background: linear-gradient(90deg, #f59e0b 0%, #10b981 100%);
	border-radius: 2px;
}

.tm-section-subtitle {
	color: #d1d5db;
	font-size: 1.2rem;
	max-width: 700px;
	margin: 0 auto;
}

/* Facts List */
.tm-facts-list {
	display: grid;
	gap: 1.5rem;
	margin-top: 2rem;
}

.tm-fact-item {
	background-color: #16181d;
	padding: 1.5rem;
	border-radius: 12px;
	border-left: 4px solid #f59e0b;
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	transition: all 0.4s ease;
}

.tm-fact-item:hover {
	transform: translateX(10px);
	box-shadow: 0 4px 20px rgba(245, 158, 11, 0.2);
}

.tm-fact-icon {
	font-size: 2rem;
	color: #10b981;
	flex-shrink: 0;
}

.tm-fact-content h4 {
	color: #ffffff;
	margin-bottom: 0.5rem;
	font-size: 1.2rem;
}

.tm-fact-content p {
	color: #d1d5db;
	margin: 0;
}

/* Team Cards */
.tm-team-card {
	background-color: #16181d;
	border-radius: 12px;
	overflow: hidden;
	transition: all 0.4s ease;
	border: 1px solid #374151;
}

.tm-team-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 12px 40px rgba(245, 158, 11, 0.2);
	border-color: #f59e0b;
}

.tm-team-photo {
	width: 100%;
	height: 300px;
	background: linear-gradient(135deg, #374151 0%, #1f2128 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 4rem;
	color: #f59e0b;
}

.tm-team-info {
	padding: 2rem;
	text-align: center;
}

.tm-team-info h3 {
	color: #ffffff;
	margin-bottom: 0.5rem;
}

.tm-team-role {
	color: #f59e0b;
	font-weight: 600;
	margin-bottom: 1rem;
	display: block;
}

.tm-team-info p {
	color: #d1d5db;
	line-height: 1.8;
}

/* Contact Info */
.tm-contact-info-list {
	display: grid;
	gap: 1.5rem;
}

.tm-contact-info-item {
	background-color: #16181d;
	padding: 1.5rem;
	border-radius: 12px;
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	border: 1px solid #374151;
	transition: all 0.4s ease;
}

.tm-contact-info-item:hover {
	border-color: #10b981;
	box-shadow: 0 4px 20px rgba(16, 185, 129, 0.2);
}

.tm-contact-info-icon {
	font-size: 2rem;
	color: #10b981;
	flex-shrink: 0;
}

.tm-contact-info-content h4 {
	color: #ffffff;
	margin-bottom: 0.5rem;
	font-size: 1.1rem;
}

.tm-contact-info-content p {
	color: #d1d5db;
	margin: 0;
}

/* Map Container */
.tm-map-container {
	width: 100%;
	height: 100%;
	background-color: #16181d;
	border-radius: 12px;
	overflow: hidden;
	border: 2px solid #374151;
}

.tm-map {
	height: 100%;
	min-height: 400px;

	border-radius: 0.5rem;

	overflow: hidden;
}

@media (max-width: 768px) {
	.tm-map {
		height: 400px;
		/* min-width: auto; */
	}
}

.iti {
	width: 100% !important;
}
.iti input[type='tel'] {
	width: 100% !important;
}

.tm-contact-map {
	position: relative;
	height: 100%;
	min-height: 400px;

	/* flex: 1; */

	/* margin-top: 2rem; */
	border-radius: 0.5rem;
	/* overflow: hidden; */
}

.tm-map-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;

	height: 100%;
	border-radius: 0.5rem;

	background-color: rgba(0, 0, 0, 0.1);
	z-index: 1;
	cursor: pointer;
}

/* Resource Categories */
.tm-resource-category {
	background-color: #16181d;
	border-radius: 12px;
	padding: 2rem;
	border: 1px solid #374151;
	transition: all 0.4s ease;
}

.tm-resource-category:hover {
	border-color: #10b981;
	box-shadow: 0 8px 30px rgba(16, 185, 129, 0.15);
}

.tm-resource-category h3 {
	color: #f59e0b;
	margin-bottom: 1.5rem;
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.tm-resource-category h3 i {
	font-size: 1.8rem;
}

.tm-resource-list {
	display: grid;
	gap: 1rem;
}

.tm-resource-item {
	background-color: #0b0c10;
	padding: 1rem;
	border-radius: 8px;
	border-left: 3px solid #10b981;
	transition: all 0.4s ease;
}

.tm-resource-item:hover {
	transform: translateX(8px);
	border-left-color: #f59e0b;
}

.tm-resource-item h5 {
	color: #ffffff;
	margin-bottom: 0.5rem;
	font-size: 1.1rem;
}

.tm-resource-item p {
	color: #d1d5db;
	margin: 0;
	font-size: 0.95rem;
}

/* Extraction Methods */
.tm-method-card {
	background: linear-gradient(135deg, #16181d 0%, #1f2128 100%);
	border-radius: 12px;
	padding: 2.5rem;
	border: 2px solid #374151;
	transition: all 0.4s ease;
	position: relative;
	overflow: hidden;
}

.tm-method-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 4px;
	background: linear-gradient(90deg, #f59e0b 0%, #10b981 100%);
}

.tm-method-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 12px 40px rgba(245, 158, 11, 0.2);
	border-color: #f59e0b;
}

.tm-method-icon {
	font-size: 3.5rem;
	color: #f59e0b;
	margin-bottom: 1.5rem;
	display: block;
}

.tm-method-card h3 {
	color: #ffffff;
	margin-bottom: 1rem;
	font-size: 1.6rem;
}

.tm-method-card p {
	color: #d1d5db;
	line-height: 1.8;
	margin-bottom: 1.5rem;
}

.tm-method-features {
	display: grid;
	gap: 0.75rem;
	margin-top: 1.5rem;
}

.tm-method-feature {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	color: #d1d5db;
}

.tm-method-feature i {
	color: #10b981;
	font-size: 1.1rem;
}

/* Quote Block */
.tm-quote-block {
	background: linear-gradient(135deg, #16181d 0%, #1f2128 100%);
	border-left: 4px solid #f59e0b;
	padding: 2.5rem;
	border-radius: 12px;
	margin: 3rem 0;
	text-align: center;
	position: relative;
}

.tm-quote-icon {
	font-size: 3rem;
	color: #f59e0b;
	opacity: 0.3;
	position: absolute;
	top: 1rem;
	left: 1rem;
}

.tm-quote-text {
	font-size: 1.5rem;
	font-style: italic;
	color: #ffffff;
	margin-bottom: 1rem;
	line-height: 1.6;
}

.tm-quote-author {
	color: #10b981;
	font-weight: 600;
	font-size: 1.1rem;
}

/* Timeline */
.tm-timeline {
	position: relative;
	padding-left: 3rem;
	margin-top: 3rem;
}

.tm-timeline::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	width: 2px;
	background: linear-gradient(180deg, #f59e0b 0%, #10b981 100%);
}

.tm-timeline-item {
	position: relative;
	margin-bottom: 3rem;
	padding-left: 2rem;
}

.tm-timeline-item::before {
	content: '';
	position: absolute;
	left: -58px;
	top: 0;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background-color: #f59e0b;
	border: 3px solid #0b0c10;
}

.tm-timeline-content {
	background-color: #16181d;
	padding: 1.5rem;
	border-radius: 12px;
	border: 1px solid #374151;
}

.tm-timeline-content h4 {
	color: #f59e0b;
	margin-bottom: 0.75rem;
}

.tm-timeline-content p {
	color: #d1d5db;
	margin: 0;
}

/* Stats Grid */
.tm-stats-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 2rem;
	margin: 3rem 0;
}

.tm-stat-card {
	background: linear-gradient(135deg, #16181d 0%, #1f2128 100%);
	padding: 2rem;
	border-radius: 12px;
	text-align: center;
	border: 2px solid #374151;
	transition: all 0.4s ease;
}

.tm-stat-card:hover {
	border-color: #10b981;
	transform: translateY(-5px);
	box-shadow: 0 8px 30px rgba(16, 185, 129, 0.2);
}

.tm-stat-number {
	font-size: 3rem;
	font-weight: 700;
	color: #f59e0b;
	margin-bottom: 0.5rem;
	display: block;
}

.tm-stat-label {
	color: #d1d5db;
	font-size: 1.1rem;
	font-weight: 600;
}

/* Feature Grid */
.tm-feature-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 2rem;
	margin-top: 3rem;
}

.tm-feature-item {
	display: flex;
	align-items: flex-start;
	gap: 1.5rem;
	background-color: #16181d;
	padding: 2rem;
	border-radius: 12px;
	border: 1px solid #374151;
	transition: all 0.4s ease;
}

.tm-feature-item:hover {
	border-color: #10b981;
	transform: translateX(10px);
}

.tm-feature-icon {
	font-size: 2.5rem;
	color: #f59e0b;
	flex-shrink: 0;
}

.tm-feature-content h4 {
	color: #ffffff;
	margin-bottom: 0.75rem;
	font-size: 1.3rem;
}

.tm-feature-content p {
	color: #d1d5db;
	margin: 0;
	line-height: 1.8;
}

/* Content Sections */
.tm-content-section {
	margin: 4rem 0;
}

.tm-content-section h2 {
	color: #f59e0b;
	margin-bottom: 1.5rem;
}

.tm-content-section h3 {
	color: #ffffff;
	margin-top: 2rem;
	margin-bottom: 1rem;
}

.tm-content-section p {
	color: #d1d5db;
	line-height: 1.8;
	margin-bottom: 1.5rem;
}

.tm-content-section ul {
	list-style: none;
	padding: 0;
	margin: 1.5rem 0;
}

.tm-content-section li {
	color: #d1d5db;
	padding-left: 2rem;
	margin-bottom: 1rem;
	position: relative;
	line-height: 1.8;
}

.tm-content-section li::before {
	content: '\f0da';
	font-family: 'Font Awesome 6 Free';
	font-weight: 900;
	position: absolute;
	left: 0;
	color: #10b981;
}

/* Image Gallery */
.tm-gallery {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
	margin: 3rem 0;
}

.tm-gallery-item {
	position: relative;
	height: 250px;
	border-radius: 12px;
	overflow: hidden;
	background-color: #16181d;
	border: 2px solid #374151;
	transition: all 0.4s ease;
}

.tm-gallery-item:hover {
	transform: scale(1.05);
	border-color: #f59e0b;
	box-shadow: 0 8px 30px rgba(245, 158, 11, 0.3);
}

.tm-gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* ============================================
   14. UTILITY CLASSES FOR SPACING
   ============================================ */

.tm-py-1 {
	padding-top: 1rem;
	padding-bottom: 1rem;
}
.tm-py-2 {
	padding-top: 2rem;
	padding-bottom: 2rem;
}
.tm-py-3 {
	padding-top: 3rem;
	padding-bottom: 3rem;
}
.tm-py-4 {
	padding-top: 4rem;
	padding-bottom: 4rem;
}
.tm-py-5 {
	padding-top: 5rem;
	padding-bottom: 5rem;
}

.tm-px-1 {
	padding-left: 1rem;
	padding-right: 1rem;
}
.tm-px-2 {
	padding-left: 2rem;
	padding-right: 2rem;
}
.tm-px-3 {
	padding-left: 3rem;
	padding-right: 3rem;
}

.tm-mt-1 {
	margin-top: 1rem;
}
.tm-mt-2 {
	margin-top: 2rem;
}
.tm-mt-3 {
	margin-top: 3rem;
}
.tm-mt-4 {
	margin-top: 4rem;
}
.tm-mt-5 {
	margin-top: 5rem;
}

.tm-mb-1 {
	margin-bottom: 1rem;
}
.tm-mb-2 {
	margin-bottom: 2rem;
}
.tm-mb-3 {
	margin-bottom: 3rem;
}
.tm-mb-4 {
	margin-bottom: 4rem;
}
.tm-mb-5 {
	margin-bottom: 5rem;
}

/* ============================================
   15. PRINT STYLES
   ============================================ */

@media print {
	.tm-header,
	.tm-footer,
	.tm-cookie-banner,
	.tm-mobile-menu-btn {
		display: none;
	}

	body {
		background-color: white;
		color: black;
	}

	.tm-section {
		page-break-inside: avoid;
	}
}

/* ============================================
   16. ADDITIONAL COMPONENTS
   ============================================ */

/* Breadcrumb */
.tm-breadcrumb {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 1rem 0;
	font-size: 0.9rem;
}

.tm-breadcrumb a {
	color: #d1d5db;
}

.tm-breadcrumb a:hover {
	color: #f59e0b;
}

.tm-breadcrumb-separator {
	color: #374151;
}

.tm-breadcrumb-current {
	color: #f59e0b;
}

/* Loading Spinner */
.tm-spinner {
	display: inline-block;
	width: 40px;
	height: 40px;
	border: 4px solid #374151;
	border-top-color: #f59e0b;
	border-radius: 50%;
	animation: tm-spin 1s linear infinite;
}

@keyframes tm-spin {
	to {
		transform: rotate(360deg);
	}
}

/* Badge */
.tm-badge {
	display: inline-block;
	padding: 0.25rem 0.75rem;
	background-color: #f59e0b;
	color: #ffffff;
	font-size: 0.875rem;
	font-weight: 600;
	border-radius: 50px;
}

.tm-badge-success {
	background-color: #10b981;
}

.tm-badge-info {
	background-color: #3b82f6;
}

/* Alert */
.tm-alert {
	padding: 1rem 1.5rem;
	border-radius: 8px;
	margin-bottom: 1rem;
	border-left: 4px solid;
}

.tm-alert-info {
	background-color: rgba(59, 130, 246, 0.1);
	border-left-color: #3b82f6;
	color: #93c5fd;
}

.tm-alert-success {
	background-color: rgba(16, 185, 129, 0.1);
	border-left-color: #10b981;
	color: #6ee7b7;
}

.tm-alert-warning {
	background-color: rgba(245, 158, 11, 0.1);
	border-left-color: #f59e0b;
	color: #fcd34d;
}

/* Divider */
.tm-divider {
	height: 1px;
	background: linear-gradient(
		90deg,
		transparent 0%,
		#374151 50%,
		transparent 100%
	);
	margin: 3rem 0;
}

/* Back to Top Button */
.tm-back-to-top {
	position: fixed;
	bottom: 2rem;
	right: 2rem;
	width: 50px;
	height: 50px;
	background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
	color: #ffffff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transition: all 0.4s ease;
	z-index: 999;
	box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.tm-back-to-top.tm-show {
	opacity: 1;
	visibility: visible;
}

.tm-back-to-top:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 25px rgba(245, 158, 11, 0.5);
}

/* ============================================
   13. RESPONSIVE STYLES
   ============================================ */

@media (max-width: 1024px) {
	.tm-grid-4 {
		grid-template-columns: repeat(2, 1fr);
	}

	.tm-footer-content {
		grid-template-columns: repeat(2, 1fr);
	}

	.tm-stats-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.tm-hero h1 {
		font-size: 3rem;
	}

	.tm-nav {
		gap: 1rem;
	}
}

@media (max-width: 768px) {
	.tm-header {
		top: 10px;
		width: calc(100% - 2rem);
		padding: 1rem 20px;
	}

	.tm-nav {
		display: none;
	}

	.tm-mobile-menu-btn {
		display: block;
	}

	.tm-grid-2,
	.tm-grid-3,
	.tm-grid-4 {
		grid-template-columns: 1fr;
	}

	.tm-footer-content {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.tm-stats-grid {
		grid-template-columns: 1fr;
	}

	.tm-feature-grid {
		grid-template-columns: 1fr;
	}

	.tm-gallery {
		grid-template-columns: 1fr;
	}

	.tm-hero h1 {
		font-size: 2.5rem;
	}

	.tm-hero-subtitle {
		font-size: 1.2rem;
	}

	h2 {
		font-size: 2rem;
	}

	.tm-section {
		padding: 3rem 0;
	}

	.tm-timeline {
		padding-left: 2rem;
	}

	.tm-timeline-item {
		padding-left: 1.5rem;
	}

	.tm-container,
	.tm-container-wide {
		padding: 0 1rem;
	}

	.tm-timeline-item::before {
		left: -42px;
	}
}

@media (max-width: 480px) {
	.tm-grid-2,
	.tm-grid-3,
	.tm-grid-4 {
		grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	}

	.tm-feature-item {
		flex-direction: column;
	}

	.tm-section-title h2 {
		font-size: 1.5rem;
	}

	.tm-card-horizontal {
		grid-template-columns: 1fr;
	}

	.tm-resource-category h3 {
		font-size: 1.2rem;
	}

	.tm-content-section h3 {
		font-size: 1.5rem;
	}

	.tm-quote-text {
		font-size: 1.1rem;
	}
}

:root {
	--tm-bg-primary: #0b0c10;
	--tm-bg-secondary: #16181d;
	--tm-accent-gold: #f59e0b;
	--tm-accent-green: #10b981;
	--tm-accent-gray: #374151;
	--tm-text-primary: #f9fafb;
	--tm-text-secondary: #d1d5db;
	--tm-text-heading: #ffffff;
	--tm-border-color: #374151;
	--tm-shadow: rgba(0, 0, 0, 0.5);
}

.tm-legal-container {
	max-width: 1100px;

	margin: 150px auto;
	background: var(--tm-bg-secondary);
	border-radius: 12px;
	box-shadow: 0 10px 40px var(--tm-shadow);
	overflow: hidden;
	border: 1px solid var(--tm-border-color);
}

/* === ЗАГОЛОВОК СТРАНИЦЫ === */
.tm-legal-header {
	background: linear-gradient(135deg, var(--tm-accent-gray) 0%, #2a2f3f 100%);
	padding: 60px 50px;
	border-bottom: 3px solid var(--tm-accent-gold);
	position: relative;
	overflow: hidden;
}

.tm-legal-header::before {
	content: '';
	position: absolute;
	top: -50%;
	right: -10%;
	width: 400px;
	height: 400px;
	background: radial-gradient(
		circle,
		rgba(245, 158, 11, 0.15) 0%,
		transparent 70%
	);
	border-radius: 50%;
	pointer-events: none;
}

.tm-legal-title {
	font-size: 42px;
	font-weight: 700;
	color: var(--tm-text-heading);
	margin-bottom: 15px;
	letter-spacing: -0.5px;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.tm-legal-subtitle {
	font-size: 16px;
	color: var(--tm-accent-gold);
	margin-bottom: 30px;
	font-weight: 500;
	letter-spacing: 0.5px;
}

.tm-legal-company-info {
	background: rgba(11, 12, 16, 0.6);
	padding: 25px;
	border-radius: 8px;
	border-left: 4px solid var(--tm-accent-green);
	backdrop-filter: blur(10px);
}

.tm-legal-company-info p {
	margin-bottom: 8px;
	font-size: 15px;
	color: var(--tm-text-secondary);
}

.tm-legal-company-info p:last-child {
	margin-bottom: 0;
}

.tm-legal-company-info strong {
	color: var(--tm-text-heading);
	font-size: 18px;
}

.tm-legal-company-info a {
	color: var(--tm-accent-gold);
	text-decoration: none;
	transition: color 0.3s ease;
}

.tm-legal-company-info a:hover {
	color: var(--tm-accent-green);
	text-decoration: underline;
}

/* === СЕКЦИИ КОНТЕНТА === */
.tm-legal-section {
	padding: 50px;
	border-bottom: 1px solid var(--tm-border-color);
	position: relative;
	transition: background-color 0.3s ease;
}

.tm-legal-section:last-of-type {
	border-bottom: none;
}

.tm-legal-section:hover {
	background: rgba(245, 158, 11, 0.02);
}

/* Номер секции */
.tm-legal-section-number {
	position: absolute;
	display: none;
	top: 40px;
	left: -15px;
	font-size: 72px;
	font-weight: 900;
	color: rgba(245, 158, 11, 0.15);
	line-height: 1;
	user-select: none;
	z-index: 0;
}

.tm-legal-section-title {
	font-size: 28px;
	font-weight: 700;
	color: var(--tm-text-heading);
	margin-bottom: 25px;
	position: relative;
	z-index: 1;
	padding-left: 20px;
	border-left: 4px solid var(--tm-accent-gold);
}

.tm-legal-section-content {
	position: relative;
	z-index: 1;
}

.tm-legal-section-content p {
	margin-bottom: 20px;
	color: var(--tm-text-secondary);
}

.tm-legal-section-content p:last-child {
	margin-bottom: 0;
}

.tm-legal-section-content strong {
	color: var(--tm-text-primary);
	font-weight: 600;
}

/* === СПИСКИ === */
.tm-legal-list {
	list-style: none;
	margin: 20px 0;
	padding-left: 0;
}

.tm-legal-list li {
	position: relative;
	padding-left: 35px;
	margin-bottom: 15px;
	color: var(--tm-text-secondary);
	line-height: 1.7;
}

.tm-legal-list li::before {
	content: '◆';
	position: absolute;
	left: 0;
	color: var(--tm-accent-green);
	font-size: 12px;
	top: 3px;
}

.tm-legal-list li strong {
	color: var(--tm-text-primary);
}

/* === ССЫЛКИ === */
.tm-legal-section-content a {
	color: var(--tm-accent-gold);
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: all 0.3s ease;
}

.tm-legal-section-content a:hover {
	color: var(--tm-accent-green);
	border-bottom-color: var(--tm-accent-green);
}

/* === КОНТАКТНЫЙ БЛОК === */
.tm-legal-contact-box {
	background: linear-gradient(
		135deg,
		rgba(245, 158, 11, 0.1) 0%,
		rgba(16, 185, 129, 0.1) 100%
	);
	padding: 30px;
	border-radius: 8px;
	border: 2px solid var(--tm-border-color);
	margin-top: 25px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.tm-legal-contact-box p {
	margin-bottom: 10px;
	line-height: 1.9;
	color: var(--tm-text-primary);
}

.tm-legal-contact-box strong {
	font-size: 20px;
	color: var(--tm-accent-gold);
}

/* === COOKIE ТАБЛИЦА === */
.tm-legal-cookie-table {
	margin-top: 25px;
}

.tm-legal-cookie-table h3 {
	font-size: 20px;
	color: var(--tm-accent-gold);
	margin-top: 30px;
	margin-bottom: 20px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--tm-border-color);
}

.tm-legal-cookie-item {
	background: rgba(55, 65, 81, 0.3);
	padding: 20px;
	border-radius: 6px;
	margin-bottom: 15px;
	border-left: 3px solid var(--tm-accent-green);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tm-legal-cookie-item:hover {
	transform: translateX(5px);
	box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.tm-legal-cookie-item p {
	margin-bottom: 8px;
	font-size: 14px;
}

.tm-legal-cookie-item p:last-child {
	margin-bottom: 0;
}

/* === СПЕЦИАЛЬНЫЕ ЭЛЕМЕНТЫ === */
.tm-legal-note {
	background: rgba(16, 185, 129, 0.1);
	padding: 20px;
	border-radius: 6px;
	border-left: 4px solid var(--tm-accent-green);
	margin-top: 20px;
	font-style: italic;
	color: var(--tm-text-primary);
}

.tm-legal-warning {
	background: rgba(245, 158, 11, 0.1);
	padding: 20px;
	border-radius: 6px;
	border-left: 4px solid var(--tm-accent-gold);
	margin-top: 20px;
	color: var(--tm-text-primary);
}

.tm-legal-final-note {
	margin-top: 30px;
	padding-top: 30px;
	border-top: 2px dashed var(--tm-border-color);
	font-size: 15px;
	color: var(--tm-text-secondary);
	font-style: italic;
}

/* === ФУТЕР === */
.tm-legal-footer {
	background: var(--tm-bg-primary);
	padding: 40px 50px;
	text-align: center;
	border-top: 3px solid var(--tm-accent-gold);
}

.tm-legal-footer p {
	color: var(--tm-text-secondary);
	font-size: 14px;
	margin-bottom: 10px;
}

.tm-legal-footer p:last-child {
	margin-bottom: 0;
}

.tm-legal-footer-links {
	margin-top: 15px;
}

.tm-legal-footer-links a {
	color: var(--tm-accent-gold);
	text-decoration: none;
	margin: 0 10px;
	transition: color 0.3s ease;
}

.tm-legal-footer-links a:hover {
	color: var(--tm-accent-green);
}

/* === АДАПТИВНОСТЬ === */
@media (max-width: 768px) {
	.tm-legal-body {
		padding: 20px 10px;
	}

	.tm-legal-container {
		margin: 150px 20px;
	}

	.tm-legal-header {
		padding: 40px 30px;
	}

	.tm-legal-title {
		font-size: 2rem;
	}

	.tm-legal-subtitle {
		font-size: 14px;
	}

	.tm-legal-company-info {
		padding: 20px;
	}

	.tm-legal-section {
		padding: 35px 25px;
	}

	.tm-legal-section-number {
		font-size: 48px;
		top: 30px;
		left: -5px;
	}

	.tm-legal-section-title {
		font-size: 22px;
		padding-left: 15px;
	}

	.tm-legal-list li {
		padding-left: 25px;
	}

	.tm-legal-contact-box {
		padding: 20px;
	}

	.tm-legal-footer {
		padding: 30px 25px;
	}

	.tm-legal-footer-links a {
		display: block;
		margin: 10px 0;
	}
}

@media (max-width: 480px) {
	.tm-legal-body {
		font-size: 15px;
	}

	.tm-legal-header {
		padding: 30px 20px;
	}

	.tm-legal-title {
		font-size: 1.3rem;
	}

	.tm-legal-section {
		padding: 25px 20px;
	}

	.tm-legal-section-number {
		font-size: 36px;
		opacity: 0.8;
	}

	.tm-legal-section-title {
		font-size: 20px;
	}

	.tm-legal-cookie-table h3 {
		font-size: 18px;
	}
}
