/* ============================================================
   EverydayMeds — Home PPC Landing Page (home.everydaymeds.co.uk)
   Base + Header styles. Section styles get appended as built.
   ============================================================ */

/* ---- Sofia Pro (self-hosted option) ----
   To self-host instead of using fonts.cdnfonts.com: put the files in
   assets/fonts/ and uncomment. Then remove the cdnfonts <link> in partials/head.php.

@font-face {
  font-family: 'Sofia Pro';
  src: url('../fonts/SofiaPro-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Sofia Pro';
  src: url('../fonts/SofiaPro-Medium.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Sofia Pro';
  src: url('../fonts/SofiaPro-SemiBold.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Sofia Pro';
  src: url('../fonts/SofiaPro-Bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
*/

:root {
  --em-dark: #0B4131;        /* brand dark green */
  --em-green: #4CAF50;       /* mid green accent */
  --em-lime: #BFDF72;        /* brand lime */
  --em-lime-soft: #C5E86C;
  --em-mint: #EAF3EC;        /* pale section background */
  --em-cream: #F2EFE6;       /* warm cream section background */
  --em-text: #1E2A24;
  --em-text-muted: #4A5A52;
  --em-border: #E3EAE5;
  --font: 'Sofia Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --radius-pill: 999px;
  --radius-card: 14px;
  --container: 1200px;
  --header-h: 64px;
}

/* ---- Reset / base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  font-family: var(--font);
  color: var(--em-text);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, picture, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul[role="list"] { list-style: none; }
button { font-family: var(--font); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font);
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: 0;
  cursor: pointer;
  transition: background-color .2s ease, transform .15s ease;
  white-space: nowrap;
}
.btn--dark { background: var(--em-dark); color: #fff; }
.btn--dark:hover { background: #0e5340; }
.btn--dark .btn__arrow { color: var(--em-lime); }
.btn--lime { background: var(--em-lime); color: var(--em-dark); }
.btn--lime:hover { background: var(--em-lime-soft); }
.btn--lime .btn__arrow { color: var(--em-dark); }
.btn--sm { font-size: 14px; padding: 10px 20px; }
.btn--lg { font-size: 16px; padding: 15px 28px; }
.btn:active { transform: scale(.98); }

/* ---- Shared section elements (same system as ed-consultation) ---- */
.eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--em-green);
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 700;
  color: var(--em-dark);
  line-height: 1.2;
  margin-bottom: 12px;
}
.section-intro {
  font-size: 15px;
  color: var(--em-text-muted);
  max-width: 520px;
}

/* ---- Header ---- */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--em-border);
  position: sticky;
  top: 0;
  z-index: 40;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
  padding-top: 10px;
  padding-bottom: 10px;
}
.site-header__logo { flex-shrink: 0; }
.site-header__logo img { width: 185px; height: auto; }

/* Nav */
.site-nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--em-dark);
  padding: 6px 0;
  position: relative;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--em-lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.site-nav a:hover::after { transform: scaleX(1); }

/* Right side */
.site-header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.private-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--em-mint);
  color: var(--em-dark);
  font-size: 13px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
}

/* Hamburger (mobile only) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 10px;
  background: none;
  border: 1px solid var(--em-border);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: var(--em-dark);
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- Header responsive ---- */
@media (max-width: 1020px) {
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--em-border);
    box-shadow: 0 12px 24px rgba(11, 65, 49, .08);
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
  }
  .site-nav.is-open { max-height: 320px; }
  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 14px;
  }
  .site-nav a {
    display: block;
    padding: 12px 0;
    font-size: 15px;
    border-bottom: 1px solid var(--em-border);
  }
  .site-nav li:last-child a { border-bottom: 0; }
  .site-nav a::after { display: none; }

  .nav-toggle { display: flex; }
}

@media (max-width: 640px) {
  .site-header__inner { gap: 12px; }
  .site-header__actions { gap: 10px; }
  .site-header__logo img { width: 150px; }
  .private-badge { font-size: 12px; padding: 8px 13px; gap: 6px; }
}

