.dfao-doctor-profile {
  --dfao-profile-blue-950: #082653;
  --dfao-profile-blue-900: #123b73;
  --dfao-profile-blue-700: #2b5fc5;
  --dfao-profile-green-500: #6fc377;
  --dfao-profile-ink: #122033;
  --dfao-profile-muted: #64748b;
  --dfao-profile-line: #dfe7f0;
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: clamp(88px, 9vw, 144px) 0;
  color: var(--dfao-profile-ink);
  background:
    linear-gradient(90deg, #eef5f8 0 35%, #fff 35% 100%);
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.dfao-doctor-profile *,
.dfao-doctor-profile *::before,
.dfao-doctor-profile *::after {
  box-sizing: border-box;
}

.dfao-doctor-profile__inner {
  display: grid;
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
  align-items: center;
  grid-template-columns: minmax(390px, .82fr) minmax(0, 1.18fr);
  gap: clamp(68px, 9vw, 128px);
}

.dfao-doctor-profile__visual {
  position: relative;
  display: grid;
  min-height: 650px;
  place-items: center;
  isolation: isolate;
}

.dfao-doctor-profile__visual::before {
  position: absolute;
  z-index: -2;
  width: 440px;
  max-width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 42% 38%, rgba(111, 195, 119, .3), transparent 16%),
    linear-gradient(145deg, #2b64bd, #0a2b59);
  box-shadow: 0 30px 75px rgba(8, 38, 83, .18);
  content: "";
}

.dfao-doctor-profile__photo {
  position: relative;
  z-index: 2;
  width: min(390px, 92%);
  height: 590px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 210px 210px 28px 28px;
  background: var(--dfao-profile-blue-900);
  box-shadow:
    0 34px 78px rgba(8, 38, 83, .22),
    0 0 0 10px rgba(255, 255, 255, .32);
  animation: dfao-profile-float 7.5s ease-in-out infinite;
}

.dfao-doctor-profile__photo::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 -80px 80px rgba(5, 29, 65, .16);
  content: "";
  pointer-events: none;
}

.dfao-doctor-profile__photo img {
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: center 14%;
}

.dfao-doctor-profile__orbit {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(43, 95, 197, .18);
  border-radius: 50%;
  pointer-events: none;
}

.dfao-doctor-profile__orbit::after {
  position: absolute;
  width: 10px;
  height: 10px;
  border: 3px solid rgba(255, 255, 255, .7);
  border-radius: 50%;
  background: var(--dfao-profile-green-500);
  box-shadow: 0 0 18px rgba(111, 195, 119, .66);
  content: "";
}

.dfao-doctor-profile__orbit--one {
  top: 11%;
  left: -9%;
  width: 330px;
  height: 330px;
  animation: dfao-profile-rotate 20s linear infinite;
}

.dfao-doctor-profile__orbit--one::after {
  top: 15%;
  right: 15%;
}

.dfao-doctor-profile__orbit--two {
  right: -5%;
  bottom: 9%;
  width: 240px;
  height: 240px;
  border-color: rgba(111, 195, 119, .16);
  animation: dfao-profile-rotate-reverse 17s linear infinite;
}

.dfao-doctor-profile__orbit--two::after {
  bottom: 13%;
  left: 18%;
}

.dfao-doctor-profile__content {
  min-width: 0;
}

.dfao-doctor-profile h2 {
  margin: 0;
  color: var(--dfao-profile-blue-950);
  font-size: clamp(42px, 4vw, 62px);
  font-weight: 780;
  letter-spacing: -.045em;
  line-height: 1.05;
}

.dfao-doctor-profile__intro {
  max-width: 720px;
  margin-top: 27px;
}

.dfao-doctor-profile__intro p,
.dfao-doctor-profile__context {
  margin: 0;
  color: var(--dfao-profile-muted);
  font-size: 17.5px;
  line-height: 1.72;
}

.dfao-doctor-profile__intro p + p {
  margin-top: 15px;
}

.dfao-doctor-profile__credentials {
  margin-top: 34px;
}

.dfao-doctor-profile h3 {
  margin: 0;
  color: var(--dfao-profile-blue-950);
  font-size: 24px;
  font-weight: 750;
  letter-spacing: -.02em;
  line-height: 1.2;
}

.dfao-doctor-profile__credentials ul {
  display: grid;
  margin: 18px 0 0;
  padding: 0;
  border-top: 1px solid var(--dfao-profile-line);
  list-style: none;
}

.dfao-doctor-profile__credentials li {
  position: relative;
  display: grid;
  min-height: 54px;
  align-items: center;
  margin: 0;
  padding: 14px 0 14px 27px;
  border-bottom: 1px solid var(--dfao-profile-line);
  color: #3e5066;
  font-size: 15.5px;
  font-weight: 650;
  line-height: 1.5;
}

.dfao-doctor-profile__credentials li::before {
  position: absolute;
  top: 21px;
  left: 2px;
  width: 9px;
  height: 9px;
  border: 2px solid #daf0dd;
  border-radius: 50%;
  background: var(--dfao-profile-green-500);
  box-shadow: 0 0 0 1px var(--dfao-profile-green-500);
  content: "";
}

.dfao-doctor-profile__credential--confirm {
  gap: 7px;
}

.dfao-doctor-profile__credential--confirm small {
  width: fit-content;
  padding: 4px 7px;
  border: 1px solid #f2d28e;
  border-radius: 6px;
  color: #8a5b04;
  background: #fff7df;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .035em;
  line-height: 1.2;
}

.dfao-doctor-profile__context {
  max-width: 720px;
  margin-top: 27px;
}

.dfao-doctor-profile__button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
  padding: 0 21px;
  border: 1px solid var(--dfao-profile-blue-700);
  border-radius: 11px;
  color: #fff;
  background: var(--dfao-profile-blue-700);
  box-shadow: 0 14px 30px rgba(43, 95, 197, .2);
  font-size: 14.5px;
  font-weight: 760;
  line-height: 1.25;
  text-decoration: none;
  transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
}

