/* About Us: scoped styles. No changes to existing pages. */
.pac-about-page {
  color: #11081c;
  overflow: clip;
}

.pac-about-page *,
.pac-about-page *::before,
.pac-about-page *::after {
  box-sizing: border-box;
}

.pac-about-hero {
  position: relative;
  padding: 100px 24px 90px;
  background-color: #f2f1ff;
  background-image:
    linear-gradient(rgba(64,65,209,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(64,65,209,.045) 1px, transparent 1px);
  background-size: 58px 58px;
}

.pac-about-hero-inner,
.pac-about-section-inner {
  width: min(100%, 1200px);
  margin-inline: auto;
}

.pac-about-hero-inner {
  text-align: center;
}

.pac-about-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #4041d1;
}

.pac-about-hero h1 {
  font-size: clamp(44px, 6.7vw, 94px);
  line-height: 1.06;
  letter-spacing: -.055em;
  font-weight: 650;
  margin: 24px 0;
}

.pac-about-hero-inner > p {
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.6;
  color: #5e646d;
  margin: 0 auto 44px;
  max-width: 620px;
}

.pac-about-video-shell {
  position: relative;
  isolation: isolate;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 280px;
  overflow: hidden;
  border-radius: 22px;
  background: #191327;
}

.pac-about-video-background {
  position: absolute;
  inset: -15%;
  width: 130%;
  height: 130%;
  object-fit: cover;
  filter: blur(35px) brightness(.58);
  transform: scale(1.08);
  pointer-events: none;
  z-index: -1;
}

.pac-about-video-main {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
  z-index: 1;
}

.pac-about-video-shell:not(.is-playing) .pac-about-video-main {
  opacity: .92;
}

.pac-about-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #4041d1;
  font-size: 29px;
  cursor: pointer;
  z-index: 2;
}

.pac-about-play span {
  margin-left: 5px;
}

.pac-about-video-shell.is-playing .pac-about-play {
  display: none;
}

.pac-about-play:focus-visible,
.pac-history-tab:focus-visible {
  outline: 3px solid #4041d1;
  outline-offset: 4px;
}

.pac-about-history {
  padding: 105px 24px 120px;
  background: #fff;
}

.pac-about-section-heading h2 {
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.1;
  letter-spacing: -.045em;
  margin: 14px 0 36px;
}

.pac-history-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 44px;
}

.pac-history-tab {
  border: 1px solid #dedee8;
  border-radius: 100px;
  background: #f7f7fb;
  color: #312d3c;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 14px 20px;
  cursor: pointer;
}

.pac-history-tab.is-active {
  background: #4041d1;
  border-color: #4041d1;
  color: #fff;
}

.pac-history-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: clamp(32px, 6vw, 90px);
  align-items: center;
}

.pac-history-panel[hidden] {
  display: none;
}

.pac-history-panel h3 {
  font-size: clamp(32px, 3.8vw, 54px);
  line-height: 1.13;
  letter-spacing: -.04em;
  margin: 0 0 22px;
}

.pac-history-panel p {
  max-width: 520px;
  font-size: 17px;
  line-height: 1.85;
  color: #5e646d;
  margin: 0 0 30px;
}

.pac-about-text-link {
  color: #4041d1;
  font-weight: 700;
  text-decoration: none;
}

.pac-history-photo {
  margin: 0;
  height: min(600px, 55vw);
  min-height: 380px;
  border-radius: 20px;
  overflow: hidden;
  background: #f2f1ff;
}

.pac-history-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

