/* =========================================================
   HOMEPAGE STYLES (loaded only by index.php)
   ---------------------------------------------------------
   Text lives in home-content.php, layout in index.php.

   - Sections built with the live-site components (problem,
     services, industries, process, FAQ, team) use classes from
     css/custom.css; the overrides for them are near the end of
     this file ("Background variants", "Consistency pass").
   - All other sections sit inside .tma-home and are styled here.
     Classes that would clash with custom.css carry a th- prefix.
   - Later blocks override earlier ones. The final say on
     spacing is the "Spacing system" block near the bottom.
   ========================================================= */
.tma-home {
  --th-navy: var(--navy-text);
  --th-dark: var(--navy-850);
  --th-dark-2: var(--navy-950);
  --th-orange: var(--orange);
  --th-orange-2: #ff6a1f;
  --th-light: var(--gray-50);
  --th-ink: var(--navy-text);
  --th-muted: var(--gray-600);
  --th-line: var(--gray-300);
  font-family: var(--font-body);
  color: var(--th-ink);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

html {
  scroll-padding-top: 90px;
}

.tma-home h1 {
  font-size: clamp(2rem,4.4vw,3.1rem);
  font-weight: 700;
}

.tma-home h2 {
  font-size: clamp(1.7rem,3.4vw,2.5rem);
  font-weight: 700;
}

.tma-home h3 {
  font-size: 1.2rem;
  font-weight: 700;
}

.tma-home p {
  margin: 0 0 1rem;
}

.tma-home a {
  text-decoration: none;
}

.tma-home section {
  padding: 74px 0;
}

@media(max-width: 767.98px) {
  .tma-home {
    font-size: 16px;
  }
  .tma-home section {
    padding: 56px 0;
  }
}

.tma-home .th-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--th-orange);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.tma-home .th-eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--th-orange);
  border-radius: 2px;
  flex: none;
}

.tma-home .th-lead {
  font-size: 16.5px;
  color: var(--th-muted);
  max-width: 80ch;
}

.tma-home .th-head h2 + .th-lead {
  margin-top: 16px;
}

.tma-home .th-head.center {
  margin: 0 auto;
  text-align: center;
}

.tma-home .th-head.center .th-eyebrow {
  justify-content: center;
}

.tma-home .th-head.center .th-lead {
  margin-left: auto;
  margin-right: auto;
}

.tma-home .section-light {
  background: var(--th-light);
}

/* Buttons: Bootstrap .btn themed via its own CSS variables */
.tma-home .th-btn {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .5px;
  text-transform: uppercase;
  padding: 12px 30px;
  border-radius: 2px;
  border-width: 2px;
  box-shadow: none;
  transition: .2s ease;
}

.tma-home .th-btn:hover {
  transform: translateY(-2px);
}

.tma-home .th-btn-outline {
  box-shadow: none;
}

.tma-home .th-btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--th-orange);
  --bs-btn-border-color: var(--th-orange);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--th-orange-2);
  --bs-btn-hover-border-color: var(--th-orange-2);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--th-orange-2);
  --bs-btn-active-border-color: var(--th-orange-2);
  --bs-btn-focus-shadow-rgb: 253,84,1;
}

.tma-home .th-btn-outline {
  --bs-btn-color: #fff;
  --bs-btn-bg: transparent;
  --bs-btn-border-color: rgba(255,255,255,.35);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: transparent;
  --bs-btn-hover-border-color: #fff;
  --bs-btn-active-color: #fff;
  --bs-btn-active-border-color: #fff;
}

/* hero */
.tma-home .th-hero {
  background: url(../images/hero-bg.jpg) top right/cover no-repeat,var(--th-dark-2);
  color: #fff;
  padding: 60px 0;
}

.tma-home .th-hero h1 {
  color: #fff;
}

.tma-home .th-hero .th-eyebrow {
  color: var(--th-orange);
}

.tma-home .th-hero .th-lead {
  color: #aab4c8;
  margin-top: 18px;
}