@media (max-width: 480px) {
  .private-badge__more { display: none; } /* badge reads "Private" on phones */
}

@media (max-width: 360px) {
  .site-header__logo img { width: 132px; }
}
/* ---- Hero ---- */
.hero {
  background: var(--em-mint);
  padding: 56px 0 64px;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero__title {
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 700;
  line-height: 1.12;
  color: var(--em-dark);
  margin-bottom: 20px;
}
.hero__text {
  font-size: 15.5px;
  color: var(--em-text-muted);
  line-height: 1.65;
  max-width: 500px;
  margin-bottom: 28px;
}
.hero__ticks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 22px;
  font-size: 13px;
  font-weight: 500;
  color: var(--em-dark);
}
.hero__ticks li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.hero__ticks li::before {
  content: "";
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='8' fill='%230B4131'/%3E%3Cpath d='m4.6 8.2 2.2 2.2 4.6-4.8' stroke='%23fff' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}
.hero__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 700 / 480;
  object-fit: cover;
  border-radius: 22px;
}

/* ---- Trust strip ---- */
.trust {
  background: #fff;
  padding: 36px 0;
  border-bottom: 1px solid var(--em-border);
}
.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.trust__item {
  text-align: center;
  padding: 6px 26px;
}
.trust__item + .trust__item { border-left: 1px solid var(--em-border); }
.trust__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 14px;
}
.trust__item h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--em-dark);
  margin-bottom: 6px;
}
.trust__item p {
  font-size: 13px;
  color: var(--em-text-muted);
  line-height: 1.55;
}

/* ---- Hero + trust responsive ---- */
@media (max-width: 900px) {
  .hero { padding: 36px 0 44px; }
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero__text { max-width: 100%; }

  .trust__grid { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .trust__item:nth-child(3) { border-left: 0; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 32px; }
  .hero .btn--lg { width: 100%; justify-content: center; }
  .hero__media img { border-radius: 16px; }

  .trust { padding: 28px 0; }
  .trust__grid { grid-template-columns: 1fr; row-gap: 0; }
  .trust__item {
    display: grid;
    grid-template-columns: 44px 1fr;
    column-gap: 14px;
    text-align: left;
    padding: 16px 0;
  }
  .trust__item + .trust__item { border-left: 0; border-top: 1px solid var(--em-border); }
  .trust__icon { width: 44px; height: 44px; margin: 0; grid-row: span 2; }
  .trust__item h3 { margin-bottom: 2px; }
}

/* ---- Our healthcare services ---- */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.services {
  background: var(--em-cream);
  padding: 64px 0 72px;
}
.services__head {
  padding-bottom: 22px;
  margin-bottom: 26px;
  border-bottom: 1px solid #DDD8CB;
}
.services__head .section-title { margin-bottom: 6px; }

.services__list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.svc-card {
  position: relative; /* contains the visually-hidden label */
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border-radius: var(--radius-card);
  padding: 18px 16px 16px;
  box-shadow: 0 1px 2px rgba(11, 65, 49, .05);
  transition: transform .2s ease, box-shadow .2s ease;
}
.svc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(11, 65, 49, .12);
}
.svc-card:focus-visible {
  outline: 2px solid var(--em-dark);
  outline-offset: 3px;
}
.svc-card__title {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--em-dark);
  line-height: 1.3;
}
.svc-card__img {
  display: block;
  width: 150px;
  margin: 8px auto 14px;
}
.svc-card__img img {
  width: 100%;
  height: auto;
  transition: transform .3s ease;
}
.svc-card:hover .svc-card__img img { transform: scale(1.05); }

.svc-card__more {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  font-size: 13px;
  font-weight: 600;
  color: var(--em-dark);
}
.svc-card__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--em-mint);
  color: var(--em-dark);
  transition: background-color .2s ease, color .2s ease;
}
.svc-card:hover .svc-card__arrow {
  background: var(--em-dark);
  color: var(--em-lime);
}

