/* Technology Landing Page */

/* ─ Hero ─ */
.tl-hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  padding: 0 0 120px;
  background-image: url('/wp-content/uploads/2026/05/view-from-rejuvenation-beautiful-woman-enjoying-cosmetology-procedures-beauty-salon-dermatology-hands-blue-glows-healthcare-therapy-botox-1.webp');
  background-position: center center;
  background-size: cover;
}
.tl-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.40);
}
.tl-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 120px;
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 40px;
}
.tl-hero__heading-col {
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}
.tl-hero__text-col {
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}
.tl-hero__h {
  font-family: var(--ff-h);
  font-size: 52px;
  font-weight: 500;
  color: #fff;
  line-height: 1.2;
  max-width: 500px;
}
.tl-hero__h em {
  font-style: italic;
  font-weight: 400;
}
.tl-hero__sub {
  font-family: var(--ff-b);
  font-size: 20px;
  font-weight: 400;
  color: rgba(255,255,255,.9);
  line-height: 1.65;
  max-width: 480px;
}

/* ─ Intro strip ─ */
.tl-intro {
  background: var(--cream);
  padding: 80px 0;
  border-bottom: 1px solid rgba(51,33,6,.08);
}
.tl-intro__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 120px;
  box-sizing: border-box;
}
.tl-intro__text {
  font-family: var(--ff-b);
  font-size: 16px;
  font-weight: 400;
  color: #332106;
  line-height: 1.8;
  max-width: 900px;
  margin: 0;
}

/* ─ Tech section (mirrors homepage) ─ */
.tl-tech {
  padding: clamp(60px, 8.333vw, 120px) 0;
  background: #fff;
}
.tl-tech__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 120px;
  box-sizing: border-box;
}
.tl-tech__hdr {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 56px;
}
.tl-tech__hdr h2 {
  font-family: var(--ff-h);
  font-size: 48px;
  font-weight: 600;
  color: var(--heading);
  line-height: 1.25;
  margin: 0;
}
.tl-tech__hdr h2 em {
  font-style: italic;
  color: var(--green);
  font-weight: 400;
}
.tl-tech__sub {
  font-family: var(--ff-b);
  font-size: 16px;
  line-height: 1.8;
  color: var(--heading);
  margin: 0;
}
.tl-tech__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.tl-tech-box {
  text-align: center;
  text-decoration: none;
  display: block;
  transition: transform .25s ease;
}
.tl-tech-box:hover {
  transform: translateY(-4px);
}
.tl-tech-box__img {
  border-radius: 14px;
  overflow: hidden;
  background: #f0efe8;
  margin-bottom: 14px;
  aspect-ratio: 1 / 1;
}
.tl-tech-box__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.tl-tech-box:hover .tl-tech-box__img img {
  transform: scale(1.06);
}
.tl-tech-box__name {
  font-family: var(--ff-b);
  font-size: .9rem;
  font-weight: 600;
  color: var(--heading);
  line-height: 1.4;
  margin: 0;
}

/* ─ Responsive ─ */
@media (max-width: 1024px) {
  .tl-hero__inner,
  .tl-intro__inner,
  .tl-tech__inner {
    padding-left: 40px;
    padding-right: 40px;
  }
  .tl-hero {
    min-height: 520px;
    padding-bottom: 80px;
  }
  .tl-hero__inner {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
    padding-bottom: 0;
  }
  .tl-hero__h { font-size: 40px; }
  .tl-hero__sub { font-size: 18px; }
  .tl-tech__hdr { grid-template-columns: 1fr; }
  .tl-tech__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .tl-hero__inner,
  .tl-intro__inner,
  .tl-tech__inner {
    padding-left: 20px;
    padding-right: 20px;
  }
  .tl-hero {
    min-height: 420px;
    padding-bottom: 60px;
    align-items: flex-end;
  }
  .tl-hero__h { font-size: 32px; }
  .tl-hero__sub { font-size: 16px; }
  .tl-intro { padding: 48px 0; }

  .tl-tech { overflow: hidden; }
  .tl-tech__grid {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    gap: 14px;
    padding-bottom: 8px;
    margin-inline: -20px;
    padding-left: 20px;
    padding-right: 20px;
  }
  .tl-tech__grid::-webkit-scrollbar { display: none; }
  .tl-tech-box { flex: 0 0 160px; }
}
