/* Doctors page. Shared header/footer/UI: styles.css; shared forms: services.css. */
.team-intro {
  background: var(--gradient-panel);
  padding: 54px 64px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 45px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.team-intro::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("../images/dental-pattern.svg");
  opacity: 0.28;
  mask-image: linear-gradient(90deg, transparent, #000);
}
.team-intro h1 {
  font-size: 61px;
  line-height: 1.13;
  font-weight: 400;
  letter-spacing: -2.8px;
  margin-top: 23px;
}
.team-intro__copy > p:not(.eyebrow) {
  font-size: 15px;
  line-height: 1.9;
  color: #6f889f;
  max-width: 520px;
  margin-top: 24px;
}
.team-intro__actions {
  display: flex;
  align-items: center;
  gap: 23px;
  margin-top: 27px;
}
.team-intro__staff {
  font-size: 11px;
  font-weight: 600;
  color: #6789a3;
}
.team-intro__portraits {
  position: relative;
  min-height: 320px;
  align-self: center;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}
.team-intro__portrait {
  width: 30%;
  height: 238px;
  object-fit: cover;
  object-position: 50% 24%;
  border: 5px solid #ffffffc9;
  border-radius: 100px 100px 24px 24px;
  box-shadow: 0 15px 25px #5b87a516;
}
.team-intro__portrait--left {
  transform: translateY(23px) rotate(-7deg);
}
.team-intro__portrait--center {
  height: 290px;
  width: 34%;
  z-index: 1;
  transform: translateY(-13px);
}
.team-intro__portrait--right {
  transform: translateY(20px) rotate(7deg);
}
.team-intro__note {
  display: flex;
  gap: 13px;
  align-items: center;
  position: absolute;
  right: 3px;
  bottom: -15px;
  z-index: 2;
  padding: 17px 22px;
  border: 1px solid white;
  border-radius: 19px;
  background: #ffffffe3;
  backdrop-filter: blur(12px);
  color: #5c839e;
  font-size: 11px;
  line-height: 1.6;
  box-shadow: 0 9px 23px #3f7e9e0d;
}
.team-intro__note .icon {
  width: 30px;
  height: 30px;
  color: #31adcb;
  stroke-width: 1.2;
}
.team-intro__sparkle {
  position: absolute;
  right: 0;
  top: -13px;
  width: 32px;
  height: 32px;
  fill: #a09ceb;
}
.doctors-section {
  padding-top: 52px;
  padding-bottom: 48px;
}
.doctors-section .section-heading {
  margin-bottom: 27px;
}
.doctors-section .section-heading h2,
.staff-section .section-heading h2 {
  font-size: 36px;
  font-weight: 500;
}
.doctors-section .section-heading > div > p:last-child,
.staff-section .section-heading > div > p:last-child {
  font-size: 14px;
  margin-top: 11px;
}
.team-section-links {
  display: flex;
  gap: 7px;
  border: 1px solid #e0edf8;
  border-radius: 40px;
  padding: 5px;
  flex-shrink: 0;
  background: white;
}
.team-section-links a {
  font-size: 12px;
  color: #8396a9;
  padding: 10px 17px;
  border-radius: 30px;
  display: flex;
  gap: 13px;
  align-items: center;
  font-weight: 600;
}
.team-section-links a.is-current {
  background: #eaf8ff;
  color: #2896bb;
}
.team-section-links a span {
  font-size: 9px;
  opacity: 0.65;
  font-variant-numeric: tabular-nums;
}
.doctors-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px 20px;
}
.doctor-card {
  padding: 12px;
  border-radius: 27px;
  background: #edf8fe;
  border: 1px solid #e7f2fa;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
  overflow: hidden;
}
.doctor-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px #7cacc61a;
}
.doctor-card__portrait {
  position: relative;
  border-radius: 19px;
  overflow: hidden;
  background: #e3eee8;
}
.doctor-card__portrait > img {
  width: 100%;
  height: 345px;
  object-fit: cover;
  object-position: 50% 25%;
  transition: transform 350ms ease;
}
.doctor-card:hover .doctor-card__portrait > img {
  transform: scale(1.015);
}
.doctor-card__badge {
  position: absolute;
  bottom: 13px;
  left: 13px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border: 1px solid #ffffffd4;
  background: #ffffffdf;
  backdrop-filter: blur(8px);
  border-radius: 30px;
  font-size: 10px;
  font-weight: 600;
  color: #4a7e8e;
}
.doctor-card__badge .icon {
  width: 14px;
  height: 16px;
  stroke-width: 1.6;
  color: #22a0be;
}
.doctor-card__body {
  padding: 20px 10px 11px;
}
.doctor-card h3 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.8px;
  line-height: 1.2;
}
.doctor-card h3 > span {
  display: block;
  margin-top: 5px;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -0.4px;
}
.doctor-card__role {
  margin-top: 12px;
  font-size: 12px;
  color: #88a0b0;
}
.doctor-card__booking {
  width: 100%;
  margin-top: 20px;
  font-size: 13px;
  min-height: 48px;
  justify-content: space-between;
  background: #fff9;
  border-color: #d2e6f4;
  padding-left: 20px;
}
.doctor-card__booking .button__arrow {
  width: 28px;
  height: 28px;
}
.doctor-help {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  border: 1px solid #deecf7;
  border-radius: 27px;
  padding: 35px;
  background: linear-gradient(145deg, #f6fbff, #edf4ff);
  position: relative;
  overflow: hidden;
}
.doctor-help::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/dental-pattern.svg");
  opacity: 0.4;
  pointer-events: none;
}
.doctor-help > * {
  position: relative;
  z-index: 1;
}
.doctor-help__icon {
  display: grid;
  place-items: center;
  width: 69px;
  height: 69px;
  background: #fff;
  border-radius: 22px;
  color: #53aec6;
  margin-bottom: 28px;
}
.doctor-help__icon .icon {
  width: 40px;
  height: 40px;
  stroke-width: 1.15;
}
.doctor-help h3 {
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -1.25px;
  line-height: 1.18;
}
.doctor-help > p:not(.section-kicker) {
  font-size: 13px;
  color: #8499ae;
  line-height: 1.85;
  margin-top: 19px;
  max-width: 300px;
}
.doctor-help .button {
  font-size: 12px;
  gap: 15px;
  min-height: 49px;
  padding-left: 20px;
  margin-top: 25px;
}
.staff-section {
  padding-bottom: 48px;
}
.staff-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 23px 18px;
}
.staff-card {
  background: #fbfdff;
  border: 1px solid #e4eef7;
  border-radius: 23px;
  overflow: hidden;
  padding: 9px;
}
.staff-card__portrait {
  border-radius: 16px;
  overflow: hidden;
  background: #e5f0e9;
}
.staff-card__portrait > img {
  width: 100%;
  height: 265px;
  object-fit: cover;
  object-position: 50% 23%;
}
.staff-card__body {
  padding: 18px 10px 15px;
}
.staff-card h3 {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.5px;
}
.staff-card h3 > span {
  display: block;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.3px;
  margin-top: 4px;
}
.staff-card__body > p {
  font-size: 11px;
  color: #869dae;
  margin-top: 11px;
  line-height: 1.6;
  min-height: 18px;
}
.staff-card__placeholder {
  height: 265px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e4f6ff, #ecedff);
  color: #8cb5c9;
  position: relative;
  overflow: hidden;
}
.staff-card__placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/dental-pattern.svg");
  opacity: 0.4;
}
.staff-card__placeholder > span {
  font-size: 58px;
  font-weight: 300;
  letter-spacing: -2px;
  position: relative;
  z-index: 1;
}
.staff-card__placeholder > small {
  font-size: 9px;
  margin-top: 12px;
  position: relative;
  z-index: 1;
  color: #91a9bc;
}
.team-request {
  padding: 53px 64px;
  background: var(--gradient-panel);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 65px;
}
.team-request::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/dental-pattern.svg");
  opacity: 0.35;
  z-index: -1;
}
.team-request__copy {
  align-self: center;
  min-width: 0;
}
.team-request__copy h2 {
  font-size: 43px;
  font-weight: 400;
  letter-spacing: -1.9px;
  line-height: 1.18;
}
.team-request__copy h2 > span {
  color: #48a7c0;
}
.team-request__copy > p:not(.section-kicker) {
  font-size: 14px;
  line-height: 1.85;
  color: #7d94a7;
  max-width: 420px;
  margin-top: 23px;
}
.team-request__copy address {
  font-style: normal;
  font-size: 12px;
  color: #89a0b2;
  margin-top: 13px;
}
.page-doctors .site-footer {
  margin-top: 45px;
}
@media (max-width: 1200px) {
  .team-intro {
    padding: 42px 40px;
    gap: 30px;
  }
  .team-intro h1 {
    font-size: 51px;
  }
  .team-intro__copy > p:not(.eyebrow) {
    font-size: 14px;
  }
  .team-intro__portraits {
    min-height: 290px;
    gap: 8px;
  }
  .team-intro__portrait {
    height: 205px;
    border-width: 4px;
  }
  .team-intro__portrait--center {
    height: 250px;
  }
  .team-intro__note {
    padding: 14px 17px;
    font-size: 10px;
  }
  .team-intro__actions .button {
    font-size: 13px;
    gap: 15px;
    min-height: 49px;
    padding-left: 20px;
  }
  .team-intro__staff {
    font-size: 10px;
  }
  .doctor-card__portrait > img {
    height: 285px;
  }
  .doctor-card h3 {
    font-size: 21px;
  }
  .doctor-card h3 > span {
    font-size: 16px;
  }
  .doctor-card__booking {
    font-size: 12px;
    padding-left: 15px;
    gap: 12px;
  }
  .doctor-help {
    padding: 28px;
  }
  .doctor-help h3 {
    font-size: 29px;
  }
  .staff-card__portrait > img,
  .staff-card__placeholder {
    height: 225px;
  }
  .staff-card h3 {
    font-size: 17px;
  }
  .staff-card h3 > span {
    font-size: 12px;
  }
  .team-request {
    padding: 43px;
    gap: 40px;
  }
  .team-request__copy h2 {
    font-size: 37px;
  }
}
@media (max-width: 900px) {
  .team-intro {
    grid-template-columns: 1.2fr 1fr;
    padding: 36px 30px;
    gap: 20px;
  }
  .team-intro h1 {
    font-size: 42px;
    letter-spacing: -2px;
  }
  .team-intro__copy > p:not(.eyebrow) {
    font-size: 13px;
  }
  .team-intro__actions {
    flex-wrap: wrap;
    gap: 15px;
  }
  .team-intro__portraits {
    min-height: 240px;
  }
  .team-intro__portrait {
    height: 170px;
    border-width: 3px;
  }
  .team-intro__portrait--center {
    height: 210px;
  }
  .team-intro__note {
    right: -8px;
    bottom: -12px;
    font-size: 9px;
    padding: 12px 14px;
  }
  .team-intro__note .icon {
    width: 24px;
    height: 24px;
  }
  .doctors-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
  .doctor-card__portrait > img {
    height: 310px;
  }
  .staff-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 17px;
  }
  .staff-card__portrait > img,
  .staff-card__placeholder {
    height: 225px;
  }
  .team-request {
    padding: 35px;
    gap: 30px;
  }
  .team-request__copy h2 {
    font-size: 33px;
  }
  .doctors-section .section-heading h2,
  .staff-section .section-heading h2 {
    font-size: 31px;
  }
  .team-section-links a {
    font-size: 10px;
    padding: 9px 13px;
    gap: 8px;
  }
}
@media (max-width: 760px) {
  .team-intro {
    grid-template-columns: minmax(0, 1fr);
    padding: 30px 24px;
    gap: 35px;
  }
  .team-intro h1 {
    font-size: 42px;
    letter-spacing: -2px;
    margin-top: 20px;
  }
  .team-intro__copy > p:not(.eyebrow) {
    font-size: 13px;
    margin-top: 20px;
  }
  .team-intro__portraits {
    width: 100%;
    max-width: 390px;
    justify-self: center;
    min-height: 260px;
    margin-bottom: 15px;
  }
  .team-intro__portrait {
    height: 190px;
  }
  .team-intro__portrait--center {
    height: 230px;
  }
  .team-intro__note {
    right: 0;
    bottom: -5px;
  }
  .team-intro__sparkle {
    width: 25px;
    height: 25px;
    top: -8px;
  }
  .team-intro__actions {
    gap: 17px;
  }
  .team-intro__staff {
    font-size: 10px;
  }
  .doctors-section {
    padding-top: 35px;
    padding-bottom: 34px;
  }
  .doctors-section .section-heading {
    flex-wrap: wrap;
    gap: 18px;
  }
  .doctors-section .section-heading h2,
  .staff-section .section-heading h2 {
    font-size: 29px;
  }
  .doctors-section .section-heading > div > p:last-child,
  .staff-section .section-heading > div > p:last-child {
    font-size: 12px;
    margin-top: 9px;
    max-width: none;
  }
  .team-section-links {
    padding: 4px;
  }
  .team-section-links a {
    font-size: 11px;
    padding: 9px 15px;
  }
  .doctors-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
  .doctor-card {
    padding: 11px;
  }
  .doctor-card__portrait > img {
    height: auto;
    aspect-ratio: 1.05;
    object-position: 50% 25%;
  }
  .doctor-card__body {
    padding: 20px 11px 12px;
  }
  .doctor-card h3 {
    font-size: 25px;
  }
  .doctor-card h3 > span {
    font-size: 17px;
  }
  .doctor-card__booking {
    font-size: 13px;
    min-height: 49px;
  }
  .doctor-help {
    padding: 27px;
  }
  .doctor-help__icon {
    width: 55px;
    height: 55px;
    margin-bottom: 20px;
    border-radius: 18px;
  }
  .doctor-help__icon .icon {
    width: 34px;
    height: 34px;
  }
  .doctor-help h3 {
    font-size: 29px;
  }
  .doctor-help > p:not(.section-kicker) {
    font-size: 12px;
    margin-top: 15px;
  }
  .doctor-help .button {
    margin-top: 20px;
    font-size: 12px;
  }
  .staff-section {
    padding-bottom: 32px;
  }
  .staff-section .section-heading {
    margin-bottom: 22px;
  }
  .staff-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
  }
  .staff-card {
    padding: 7px;
    border-radius: 19px;
  }
  .staff-card__portrait {
    border-radius: 13px;
  }
  .staff-card__portrait > img,
  .staff-card__placeholder {
    height: 175px;
  }
  .staff-card__body {
    padding: 13px 5px 10px;
  }
  .staff-card h3 {
    font-size: 16px;
  }
  .staff-card h3 > span {
    font-size: 11px;
    line-height: 1.5;
    letter-spacing: -0.2px;
  }
  .staff-card__body > p {
    font-size: 10px;
    line-height: 1.5;
    margin-top: 8px;
  }
  .staff-card__placeholder > span {
    font-size: 39px;
  }
  .staff-card__placeholder > small {
    font-size: 7px;
    letter-spacing: -0.2px;
  }
  .team-request {
    grid-template-columns: minmax(0, 1fr);
    padding: 30px 24px;
    gap: 27px;
  }
  .team-request__copy h2 {
    font-size: 32px;
    letter-spacing: -1.5px;
  }
  .team-request__copy > p:not(.section-kicker) {
    font-size: 13px;
    margin-top: 18px;
  }
  .team-request__copy address {
    font-size: 11px;
    line-height: 1.8;
  }
  .page-doctors .site-footer {
    margin-top: 30px;
  }
}
@media (max-width: 370px) {
  .team-intro {
    padding-inline: 20px;
  }
  .team-intro h1 {
    font-size: 35px;
  }
  .team-intro .eyebrow {
    font-size: 8px;
  }
  .team-intro__portrait {
    height: 160px;
  }
  .team-intro__portrait--center {
    height: 195px;
  }
  .team-intro__portraits {
    min-height: 220px;
  }
  .team-intro__staff {
    font-size: 9px;
  }
  .team-intro__actions .button {
    font-size: 11px;
    padding-left: 17px;
    gap: 12px;
  }
  .staff-grid {
    gap: 10px;
  }
  .staff-card__portrait > img,
  .staff-card__placeholder {
    height: 145px;
  }
  .staff-card h3 {
    font-size: 14px;
  }
  .staff-card h3 > span {
    font-size: 10px;
    overflow-wrap: anywhere;
  }
  .staff-card__placeholder > small {
    font-size: 6px;
  }
  .team-request {
    padding-inline: 20px;
  }
  .team-request__copy h2 {
    font-size: 29px;
  }
}

/* Supplied cutout portrait: preserve full head and transparent background. */
.staff-card__portrait > .staff-card__photo--melnikov { object-fit: contain; object-position: center bottom; }