/* Tablet + mobile: swipeable row with snap, next card peeks in */
@media (max-width: 1020px) {
  .services { padding: 48px 0 56px; }
  .services__list {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 20px;
    margin: 0 -20px;
    padding: 4px 20px 14px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .services__list::-webkit-scrollbar { display: none; }
  .services__list > li {
    flex: 0 0 calc((100% - 28px) / 3.3);
    scroll-snap-align: start;
  }
  .svc-card:hover { transform: none; }
}
@media (max-width: 640px) {
  .services__list > li { flex-basis: 58%; }
  .svc-card__img { width: 140px; }
}

@media (prefers-reduced-motion: reduce) {
  .svc-card, .svc-card__img img { transition: none; }
  .svc-card:hover { transform: none; }
  .svc-card:hover .svc-card__img img { transform: none; }
}

/* ---- How the online consultation works ---- */
.hiw {
  background: var(--em-mint);
  padding: 72px 0;
}
.hiw__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;
  margin-top: 32px;
}
.hiw__steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hiw__step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  border-radius: var(--radius-card);
  padding: 20px 24px;
  box-shadow: 0 1px 2px rgba(11, 65, 49, .05);
}
.hiw__step-num {
  flex-shrink: 0;
  min-width: 18px;
  font-size: 24px;
  font-weight: 600;
  color: var(--em-dark);
  line-height: 1.3;
  position: relative;
  padding-bottom: 6px;
}
/* lime underline on the first step only, as in the design */
.hiw__step:first-child .hiw__step-num::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  border-radius: 2px;
  background: var(--em-lime);
}
.hiw__step-body h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--em-dark);
  margin-bottom: 4px;
}
.hiw__step-body p {
  font-size: 13.5px;
  color: var(--em-text-muted);
  line-height: 1.55;
}

.hiw__actions { margin-top: 18px; }
.hiw__ticks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--em-dark);
}
.hiw__ticks li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.hiw__ticks li::before {
  content: "";
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='8' fill='%234CAF50'/%3E%3Cpath d='m4.6 8.2 2.2 2.2 4.6-4.8' stroke='%23fff' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}

.hiw__media img {
  width: 100%;
  height: auto;
  border-radius: 24px;
}
.hiw__media figcaption {
  font-size: 12.5px;
  color: var(--em-text-muted);
  margin-top: 12px;
}

@media (max-width: 900px) {
  .hiw { padding: 48px 0; }
  .hiw__grid {
    grid-template-columns: 1fr;
    gap: 36px;
    margin-top: 26px;
  }
  .hiw__media {
    max-width: 440px;
    margin: 0 auto;
  }
  .hiw__media figcaption { text-align: center; }
}

@media (max-width: 480px) {
  .hiw__step { padding: 16px 18px; gap: 16px; }
  .hiw__step-num { font-size: 20px; }
  .hiw .btn--lg { width: 100%; justify-content: center; }
}

/* ---- CTA band ---- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--em-dark);
  color: #fff;
  padding: 64px 0 56px;
  text-align: center;
}
/* decorative circles, top-left and top-right */
.cta-band::before,
.cta-band::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, .05);
  pointer-events: none;
}
.cta-band::before { width: 320px; height: 320px; left: -140px; top: -170px; }
.cta-band::after  { width: 260px; height: 260px; right: -90px; top: -110px; }

.cta-band__inner { position: relative; z-index: 1; }
.cta-band h2 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 22px;
}
.cta-band__points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 0;
  margin-top: 20px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, .78);
}
.cta-band__points li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
}
.cta-band__points li + li { border-left: 1px solid rgba(255, 255, 255, .25); }
.cta-band__points svg { color: var(--em-lime); }

/* ---- Trust bar ---- */
.trustbar {
  background: #fff;
  border-bottom: 1px solid var(--em-border);
}
.trustbar__list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 64px;
  padding-top: 22px;
  padding-bottom: 22px;
}
.trustbar__list li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--em-dark);
}
.trustbar__list svg { flex-shrink: 0; }