.tma-home .usp {
  margin: 22px 0 0;
}

.tma-home .usp li {
  color: #dbe3ee;
  font-size: .96rem;
}

.tma-home .usp svg {
  color: var(--th-orange);
  flex: none;
}

.tma-home .lead-form {
  background: #fff;
  border-radius: 14px;
  padding: 25px 25px 10px;
  box-shadow: 0 16px 40px rgba(0,0,0,.2);
}

.tma-home .lead-form h2 {
  font-size: 1.8rem;
  margin-bottom: 6px;
  text-align: center;
}

.tma-home .lead-form .sub {
  color: var(--th-muted);
  font-size: 1rem;
  margin-bottom: 14px;
  text-align: center;
}

.tma-home .lead-form iframe {
  display: block;
  width: 100%;
  min-height: 560px;
  border: 0;
}

@media(max-width: 575.98px) {
  .tma-home .th-hero {
    padding: 40px 0;
  }
  .tma-home .lead-form {
    padding: 18px 14px;
  }
}

/* stats strip */
.tma-home .stats {
  background: var(--th-dark-2);
  color: #fff;
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 26px 0;
}

.tma-home .stat b {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.9rem;
  color: #fff;
}

.tma-home .stat b span {
  color: var(--th-orange-2);
}

.tma-home .stat small {
  color: #9fb0c6;
  font-size: .82rem;
}

/* specialties marquee (moves right) */
.tma-home .specialties {
  background: var(--th-light);
  padding: 20px 0;
  overflow: hidden;
}

.tma-home .marquee {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: thMqRight 36s linear infinite;
}

.tma-home .marquee:hover {
  animation-play-state: paused;
}

@keyframes thMqRight {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}

.tma-home .chip {
  background: #fff;
  border: 1px solid var(--th-line);
  border-radius: 100px;
  padding: 10px 18px;
  font-size: .86rem;
  font-weight: 600;
  color: var(--th-navy);
  white-space: nowrap;
}

.tma-home .chip .dot {
  color: var(--th-orange);
  margin-right: 7px;
}

@media(prefers-reduced-motion: reduce) {
  .tma-home .marquee {
    animation: none;
    flex-wrap: wrap;
    width: auto;
    justify-content: center;
    padding: 0 12px;
  }
  .tma-home .marquee [aria-hidden="true"] {
    display: none;
  }
}

/* why us */
.tma-home .why-v2 {
  background: #fff;
}

.tma-home .th-why-card {
  background: #fff;
  border: 1px solid var(--th-line);
  border-radius: 14px;
  padding: 20px;
  transition: border-color .2s ease,box-shadow .2s ease,transform .2s ease;
}

.tma-home .th-why-card:hover {
  border-color: rgba(253,84,1,.5);
}

.tma-home .why-ic {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--orange-tint);
  color: var(--th-orange);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  margin-bottom: 14px;
}

.tma-home .th-why-card h3 {
  font-size: 1.02rem;
  margin-bottom: 6px;
}

.tma-home .th-why-card p {
  margin: 0;
  color: var(--th-muted);
  font-size: .9rem;
  line-height: 1.55;
}

.tma-home .why-visual {
  position: relative;
  height: 100%;
}

.tma-home .why-stats {
  background: #fff;
  border: 1px solid var(--th-line);
  border-top: 3px solid var(--th-orange);
  border-radius: 14px;
  padding: 18px 8px;
}

.tma-home .why-stats .ws {
  text-align: center;
  padding: 2px 10px;
  border-right: 1px solid var(--th-line);
}

.tma-home .why-stats .ws:last-child {
  border-right: 0;
}

.tma-home .why-stats .ws b {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1.15;
  color: var(--th-navy);
}

.tma-home .why-stats .ws b span {
  color: var(--th-orange);
}

.tma-home .why-stats .ws small {
  display: block;
  margin-top: 4px;
  font-size: .78rem;
  line-height: 1.3;
  color: var(--th-muted);
}