@media (max-width: 767px) {
  .pac-about-hero {
    padding: 65px 16px 65px;
  }

  .pac-about-hero h1 {
    font-size: clamp(38px, 9vw, 60px);
  }

  .pac-about-hero-inner > p {
    margin-bottom: 28px;
  }

  .pac-about-video-shell {
    aspect-ratio: 4 / 5;
    min-height: 0;
    border-radius: 14px;
  }

  .pac-about-video-background {
    filter: blur(22px) brightness(.55);
  }

  .pac-about-play {
    width: 66px;
    height: 66px;
    font-size: 23px;
  }

  .pac-about-history {
    padding: 65px 18px 80px;
  }

  .pac-history-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 3px 3px 12px;
    margin-bottom: 28px;
    scrollbar-width: thin;
  }

  .pac-history-tab {
    white-space: nowrap;
    flex: 0 0 auto;
    padding: 12px 16px;
  }

  .pac-history-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .pac-history-photo {
    height: 440px;
    min-height: 0;
    border-radius: 14px;
  }

  .pac-history-panel p {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pac-about-page *,
  .pac-about-page *::before,
  .pac-about-page *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* STEP 129W: REMAINING ABOUT US SECTIONS */

.pac-about-services,
.pac-about-team,
.pac-about-testimonials {
  padding: 105px 24px;
  background: #f6f7ff;
}

.pac-about-services-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 40px;
}

.pac-about-services-heading h2,
.pac-about-values-content > h2,
.pac-about-team-heading h2,
.pac-about-testimonials-heading h2 {
  max-width: 760px;
  margin: 15px 0 0;
  font-size: clamp(38px, 4.8vw, 64px);
  line-height: 1.12;
  letter-spacing: -.045em;
}

.pac-about-outline-button,
.pac-about-primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  border-radius: 40px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.pac-about-outline-button {
  color: #4041d1;
  border: 1px solid #4041d1;
}

.pac-about-primary-button {
  color: #fff;
  background: #4041d1;
}

.pac-about-services-grid,
.pac-about-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.pac-about-service-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 350px;
  padding: 32px;
  border: 1px solid #e3e4ef;
  border-radius: 18px;
  background: #fff;
}

.pac-about-service-icon {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin-bottom: 28px;
  border-radius: 16px;
  background: #f2f1ff;
}

.pac-about-service-icon img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.pac-about-service-category {
  color: #4041d1;
  font-size: 12px;
  font-weight: 700;
}

.pac-about-service-card h3 {
  margin: 10px 0 14px;
  font-size: 25px;
  letter-spacing: -.03em;
}

.pac-about-service-card p {
  margin: 0 0 24px;
  color: #5e646d;
  line-height: 1.75;
}

.pac-about-service-link {
  margin-top: auto;
  color: #4041d1;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.pac-about-values {
  padding: 110px 24px;
  background: #fff;
}

.pac-about-values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}

.pac-about-values-feature {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  border-radius: 20px;
  background: #21192c;
}

.pac-about-values-feature > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pac-about-values-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(17,8,28,.82),
    transparent 65%
  );
}

.pac-about-values-feature-content {
  position: absolute;
  left: 35px;
  right: 35px;
  bottom: 38px;
  z-index: 1;
  color: #fff;
}

.pac-about-values-feature-content > span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
}

.pac-about-values-feature-content h3 {
  margin: 14px 0 28px;
  max-width: 430px;
  font-size: clamp(32px, 3vw, 45px);
  line-height: 1.15;
}

.pac-about-values-feature-content a {
  display: inline-block;
  padding: 15px 24px;
  border-radius: 40px;
  background: #fff;
  color: #11081c;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.pac-about-values-content > h2 {
  margin-bottom: 35px;
}

.pac-about-value {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 15px;
  padding: 25px 0;
  border-top: 1px solid #e3e4ef;
}

.pac-about-value-number {
  color: #4041d1;
  font-size: 17px;
  font-weight: 700;
}

.pac-about-value h3 {
  margin: 0 0 10px;
  font-size: 23px;
}

.pac-about-value p {
  margin: 0;
  color: #5e646d;
  line-height: 1.75;
}

.pac-about-team {
  background: #fff;
}

.pac-about-team-heading {
  margin-bottom: 45px;
}

.pac-about-team-heading p {
  max-width: 580px;
  color: #5e646d;
  font-size: 17px;
  line-height: 1.75;
}