/* ---- Dark footer ---- */
.footer {
  background: var(--em-dark);
  color: #fff;
  padding: 56px 0 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.1fr 1.1fr 0.9fr 1.1fr;
  gap: 44px;
  padding-bottom: 44px;
}
.footer__brand img { width: 185px; height: auto; }
.footer__brand p {
  font-size: 13px;
  color: rgba(255, 255, 255, .8);
  line-height: 1.65;
  margin-top: 20px;
  max-width: 280px;
}

.footer__company h3,
.footer__col h3 {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  line-height: 1.4;
  margin-bottom: 14px;
}
.footer__company p {
  font-size: 12.5px;
  color: rgba(255, 255, 255, .8);
  line-height: 1.6;
  margin-bottom: 10px;
}
.footer__company strong { color: #fff; font-weight: 600; }
.footer__company p a {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer__company p a:hover { color: var(--em-lime); }
.footer__support-title { margin-top: 20px; margin-bottom: 10px !important; }
.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer__contact a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: rgba(255, 255, 255, .85);
  transition: color .15s ease;
}
.footer__contact a:hover { color: var(--em-lime); }
.footer__contact svg { color: var(--em-lime); flex-shrink: 0; }

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__col a {
  display: inline-block;
  font-size: 13px;
  color: rgba(255, 255, 255, .8);
  transition: color .15s ease, transform .15s ease;
}
.footer__col a:hover { color: var(--em-lime); transform: translateX(3px); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 20px 0 24px;
}
.footer__bottom p {
  font-size: 12.5px;
  color: rgba(255, 255, 255, .7);
}
.footer__social {
  display: flex;
  gap: 10px;
}
.footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .3);
  color: #fff;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.footer__social a:hover {
  background: var(--em-lime);
  border-color: var(--em-lime);
  color: var(--em-dark);
}

/* ---- Footer responsive ---- */
@media (max-width: 1020px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px 32px; }
  .trustbar__list { gap: 14px 36px; }
}
@media (max-width: 640px) {
  .cta-band { padding: 48px 0 44px; }
  .cta-band .btn--lg { width: 100%; justify-content: center; }
  .cta-band__points { flex-direction: column; align-items: center; gap: 8px; }
  .cta-band__points li + li { border-left: 0; }

  .trustbar__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .footer { padding-top: 40px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 30px 20px; padding-bottom: 32px; }
  .footer__brand, .footer__company { grid-column: 1 / -1; }
  .footer__brand p { max-width: 100%; }
  .footer__bottom { flex-direction: column-reverse; align-items: flex-start; gap: 14px; }
}
@media (max-width: 380px) {
  .footer__grid { grid-template-columns: 1fr; }
}
/* ---- Pharmacy information / Clinical team ---- */
.pinfo {
  background: #fff;
  padding: 72px 0;
}

/* eyebrow with leading rule: "— CLINICAL TEAM" */
.eyebrow--line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--em-dark);
}
.eyebrow--line::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: .5;
}

.pinfo__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 32px;
}
.pinfo__intro .section-intro { max-width: 600px; line-height: 1.65; }

