/* These variables keep the TT Security colors consistent across the whole page. */
:root {
  --tt-dark: #071f19;
  --tt-dark-2: #061511;
  --tt-red: #d71920;
  --tt-red-dark: #a90f16;
  --tt-gold: #f7b733;
  --tt-text: #16211d;
  --tt-muted: #66736d;
  --tt-border: rgba(255, 255, 255, 0.22);
  --tt-soft: #f4f7f5;
  --tt-shadow: 0 24px 70px rgba(3, 17, 13, 0.22);
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  color: var(--tt-text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #ffffff;
  overflow-x: hidden;
}

/* This link helps keyboard users jump past the navigation quickly. */
.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2000;
  padding: 0.65rem 0.9rem;
  color: #ffffff;
  background: var(--tt-red);
  border-radius: 0.35rem;
  transform: translateY(-140%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* Topbar Styles */
.topbar {
  background: var(--tt-dark-2);
  color: rgba(255, 255, 255, 0.75);
  height: 40px;
  font-size: 0.8rem;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  z-index: 1030;
}

.topbar-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.topbar-icon {
  font-size: 0.9rem;
}

.topbar a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.topbar a:hover {
  color: var(--tt-red);
}

.site-header {
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(7, 31, 25, 0.08);
  box-shadow: 0 10px 34px rgba(3, 17, 13, 0.06);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: box-shadow 0.25s ease, background-color 0.25s ease;
  z-index: 1020;
  top: 40px;
}

@media (max-width: 991.98px) {
  .site-header {
    top: 0;
  }
}

.site-header.is-scrolled {
  box-shadow: 0 14px 44px rgba(3, 17, 13, 0.12);
}

.navbar {
  padding-block: 0.7rem !important;
  transition: padding 0.3s ease;
}

.is-scrolled .navbar {
  padding-block: 0.55rem !important;
}

.navbar-brand {
  min-width: 0;
  transition: transform 0.3s ease;
}

.navbar-brand:hover {
  transform: translateY(-1px);
}

.brand-mark {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  overflow: hidden;
  border: 1px solid rgba(7, 31, 25, 0.1);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(7, 31, 25, 0.08);
  transition: all 0.3s ease;
}

.navbar-brand:hover .brand-mark {
  border-color: var(--tt-red);
  box-shadow: 0 6px 16px rgba(215, 25, 32, 0.15);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-copy {
  display: grid;
  line-height: 1.1;
}

.brand-copy strong {
  color: var(--tt-dark);
  font-size: clamp(1.02rem, 1.5vw, 1.22rem);
  font-weight: 900;
  letter-spacing: -0.03em;
}

.brand-copy small {
  color: var(--tt-muted);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
}

.navbar-nav {
  align-items: center;
  gap: 0.2rem;
  padding: 0.25rem;
  border: 1px solid rgba(7, 31, 25, 0.08);
  border-radius: 8px;
  background: rgba(244, 247, 245, 0.82);
}

.navbar .nav-link {
  color: var(--tt-dark);
  border-radius: 6px;
  font-weight: 800;
  padding: 0.52rem 0.9rem;
  font-size: 0.85rem;
  text-transform: none;
  letter-spacing: 0;
  position: relative;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.navbar .nav-link::after {
  display: none;
}

.navbar .nav-link:hover {
  color: var(--tt-red-dark);
  background: rgba(215, 25, 32, 0.08);
}

.navbar .nav-link.active {
  color: #ffffff;
  background: var(--tt-red);
}

/* Dropdown menus stay above the hero and remain readable on desktop and mobile. */
.navbar .dropdown-menu {
  min-width: 17rem;
  margin-top: 0.8rem;
  padding: 0.65rem;
  border: 1px solid rgba(7, 31, 25, 0.1);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 22px 54px rgba(3, 17, 13, 0.16);
  z-index: 1100;
}

.navbar .dropdown-item {
  padding: 0.78rem 0.9rem;
  color: var(--tt-dark);
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 6px;
  white-space: normal;
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus {
  color: #ffffff;
  background: var(--tt-red);
}

@media (min-width: 992px) {
  .navbar .dropdown:hover > .dropdown-menu,
  .navbar .dropdown:focus-within > .dropdown-menu {
    display: block;
  }
}

.header-call {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.74rem 1.15rem;
  background: var(--tt-dark);
  color: #ffffff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.82rem;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 4px 12px rgba(7, 31, 25, 0.15);
}

.header-call:hover {
  background: var(--tt-red);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(215, 25, 32, 0.25);
}

.navbar-toggler {
  border: 1px solid rgba(7, 31, 25, 0.12);
  border-radius: 8px;
  padding: 0;
  width: 44px;
  height: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  position: relative;
  background: #f4f7f5;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  background-image: none !important;
  width: 24px;
  height: 2px;
  background-color: var(--tt-dark);
  display: block;
  transition: all 0.3s ease;
  position: relative;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 2px;
  background-color: var(--tt-dark);
  transition: all 0.3s ease;
}

.navbar-toggler-icon::before { transform: translateY(-8px); }
.navbar-toggler-icon::after { transform: translateY(8px); }

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background-color: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
  transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
  transform: rotate(-45deg);
}

.hero {
  position: relative;
  min-height: min(85dvh, 860px);
  margin-top: 100px;
  background: var(--tt-dark-2);
  overflow: hidden;
}

@media (max-width: 991.98px) {
  .hero {
    margin-top: 60px;
  }
}

.hero .carousel-inner,
.hero .carousel-item {
  height: min(85dvh, 860px);
  min-height: 650px;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 8s ease-out;
}

.carousel-item.active .hero-image {
  animation: hero-zoom 10s ease-out forwards;
}

@keyframes hero-zoom {
  from { transform: scale(1); }
  to { transform: scale(1.15); }
}

/* The layered overlay keeps white text readable on bright outdoor photos. */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(3, 14, 11, 0.95) 0%, rgba(3, 14, 11, 0.75) 40%, rgba(3, 14, 11, 0.4) 70%, rgba(3, 14, 11, 0.85) 100%),
    radial-gradient(circle at 20% 50%, rgba(215, 25, 32, 0.12) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  padding-top: 2rem;
  padding-bottom: 3rem;
}

.hero-panel {
  width: min(100%, 620px);
  margin-left: clamp(0rem, 2vw, 1.2rem);
  padding: clamp(1.5rem, 3.5vw, 3.5rem);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--tt-red);
}

.hero-kicker {
  margin-bottom: 1rem;
  color: var(--tt-red);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.85rem;
  opacity: 0;
}

.section-label {
  margin-bottom: 0.7rem;
  color: var(--tt-red);
  font-weight: 800;
  letter-spacing: 0.01em;
}

.hero h1 {
  max-width: 15ch;
  margin-bottom: 1.2rem;
  font-size: clamp(2.2rem, 4.2vw, 3.8rem);
  font-weight: 900;
  line-height: 0.94;
  letter-spacing: -0.02em;
  opacity: 0;
}

.hero-text {
  max-width: 50ch;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 1.1vw, 1.15rem);
  line-height: 1.6;
  opacity: 0;
}

.hero-actions {
  opacity: 0;
}

/* Animations for content when page loads */
.hero .hero-kicker { animation: hero-fade-up 0.8s ease-out 0.2s forwards; }
.hero h1 { animation: hero-fade-up 0.8s ease-out 0.4s forwards; }
.hero .hero-text { animation: hero-fade-up 0.8s ease-out 0.6s forwards; }
.hero .hero-actions { animation: hero-fade-up 0.8s ease-out 0.8s forwards; }

@keyframes hero-fade-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn {
  border-radius: 0;
  font-weight: 800;
  padding: 0.9rem 1.8rem;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-brand {
  color: #ffffff;
  background: var(--tt-red);
  border-color: var(--tt-red);
}

.btn-brand:hover,
.btn-brand:focus {
  color: #ffffff;
  background: var(--tt-red-dark);
  border-color: var(--tt-red-dark);
}

.btn-outline-light {
  border-width: 2px;
}

.btn-outline-light:hover,
.btn-outline-light:focus {
  color: var(--tt-dark);
  background: #ffffff;
  border-color: #ffffff;
}

/* Carousel Indicators */
.hero-indicators {
  position: absolute;
  left: clamp(1rem, 5vw, 4rem);
  bottom: clamp(1rem, 5vw, 4rem);
  margin: 0;
  justify-content: flex-start;
  z-index: 3;
}

.hero-indicators [data-bs-target] {
  width: 40px;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.3);
  border: none;
  margin-right: 8px;
  transition: all 0.3s ease;
}

.hero-indicators .active {
  background-color: var(--tt-red);
  width: 60px;
}

.hero-control {
  top: auto;
  right: clamp(1rem, 5vw, 4rem);
  bottom: clamp(1rem, 5vw, 4rem);
  left: auto;
  width: 54px;
  height: 54px;
  opacity: 1;
  color: var(--tt-dark);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  border: none;
  z-index: 3;
}

.hero-control:hover,
.hero-control:focus {
  color: #ffffff;
  background: var(--tt-red);
}

.hero-control span[aria-hidden="true"] {
  display: block;
  margin-top: -0.15rem;
  font-size: 1.8rem;
  line-height: 1;
}

.carousel-control-prev.hero-control {
  transform: translateX(-4.5rem);
}

.section-pad {
  padding: clamp(4.5rem, 9vw, 7rem) 0;
}

h2 {
  margin-bottom: 1.2rem;
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  font-weight: 900;
  line-height: 1.05;
}

.lead,
.section-intro {
  color: var(--tt-muted);
  line-height: 1.75;
}

.about-image-wrapper {
  position: relative;
  padding: 2rem;
}

.image-frame {
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  z-index: 1;
}

.about-image-wrapper:hover .image-frame {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.2);
}