@media(max-width: 575.98px) {
  .tma-home .why-stats .ws:nth-child(2) {
    border-right: 0;
  }
  .tma-home .why-stats .ws:nth-child(-n+2) {
    border-bottom: 1px solid var(--th-line);
    padding-bottom: 14px;
    margin-bottom: 14px;
  }
}

.tma-home .why-img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  border-radius: 14px;
}

/* proof: vertical video + testimonials */
.tma-home .proof {
  background: var(--th-dark);
  color: #fff;
}

.tma-home .proof h2 {
  color: #fff;
}

.tma-home .proof .th-lead {
  color: #aab4c8;
}

.tma-home .video-vertical {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 9/16;
  max-height: 580px;
  max-width: 330px;
  margin: 0 auto;
  background: linear-gradient(150deg,#15315f,#051138) center/cover;
  border: 1px solid rgba(255,255,255,.12);
  cursor: pointer;
  display: grid;
  place-items: end center;
}

.tma-home .video-vertical::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,rgba(5,17,56,.35),rgba(5,17,56,.8));
}

.tma-home .vv-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 0 18px 30px;
}

.tma-home .play {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--th-orange);
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  transition: transform .15s ease;
}

.tma-home .video-vertical:hover .play {
  transform: scale(1.06);
}

.tma-home .play svg {
  margin-left: 5px;
}

.tma-home .vv-inner b {
  font-family: var(--font-head);
  font-size: 1.12rem;
  display: block;
}

.tma-home .vv-inner span {
  color: #aab4c8;
  font-size: .88rem;
}

.tma-home .video-vertical video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 4;
  background: #000;
}

.tma-home .proof .video-vertical {
  height: auto;
}

@media(min-width: 768px) {
  .tma-home .proof .video-vertical {
    aspect-ratio: auto;
    max-width: none;
    max-height: none;
    min-height: 520px;
    height: 100%;
  }
}

/* results panel (real numbers from the live case study) */
.tma-home .results-panel {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  overflow: hidden;
}

.tma-home .rp-head {
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.tma-home .rp-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
}

.tma-home .rp-title i {
  color: var(--th-orange);
  margin-right: 6px;
}

.tma-home .rp-stat {
  padding: 18px 20px;
  border-right: 1px solid rgba(255,255,255,.1);
}

.tma-home .rp-stat:last-child {
  border-right: 0;
}

.tma-home .rp-stat b {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.75rem;
  line-height: 1.1;
  color: #fff;
}

.tma-home .rp-stat b span {
  color: var(--th-orange);
}

.tma-home .rp-stat small {
  display: block;
  margin-top: 4px;
  color: #aab4c8;
  font-size: .8rem;
}

@media(max-width: 991.98px) {
  .tma-home .rp-stat:nth-child(2) {
    border-right: 0;
  }
  .tma-home .rp-stat:nth-child(-n+2) {
    border-bottom: 1px solid rgba(255,255,255,.1);
  }
}

/* testimonials */
.tma-home .tst {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  padding: 22px;
}

.tma-home .tst .stars {
  color: var(--th-orange-2);
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.tma-home .tst p {
  font-size: .98rem;
  color: #eaeef4;
  font-style: italic;
  margin: 0 0 8px;
}

.tma-home .tst .who {
  font-size: .84rem;
  color: #9fb0c6;
  font-weight: 600;
}

/* ROI calculator */
.tma-home .calc {
  background: var(--th-light);
}

.tma-home .calc-card {
  margin-top: 36px;
  background: #fff;
  border: 1px solid var(--th-line);
  border-radius: 14px;
  overflow: hidden;
}

.tma-home .calc-in,
.tma-home .calc-out {
  padding: 34px;
}

.tma-home .calc-out {
  background: linear-gradient(160deg,var(--th-dark) 0%,var(--th-dark-2) 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
}

.tma-home .calc-step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .82rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 22px;
}

.tma-home .calc-step span {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--th-orange);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: .8rem;
  letter-spacing: 0;
}

.tma-home .calc-out .calc-step {
  color: #fff;
}