/* GPhC badge (top right) */
.gphc-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  background: #F1F8DE;
  border-radius: var(--radius-card);
  padding: 16px 22px;
}
.gphc-badge__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--em-dark);
}
.gphc-badge strong {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--em-dark);
  margin-bottom: 2px;
}
.gphc-badge a {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--em-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.gphc-badge a:hover { text-decoration-thickness: 2px; }

/* Team cards */
.team {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.team__card {
  display: flex;
  flex-direction: column;
  background: #EEF4EF;
  border-radius: var(--radius-card);
  overflow: hidden;
}
.team__photo {
  display: block;
  background: #fff;
}
.team__photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 330 / 340;
  object-fit: cover;
  object-position: top center;
}
.team__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px 16px 14px;
}
.team__body h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--em-dark);
  line-height: 1.3;
  margin-bottom: 4px;
}
.team__body > p {
  font-size: 12.5px;
  color: var(--em-text-muted);
  line-height: 1.5;
}
.team__foot {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #D9E4DC;
}
.team__body > p { margin-bottom: 18px; }
.team__reg {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--em-dark);
  background: #fff;
  border: 1px solid #D9E4DC;
  border-radius: var(--radius-pill);
  padding: 4px 11px;
  white-space: nowrap;
}
.team__foot a {
  font-size: 12px;
  font-weight: 600;
  color: var(--em-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}
.team__foot a:hover { text-decoration-thickness: 2px; }

/* Pharmacy details bar */
.pinfo__details {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 26px;
  border: 1px solid var(--em-border);
  border-radius: var(--radius-card);
  padding: 18px 8px;
}
.pinfo__details li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 2px 18px;
}
.pinfo__details li + li { border-left: 1px solid var(--em-border); }
.pinfo__details-icon,
.standards__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #EAF6EF;
}
.pinfo__label {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--em-text-muted);
  margin-bottom: 2px;
}
.pinfo__value {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--em-dark);
  line-height: 1.45;
}
a.pinfo__value {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Clinical standards box */
.standards {
  margin-top: 26px;
  background: var(--em-mint);
  border-radius: 18px;
  padding: 30px 32px 32px;
}
.standards__title {
  font-size: clamp(20px, 2.2vw, 24px);
  font-weight: 700;
  color: var(--em-dark);
  margin-bottom: 22px;
}
.standards__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.standards__list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.standards__icon { background: #fff; }
.standards__list h4 {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--em-dark);
  margin-bottom: 4px;
}
.standards__list p {
  font-size: 13px;
  color: var(--em-text-muted);
  line-height: 1.55;
}

/* ---- Pharmacy information responsive ---- */
@media (max-width: 1020px) {
  .pinfo__head { flex-direction: column; align-items: flex-start; gap: 22px; }
  .team { grid-template-columns: repeat(2, 1fr); }
  .pinfo__details { grid-template-columns: 1fr 1fr; row-gap: 18px; }
  .pinfo__details li:nth-child(3) { border-left: 0; }
}
@media (max-width: 900px) {
  .pinfo { padding: 48px 0; }
  .standards { padding: 24px 20px; }
  .standards__list { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 560px) {
  .gphc-badge { width: 100%; padding: 14px 16px; }
  .team { gap: 12px; }
  .team__body { padding: 12px 12px 12px; }
  .team__body h3 { font-size: 14px; }
  .team__body > p { font-size: 12px; margin-bottom: 14px; }
  .team__foot { flex-direction: column; align-items: flex-start; gap: 8px; padding-top: 12px; }

  .pinfo__details { grid-template-columns: 1fr; row-gap: 0; padding: 4px 16px; }
  .pinfo__details li { padding: 14px 0; }
  .pinfo__details li + li { border-left: 0; border-top: 1px solid var(--em-border); }
}
/* ---- Header help text + phone (replaces the Private & confidential badge) ---- */
.site-header__help {
  font-size: 13px;
  color: var(--em-text-muted);
  white-space: nowrap;
}
.site-header__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--em-dark);
  white-space: nowrap;
}
.site-header__phone:hover { text-decoration: underline; }

/* not enough room for nav + help text below this width */
@media (max-width: 1240px) {
  .site-header__help { display: none; }
}
@media (max-width: 400px) {
  .site-header__phone { font-size: 13px; gap: 6px; }
}

/* ---- Services: "Coming soon" cards (no link) ---- */
.svc-card--soon { cursor: default; }
.svc-card--soon:hover {
  transform: none;
  box-shadow: 0 1px 2px rgba(11, 65, 49, .05);
}
.svc-card--soon:hover .svc-card__img img { transform: none; }
.svc-card--soon .svc-card__img img { opacity: .85; }

.svc-card__soon {
  align-self: flex-start;
  margin-top: auto;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--em-text-muted);
  background: #F1EFE8;
  border-radius: var(--radius-pill);
  padding: 5px 12px;
}