.image-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.about-image-wrapper:hover .image-frame img {
  transform: scale(1.1);
}

.image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 2;
  pointer-events: none;
  margin: 1.25rem;
}

.experience-badge {
  position: absolute;
  left: 0;
  bottom: 0;
  background: var(--tt-red);
  color: #ffffff;
  padding: 1.5rem 2rem;
  z-index: 3;
  box-shadow: 0 15px 35px rgba(215, 25, 32, 0.3);
  animation: float-badge 4s ease-in-out infinite;
}

@keyframes float-badge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.exp-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.exp-text {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
  opacity: 0.9;
}

.decorative-dots {
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background-image: radial-gradient(var(--tt-red) 2px, transparent 2px);
  background-size: 15px 15px;
  z-index: 0;
  opacity: 0.2;
}

.image-frame,
.coverage-card {
  position: relative;
  overflow: hidden;
  box-shadow: var(--tt-shadow);
}

.mini-feature {
  height: 100%;
  padding: 1.25rem;
  border-left: 4px solid var(--tt-red);
  background: var(--tt-soft);
}

.mini-feature strong,
.mini-feature span {
  display: block;
}

.mini-feature span {
  margin-top: 0.45rem;
  color: var(--tt-muted);
  line-height: 1.55;
}

.services-section,
.contact-section {
  background: var(--tt-soft);
}

