.about-us-section {
  --about-progress: 0;
  --about-progress-eased: 0;
  --about-line-1: 0;
  --about-line-2: 0;
  --about-line-3: 0;
  padding: 120px 5%;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 22%, rgba(223, 197, 152, 0.2), transparent 48%),
    radial-gradient(circle at 88% 78%, rgba(255, 245, 226, 0.34), transparent 52%),
    linear-gradient(135deg, #f7f9fc 0%, #f4f6fa 42%, #fbfdff 100%);
}

.about-us-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../../images/banner_aboutus-optimized.jpg");
  background-size: 130%;
  background-position: center;
  filter: blur(4px) saturate(82%);
  opacity: 0.1;
  transform: scale(1.08);
  z-index: 1;
  animation: aboutBgFlow 14s ease-in-out infinite alternate;
}

.about-us-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.82) 8%, rgba(249, 251, 255, 0.58) 55%, rgba(255, 255, 255, 0.85) 100%);
  z-index: 1;
}

.about-us-section .container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}

.about-us-section .services-title {
  margin-bottom: 56px;
}

.about-us-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(253, 248, 240, 0.87) 100%);
  border: 1px solid rgba(232, 214, 182, 0.4);
  border-radius: 26px;
  box-shadow:
    0 18px 40px rgba(128, 146, 176, 0.15),
    0 3px 12px rgba(191, 160, 114, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
  margin: 0 auto;
  padding: 20px;
  align-items: center;
  gap: 34px;
  backdrop-filter: blur(4px);
  transform: perspective(1200px) rotateX(calc((1 - var(--about-progress)) * 2deg));
  transition: transform 0.25s linear;
}

.about-col-image {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}

.about-image-frame {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 20px 38px rgba(134, 149, 176, 0.2);
}

.about-image-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 25%, rgba(88, 97, 117, 0.3) 100%);
  z-index: 1;
  pointer-events: none;
}

.clinic-real-img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  display: block;
  transform: scale(calc(0.2 + (var(--about-progress-eased) * 0.8)))
    translateY(calc((1 - var(--about-progress)) * 28px));
  transform-origin: center center;
  transition: transform 0.25s linear;
  filter: saturate(calc(0.82 + (var(--about-progress-eased) * 0.18)))
    contrast(calc(0.9 + (var(--about-progress-eased) * 0.1)));
}

.about-image-tag {
  position: absolute;
  bottom: 26px;
  left: 26px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.72);
  color: #745527;
  border: 1px solid rgba(202, 174, 126, 0.45);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
  opacity: calc(0.15 + (var(--about-progress-eased) * 0.85));
  transform: translateY(calc((1 - var(--about-progress)) * 18px));
  transition: opacity 0.25s linear, transform 0.25s linear;
}

.about-col-text {
  padding: 56px 52px;
  border-radius: 20px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.78) 0%, rgba(255, 250, 242, 0.62) 100%);
  border: 1px solid rgba(234, 220, 196, 0.52);
  text-align: left;
  opacity: calc(0.01 + (var(--about-progress-eased) * 0.99));
  transform:
    translateX(calc((1 - var(--about-progress)) * -170px))
    skewX(calc((1 - var(--about-progress)) * -2deg));
  filter: blur(calc((1 - var(--about-progress)) * 8px));
  transition: opacity 0.2s linear, transform 0.2s linear, filter 0.2s linear;
}

.about-logo-wrapper {
  margin-bottom: 30px;
  border-top: 1px solid rgba(171, 139, 92, 0.32);
  border-bottom: 1px solid rgba(171, 139, 92, 0.32);
  padding: 18px 0;
}

.about-logo-text {
  font-size: clamp(28px, 3vw, 34px);
  font-weight: 600;
  letter-spacing: 0.22em;
  color: #5e4523;
  margin-bottom: 8px;
  opacity: calc(0.05 + (var(--about-line-1) * 0.95));
  transform: translateX(calc((1 - var(--about-line-1)) * -60px));
  filter: blur(calc((1 - var(--about-line-1)) * 3px));
  transition: opacity 0.22s linear, transform 0.22s linear, filter 0.22s linear;
}

.about-logo-sub {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #b1915c;
  opacity: calc(0.03 + (var(--about-line-2) * 0.97));
  transform: translateX(calc((1 - var(--about-line-2)) * -74px));
  filter: blur(calc((1 - var(--about-line-2)) * 3.5px));
  transition: opacity 0.22s linear, transform 0.22s linear, filter 0.22s linear;
}

.about-description {
  font-size: 15px;
  line-height: 1.95;
  letter-spacing: 0.03em;
  color: #5c6575;
}

.about-description p {
  margin: 0 0 16px;
  opacity: calc(0.03 + (var(--about-line-3) * 0.97));
  transform: translateX(calc((1 - var(--about-line-3)) * -90px));
  filter: blur(calc((1 - var(--about-line-3)) * 4px));
  transition: opacity 0.24s linear, transform 0.24s linear, filter 0.24s linear;
}

.about-description p:last-child {
  margin-bottom: 0;
}

.about-more-btn-wrapper {
  margin-top: 36px;
  text-align: center;
}

@media (max-width: 850px) {
  .about-us-wrapper {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 16px;
  }

  .about-col-text {
    padding: 34px 24px;
  }

  .about-image-tag {
    left: 16px;
    right: 16px;
    bottom: 16px;
    text-align: center;
  }

  .clinic-real-img {
    min-height: 360px;
  }
}

@keyframes aboutBgFlow {
  from {
    transform: scale(1.08) translateX(-1.5%);
  }

  to {
    transform: scale(1.12) translateX(1.5%);
  }
}
