/* Service catalog: six tracks let the last two cards sit centrally. */
/* Mobile hero: photograph becomes a backdrop so the brand is visible on entry. */
@media (max-width: 767px) {
  .tc-home .tc-hero {
    position: relative;
    display: block;
    isolation: isolate;
  }
  .tc-home .tc-hero .tc-hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
  }
  .tc-home .tc-hero .tc-hero-image > img {
    object-position: 64% top;
    opacity: 0.45;
  }
  .tc-home .tc-hero .tc-hero-image::after {
    display: block;
    background: linear-gradient(
      180deg,
      #061d4366 0%,
      #061d43b3 28%,
      #061d43f5 68%,
      #061d43 100%
    );
  }
  .tc-home .tc-hero .tc-hero-inner {
    padding-top: var(
      --tc-mobile-hero-top,
      clamp(80px, calc(50svh - 185px), 270px)
    );
    padding-bottom: 40px;
  }
  .tc-home .tc-hero .tc-hero-copy {
    width: 100%;
    text-align: center;
  }
  .tc-home .tc-hero h1 {
    font-size: clamp(28px, 7.2vw, 42px);
  }
  .tc-home .tc-hero h1 > span {
    display: block;
    white-space: nowrap;
    font-size: clamp(32px, 9vw, 58px);
    margin-top: 10px;
    line-height: 1.12;
    letter-spacing: -0.035em;
  }
  .tc-home .tc-hero .tc-eyebrow {
    font-size: 14px;
    letter-spacing: 0.015em;
    padding: 8px 10px;
  }
  .tc-home .tc-hero .tc-lead {
    margin-top: 22px !important;
  }
  .tc-home .tc-hero .tc-tagline {
    margin-inline: auto;
  }
  .tc-home .tc-hero .tc-hero-points {
    margin-inline: auto;
  }
  .tc-home .tc-hero .tc-actions {
    justify-content: center;
  }
}

.tc-consultation {
  padding: 76px 0;
  /* background: radial-gradient(ellipse at 0% 100%, #ffe7a1 0%, transparent 60%), #fffbef; */
  border-block: 1px solid #ffe3a3;
}
.tc-consultation-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
.tc-home .tc-consultation-eyebrow {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #865000;
  margin-bottom: 16px;
}
.tc-consultation h2 {
  margin-bottom: 22px;
}
.tc-consultation-copy > p:last-child {
  font-size: 17px;
  color: #4b6078;
  max-width: 560px;
}
.tc-consultation-panel {
  position: relative;
  padding: 32px;
  background: #fff;
  border: 1px solid #efdfb9;
  border-radius: 20px;
  box-shadow: 0 12px 36px #7c570010;
}
.tc-consultation-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: #fff0bd;
  margin-bottom: 18px;
}
.tc-consultation-icon .tc-icon {
  width: 32px;
  height: 32px;
}
.tc-home .tc-consultation-panel h3 {
  font-size: 23px;
  color: #082858;
  margin-bottom: 12px;
}
.tc-consultation-panel > p {
  font-size: 16px;
  color: #4b6078;
}
.tc-consultation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.tc-consultation-actions .tc-button {
  flex: 1 1 180px;
  padding-inline: 16px;
  font-size: 15px;
}
.tc-consultation-actions .tc-icon {
  width: 22px;
  height: 22px;
}
@media (max-width: 900px) {
  .tc-consultation-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }
  .tc-consultation-copy > p:last-child {
    max-width: none;
  }
}
@media (max-width: 767px) {
  .tc-consultation {
    padding: 52px 0;
  }
  .tc-consultation-panel {
    padding: 26px 22px;
  }
}

.tc-home .tc-services {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 28px;
}
.tc-home .tc-services > .tc-service {
  grid-column: span 2;
}
.tc-home .tc-services > .tc-service:nth-child(4):nth-last-child(2) {
  grid-column: 2 / span 2;
}
.tc-home .tc-services > .tc-service:nth-child(5):last-child {
  grid-column: 4 / span 2;
}
.tc-home .tc-services .tc-service-image {
  aspect-ratio: 16 / 10;
}
.tc-home .tc-services .tc-card-body {
  padding-inline: 24px;
  padding-bottom: 24px;
}
.tc-home .tc-services .tc-service h3 {
  font-size: 21px;
}
.tc-home .tc-services .tc-card-body > p {
  font-size: 16px;
}

