/* Giao diện trang Thay lốp, chuyển từ mockup/thaylop.css. */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

.tl-page {
  font-family: var(--gl-font);
  overflow: hidden;
}

.tl-page h1,
.tl-page h2,
.tl-page h3 {
  font-family: inherit;
}

.tl-page .gl-btn {
  font-family: inherit;
}

.tl-kicker {
  margin: 0 0 16px;
  color: #0e56a2;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.tl-kicker--light {
  color: var(--gl-yellow);
}

.tl-hero {
  position: relative;
  background: radial-gradient(circle at 78% 32%, #1a5386 0, #103b69 34%, #09294d 73%);
  color: #fff;
  overflow: hidden;
}

.tl-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .18;
  background-image: linear-gradient(90deg, transparent 49.9%, #fff 50%, transparent 50.1%), linear-gradient(transparent 49.9%, #fff 50%, transparent 50.1%);
  background-size: 95px 95px;
  mask-image: linear-gradient(90deg, transparent 35%, #000);
}

.tl-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr .85fr;
  gap: min(6vw, 80px);
  align-items: center;
  min-height: 520px;
  padding-block: 78px 65px;
}

.tl-hero__copy {
  max-width: 670px;
}

.tl-hero h1 {
  max-width: 700px;
  font-size: clamp(38px, 5.2vw, 60px);
  line-height: 1.13;
  letter-spacing: -.045em;
  color: #fff;
}

.tl-hero h1 span {
  color: var(--gl-yellow);
}

.tl-hero__lede {
  max-width: 550px;
  margin-top: 24px;
  color: rgba(255, 255, 255, .8);
  font-size: 17px;
  line-height: 1.75;
}

.tl-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.tl-hero__note {
  margin-top: 18px;
  color: rgba(255, 255, 255, .64);
  font-size: 13px;
}

.tl-hero__visual {
  position: relative;
  width: min(100%, 460px);
  justify-self: end;
  aspect-ratio: 1;
  border-radius: 26px 26px 100px 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 30px 70px rgba(2, 18, 39, .35);
}

.tl-hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tl-hero__badge {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 160px;
  padding: 20px 24px;
  background: var(--gl-yellow);
  color: #09294d;
  font-size: 26px;
  font-weight: 900;
}

.tl-hero__badge small {
  font-size: 12px;
  font-weight: 800;
}

.tl-hero__bottom {
  position: relative;
  display: flex;
  border-top: 1px solid rgba(255, 255, 255, .16);
}

.tl-hero__bottom span {
  flex: 1;
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 19px 0;
  color: rgba(255, 255, 255, .78);
  font-size: 13px;
}

.tl-hero__bottom b {
  color: var(--gl-yellow);
}

.tl-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 35px;
  margin-bottom: 36px;
}

.tl-section-head>div {
  max-width: 720px;
}

.tl-section-head h2,
.tl-signs h2,
.tl-why h2,
.tl-faq h2 {
  font-size: clamp(29px, 3.25vw, 44px);
  line-height: 1.2;
  letter-spacing: -.035em;
  color: #102d50;
}

.tl-section-head h2 em,
.tl-signs h2 em,
.tl-why h2 em,
.tl-faq h2 em {
  font-style: normal;
  color: #0e5ba5;
}

.tl-section-head>p {
  max-width: 330px;
  color: var(--gl-muted);
  font-size: 14px;
}

.tl-find,
.tl-scope,
.tl-faq {
  background: #f7f9fc;
}

.tl-find__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.tl-find-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 360px;
  border: 1px solid #dde5ee;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(12, 45, 82, .035);
  transition: transform .2s, border-color .2s, box-shadow .2s;
}

.tl-find-card:hover,
.tl-find-card:focus-visible {
  transform: translateY(-5px);
  border-color: #0e5ba5;
  box-shadow: 0 18px 32px rgba(12, 45, 82, .1);
}

.tl-find-card__media {
  display: block;
  flex: none;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: radial-gradient(circle at 72% 36%, #c4d9eb 0, #e8f1f9 42%, #dbe8f4 100%);
}

.tl-find-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

.tl-find-card:hover .tl-find-card__media img {
  transform: scale(1.04);
}

.tl-find-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 21px 22px 23px;
}

