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

.tl-profile__banner {
  min-height: 320px;
  background: linear-gradient(115deg, #f5a623 10%, #ef4136 55%, #0d1234 120%) center/cover no-repeat;
  position: relative;
}
.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: 148px minmax(0, 1fr);
  gap: 28px 36px;
  margin-top: -74px;
  position: relative;
  z-index: 2;
  align-items: end;
}
.tl-profile__logo {
  width: 148px;
  height: 148px;
  display: grid;
  place-items: center;
  padding: 18px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(13,18,52,.14);
}
.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 { padding-bottom: 8px; }
.tl-profile__partner {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #ef4136;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.tl-profile__identity-copy h1 {
  margin: 0 0 8px;
  font: 700 clamp(32px, 3.4vw, 48px)/1.1 "Open Sans", sans-serif;
  letter-spacing: -.02em;
  color: #0d1234;
}
.tl-profile__motto {
  margin: 0 0 22px;
  max-width: 820px;
  color: #565a65;
  font: 400 17px/1.55 "Open Sans", sans-serif;
}
.tl-profile__stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tl-profile__stats li {
  display: grid;
  gap: 4px;
  padding: 14px 12px;
  border: 1px solid rgba(13,18,52,.1);
  border-radius: 12px;
  background: #fff;
}
.tl-profile__stats strong {
  font-size: 14px;
  color: #0d1234;
}
.tl-profile__stats span {
  font-size: 12px;
  color: #71747d;
}

.tl-profile__breadcrumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-block: 28px 8px;
  font-size: 13px;
  color: #6b7280;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.tl-profile__breadcrumbs a { text-decoration: none; color: inherit; }
.tl-profile__breadcrumbs a:hover { color: #ef4136; }
.tl-profile__breadcrumbs [aria-current="page"] { color: #0d1234; font-weight: 700; }

.tl-profile__layout {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr) 320px;
  gap: clamp(28px, 4vw, 56px);
  padding: 28px 0 110px;
  align-items: start;
}
.tl-profile__toc {
  position: sticky;
  top: 110px;
}
.tl-profile__toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.tl-profile__toc a {
  display: flex;
  gap: 10px;
  align-items: baseline;
  color: #656978;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}
.tl-profile__toc a span { color: #ef4136; font-variant-numeric: tabular-nums; }
.tl-profile__toc a:hover { color: #0d1234; }

.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: #ef4136;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.tl-profile__section h2 {
  margin: 0 0 22px;
  font: 700 clamp(28px, 2.6vw, 40px)/1.15 "Open Sans", sans-serif;
  color: #0d1234;
}
.tl-profile__prose {
  max-width: 72ch;
  color: #414550;
  font: 400 17px/1.7 "Open Sans", sans-serif;
}
.tl-profile__empty { color: #71747d; 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;
}
.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: #71747d; }

.tl-profile__gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.tl-profile__gallery figure {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 14px;
  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: 18px; position: sticky; top: 110px; }
.tl-profile__spec-card {
  padding: 22px;
  border-radius: 16px;
  background: #0d1234;
  color: #fff;
}
.tl-profile__spec-card h2 {
  margin: 0 0 16px;
  font-size: 20px;
}
.tl-profile__spec-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}
.tl-profile__spec-card li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.12);
  font-size: 14px;
}
.tl-profile__spec-card li span { color: rgba(255,255,255,.7); }
.tl-profile__person-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(13,18,52,.1);
  border-radius: 16px;
  background: #fff;
}
.tl-profile__person-photo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: #eceef3;
  color: #0d1234;
  font-weight: 700;
}
.tl-profile__person-photo img { width: 100%; height: 100%; object-fit: cover; }
.tl-profile__person-card strong { display: block; color: #0d1234; }
.tl-profile__person-card span { color: #71747d; font-size: 13px; }
.tl-reveal__masked { margin: 0; color: #656978; font-size: 14px; }
.tl-reveal__open a { color: #ef4136; font-weight: 700; }

.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: 1100px) {
  .tl-profile__layout { grid-template-columns: minmax(0, 1fr) 280px; }
  .tl-profile__toc { display: none; }
  .tl-profile__stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@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;
  }
  .tl-profile__logo { width: 96px; height: 96px; }
  .tl-profile__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tl-profile__layout { grid-template-columns: 1fr; }
  .tl-profile__aside { position: static; }
  .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; }
}