.pac-about-team-grid {
  display: grid;
  grid-template-columns: minmax(0, 470px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(35px, 7vw, 100px);
}

.pac-about-doctor-card {
  color: inherit;
  text-decoration: none;
}

.pac-about-doctor-image {
  height: 460px;
  overflow: hidden;
  border-radius: 18px;
  background: #f2f1ff;
}

.pac-about-doctor-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pac-about-doctor-card h3 {
  margin: 20px 0 5px;
  font-size: 28px;
}

.pac-about-doctor-card p {
  margin: 0 0 15px;
  color: #5e646d;
}

.pac-about-doctor-card > span {
  color: #4041d1;
  font-size: 12px;
  font-weight: 700;
}

.pac-about-team-description h3 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.15;
  letter-spacing: -.04em;
}

.pac-about-team-description p {
  max-width: 550px;
  margin-bottom: 30px;
  color: #5e646d;
  font-size: 17px;
  line-height: 1.8;
}

.pac-about-testimonials-heading {
  margin-bottom: 40px;
}

.pac-about-testimonial {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pac-about-testimonial-quote {
  flex: 1;
  padding: 30px;
  border: 1px solid #e3e4ef;
  border-radius: 18px;
  background: #fff;
}

.pac-about-testimonial-quote h3 {
  margin: 0 0 16px;
  font-size: 22px;
}

.pac-about-testimonial-quote p {
  margin: 0;
  color: #5e646d;
  line-height: 1.8;
}

.pac-about-testimonial-person {
  display: flex;
  align-items: center;
  gap: 13px;
}

.pac-about-testimonial-person img,
.pac-about-avatar-letter {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: #e6e4ff;
  color: #4041d1;
  font-weight: 700;
}

.pac-about-testimonial-person strong,
.pac-about-testimonial-person span {
  display: block;
}

.pac-about-testimonial-person span {
  margin-top: 4px;
  color: #5e646d;
  font-size: 13px;
}

.pac-about-testimonials-action {
  margin-top: 42px;
  text-align: center;
}

.pac-about-appointment {
  padding: 80px 24px;
  background: #4041d1;
  color: #fff;
}

.pac-about-appointment-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 55px;
  align-items: center;
}

.pac-about-appointment-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .13em;
}

.pac-about-appointment-content h2 {
  max-width: 720px;
  margin: 20px 0;
  font-size: clamp(40px, 5vw, 70px);
  line-height: 1.1;
  letter-spacing: -.05em;
}

.pac-about-appointment-content p {
  max-width: 500px;
  margin-bottom: 30px;
  font-size: 17px;
  line-height: 1.75;
}

.pac-about-appointment-button {
  display: inline-block;
  padding: 18px 27px;
  border-radius: 40px;
  background: #fff;
  color: #4041d1;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.pac-about-appointment-image {
  height: 420px;
  overflow: hidden;
  border-radius: 18px;
}

.pac-about-appointment-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 900px) {
  .pac-about-services-grid,
  .pac-about-testimonials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pac-about-values-grid,
  .pac-about-team-grid,
  .pac-about-appointment-grid {
    grid-template-columns: 1fr;
  }

  .pac-about-values-feature {
    min-height: 500px;
  }
}

@media (max-width: 600px) {
  .pac-about-services,
  .pac-about-team,
  .pac-about-testimonials,
  .pac-about-values {
    padding: 70px 18px;
  }

  .pac-about-services-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .pac-about-services-grid,
  .pac-about-testimonials-grid {
    grid-template-columns: 1fr;
  }

  .pac-about-service-card {
    min-height: 0;
    padding: 25px;
  }

  .pac-about-values-feature {
    min-height: 440px;
  }

  .pac-about-values-feature-content {
    left: 23px;
    right: 23px;
    bottom: 25px;
  }

  .pac-about-doctor-image {
    height: 400px;
  }

  .pac-about-appointment {
    padding: 70px 18px;
  }

  .pac-about-appointment-image {
    height: 300px;
  }
}

/* STEP 132H: ABOUT US LOGO CONTRAST */

body.page-template-page-about-us-php
.pac-header:not(.pac-header-scrolled)
.pac-logo-light {
    display: none;
}

body.page-template-page-about-us-php
.pac-header:not(.pac-header-scrolled)
.pac-logo-dark {
    display: block;
}

