/* Landing-page refresh: existing account, screening and admin layouts remain in app.css. */
.clinic-header {
  width: 100%;
  top: 0;
  margin-top: 0;
  border-radius: 0;
  padding: 18px max(32px, calc((100vw - 1180px) / 2));
  border-inline: 0;
  border-top: 0;
  gap: 28px;
  background: #ffffffed;
}
.clinic-header .brand img {
  width: 76px;
  height: 76px;
}
.clinic-header .brand {
  font-size: 16px;
}
.clinic-header nav {
  display: flex;
  gap: 23px;
  font-size: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.clinic-header nav a {
  white-space: nowrap;
}
.clinic-header .button {
  white-space: nowrap;
  font-size: 12px;
  min-height: 44px;
}
.ui-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  vertical-align: middle;
  flex-shrink: 0;
}
.button .ui-icon {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
}
.button.outline .ui-icon {
  filter: none;
  opacity: 0.7;
}
.clinic-banner {
  position: relative;
  isolation: isolate;
  background: linear-gradient(110deg, #d5e8df, #f6eef3 90%);
  overflow: hidden;
}
.banner-inner {
  position: relative;
  z-index: 1;
  min-height: 370px;
  display: flex;
  align-items: center;
}
.banner-copy {
  width: 52%;
  position: relative;
  z-index: 1;
  padding: 38px 0;
}
.banner-copy .eyebrow {
  color: #486a60;
  margin-bottom: 10px;
}
.banner-copy h1 {
  font-size: clamp(30px, 3.5vw, 46px);
  line-height: 1.65;
  letter-spacing: -0.8px;
  margin-bottom: 12px;
}
.banner-copy p {
  color: #526b64;
  margin-bottom: 22px;
  font-size: 14px;
}
.banner-copy .button {
  background: var(--teal);
  border-color: var(--teal);
}
.banner-copy .button:hover {
  background: #185f59;
}
.banner-image {
  position: absolute;
  width: 60%;
  height: 100%;
  left: 0;
  top: 0;
  object-fit: cover;
  object-position: left center;
  mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    #000 7%,
    #000 65%,
    transparent
  );
  mask-image: linear-gradient(
    to right,
    transparent,
    #000 7%,
    #000 65%,
    transparent
  );
}
.home-content .section {
  padding: 62px 0;
}
.social-cards {
  margin: 26px 0 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.social-cards .quick-link {
  min-height: 126px;
  padding: 22px;
  gap: 18px;
  border-radius: 22px;
  background: #ffffffb8;
}
.social-cards .quick-link strong {
  font-size: 14px;
  font-weight: 700;
}
.social-cards .quick-link small {
  font-size: 11px;
  color: #697478;
  margin-top: 7px;
}
.social-cards .social-icon {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: #f6e8f0;
  flex-shrink: 0;
}
.social-cards .social-icon .ui-icon {
  width: 36px;
  height: 36px;
  opacity: 0.75;
}
.social-cards .social-youtube .social-icon {
  background: #f8e9e7;
}
.social-cards .booking .social-icon {
  background: #e2efe8;
}
.social-cards .quick-arrow {
  width: 17px;
  height: 17px;
  opacity: 0.45;
  margin-right: auto;
}
.social-cards .quick-link:hover {
  transform: translateY(-5px);
  border-color: #c4dcd1;
  box-shadow: 0 14px 32px #375e5010;
}
.doctor-about {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 100px;
}
.consultation-service .service-bottom {
  justify-content: flex-end;
}
.portrait-placeholder {
  min-height: 380px;
  display: grid;
  place-items: center;
}
.portrait-placeholder svg {
  width: 160px;
  height: 160px;
  opacity: 0.45;
}
.patient-identity-notice {
  padding: 18px 20px;
  border: 1px solid #cfb2d2;
  border-right: 5px solid #8f3791;
  border-radius: 14px;
  background: #f4e9f5;
  color: #522254;
  line-height: 2;
}
.about-copy h2 {
  font-size: 31px;
  margin-bottom: 8px;
}
.about-specialty {
  color: var(--teal);
  display: block;
  margin-bottom: 22px;
  font-size: 14px;
}
.about-copy p {
  font-size: 14px;
  color: #5f7270;
}
.about-copy .button {
  margin-top: 10px;
}
.doctor-portrait {
  margin: 0;
  padding: 12px;
  border-radius: 28px;
  background: #ffffffb8;
}
.doctor-portrait > img {
  width: 100%;
  height: 345px;
  object-fit: cover;
  object-position: 50% 22%;
  border-radius: 20px;
  display: block;
}
.doctor-portrait figcaption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 16px 7px 6px;
  font-size: 11px;
}
.doctor-portrait figcaption span {
  color: #697b75;
}
body[data-page="home"] .section-heading h2 {
  font-size: 28px;
}
body[data-page="home"] .section-heading > p {
  font-size: 12px;
}
body[data-page="home"] .service-card {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  border-radius: 26px;
  padding: 34px;
}
body[data-page="home"] .service-symbol .ui-icon {
  width: 26px;
  height: 26px;
  opacity: 0.6;
}
body[data-page="home"] .service-card p {
  font-size: 13px;
  color: #647471;
}
body[data-page="home"] .service-card ul {
  font-size: 12px;
  color: #63736c;
}
body[data-page="home"] .care-card {
  border-radius: 24px;
}
body[data-page="home"] .care-card p {
  color: #677774;
}
.clinic-team-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
}
.clinic-team-card {
  text-align: center;
  padding: 30px 24px;
  border-radius: 28px;
  background: #ffffffb8;
  transition:
    transform 250ms ease,
    border-color 250ms ease,
    box-shadow 250ms ease;
}
.team-portrait {
  position: relative;
  width: 156px;
  height: 156px;
  padding: 4px;
  border-radius: 50%;
  border: 1px solid #b6cdbf;
  margin: 0 auto 22px;
  background: #f6edf3;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.team-portrait > img {
  transition: transform 350ms cubic-bezier(0.2, 0.6, 0.2, 1);
  transform-origin: center 35%;
}
@media (hover: hover) and (pointer: fine) {
  body[data-page="home"] .service-card:hover,
  body[data-page="home"] .service-card:focus-within {
    transform: translateY(-5px);
    border-color: #c4dcd1;
    box-shadow: 0 14px 32px #375e5010;
  }
  .team-portrait:hover > img,
  .clinic-team-card:focus-within .team-portrait > img {
    transform: scale(1.1);
  }
  .clinic-team-card:hover {
    transform: translateY(-5px);
    border-color: #c4dcd1;
    box-shadow: 0 14px 32px #375e5010;
  }
}
.team-portrait > img:not(.team-person-icon) {
  position: absolute;
  inset: 4px;
  width: calc(100% - 8px);
  height: calc(100% - 8px);
  object-fit: cover;
  object-position: 50% 18%;
  border-radius: 50%;
}
.team-portrait .team-person-icon {
  width: 64px;
  height: 64px;
  opacity: 0.22;
}
.clinic-team-card .sample {
  margin-bottom: 10px;
  font-size: 10px;
}
.clinic-team-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
}
.clinic-team-card .specialty {
  font-size: 12px;
  background: transparent;
  color: #4f6860;
}
.clinic-team-card p {
  min-height: 58px;
  font-size: 12px;
  margin: 18px 0;
}
.clinic-team-card .button {
  margin-top: 4px;
}
body[data-page="home"] .contact-details dd {
  color: #4f6660;
}
body[data-page="home"] .contact-details bdi {
  font-size: 18px;
  letter-spacing: 1px;
}
.checkout-faq {
  padding: 30px;
  margin-bottom: 50px;
}
.checkout-faq h2 {
  font-size: 23px;
}
@media (min-width: 1101px) {
  .clinic-team-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (min-width: 1400px) {
  .banner-image {
    width: 58%;
  }
}
@media (max-width: 1100px) {
  .clinic-header {
    flex-wrap: wrap;
    gap: 10px 25px;
    padding: 12px 32px;
  }
  .clinic-header nav {
    order: 3;
    width: 100%;
    padding: 8px 0 3px;
    gap: 28px;
  }
  .clinic-header .header-actions {
    margin-right: auto;
  }
  .social-cards .quick-link {
    padding: 17px;
    gap: 12px;
  }
  .social-cards .social-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
  }
  .social-cards .social-icon .ui-icon {
    width: 30px;
    height: 30px;
  }
  .social-cards .quick-link strong {
    font-size: 12px;
  }
  .doctor-about {
    gap: 45px;
  }
}
@media (max-width: 760px) {
  .clinic-header {
    padding: 10px 20px 6px;
    gap: 8px;
  }
  .clinic-header .brand {
    font-size: 13px;
    gap: 8px;
  }
  .clinic-header .brand img {
    width: 54px;
    height: 54px;
  }
  .clinic-header .brand small {
    font-size: 7px;
    letter-spacing: 1px;
    margin-top: 4px;
  }
  .clinic-header nav {
    gap: 8px 20px;
    font-size: 11px;
    overflow-x: auto;
    justify-content: flex-start;
    flex-wrap: nowrap;
    padding-bottom: 8px;
    scrollbar-width: thin;
  }
  .clinic-header .button {
    font-size: 10px;
    padding: 8px 12px;
  }
  .banner-inner {
    min-height: 340px;
  }
  .banner-copy {
    width: 64%;
    padding: 30px 0;
  }
  .banner-copy h1 {
    font-size: 31px;
  }
  .banner-copy p {
    font-size: 12px;
  }
  .banner-image {
    width: 55%;
    opacity: 0.5;
  }
  .social-cards {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 18px;
  }
  .social-cards .quick-link {
    min-height: 90px;
    padding: 16px 20px;
  }
  .social-cards .quick-link strong {
    font-size: 14px;
  }
  .social-cards .social-icon {
    width: 56px;
    height: 56px;
  }
  .home-content .section {
    padding: 38px 0;
  }
  .doctor-about {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .doctor-portrait {
    width: min(100%, 380px);
    justify-self: center;
  }
  .doctor-portrait > img {
    height: 320px;
  }
  .about-copy h2 {
    font-size: 27px;
  }
  body[data-page="home"] .section-heading h2 {
    font-size: 24px;
  }
  body[data-page="home"] .service-card {
    padding: 25px;
  }
  body[data-page="home"] .service-card p {
    max-width: 100%;
  }
  body[data-page="home"] .service-card h3 {
    font-size: 22px;
  }
  .clinic-team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  .clinic-team-card {
    padding: 24px 15px;
  }
  .team-portrait {
    width: 120px;
    height: 120px;
  }
  .clinic-team-card h3 {
    font-size: 15px;
  }
  .clinic-team-card .button {
    gap: 12px;
    padding: 8px 12px;
  }
  .checkout-faq {
    padding: 23px;
  }
}
@media (max-width: 480px) {
  .banner-copy {
    width: 100%;
  }
  .banner-copy h1 {
    font-size: 32px;
  }
  .banner-copy p {
    max-width: 230px;
  }
  .banner-image {
    width: 64%;
    opacity: 0.28;
  }
  .clinic-team-grid {
    grid-template-columns: 1fr;
  }
  .team-portrait {
    width: 156px;
    height: 156px;
  }
  .clinic-team-card h3 {
    font-size: 18px;
  }
  .doctor-portrait figcaption {
    flex-wrap: wrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  body[data-page="home"] .service-card {
    transition: none;
  }
  body[data-page="home"] .service-card:hover {
    transform: none;
  }
  body[data-page="home"] .service-card:focus-within {
    transform: none;
  }
  .social-cards .quick-link,
  .clinic-team-card,
  .team-portrait > img {
    transition: none;
  }
  .social-cards .quick-link:hover,
  .clinic-team-card:hover,
  .team-portrait:hover > img,
  .clinic-team-card:focus-within .team-portrait > img {
    transform: none;
    animation: none;
  }
}

.social-cards .booking {
  grid-column: auto;
}
.social-cards .booking small {
  display: block;
  margin-right: 0;
}