.tma-home .calc-in .form-label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--th-navy);
  margin-bottom: 7px;
}

.tma-home .calc-in .form-label i {
  color: var(--th-orange);
  width: 16px;
  margin-right: 4px;
}

.tma-home .calc-in .form-control {
  padding: 12px 14px;
  border-color: var(--th-line);
  font-size: .95rem;
  color: var(--th-ink);
}

.tma-home .calc-in .input-group-text {
  background: var(--th-light);
  border-color: var(--th-line);
  color: var(--th-muted);
  font-size: .85rem;
}

.tma-home .calc-in .input-group>:first-child {
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}

.tma-home .calc-in .input-group>:last-child {
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}

.tma-home .calc-in .form-control:focus {
  border-color: var(--th-orange);
  box-shadow: 0 0 0 .2rem rgba(253,84,1,.15);
}

.tma-home .pos-btn {
  flex: 1 1 0;
  min-width: 0;
  white-space: nowrap;
  text-align: center;
  padding: 10px 4px;
  border: 1px solid var(--th-line);
  border-radius: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .9rem;
  color: var(--th-navy);
  background: #fff;
  cursor: pointer;
  transition: all .15s ease;
}

.tma-home .pos-btn:hover {
  border-color: var(--th-orange);
  color: var(--th-orange);
}

.tma-home .btn-check:checked+.pos-btn {
  background: var(--th-orange);
  border-color: var(--th-orange);
  color: #fff;
}

.tma-home .btn-check:focus-visible+.pos-btn {
  outline: 2px solid var(--th-orange);
  outline-offset: 2px;
}

.tma-home .funnel {
  display: flex;
  flex-direction: column;
}

.tma-home .fn-row {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  padding: 12px 16px;
}

.tma-home .fn-ic {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(253,84,1,.15);
  color: var(--th-orange);
  display: grid;
  place-items: center;
  flex: none;
}

.tma-home .fn-lbl {
  flex: 1;
  color: #aab4c8;
  font-size: .9rem;
}

.tma-home .fn-row b {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.6rem;
  color: #fff;
}

.tma-home .fn-arrow {
  text-align: center;
  color: rgba(253,84,1,.7);
  font-size: .75rem;
  line-height: 1;
  padding: 5px 0;
}

.tma-home .out-rev {
  margin-top: 16px;
  background: var(--th-orange);
  border-radius: 14px;
  padding: 18px 20px;
}

