/*
 * About page
 */

.st-about-page .content-area,
.st-about-page .site-main,
.st-about-page .content-container,
.st-about-page .entry-content-wrap,
.st-about-page .entry-content,
.st-about-page .elementor {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.st-about-page .entry-header {
  display: none;
}

.st-about-page .st_about.e-con {
  --padding-top: clamp(7rem, 11vw, 10.5rem);
  --padding-bottom: clamp(7rem, 11vw, 10.5rem);
  --padding-left: 1.5rem;
  --padding-right: 1.5rem;
  --display: flex;
  --align-items: center;
  --justify-content: center;
  min-height: clamp(48rem, calc(100vh - 5rem), 67rem);
  background: #fff
    url("../../../../uploads/2026/06/s-touch-home/st-about-background.jpg")
    center top / cover no-repeat;
}

.st-about-page .st_about__inner.e-con {
  --display: flex;
  --align-items: center;
  --gap: 0;
  --width: min(100%, 92rem);
  width: min(100%, 92rem);
  max-width: calc(100vw - 3rem);
  margin-inline: auto;
  text-align: center;
}

.st-about-page .st_about__portrait {
  position: relative;
  width: clamp(13rem, 17vw, 16rem);
  margin-bottom: 4.5rem;
}

.st-about-page .st_about__portrait::after {
  position: absolute;
  bottom: -2.25rem;
  left: 50%;
  width: 13.5rem;
  height: 1px;
  background: var(--st-color-primary);
  content: "";
  transform: translateX(-50%);
}

.st-about-page .st_about__portrait .elementor-widget-container,
.st-about-page .st_about__portrait img {
  width: 100%;
}

.st-about-page .st_about__portrait img {
  display: block;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
}

.st-about-page .st_about__eyebrow {
  margin-bottom: 0.75rem;
  color: var(--st-color-primary);
  font-family: var(--st-font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.st-about-page .st_about__title .elementor-heading-title {
  margin: 0;
  color: var(--st-color-text);
  font-family: var(--st-font-display);
  font-size: clamp(2rem, 3vw, 2.7rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
}

.st-about-page .st_about__copy {
  width: 100%;
  max-width: 44rem;
  margin: 1.25rem auto 0;
  overflow-wrap: anywhere;
}

.st-about-page .st_about__copy,
.st-about-page .st_about__copy p {
  color: var(--st-color-muted);
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  font-weight: 300;
  line-height: 1.9;
  text-align: center;
}

.st-about-page .st_about__copy p {
  margin: 0;
}

.st-about-page .st_about__socials {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.75rem;
}

.st-about-page .st_about__socials a {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  border: 1px solid var(--st-color-primary);
  border-radius: 50%;
  color: var(--st-color-primary);
  place-items: center;
  transition:
    background-color 180ms ease,
    color 180ms ease;
}

.st-about-page .st_about__socials a:hover,
.st-about-page .st_about__socials a:focus-visible {
  background-color: var(--st-color-primary);
  color: #fff;
}

.st-about-page .st_about__socials svg {
  width: 0.85rem;
  height: 0.85rem;
  fill: currentColor;
}

@property --st-stat-current {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 0%;
}

.st-about-page .st_about_extras {
  padding: clamp(6rem, 9vw, 9rem) max(1.5rem, calc((100vw - 82rem) / 2));
  background: #fff;
}

.st-about-page .st_about_extras__title {
  max-width: 46rem;
  margin: 0 auto 4.5rem;
  text-align: center;
}

.st-about-page .st_about_extras__title > span {
  color: var(--st-color-primary);
  font-size: 1.8rem;
}

.st-about-page .st_about_extras__title i {
  display: block;
  width: 11rem;
  height: 1px;
  margin: 1rem auto 1.75rem;
  background: var(--st-color-primary);
}

.st-about-page .st_about_extras__title h2 {
  margin: 0 0 1rem;
  color: var(--st-color-text);
  font-family: var(--st-font-display);
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.st-about-page .st_about_extras__title p {
  color: var(--st-color-muted);
  font-weight: 300;
  line-height: 1.8;
}

.st-about-page .st_about_stats {
  display: grid;
  max-width: 68rem;
  margin: 0 auto 6rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
}

.st-about-page .st_about_stat {
  text-align: center;
}

.st-about-page .st_about_stat__circle {
  position: relative;
  width: 9rem;
  height: 9rem;
  display: grid;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: conic-gradient(
    var(--st-color-primary) var(--st-stat-current, 0%),
    #f0ece3 0
  );
  place-items: center;
  transform: rotate(-90deg);
  transition: --st-stat-current 1400ms cubic-bezier(0.22, 1, 0.36, 1);
}

.st-about-page .st_about_stat__circle::before {
  position: absolute;
  inset: 0.5rem;
  border-radius: 50%;
  background: #fff;
  content: "";
}

.st-about-page .st_about_stat__circle strong {
  position: relative;
  color: var(--st-color-text);
  font-family: var(--st-font-display);
  font-size: 2rem;
  font-weight: 400;
  transform: rotate(90deg);
}

.st-about-page .st_about_stats.is-visible .st_about_stat__circle {
  --st-stat-current: var(--st-stat-target);
}

.st-about-page .st_about_stat p {
  margin: 0;
  color: var(--st-color-text);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.st-about-page .st_about_certificates {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  content-visibility: auto;
  contain-intrinsic-size: 500px;
}

@media (prefers-reduced-motion: reduce) {
  .st-about-page .st_about_stat__circle {
    --st-stat-current: var(--st-stat-target);
    transition: none;
  }
}

.st-about-page .st_about_certificate {
  margin: 0;
  text-align: center;
}

.st-about-page .st_about_certificate a {
  display: block;
  padding: 0.65rem;
  border: 1px solid #ead8b2;
  background: #fbfaf8;
}

.st-about-page .st_about_certificate img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 300ms ease;
}

.st-about-page .st_about_certificate a:hover img {
  transform: scale(1.025);
}

.st-about-page .st_about_certificate figcaption {
  margin-top: 1rem;
  color: var(--st-color-text);
  font-family: var(--st-font-display);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
}

@media (max-width: 900px) {
  .st-about-page .st_about_stats,
  .st-about-page .st_about_certificates {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .st-about-page .st_about.e-con {
    --padding-top: 6rem;
    --padding-bottom: 6rem;
    min-height: 44rem;
    background-position: center top;
  }

  .st-about-page .st_about__portrait {
    width: 12rem;
    margin-bottom: 4rem;
  }

  .st-about-page .st_about__portrait::after {
    width: 9rem;
  }

  .st-about-page .st_about__inner.e-con {
    --width: calc(100vw - 3rem);
    width: calc(100vw - 3rem);
    max-width: calc(100vw - 3rem);
  }

  .st-about-page .st_about__copy.elementor-widget-text-editor {
    --container-widget-width: calc(100vw - 3rem);
    width: calc(100vw - 3rem);
    max-width: calc(100vw - 3rem);
  }

  .st-about-page .st_about__copy .elementor-widget-container {
    width: 100%;
    max-width: 100%;
  }

  .st-about-page .st_about__copy,
  .st-about-page .st_about__copy p {
    font-size: 0.95rem;
    line-height: 1.75;
  }

  .st-about-page .st_about_stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem 1rem;
  }

  .st-about-page .st_about_stat__circle {
    width: 7.5rem;
    height: 7.5rem;
  }

  .st-about-page .st_about_certificates {
    grid-template-columns: 1fr;
  }
}