.service-card {
  padding: 2rem;
  color: #ffffff;
  background: linear-gradient(180deg, var(--tt-dark) 0%, var(--tt-dark-2) 100%);
  border-top: 5px solid var(--tt-red);
  box-shadow: 0 20px 50px rgba(6, 21, 17, 0.15);
}

.service-number {
  display: inline-block;
  margin-bottom: 2.4rem;
  color: var(--tt-gold);
  font-weight: 900;
}

.service-card h3,
.process-step h3 {
  font-size: 1.25rem;
  font-weight: 900;
}

.service-card p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}

.coverage-section {
  color: #ffffff;
  background: var(--tt-dark-2);
}

.coverage-section .section-intro,
.coverage-section p {
  color: rgba(255, 255, 255, 0.72);
}

.coverage-stat-card {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  transition: all 0.3s ease;
}

.coverage-stat-card:hover {
  background: rgba(215, 25, 32, 0.1);
  border-color: var(--tt-red);
}

.coverage-stat-card strong {
  display: block;
  font-size: 2rem;
  color: var(--tt-red);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.coverage-stat-card span {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
}

.client-grid-wrapper {
  padding: 3rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.client-regions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.region-tag {
  padding: 0.4rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

.region-tag:hover {
  background: var(--tt-red);
  border-color: var(--tt-red);
  color: #ffffff;
}

.client-list-scroll {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
}

.client-item {
  padding: 0.5rem 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.client-item:last-child {
  border-bottom: none;
}

.client-item::before {
  content: "•";
  color: var(--tt-red);
  margin-right: 0.75rem;
  font-weight: 900;
}

.process-list {
  display: grid;
  gap: 1.15rem;
  margin-top: 2rem;
}

.process-step {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
}

.process-step > span {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  color: #ffffff;
  background: var(--tt-red);
  font-weight: 900;
}

.coverage-card {
  background: #000000;
}

.coverage-note {
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  left: 1.25rem;
  padding: 1.25rem;
  background: rgba(7, 31, 25, 0.86);
  border-left: 5px solid var(--tt-red);
}

.coverage-note strong,
.coverage-note span {
  display: block;
}

.coverage-note span {
  margin-top: 0.3rem;
  color: rgba(255, 255, 255, 0.76);
}

.contact-form {
  padding: clamp(1.5rem, 4vw, 2.4rem);
  background: #ffffff;
  box-shadow: var(--tt-shadow);
}

.form-label {
  color: var(--tt-text);
  font-weight: 800;
}

.form-control,
.form-select {
  border-radius: 0;
  border-color: #cdd8d3;
  padding: 0.85rem 1rem;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--tt-red);
  box-shadow: 0 0 0 0.2rem rgba(215, 25, 32, 0.18);
}

.form-note {
  margin-top: 0.9rem;
  color: var(--tt-muted);
  font-size: 0.92rem;
}

.site-footer {
  padding: 1.4rem 0;
  color: rgba(255, 255, 255, 0.72);
  background: var(--tt-dark);
}

@media (max-width: 991.98px) {
  .site-header {
    position: sticky;
    top: 0;
  }

  .navbar-collapse {
    margin-top: 1rem;
    padding: 1.25rem;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 18px 46px rgba(3, 17, 13, 0.14);
    border: 1px solid rgba(7, 31, 25, 0.1);
  }

  .navbar-nav {
    align-items: stretch;
    gap: 0;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .navbar .nav-link {
    padding: 0.8rem 0.85rem;
    border-bottom: 1px solid rgba(7, 31, 25, 0.08);
    border-radius: 0;
  }

  .navbar .nav-link:last-child {
    border-bottom: none;
  }

  .navbar .dropdown-menu {
    position: static !important;
    display: none;
    margin-top: 0;
    padding: 0.25rem 0 0.5rem 0.85rem;
    border: 0;
    border-left: 2px solid var(--tt-red);
    background: transparent;
    box-shadow: none;
  }

  .navbar .dropdown-menu.show {
    display: block;
  }

  .navbar-collapse:not(.show) .dropdown-menu.show {
    display: none;
  }

  .navbar .dropdown-item {
    padding: 0.6rem 0.75rem;
    border-radius: 4px;
  }

  .navbar .nav-link::after {
    left: 0;
    right: auto;
    width: 20px;
  }

  .header-call {
    margin-top: 1.5rem;
    justify-content: center;
    width: 100%;
  }

  .hero-content {
    padding-top: 3rem;
  }

  .hero-panel {
    margin-left: 0;
  }

  .hero h1 {
    max-width: 11.5ch;
  }

  .hero-control,
  .hero-indicators {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .row {
    margin-right: 0;
    margin-left: 0;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  .brand-copy strong {
    font-size: 1rem;
  }

  .brand-copy small {
    max-width: 12rem;
    font-size: 0.62rem;
  }

  .hero {
    min-height: 620px;
  }

  .hero .carousel-inner,
  .hero .carousel-item,
  .hero-image {
    min-height: 620px;
  }

  .hero-panel {
    padding: 1.25rem;
    box-shadow: inset 0 0 0 9px rgba(255, 255, 255, 0.03);
  }

  .process-step {
    flex-direction: column;
  }

  .coverage-note {
    position: static;
  }
}

.hero-split-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  min-height: 20vh;
  align-items: center;
  gap: 2rem;
}

.hero-visual-stack {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: polygon(5% 0%, 100% 0%, 95% 100%, 0% 100%);
  filter: grayscale(1) brightness(0.8);
  transition: all 0.6s ease;
}

.hero-main-image:hover {
  filter: grayscale(0) brightness(1);
  transform: scale(1.02);
}

.hero-floating-accent {
  position: absolute;
  bottom: 0;
  right: 0;
  background: var(--tt-red);
  padding: 0.5rem 1rem;
  color: white;
  z-index: 2;
  box-shadow: var(--tt-shadow);
  animation: float-slow 6s ease-in-out infinite alternate;
}

@keyframes float-slow {
  from { transform: translateY(0); }
  to { transform: translateY(-4px); }
}

.authoritative-title {
  font-family: serif;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.precise-tag {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--tt-red);
  margin-bottom: 0.4rem;
  position: relative;
}

.precise-tag::before {
  content: "";
  position: absolute;
  left: -1rem;
  top: 50%;
  width: 0.6rem;
  height: 1px;
  background: currentColor;
}

.hero-description {
  max-width: 45ch;
  font-size: 0.85rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1rem;
}

@media (max-width: 991.98px) {
  .hero-split-layout {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 1.5rem;
  }
  
  .hero-visual-stack {
    order: -1;
    height: 160px;
    margin-bottom: 1.5rem;
  }

  .hero-main-image {
    height: 100%;
    clip-path: none;
  }

  .precise-tag::before {
    display: none;
  }
}

.page-hero {
  position: relative;
  padding: clamp(1rem, 2vw, 1.5rem) 0;
  margin-top: 90px;
  background: var(--tt-dark-2);
  color: #ffffff;
  overflow: hidden;
  display: flex;
  align-items: center;
}

@media (max-width: 991.98px) {
  .page-hero {
    margin-top: 60px;
  }
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(180deg, rgba(7, 31, 25, 0.4) 0%, rgba(7, 31, 25, 0.95) 100%),
    url('../images/slider-1.png') center/cover no-repeat;
  z-index: 1;
  filter: brightness(0.6) contrast(1.1);
  animation: hero-bg-zoom 20s ease-in-out infinite alternate;
}

@keyframes hero-bg-zoom {
  from { transform: scale(1); }
  to { transform: scale(1.1); }
}

.page-hero-content {
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(30px);
  animation: hero-fade-up 1s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.hero-divider {
  width: 60px;
  height: 4px;
  background: var(--tt-red);
}

.text-white-opacity-75 {
  color: rgba(255, 255, 255, 0.75);
}

.fw-black {
  font-weight: 900;
}

.about-card {
  padding: 3rem;
  background: #ffffff;
  border: 1px solid var(--tt-soft);
  transition: all 0.3s ease;
}

/* Homepage refresh: this layer keeps the design grounded and responsive. */
.home-page {
  background: #f6f8f6;
}

/* Fixed navigation needs extra landing space when visitors use section links. */
.home-page main section {
  scroll-margin-top: 112px;
}

.home-page .topbar {
  background: #071611;
  color: rgba(255, 255, 255, 0.74);
}

.home-page .site-header {
  background: rgba(250, 252, 250, 0.96);
  border-bottom: 1px solid rgba(7, 31, 25, 0.08);
  box-shadow: 0 10px 34px rgba(3, 17, 13, 0.06);
}

.home-page .navbar {
  min-height: 64px;
}

.home-page .navbar .nav-link {
  color: #10231d;
  font-size: 0.82rem;
  letter-spacing: 0;
  text-transform: none;
}

.home-page .navbar .nav-link:hover {
  color: #9f1016;
}

.home-page .navbar .nav-link.active {
  color: #ffffff;
}

.home-page .header-call {
  min-width: 112px;
  justify-content: center;
  border-radius: 6px;
  background: #10231d;
  box-shadow: none;
}

.home-page .brand-copy strong {
  text-transform: none;
  letter-spacing: -0.02em;
}

.home-page .hero {
  min-height: min(82dvh, 790px);
  margin-top: 104px;
}

.home-page .hero .carousel-inner,
.home-page .hero .carousel-item {
  height: min(82dvh, 790px);
  min-height: 610px;
}

.home-page .hero-overlay {
  background:
    radial-gradient(circle at 50% 46%, rgba(197, 22, 29, 0.18) 0%, rgba(4, 16, 12, 0.2) 32%, rgba(4, 16, 12, 0.78) 72%),
    linear-gradient(180deg, rgba(4, 16, 12, 0.36) 0%, rgba(4, 16, 12, 0.68) 45%, rgba(4, 16, 12, 0.88) 100%);
}

.home-page .min-vh-hero {
  min-height: min(82dvh, 790px);
}

.home-page .hero-content {
  display: block;
  padding-top: 0;
  padding-bottom: 0;
}

.home-page .hero-copy {
  color: #ffffff;
  max-width: 820px;
  margin-inline: auto;
  padding-block: clamp(4rem, 8vw, 6rem);
}

.home-page .hero-kicker {
  margin-bottom: 1rem;
  color: #f26f65;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-page .hero h1 {
  max-width: 14ch;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 1.15rem;
  color: #ffffff;
  font-size: clamp(3.2rem, 6.2vw, 5.9rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.045em;
  opacity: 1;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.38);
  animation: none;
}

.home-page .hero-text {
  max-width: 45ch;
  margin-right: auto;
  margin-left: auto;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.58;
  opacity: 1;
  animation: none;
}

.home-page .hero-kicker,
.home-page .hero-actions {
  opacity: 1;
  animation: none;
}

.home-page .btn {
  border-radius: 0;
  letter-spacing: 0.02em;
  text-transform: none;
}

.home-page .btn:active {
  transform: translateY(1px);
}

.home-page .btn-brand {
  color: #ffffff;
  background: #c5161d;
  border-color: #c5161d;
}

.home-page .btn-brand:hover,
.home-page .btn-brand:focus {
  color: #ffffff;
  background: #9f1016;
  border-color: #9f1016;
}

.home-page .btn-quiet {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.54);
  background: rgba(255, 255, 255, 0.08);
}

.home-page .btn-quiet:hover,
.home-page .btn-quiet:focus {
  color: #10231d;
  background: #ffffff;
  border-color: #ffffff;
}

.home-page .hero-actions .btn {
  min-width: 11.5rem;
  white-space: nowrap;
}

.home-page .hero-indicators {
  right: 0;
  left: 0;
  bottom: clamp(1.5rem, 4vw, 3rem);
  justify-content: center;
}

.home-page .content-measure {
  max-width: 680px;
}

.home-page .section-label {
  color: #b9141a;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-page h2 {
  color: #10231d;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.home-page .lead,
.home-page .section-intro,
.home-page p {
  color: #586760;
}

.home-page .field-photo {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(7, 31, 25, 0.1);
  background: #e7ece9;
}

.home-page .field-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.home-page .field-photo-tight img {
  aspect-ratio: 5 / 4;
}

.home-page .plain-panel {
  padding: 1.4rem;
  border-top: 2px solid #c5161d;
  background: #f6f8f6;
}

.home-page .plain-panel strong {
  display: block;
  margin-bottom: 0.55rem;
  color: #10231d;
  font-size: 1.05rem;
}

.home-page .plain-panel p {
  margin-bottom: 0;
}

.home-page .services-section,
.home-page .contact-section {
  background: #eef3f0;
}

.home-page .service-card {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  justify-content: flex-start;
  padding: clamp(1.4rem, 2.4vw, 2.1rem);
  color: #ffffff;
  border: 0;
  background: #10231d;
  box-shadow: none;
}

.home-page .service-card-photo {
  background:
    linear-gradient(180deg, rgba(16, 35, 29, 0.84), rgba(16, 35, 29, 0.98)),
    url("../images/slider-3.png") center/cover;
}

.home-page .service-card-photo-alt {
  background:
    linear-gradient(180deg, rgba(16, 35, 29, 0.86), rgba(16, 35, 29, 0.98)),
    url("../images/slider-1.png") center/cover;
}

.home-page .service-card-light {
  color: #10231d;
  background: #ffffff;
  border: 1px solid rgba(7, 31, 25, 0.1);
}

.home-page .service-card h3 {
  margin-bottom: 0.85rem;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.home-page .service-card p {
  max-width: 34ch;
  margin-bottom: 0;
  color: currentColor;
  opacity: 0.74;
}

.home-page .coverage-section {
  background: #10231d;
}

.home-page .coverage-section h2,
.home-page .coverage-section h3,
.home-page .coverage-section h4 {
  color: #ffffff;
}

.home-page .coverage-section p,
.home-page .coverage-section .section-intro {
  color: rgba(255, 255, 255, 0.72);
}

.home-page .coverage-board {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 1rem;
}

.home-page .regions-panel,
.home-page .operations-panel {
  padding: clamp(1.3rem, 3vw, 2rem);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.045);
}

.home-page .regions-panel h3,
.home-page .operations-panel h3 {
  margin-bottom: 1.2rem;
  font-size: 1rem;
  letter-spacing: 0.01em;
}

.home-page .client-regions {
  gap: 0.55rem;
}

.home-page .region-tag {
  color: rgba(255, 255, 255, 0.82);
  text-transform: none;
  letter-spacing: 0;
  border-color: rgba(255, 255, 255, 0.14);
}

.home-page .process-list {
  gap: 0;
}

.home-page .process-step {
  padding: 1rem 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
}

.home-page .process-step h4 {
  margin-bottom: 0.3rem;
  font-size: 1rem;
}

.home-page .process-step p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.home-page .benefit-list {
  display: grid;
  gap: 0.75rem;
}

.home-page .benefit-item {
  display: block;
  padding: 1.1rem 0;
  border-top: 1px solid rgba(7, 31, 25, 0.12);
}

.home-page .benefit-item strong,
.home-page .benefit-item span {
  display: block;
}

.home-page .benefit-item strong {
  color: #10231d;
}

.home-page .benefit-item span {
  color: #586760;
}

.home-page .clients-section {
  background: #ffffff;
}

.home-page .client-ticker-wrapper {
  overflow: hidden;
  border-block: 1px solid rgba(7, 31, 25, 0.1);
}

.home-page .client-logo {
  min-width: 150px;
  height: 96px;
  display: grid;
  place-items: center;
  padding: 1rem;
  filter: grayscale(1);
  opacity: 0.78;
}

.home-page .client-logo img {
  max-width: 118px;
  max-height: 58px;
}

.home-page .contact-info-box {
  display: grid;
  gap: 1.5rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(7, 31, 25, 0.14);
}

.home-page .office-location h3 {
  margin-bottom: 0.75rem;
  color: #10231d;
  font-size: 1rem;
}

.home-page .office-location p {
  margin-bottom: 0.35rem;
}

.home-page .contact-info-box a {
  color: #9f1016;
}

.home-page .contact-form {
  border: 1px solid rgba(7, 31, 25, 0.1);
  box-shadow: none;
}

.home-page .form-control,
.home-page .form-select {
  border-radius: 0;
  border-color: #b9c7c1;
}

.home-page .form-control::placeholder {
  color: #65736d;
}

@media (prefers-reduced-motion: reduce) {
  .home-page *,
  .home-page *::before,
  .home-page *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 991.98px) {
  .home-page .hero {
    margin-top: 0;
    min-height: 680px;
  }

  .home-page .hero .carousel-inner,
  .home-page .hero .carousel-item,
  .home-page .min-vh-hero {
    height: 680px;
    min-height: 680px;
  }

  .home-page .navbar-collapse {
    border-radius: 0;
  }

  .home-page .hero h1 {
    max-width: 12ch;
    font-size: clamp(3rem, 11vw, 4.6rem);
  }

  .home-page .hero-copy {
    padding-block: 3rem;
  }

  .home-page .coverage-board {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .home-page .field-photo img,
  .home-page .field-photo-tight img {
    aspect-ratio: 4 / 3;
  }

  .home-page .service-card {
    min-height: auto;
  }
}

@media (max-width: 575.98px) {
  .home-page .hero {
    min-height: 640px;
  }

  .home-page .hero .carousel-inner,
  .home-page .hero .carousel-item,
  .home-page .min-vh-hero {
    height: 640px;
    min-height: 640px;
  }

  .home-page .hero-actions .btn {
    width: 100%;
  }
}

.about-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  border-color: var(--tt-red);
}

.about-card-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.value-card {
  height: 100%;
  padding: 2.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
}

.value-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--tt-red);
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.value-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.value-number {
  font-size: 0.85rem;
  font-weight: 900;
  color: var(--tt-red);
  letter-spacing: 0.2em;
  opacity: 0.6;
}

.value-icon-wrap {
  font-size: 2.2rem;
  transition: transform 0.4s ease;
}

.value-card:hover .value-icon-wrap {
  transform: scale(1.2) rotate(-5deg);
}

.value-card h3 {
  font-size: 1.4rem;
  font-weight: 900;
  margin-bottom: 1rem;
  color: #ffffff;
  letter-spacing: 0.02em;
}

.value-card p {
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  font-size: 0.95rem;
  margin-bottom: 0;
}

.value-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--tt-red);
  transition: width 0.4s ease;
}

.value-card:hover::after {
  width: 100%;
}

.staff-image-stack {
  position: relative;
}

.staff-badge {
  position: absolute;
  right: -2rem;
  bottom: 2rem;
  padding: 1.5rem;
  background: var(--tt-red);
  color: #ffffff;
  box-shadow: 0 15px 35px rgba(215, 25, 32, 0.3);
  z-index: 2;
  min-width: 180px;
}

.staff-badge strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1.1;
}

.staff-badge span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.8;
}

.staff-benefits {
  display: grid;
  gap: 1.5rem;
}

.benefit-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.benefit-icon {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  background: var(--tt-soft);
  color: var(--tt-red);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.9rem;
}

.benefit-item strong {
  display: block;
  font-size: 1.05rem;
  color: var(--tt-dark);
}

@media (max-width: 991.98px) {
  .staff-badge {
    position: static;
    margin-top: 1.5rem;
    right: auto;
    bottom: auto;
  }
}

.client-ticker-wrapper {
  overflow: hidden;
  padding-block: 2rem;
  position: relative;
}

.client-ticker-wrapper::before,
.client-ticker-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 150px;
  z-index: 2;
  pointer-events: none;
}

.client-ticker-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--tt-soft) 0%, transparent 100%);
}

.client-ticker-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--tt-soft) 0%, transparent 100%);
}

.client-ticker {
  display: flex;
  gap: 4rem;
  width: max-content;
  animation: ticker-slide 40s linear infinite;
}

.client-ticker:hover {
  animation-play-state: paused;
}

.client-logo {
  flex: 0 0 auto;
  width: 140px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: grayscale(1) opacity(0.5);
  transition: all 0.4s ease;
}

.client-logo:hover {
  filter: grayscale(0) opacity(1);
  transform: scale(1.1);
}

.client-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

@keyframes ticker-slide {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 2rem)); }
}

.office-card {
  padding: 2rem;
  background: var(--tt-soft);
  border-left: 5px solid var(--tt-red);
  transition: all 0.3s ease;
}

.office-card:hover {
  transform: translateX(10px);
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.office-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.office-icon {
  font-size: 1.5rem;
}

.contact-links {
  display: grid;
  gap: 0.5rem;
  margin-top: 1rem;
}

.contact-links a {
  color: var(--tt-text);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-links a:hover {
  color: var(--tt-red);
}

.contact-form-wrapper {
  border-top: 5px solid var(--tt-red);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