.tma-home .out-rev small {
  display: block;
  color: rgba(255,255,255,.85);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.tma-home .out-rev b {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 2.2rem;
  color: #fff;
}

.tma-home .out-rev .per {
  color: rgba(255,255,255,.85);
  font-size: .9rem;
  margin-left: 6px;
}

.tma-home .out-rev .yr {
  color: #fff;
  font-size: .88rem;
  font-weight: 600;
  opacity: .9;
}

.tma-home .calc-note {
  font-size: .76rem;
  color: #8fa0b6;
  margin: auto 0 0;
  padding-top: 14px;
}

@media(max-width: 575.98px) {
  .tma-home .calc-in,
  .tma-home .calc-out {
    padding: 22px;
  }
  .tma-home .out-rev b {
    font-size: 1.8rem;
  }
  .tma-home .fn-row b {
    font-size: 1.35rem;
  }
}

/* industry card titles link to their pages (live-site section, unscoped) */
.industry-card h6 a {
  color: inherit;
}

.industry-card h6 a:hover {
  color: var(--orange);
}

/* final CTA: light banner with a marketing-dashboard photo, so it stands apart from the navy footer */
.tma-home .final {
  background: linear-gradient(90deg,#eef1f5 0%,#eef1f5 42%,rgba(238,241,245,.85) 52%,rgba(238,241,245,0) 70%),url(../images/case-studies.jpg) right center/58% auto no-repeat,#eef1f5;
  padding: 90px 0;
  border-top: 1px solid var(--th-line);
}

.tma-home .final h2 {
  color: var(--th-navy);
  margin-bottom: 14px;
}

.tma-home .final p {
  color: var(--th-muted);
  max-width: 52ch;
  margin-bottom: 26px;
}

.tma-home .th-btn-line {
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .5px;
  padding: 12px 26px;
  border-radius: 2px;
  border: 2px solid var(--th-navy);
  color: var(--th-navy);
  background: transparent;
  transition: .2s ease;
}

.tma-home .th-btn-line:hover {
  background: var(--th-navy);
  color: #fff;
}

@media(max-width: 991.98px) {
  .tma-home .final {
    background: linear-gradient(rgba(238,241,245,.92),rgba(238,241,245,.92)),url(../images/case-studies.jpg) center/cover no-repeat;
    padding: 60px 0;
    text-align: center;
  }
  .tma-home .final p {
    margin-left: auto;
    margin-right: auto;
  }
  .tma-home .final .th-eyebrow {
    justify-content: center;
  }
  .tma-home .final .d-flex {
    justify-content: center;
    align-items: center;
  }
}

/* =========================================================
   Background variants for live-site sections, so the homepage
   (mockup order) alternates white / navy like the live site:
   problem W, services N, industries W, process N, why W,
   proof N, calculator W, FAQ N, team W, final CTA N.
   ========================================================= */
.sec-navy {
  background: linear-gradient(180deg,#0A1F44 0%,#0F2B5A 53%,#0A1F44 100%) !important;
}

.sec-navy .section-heading {
  color: #fff;
}

.sec-navy .section-sub {
  color: #aab4c8;
}

/* services on navy */
.services-section.sec-navy .service-card {
  border-color: transparent;
  border-radius: 15px;
}

.services-section.sec-navy .supporting-services {
  border-color: rgba(255,255,255,.15);
}

.services-section.sec-navy .supporting-services .item {
  color: #fff;
  border-color: rgba(255,255,255,.15);
}

/* process on navy */
.process-section.sec-navy .process-divider-row .txt {
  color: #fff;
}

.process-section.sec-navy .process-step .badge-num {
  background: var(--orange);
}

.process-section.sec-navy .process-step h6 {
  color: #fff;
}

.process-section.sec-navy .process-step p {
  color: #aab4c8;
}

.process-section.sec-navy .process-track {
  gap: 16px;
  align-items: stretch;
}

.process-section.sec-navy .process-step {
  padding: 26px 16px 22px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  transition: border-color .2s ease,background .2s ease,transform .2s ease;
}

.process-section.sec-navy .process-step:hover {
  border-color: rgba(253,84,1,.5);
}

@media(max-width: 991.98px) {
  .process-section.sec-navy .process-track {
    gap: 14px;
  }
  .process-section.sec-navy .process-step {
    width: calc(50% - 7px);
    padding: 22px 12px 18px;
  }
  .process-section.sec-navy .process-step.last-step {
    width: 100%;
  }
}

/* team on white */
.team-section.sec-white {
  background: #fff;
}

.team-section.sec-white .section-heading {
  color: var(--navy-text);
}

.team-section.sec-white .section-sub {
  color: var(--gray-600);
}

/* orange highlight in headings, as on the live site */
.tma-home h1 .orange,
.tma-home h2 .orange {
  color: var(--th-orange);
}

/* =========================================================
   Consistency pass: one card radius (14px) and light borders
   across every section on the homepage. These override the
   live-site components from custom.css; this file only loads
   on the homepage, so other pages are unaffected.
   ========================================================= */
.problem-card {
  border-color: var(--gray-300);
  border-radius: 14px;
}

.problem-card .ic-circle {
  box-shadow: 0 0 12px rgba(11,31,63,.12);
}

.service-card {
  border-radius: 14px;
  border-color: var(--gray-300);
}

.service-card .ic-square {
  border-radius: 10px;
}

.supporting-services {
  border-radius: 14px;
}

.industry-card {
  border-radius: 14px;
  border-color: var(--gray-300);
}

.tma-faq .accordion-item {
  border-radius: 14px !important;
}

.team-card {
  border-radius: 14px;
}

.team-photo {
  border-radius: 0;
}

.team-section.sec-white .team-card {
  border-color: var(--gray-300);
}

/* =========================================================
   Section CTA: one component for every section on the page.
   --dark sits on navy sections, --light on white sections.
   ========================================================= */
.th-cta {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
  padding: 22px 26px;
  border-radius: 14px;
}

.th-cta>* {
  position: relative;
  z-index: 1;
}

.th-cta-ic {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  flex: none;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  color: var(--orange);
  background: rgba(253,84,1,.1);
}

.th-cta-txt {
  flex: 1;
  min-width: 0;
}

.th-cta-txt h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 3px;
}

.th-cta-txt p {
  font-size: 15px;
  margin: 0;
}

.th-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex: none;
}

.th-cta-ghost {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .5px;
  text-transform: uppercase;
  padding: 12px 26px;
  border-radius: 2px;
  border: 2px solid rgba(255,255,255,.35);
  color: #fff;
  transition: .2s ease;
}

.th-cta-ghost:hover {
  border-color: #fff;
  color: #fff;
}

.th-cta--dark {
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
}

.th-cta--dark h3 {
  color: #fff;
}

.th-cta--dark p {
  color: #aab4c8;
}

.th-cta--light {
  background: var(--gray-100);
  border: 1px solid var(--gray-300);
}

.th-cta--light h3 {
  color: var(--navy-text);
}

.th-cta--light p {
  color: var(--gray-600);
}

@media(max-width: 767.98px) {
  .th-cta {
    flex-direction: column;
    text-align: center;
    padding: 26px 20px;
    gap: 16px;
  }
  .th-cta-actions {
    justify-content: center;
  }
}

/* =========================================================
   Clean-up pass: calmer page. Flat CTAs, softer shadows,
   no glows. Homepage only.
   ========================================================= */
.btn-orange {
  box-shadow: none;
}

.btn-orange:hover {
  transform: none;
  background: #e64a00;
}

@media(max-width: 991.98px) {
  .tma-home .final .btn-orange,
  .tma-home .final .th-btn-line {
    font-size: 12px;
    letter-spacing: 0;
    padding: 10px 20px;
    min-width: 260px;
    justify-content: center;
  }
}

@media(max-width: 575.98px) {
  .tma-home .lead-form h2 {
    font-size: 1.45rem;
  }
}

/* =========================================================
   Spacing system: every section uses the same vertical rhythm.
   Section padding 70/50px, header -> content 40px, content -> CTA 40px.
   ========================================================= */
.tma-home section,
.section-pad {
  padding: 70px 0;
}

.tma-home .th-hero {
  padding: 60px 0;
}

.tma-home .final {
  padding: 80px 0;
}

.th-body {
  margin-top: calc(40px - var(--bs-gutter-y,0px)) !important;
}

.tma-home .th-head p,
.section-sub {
  margin-bottom: 0;
}

.tma-home .th-head .th-lead {
  margin-top: 16px;
}

.section-sub {
  margin-top: 16px;
}

.th-body:not(.row),
.th-body.g-0 {
  margin-top: 40px !important;
}

.th-cta {
  margin-top: 40px;
}

@media(max-width: 991.98px) {
  .tma-home section,
  .section-pad {
    padding: 50px 0;
  }
  .tma-home .final {
    padding: 56px 0;
  }
  .th-body {
    margin-top: calc(30px - var(--bs-gutter-y,0px)) !important;
  }
  .th-body:not(.row),
  .th-body.g-0 {
    margin-top: 30px !important;
  }
  .th-cta {
    margin-top: 30px;
  }
}

/* Mobile: centred section text, smaller hero list */
@media(max-width: 767.98px) {
  .tma-home .th-hero .col-lg-6:first-child {
    text-align: center;
  }
  .tma-home .th-hero .th-eyebrow {
    justify-content: center;
    font-size: 11px;
    letter-spacing: .6px;
  }
  .tma-home .th-hero .th-eyebrow::before {
    display: none;
  }
  .tma-home .th-hero .th-lead {
    font-size: 15px;
    margin-left: auto;
    margin-right: auto;
  }
  .tma-home .usp {
    width: fit-content;
    margin: 18px auto 0;
    justify-items: start;
  }
  .tma-home .usp li {
    font-size: .84rem;
    line-height: 1.4;
    gap: 6px !important;
    text-align: left;
  }
  .tma-home .usp svg {
    width: 14px;
    height: 14px;
  }
  .tma-home .th-why-card {
    text-align: center;
    padding: 18px 16px;
  }
  .tma-home .why-ic {
    margin-left: auto;
    margin-right: auto;
  }
  .tma-home .th-why-card h3 {
    font-size: .98rem;
  }
  .tma-home .th-why-card p {
    font-size: .85rem;
  }
}

/* =========================================================
   Card titles are H3 (SEO structure: H1 > H2 per section > H3
   per card). These copy the sizes custom.css gives the old
   h5/h6 tags, so the cards look exactly the same.
   ========================================================= */
.problem-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.service-card h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.service-card h3 a {
  color: var(--navy-text);
}

.service-card h3 a:hover {
  color: var(--orange);
}

.industry-card h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.process-step h3 {
  font-size: 14px;
  letter-spacing: .4px;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.process-section.sec-navy .process-step h3 {
  color: #fff;
}

@media (max-width: 991px) {
  .process-step h3 {
    letter-spacing: 0;
    font-size: 12px;
  }
}

@media (max-width: 767px) {
  .service-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .problem-card h3 {
    font-size: 15px;
  }
}

/* Hero trust line under the bullet points */
.tma-home .hero-note {
  margin: 18px 0 0;
  font-size: .85rem;
  color: #8fa0b6;
}

@media (max-width: 767.98px) {
  .tma-home .hero-note {
    text-align: center;
  }
}

/* Internal links inside body copy */
.section-sub a,
.industry-card p a,
.tma-home .th-lead a {
  color: var(--orange);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.section-sub a:hover,
.industry-card p a:hover,
.tma-home .th-lead a:hover {
  color: #e64a00;
}

/* Industry card titles that link to their page */
.industry-card h3 a {
  color: var(--navy-text);
}

.industry-card h3 a:hover {
  color: var(--orange);
}

/* =========================================================
   Blog section (between FAQ and Team)
   ========================================================= */
.tma-home .th-blog {
  background: var(--gray-100);
}

.tma-home .blog-tile {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--th-line);
  border-radius: 14px;
  overflow: hidden;
  color: inherit;
  transition: border-color .2s ease;
}

.tma-home .blog-tile:hover {
  border-color: rgba(253, 84, 1, .5);
}

.tma-home .blog-tile-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  background: var(--th-dark-2);
  overflow: hidden;
}

.tma-home .blog-tile-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.tma-home .blog-tile:hover .blog-tile-media img {
  transform: scale(1.04);
}

.tma-home .blog-tile-cat {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--th-orange);
  color: #fff;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 100px;
}

.tma-home .blog-tile-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 22px 24px;
}

.tma-home .blog-tile-body h3 {
  font-size: 1.1rem;
  line-height: 1.3;
  margin-bottom: 8px;
  transition: color .2s ease;
}

.tma-home .blog-tile:hover h3 {
  color: var(--th-orange);
}

.tma-home .blog-tile-body p {
  color: var(--th-muted);
  font-size: .92rem;
  margin-bottom: 18px;
}

.tma-home .blog-tile-more {
  margin-top: auto;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .9rem;
  color: var(--th-orange);
}

.tma-home .blog-tile-more i {
  margin-left: 6px;
  font-size: .8rem;
  transition: margin-left .2s ease;
}

.tma-home .blog-tile:hover .blog-tile-more i {
  margin-left: 10px;
}

.tma-home .th-blog-all {
  margin-top: 40px;
}

@media (max-width: 991.98px) {
  .tma-home .th-blog-all {
    margin-top: 30px;
  }
}
