/* TruckLo profile - Figma 430:4087 */
.tl-page--profile {
  --profile-gutter: 140px;
  --profile-max: 1640px;
  color: #292d32;
}
.tl-page--profile .tl-main { overflow-x: clip; }
.tl-profile-wrap {
  width: min(100% - 2 * var(--profile-gutter), var(--profile-max));
  margin-inline: auto;
}

.tl-profile__banner {
  min-height: 420px;
  margin-top: 0;
  background: linear-gradient(115deg, #f5a623 10%, #ef4136 55%, #0d1234 120%) center/cover no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
  border-radius: 0;
}
.tl-profile__banner-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 40px;
  color: #fff;
  font: 700 clamp(28px, 4vw, 56px)/1.1 "Open Sans", sans-serif;
  text-align: center;
  background: linear-gradient(90deg, rgba(13,18,52,.55), rgba(13,18,52,.15));
}

.tl-profile__identity {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 40px;
  margin-top: -100px;
  position: relative;
  z-index: 2;
  align-items: start;
  padding-bottom: 40px;
}
.tl-profile__logo {
  width: 200px;
  height: 200px;
  display: grid;
  place-items: center;
  padding: 28px;
  border-radius: 0 16px 16px 16px;
  background: #fff;
  box-shadow: 4px 4px 12.85px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}
.tl-profile__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.tl-profile__logo span {
  font: 700 42px/1 "Open Sans", sans-serif;
  color: #0d1234;
}
.tl-profile__identity-copy {
  /* Keep logo overlapping the banner; push copy onto the white plane. */
  padding-top: 108px;
  min-width: 0;
}
.tl-profile__partner {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ef4136 0%, #ff6b4a 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  line-height: 1.375;
  box-shadow: 0 8px 24px rgba(239, 65, 54, 0.35);
}
.tl-profile__identity-copy h1 {
  margin: 0;
  font: 700 clamp(36px, 4vw, 56px)/1.2 "Open Sans", sans-serif;
  letter-spacing: -.02em;
  color: #0d1234;
}
.tl-profile__motto {
  margin: 40px 0 0;
  max-width: 1400px;
  color: #0d1234;
  font: 400 20px/1.5 "Open Sans", sans-serif;
}
.tl-profile__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 40px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}
.tl-profile__stat {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
.tl-profile__stat-icon {
  flex: 0 0 60px;
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 46px;
  background: rgba(10, 12, 25, 0.03);
}
.tl-profile__stat-icon img {
  width: 24px;
  height: 24px;
  display: block;
}
.tl-profile__stat-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  justify-content: center;
  min-width: 0;
}
.tl-profile__stat-label {
  color: #0d1234;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.2;
  opacity: 0.72;
}
.tl-profile__stats strong,
.tl-profile__stat-value-stack strong,
.tl-profile__spec-card strong {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  color: #0d1234;
}
.tl-profile__stats strong.is-empty {
  color: #5c6370;
  font-weight: 600;
}
.tl-profile__stat-value-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
  line-height: 1.35;
}
.tl-profile__stat-value-stack strong {
  font-size: 20px;
}

.tl-profile__gallery-open {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}
.tl-profile-lightbox[hidden] { display: none !important; }
.tl-profile-lightbox {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(13,18,52,.82);
}
.tl-profile-lightbox img {
  max-width: min(960px, 100%);
  max-height: 90vh;
  border-radius: 12px;
  object-fit: contain;
}
.tl-profile-lightbox__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #ef4136;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.tl-profile__breadcrumbs {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 48px;
  padding-block: 0;
  font-size: 12px;
  font-weight: 600;
  color: #3f4654;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.tl-profile__breadcrumbs a { text-decoration: none; color: #3f4654; }