.tl-find-card__num {
  color: #0e5ba5;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.tl-find-card strong {
  margin-top: 12px;
  color: #102d50;
  font-size: 19px;
  line-height: 1.35;
}

.tl-find-card__desc {
  margin-top: 10px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.65;
}

.tl-find-card__link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 23px;
  color: #0c5ca8;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.tl-find-card__link b {
  font-size: 19px;
}

.tl-find__help {
  margin-top: 17px;
  color: #65758a;
  font-size: 12px;
}

.tl-signs__layout {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: min(10vw, 130px);
}

.tl-signs__intro>p:not(.tl-kicker),
.tl-why__copy>p:not(.tl-kicker),
.tl-faq__layout>div:first-child>p:not(.tl-kicker) {
  margin-top: 18px;
  color: #617184;
  line-height: 1.75;
}

.tl-text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 25px;
  color: #0e5ba5;
  font-weight: 800;
}

.tl-text-link:hover {
  text-decoration: underline;
}

.tl-signs__list {
  border-top: 1px solid #dce5ee;
}

.tl-signs__list article {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid #dce5ee;
}

.tl-signs__list article>span {
  color: #0e5ba5;
  font-size: 19px;
  font-weight: 900;
}

.tl-signs__list h3 {
  color: #102d50;
  font-size: 17px;
}

.tl-signs__list p {
  margin-top: 6px;
  color: #617184;
  font-size: 14px;
  line-height: 1.7;
}

.tl-scope__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

/* Số thứ tự và tiêu đề cùng một hàng, mô tả bên dưới. */
.tl-scope__grid article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-content: start;
  align-items: center;
  column-gap: 12px;
  min-height: 206px;
  padding: 24px 22px;
  border: 1px solid #e0e7ef;
  border-radius: 14px;
  background: #fff;
}

.tl-scope__grid article>span {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: #e8f1fa;
  color: #0e5ba5;
  font-size: 12px;
  font-weight: 900;
}

.tl-scope__grid h3 {
  color: #102d50;
  font-size: 17px;
}

.tl-scope__grid p {
  grid-column: 1 / -1;
  margin-top: 12px;
  color: #617184;
  font-size: 13px;
  line-height: 1.7;
}

.tl-scope__note {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-top: 18px;
  padding: 19px 23px;
  border-left: 4px solid var(--gl-yellow);
  border-radius: 8px;
  background: #eaf2f9;
  color: #102d50;
}

.tl-scope__note strong {
  flex: none;
  font-size: 13px;
}

.tl-scope__note p {
  font-size: 13px;
}

.tl-process {
  background: #0d3158;
  color: #fff;
}

.tl-section-head--light h2 {
  color: #fff;
}

.tl-section-head--light h2 em {
  color: var(--gl-yellow);
}

.tl-section-head--light>p {
  color: rgba(255, 255, 255, .7);
}

.tl-process__steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  list-style: none;
}

.tl-process__steps li {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-content: start;
  align-items: center;
  column-gap: 10px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .3);
}

.tl-process__steps li::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gl-yellow);
}

.tl-process__steps li>span {
  color: var(--gl-yellow);
  font-size: 13px;
  font-weight: 900;
}

.tl-process__steps h3 {
  margin-top: 0;
  font-size: 19px;
  color: #fff;
}

.tl-process__steps p {
  grid-column: 1 / -1;
  margin-top: 10px;
  color: rgba(255, 255, 255, .7);
  font-size: 13px;
  line-height: 1.7;
}

.tl-why__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: min(9vw, 100px);
  align-items: center;
}

.tl-why__image {
  aspect-ratio: 1.05;
  overflow: hidden;
  border-radius: 20px;
  background: #dce6f0;
}

.tl-why__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tl-why__copy ul {
  display: grid;
  gap: 16px;
  margin: 26px 0 30px;
}

.tl-why__copy li {
  position: relative;
  padding-left: 30px;
  color: #243b56;
  font-size: 14px;
}

.tl-why__copy li::before {
  content: '✓';
  position: absolute;
  left: 0;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #e8f1fa;
  color: #0e5ba5;
  font-size: 12px;
  font-weight: 900;
}