/* Modern process: navy stage, numbered cards and a connected path. */
.tc-home .tc-process-modern {
  background:
    radial-gradient(ellipse at 100% 0%, #0752a1 0%, transparent 55%), #071e42;
  color: #fff;
  position: relative;
}
.tc-process-modern .tc-centered {
  max-width: 850px;
}
.tc-home .tc-process-modern h2 {
  color: #fff;
}
.tc-home .tc-process-modern h2 span {
  color: #ffca36;
}
.tc-home .tc-process-modern .tc-centered > p {
  color: #d4e4f9;
}
.tc-home .tc-process-modern .tc-centered > .tc-process-eyebrow {
  font-size: 14px;
  color: #ffdc80;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0 0 16px;
}
.tc-home .tc-process-modern .tc-steps {
  max-width: none;
  gap: 18px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 48px 0 36px !important;
}
.tc-home .tc-process-modern .tc-steps li {
  padding: 24px 20px;
  background: #fff;
  color: #173454;
  border: 1px solid #dce7f5;
  border-top: 4px solid #438df2;
  border-radius: 16px;
  text-align: left;
  box-shadow: 0 12px 32px #0002;
  display: block;
  min-width: 0;
}
.tc-home .tc-process-modern .tc-steps li:last-child {
  border-top-color: #ffbf19;
  background: #fff9e9;
}
.tc-home .tc-process-modern .tc-steps li:not(:last-child)::after {
  top: 52px;
  right: -19px;
  left: auto;
  width: 18px;
  height: 2px;
  background: #ffca36;
  border: 0;
  z-index: 1;
}
.tc-step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 24px;
}
.tc-home .tc-process-modern .tc-steps .tc-icon-process {
  margin: 0;
  width: 52px;
  height: 52px;
  padding: 13px;
  background: #eaf3ff;
  border: 1px solid #d3e4fc;
  border-radius: 14px;
  box-shadow: none;
}
.tc-home .tc-process-modern .tc-step-number {
  font-size: 32px;
  color: #b0c6e2;
  font-weight: 800;
  line-height: 1;
}
.tc-home .tc-process-modern .tc-steps li:last-child .tc-step-number {
  color: #a56400;
}
.tc-home .tc-process-modern .tc-step-copy {
  display: block;
}
.tc-home .tc-process-modern .tc-steps h3 {
  font-size: 18px;
  color: #082858;
  font-weight: 800;
  line-height: 1.4;
  margin: 0 0 12px;
}
.tc-home .tc-process-modern .tc-steps p {
  font-size: 15px;
  line-height: 1.65;
  color: #4b6078;
}
.tc-home .tc-process-modern .tc-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding: 28px;
  border: 1px solid #ffffff29;
  border-radius: 16px;
  background: #ffffff0a;
}
.tc-home .tc-process-modern .tc-stats:empty {
  display: none;
}
.tc-home .tc-process-modern .tc-stats strong {
  color: #ffca36;
  font-size: 28px;
}
.tc-home .tc-process-modern .tc-stats span {
  color: #deebfc;
  font-size: 14px;
}
@media (min-width: 768px) and (max-width: 1100px) {
  .tc-home .tc-process-modern .tc-steps {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 20px;
  }
  .tc-home .tc-process-modern .tc-steps li {
    grid-column: span 2;
  }
  .tc-home .tc-process-modern .tc-steps li:nth-child(4) {
    grid-column: 2 / span 2;
  }
  .tc-home .tc-process-modern .tc-steps li:nth-child(3)::after {
    display: none;
  }
  .tc-home .tc-process-modern .tc-steps li:not(:last-child)::after {
    right: -21px;
    width: 20px;
  }
  .tc-home .tc-process-modern .tc-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  .tc-home .tc-services {
    gap: 20px;
  }
  .tc-home .tc-services .tc-card-body {
    padding-inline: 18px;
  }
  .tc-home .tc-process-modern .tc-steps {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 32px !important;
  }
  .tc-home .tc-process-modern .tc-steps li {
    display: flex;
    gap: 20px;
    padding: 22px;
    border-top: 1px solid #dce7f5;
    border-left: 4px solid #438df2;
  }
  .tc-home .tc-process-modern .tc-steps li:last-child {
    border-top-color: #dce7f5;
    border-left-color: #ffbf19;
  }
  .tc-step-top {
    flex-direction: column;
    flex-shrink: 0;
    gap: 12px;
    margin: 0;
  }
  .tc-home .tc-process-modern .tc-step-number {
    font-size: 24px;
  }
  .tc-home .tc-process-modern .tc-step-copy {
    align-self: center;
  }
  .tc-home .tc-process-modern .tc-steps li:not(:last-child)::after {
    left: 49px;
    top: 100%;
    right: auto;
    height: 21px;
    width: 2px;
  }
  .tc-home .tc-process-modern .tc-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 16px;
    padding: 24px 18px;
  }
}
@media (min-width: 601px) and (max-width: 900px) {
  .tc-home .tc-services {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .tc-home .tc-services > .tc-service:nth-child(4):nth-last-child(2) {
    grid-column: span 2;
  }
  .tc-home .tc-services > .tc-service:nth-child(5):last-child {
    grid-column: 2 / span 2;
  }
}
@media (max-width: 600px) {
  .tc-home .tc-services {
    grid-template-columns: 1fr;
  }
  .tc-home .tc-services > .tc-service,
  .tc-home .tc-services > .tc-service:nth-child(4):nth-last-child(2),
  .tc-home .tc-services > .tc-service:nth-child(5):last-child {
    grid-column: auto;
  }
}
@media (max-width: 360px) {
  .tc-home .tc-process-modern .tc-steps li {
    padding: 18px 16px;
    gap: 14px;
  }
  .tc-home .tc-process-modern .tc-steps li:not(:last-child)::after {
    left: 43px;
  }
}