.tl-profile__breadcrumbs a:hover { color: #ef4136; }
.tl-profile__breadcrumbs [aria-current="page"] { color: #0d1234; font-weight: 700; }
.tl-profile__crumb-sep {
  display: inline-block;
  width: 16px;
  height: 16px;
  background: center / 16px 16px no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 24 24'%3E%3Cpath stroke='%233f4654' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' d='m9 5 7 7-7 7'/%3E%3C/svg%3E");
}

.tl-profile__layout {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr) 420px;
  gap: 0 50px;
  padding: 0 0 110px;
  align-items: start;
}
.tl-profile__toc {
  position: sticky;
  top: calc(var(--tl-header-h, 128px) + 16px);
  padding-top: 40px;
  align-self: start;
}
.tl-profile__toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0;
}
.tl-profile__toc li + li { margin-top: 0; }
.tl-profile__toc a {
  display: flex;
  gap: 40px;
  align-items: center;
  min-height: 95px;
  color: #0a0c19;
  text-decoration: none;
  font-size: 20px;
  font-weight: 700;
}
.tl-profile__toc-num {
  flex: 0 0 95px;
  width: 95px;
  height: 95px;
  display: grid;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 0 16px 16px 16px;
  color: rgba(10, 12, 25, 0.35);
  font-size: 32px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.tl-profile__toc a.is-active .tl-profile__toc-num,
.tl-profile__toc a:hover .tl-profile__toc-num {
  border-color: #ef4136;
  color: #0a0c19;
}
.tl-profile__toc-label {
  flex: 1;
  min-width: 0;
  color: #0a0c19;
  line-height: 1.35;
}

.tl-profile__main { padding-top: 40px; min-width: 0; }
.tl-profile__section + .tl-profile__section {
  margin-top: 64px;
  padding-top: 64px;
  border-top: 1px solid rgba(13,18,52,.1);
}
.tl-profile__eyebrow {
  margin: 0 0 8px;
  color: #c7352c;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.tl-profile__section h2 {
  margin: 0 0 40px;
  font: 700 32px/1.2 "Open Sans", sans-serif;
  color: #0d1234;
}
.tl-profile__prose {
  max-width: 72ch;
  color: #0d1234;
  font: 400 20px/1.5 "Open Sans", sans-serif;
}
.tl-profile__empty { color: #3f4654; margin: 0; }

.tl-profile__cat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.tl-profile__cat-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(13,18,52,.1);
  border-radius: 14px;
  background: #fff;
  text-decoration: none;
  color: inherit;
}
.tl-profile__cat-thumb {
  width: 72px;
  height: 56px;
  border-radius: 10px;
  background: linear-gradient(135deg, #eceef3, #d9dce6);
}
.tl-profile__cat-card h3 { margin: 0 0 4px; font-size: 16px; color: #0d1234; }
.tl-profile__cat-card p { margin: 0; font-size: 13px; color: #3f4654; }

.tl-profile__gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.tl-profile__gallery figure {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 0;
  background: #eceef3;
}
.tl-profile__gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.tl-profile__gallery figure:hover img { transform: scale(1.05); }
.tl-profile__gallery-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: #9aa0ad;
  font-weight: 700;
  font-size: 28px;
}

.tl-profile__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tl-profile__tags li {
  padding: 10px 14px;
  border-radius: 999px;
  background: #f4f4f5;
  font-size: 14px;
  font-weight: 600;
  color: #0d1234;
}

.tl-profile__offers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.tl-profile__offer {
  border: 1px solid rgba(13,18,52,.1);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}
.tl-profile__offer img,
.tl-profile__offer-ph {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #eceef3;
  display: block;
}
.tl-profile__offer > div { padding: 18px; display: grid; gap: 10px; }
.tl-profile__offer h3 { margin: 0; font-size: 18px; color: #0d1234; }
.tl-profile__offer-price { margin: 0; font-weight: 700; color: #0d1234; }
.tl-profile__offer a:not(.tl-btn) { color: #ef4136; font-weight: 700; text-decoration: none; }

.tl-profile__find {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: stretch;
}
.tl-map--profile {
  min-height: 260px;
  border-radius: 16px;
  overflow: hidden;
  background: #eceef3;
}
.tl-map--empty { background: linear-gradient(135deg, #eceef3, #d9dce6); }

.tl-profile__aside {
  display: grid;
  gap: 40px;
  position: sticky;
  top: calc(var(--tl-header-h, 128px) + 16px);
  padding-top: 40px;
  align-self: start;
}
.tl-profile__spec-card {
  padding: 20px;
  border-radius: 16px;
  background: #62646e;
  color: #fff;
  display: grid;
  gap: 20px;
}
.tl-profile__spec-card h2 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
}
.tl-profile__spec-card h2 img {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
}
.tl-profile__spec-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.tl-profile__spec-card li {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0;
  border: 0;
  border-radius: 36px;
  background: #fff;
  min-height: 60px;
}
.tl-profile__spec-icon {
  flex: 0 0 60px;
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 46px;
  background: rgba(13, 18, 52, 0.1);
}
.tl-profile__spec-icon img {
  width: 24px;
  height: 24px;
  display: block;
}
.tl-profile__spec-card .tl-profile__stat-label {
  color: #0d1234;
  opacity: 0.72;
}
.tl-profile__spec-card .tl-profile__stat-text {
  padding-right: 16px;
}

.tl-profile__contact-title {
  margin: 0 0 8px;
  font: 700 20px/1.35 "Open Sans", sans-serif;
  color: #0d1234;
}
.tl-profile__contact-sub {
  margin: 0 0 16px;
  color: #ef4136;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.tl-profile__person-card {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(13,18,52,.1);
  border-radius: 16px;
  background: #fff;
}
.tl-profile__person-card + .tl-profile__person-card { margin-top: 16px; }
.tl-profile__person-row {
  display: flex;
  align-items: center;
  gap: 16px;
}
.tl-profile__person-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: #eceef3;
  color: #0d1234;
  font-weight: 700;
  flex: 0 0 80px;
}
.tl-profile__person-photo img { width: 100%; height: 100%; object-fit: cover; }
.tl-profile__person-card strong { display: block; color: #0d1234; font-size: 16px; }
.tl-profile__person-card span { color: #3f4654; font-size: 13px; }
.tl-reveal__masked { margin: 0; color: #656978; font-size: 14px; }
.tl-reveal__masked--contact {
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(10, 12, 25, 0.04);
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  letter-spacing: 0.02em;
}
.tl-reveal__masked--contact span { display: block; }
.tl-profile__stock-carousel { position: relative; }
.tl-profile__stock-carousel .tl-carousel__arrows {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 12px;
}
.tl-profile__offers.tl-carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
}
.tl-profile__offers.tl-carousel .tl-profile__offer {
  flex: 0 0 min(340px, 85vw);
  scroll-snap-align: start;
}
.tl-profile__case-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.tl-profile__case-card {
  padding: 20px;
  border: 1px solid rgba(13, 18, 52, 0.1);
  border-radius: 16px;
  background: #fff;
}
.tl-profile__case-card img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 12px;
}
.tl-profile__faq-list { display: grid; gap: 12px; }
.tl-profile__faq-item {
  border: 1px solid rgba(13, 18, 52, 0.1);
  border-radius: 12px;
  padding: 12px 16px;
  background: #fff;
}
.tl-profile__faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: #0d1234;
}
.tl-profile__faq-answer {
  margin-top: 10px;
  color: #3f4654;
  font-size: 15px;
  line-height: 1.55;
}
.tl-reveal__open a { color: #ef4136; font-weight: 700; }
/* .tl-btn { display: inline-flex } otherwise overrides the HTML hidden attribute */
.tl-profile__person-card [data-reveal][hidden],
.tl-reveal [data-reveal][hidden] {
  display: none !important;
}

.tl-profile__cta {
  background:
    linear-gradient(90deg, rgba(13,18,52,.92), rgba(13,18,52,.7)),
    #0d1234;
  color: #fff;
}
.tl-profile__cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 64px 0;
}
.tl-profile__cta h2 {
  margin: 0;
  font: 700 clamp(28px, 3vw, 42px)/1.15 "Open Sans", sans-serif;
}
.tl-profile__cta .tl-profile__eyebrow { color: #ff8f86; }

@media (max-width: 1400px) {
  .tl-page--profile { --profile-gutter: 48px; }
  .tl-profile__layout { grid-template-columns: 260px minmax(0, 1fr) 360px; gap: 0 32px; }
  .tl-profile__toc a { gap: 24px; }
  .tl-profile__toc-num { flex-basis: 72px; width: 72px; height: 72px; font-size: 24px; }
  .tl-profile__toc a { min-height: 72px; font-size: 16px; }
}

@media (max-width: 1100px) {
  .tl-profile__layout { grid-template-columns: minmax(0, 1fr) 320px; }
  .tl-profile__toc { display: none; }
  .tl-profile__stats { gap: 20px 28px; }
}

@media (max-width: 768px) {
  .tl-page--profile { --profile-gutter: 20px; }
  .tl-profile__banner { min-height: 180px; }
  .tl-profile__identity {
    grid-template-columns: 1fr;
    margin-top: -48px;
    gap: 20px;
  }
  .tl-profile__identity-copy { padding-top: 8px; }
  .tl-profile__logo { width: 120px; height: 120px; padding: 16px; }
  .tl-profile__motto { margin-top: 28px; }
  .tl-profile__stats { flex-direction: column; gap: 16px; margin-top: 24px; }
  .tl-profile__layout { grid-template-columns: 1fr; }
  .tl-profile__aside { position: static; padding-top: 24px; }
  .tl-profile__gallery,
  .tl-profile__cat-grid,
  .tl-profile__offers,
  .tl-profile__find { grid-template-columns: 1fr; }
  .tl-profile__cta-inner { flex-direction: column; align-items: flex-start; }
  .tl-profile__motto { font-size: 16px; }
  .tl-profile__section h2 { font-size: 28px; margin-bottom: 24px; }
}
