:root {
  --tf-primary: #f97316;
  --tf-primary-soft: #fed7aa;
  --tf-dark: #020617;
  --tf-body: #0b1120;
  --tf-light: #f3f4f6;
  --tf-muted: #6b7280;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--tf-body);
  background-color: #fff;
}

/* NAVBAR */
.tf-navbar {
  background: linear-gradient(90deg, #020617, #111827);
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.tf-navbar .navbar-brand {
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.tf-logo-icon {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: conic-gradient(from 140deg, #f97316, #facc15, #f97316);
  position: relative;
  flex-shrink: 0;
}

.tf-logo-icon::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 6px;
  border: 2px solid rgba(15, 23, 42, 0.85);
}

.tf-navbar .nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(248, 250, 252, 0.85);
}

.tf-navbar .nav-link:hover,
.tf-navbar .nav-link:focus {
  color: #fff;
}

.tf-navbar .btn-primary {
  --bs-btn-bg: var(--tf-primary);
  --bs-btn-border-color: var(--tf-primary);
  --bs-btn-hover-bg: #ea580c;
  --bs-btn-hover-border-color: #ea580c;
}

/* HERO */
.tf-hero {
  min-height: 65vh;
  padding-top: 80px;
  padding-bottom: 32px;
  background: radial-gradient(circle at top left, #1f2937 0, #020617 45%, #020617 100%);
  color: #f9fafb;
}

.tf-kicker {
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  color: #e5e7eb;
}

.tf-accent-gradient {
  background: linear-gradient(120deg, #f97316, #facc15);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tf-hero-media {
  max-width: 480px;
  margin-inline: auto;
}

.tf-hero-shape {
  position: absolute;
  inset: 10%;
  border-radius: 32px;
  background: radial-gradient(circle at 0 0, rgba(249, 115, 22, 0.35), transparent 55%),
              radial-gradient(circle at 100% 100%, rgba(250, 204, 21, 0.2), transparent 45%);
  filter: blur(4px);
}

.tf-hero-img {
  position: relative;
  z-index: 1;
  object-fit: cover;
  max-height: 360px;
  width: 100%;
}

.tf-hero-badge {
  position: absolute;
  left: 10%;
  bottom: -18px;
  z-index: 2;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(249, 250, 251, 0.12);
  display: inline-flex;
  flex-direction: column;
  gap: 0.1rem;
}

.tf-hero-badge-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #9ca3af;
}

.tf-hero-badge strong {
  font-size: 0.9rem;
}

/* Ribbon */
.tf-ribbon {
  background: #020617;
  color: #e5e7eb;
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
}

.tf-ribbon-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 0.9rem;
}

.tf-ribbon-label {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.65rem;
  color: #9ca3af;
}

.tf-link-underline {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dashed rgba(249, 115, 22, 0.7);
}

.tf-link-underline:hover {
  color: #fff;
  border-bottom-style: solid;
}

/* Sections */
section {
  scroll-margin-top: 90px;
}

.bg-light {
  background-color: #f3f4f6 !important;
}

/* Service cards */
.tf-service-card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.25rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.tf-service-card img {
  object-fit: cover;
  height: 180px;
  width: 100%;
}

.tf-service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.1);
  border-color: rgba(249, 115, 22, 0.6);
}

/* Checklist */
.tf-checklist li {
  position: relative;
  padding-left: 2.1rem;
  margin-bottom: 1.2rem;
  font-size: 0.95rem;
  color: var(--tf-muted);
}

.tf-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #facc15, #f97316);
  box-shadow: 0 0 0 3px rgba(248, 250, 252, 0.9);
}

.tf-checklist li::after {
  content: "";
  position: absolute;
  left: 0.35rem;
  top: 0.55rem;
  width: 0.5rem;
  height: 0.28rem;
  border-left: 2px solid #111827;
  border-bottom: 2px solid #111827;
  transform: rotate(-45deg);
}

/* Stats card */
.tf-stats-card {
  background: radial-gradient(circle at top, #111827, #020617);
  color: #f9fafb;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.9);
}

.tf-stat {
  background: rgba(15, 23, 42, 0.65);
  border-radius: 1rem;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(148, 163, 184, 0.55);
}

.tf-stat-value {
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
}

.tf-stat-label {
  font-size: 0.75rem;
  color: #e5e7eb;
}

/* Timeline / steps */
.tf-timeline {
  position: relative;
}

.tf-timeline::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 12px;
  right: 12px;
  height: 1px;
  background: linear-gradient(90deg, rgba(148, 163, 184, 0.3), rgba(148, 163, 184, 0.1));
  display: none;
}

@media (min-width: 992px) {
  .tf-timeline::before {
    display: block;
  }
}

.tf-step {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.4rem 1.4rem 1.3rem 1.4rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.06);
  position: relative;
}

.tf-step-badge {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: #111827;
  color: #f9fafb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  border: 1px solid rgba(249, 115, 22, 0.8);
}

/* Gallery */
.tf-gallery-item {
  margin: 0;
  overflow: hidden;
  border-radius: 1rem;
  position: relative;
}

.tf-gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 220px;
  object-fit: cover;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.tf-gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.45), transparent 50%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.tf-gallery-item:hover img {
  transform: scale(1.03);
  filter: saturate(1.1);
}

.tf-gallery-item:hover::after {
  opacity: 1;
}

/* Contact */
.tf-contact-card {
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.25);
}

.tf-contact-card .form-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: #374151;
}

.tf-contact-card .form-control {
  border-radius: 0.75rem;
  border-color: rgba(148, 163, 184, 0.7);
  font-size: 0.95rem;
}

.tf-contact-card .form-control:focus {
  border-color: var(--tf-primary);
  box-shadow: 0 0 0 0.15rem rgba(249, 115, 22, 0.25);
}

.tf-contact-card .btn-primary {
  --bs-btn-bg: var(--tf-primary);
  --bs-btn-border-color: var(--tf-primary);
  --bs-btn-hover-bg: #ea580c;
  --bs-btn-hover-border-color: #ea580c;
}

/* Footer */
.tf-footer {
  font-size: 0.85rem;
}

/* Utilities */
.py-lg-6 {
  padding-top: 5rem !important;
  padding-bottom: 5rem !important;
}

.text-light-emphasis {
  color: rgba(148, 163, 184, 0.9) !important;
}

/* Responsive tweaks */
@media (max-width: 991.98px) {
  .tf-hero {
    text-align: center;
  }

  .tf-hero-badge {
    left: 50%;
    transform: translateX(-50%);
  }

  .tf-navbar .nav-link {
    padding-left: 0.25rem;
  }
}

.tf-logo-img {
  height: 40px;
  width: auto;
  display: block;
}