.dfao-doctor-profile__button::after {
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  content: "";
  transform: rotate(45deg);
}

.dfao-doctor-profile__button:hover {
  color: #fff;
  background: var(--dfao-profile-blue-900);
  box-shadow: 0 18px 38px rgba(18, 59, 115, .24);
  transform: translateY(-2px);
}

.dfao-doctor-profile__button:focus-visible {
  outline: 3px solid rgba(43, 95, 197, .3);
  outline-offset: 3px;
}

@keyframes dfao-profile-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes dfao-profile-rotate {
  to {
    transform: rotate(360deg);
  }
}

@keyframes dfao-profile-rotate-reverse {
  to {
    transform: rotate(-360deg);
  }
}

@media (max-width: 980px) {
  .dfao-doctor-profile {
    background: linear-gradient(180deg, #eef5f8 0 42%, #fff 42% 100%);
  }

  .dfao-doctor-profile__inner {
    grid-template-columns: 1fr;
    gap: 62px;
  }

  .dfao-doctor-profile__visual {
    width: min(100%, 620px);
    min-height: 620px;
    justify-self: center;
  }

  .dfao-doctor-profile__content {
    max-width: 780px;
  }
}

@media (max-width: 620px) {
  .dfao-doctor-profile {
    padding: 76px 0;
  }

  .dfao-doctor-profile__inner {
    width: min(100% - 32px, 1180px);
    gap: 48px;
  }

  .dfao-doctor-profile__visual {
    min-height: 500px;
  }

  .dfao-doctor-profile__photo {
    width: min(330px, 84vw);
    height: 485px;
    border-radius: 180px 180px 24px 24px;
  }

  .dfao-doctor-profile__visual::before {
    width: 360px;
  }

  .dfao-doctor-profile h2 {
    font-size: clamp(40px, 11.4vw, 52px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .dfao-doctor-profile *,
  .dfao-doctor-profile *::before,
  .dfao-doctor-profile *::after {
    animation: none !important;
    transition: none !important;
  }
}