.tl-faq__layout {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: min(9vw, 100px);
}

.tl-faq__items {
  border-top: 1px solid #dce5ee;
}

.tl-faq__items details {
  border-bottom: 1px solid #dce5ee;
}

.tl-faq__items summary {
  position: relative;
  padding: 21px 34px 21px 0;
  color: #102d50;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.tl-faq__items summary::-webkit-details-marker {
  display: none;
}

.tl-faq__items summary::after {
  content: '+';
  position: absolute;
  right: 3px;
  top: 17px;
  color: #0e5ba5;
  font-size: 23px;
  font-weight: 400;
}

.tl-faq__items details[open] summary::after {
  content: '−';
}

.tl-faq__items details p {
  max-width: 580px;
  padding: 0 24px 22px 0;
  color: #617184;
  font-size: 14px;
  line-height: 1.7;
}

.tl-blog .gl-post__media {
  display: block;
  background: #dce8f3;
}

.tl-blog__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 68% 35%, #c3d8e9, #e7f0f8 65%, #dce8f3);
}

.tl-blog__empty {
  padding: 28px;
  border: 1px solid #e0e7ef;
  border-radius: 12px;
  background: #fff;
  color: #617184;
  font-size: 14px;
}

.tl-cta {
  padding-block: 68px;
  background: #08284b;
  color: #fff;
}

.tl-cta__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.tl-cta h2 {
  max-width: 650px;
  font-size: clamp(28px, 3.3vw, 44px);
  line-height: 1.2;
  color: #fff;
}

.tl-cta h2 span {
  color: var(--gl-yellow);
}

.tl-cta p:last-child {
  margin-top: 12px;
  color: rgba(255, 255, 255, .7);
  font-size: 14px;
}

.tl-cta__buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  flex: none;
}

.tl-cta__secondary {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 1000px) {

  .tl-find__grid,
  .tl-scope__grid,
  .tl-process__steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tl-hero__inner {
    gap: 32px;
  }

  .tl-hero__visual {
    width: min(100%, 370px);
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 68px;
  }

  .tl-hero__inner {
    grid-template-columns: 1fr;
    padding-block: 58px 38px;
  }

  .tl-hero__visual {
    width: min(100%, 440px);
    justify-self: center;
    aspect-ratio: 1;
    border-radius: 18px 18px 65px 18px;
  }

  .tl-hero__bottom {
    flex-wrap: wrap;
  }

  .tl-hero__bottom span {
    flex: 1 1 150px;
    padding: 12px 0;
  }

  .tl-section-head {
    display: block;
  }

  .tl-section-head>p {
    max-width: 520px;
    margin-top: 16px;
  }

  .tl-signs__layout,
  .tl-why__layout,
  .tl-faq__layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .tl-why__image {
    max-height: 440px;
  }

  .tl-cta__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .tl-cta__buttons {
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .tl-hero h1 {
    font-size: clamp(36px, 10vw, 48px);
  }

  .tl-hero__lede {
    font-size: 15px;
  }

  .tl-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .tl-hero__badge {
    min-width: 120px;
    padding: 12px 15px;
    font-size: 20px;
  }

  .tl-find__grid,
  .tl-scope__grid,
  .tl-process__steps {
    grid-template-columns: 1fr;
  }

  .tl-find-card {
    min-height: 245px;
  }

  .tl-scope__note {
    display: block;
  }

  .tl-scope__note p {
    margin-top: 6px;
  }
}

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

  .tl-find-card {
    transition: none;
  }
}

.tl-mobile-contact {
  display: none;
}

@media (max-width: 600px) {
  .tl-page {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }

  .tl-mobile-contact {
    position: fixed;
    z-index: 80;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    gap: 9px;
    padding: 9px 13px calc(9px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--gl-line, #e3e6ec);
    background: #fff;
    box-shadow: 0 -5px 18px rgba(21, 42, 79, .12);
  }

  .tl-mobile-contact a {
    display: inline-flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 8px 10px;
    border-radius: 8px;
    background: var(--gl-navy, #1b3a6b);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
  }

  .tl-mobile-contact a:last-child {
    background: var(--gl-yellow, #f5c842);
    color: var(--gl-navy-d, #142c52);
  }
}
