/* TRUST BAR */
.trust { background: var(--white); border-bottom: 1px solid var(--border); padding: 20px 0; }
.trust__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.trust__item  { display: flex; align-items: center; gap: 10px; }
.trust__dot   { width: 8px; height: 8px; border-radius: 50%; background: var(--pink); flex-shrink: 0; }
.trust__item span { font-size: 13px; font-weight: 600; color: var(--ink-mid); }
.trust__sep   { width: 1px; height: 32px; background: var(--border); }



/* Symptom cards */
.symptoms { padding: 100px 0; background: var(--off); }
.symptom-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.symptom-card {
  border-radius: var(--r-lg); overflow: hidden;
  background: var(--white); border: 1.5px solid var(--border);
  transition: box-shadow var(--ease-mid), transform var(--ease-mid), border-color var(--ease-mid);
  cursor: pointer; display: block;
}
.symptom-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-5px); border-color: var(--pink); }
.symptom-card__img { width: 100%; aspect-ratio: 16/10; overflow: hidden; position: relative; }
.symptom-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--ease-slow); }
.symptom-card:hover .symptom-card__img img { transform: scale(1.06); }
.symptom-card__body  { padding: 18px 20px 22px; }
.symptom-card__title { font-family: var(--ff-display); font-weight: 400; font-size: 16px; color: var(--purple); margin-bottom: 8px; }
.symptom-card__desc  { font-size: 12.5px; color: var(--ink-light); line-height: 1.65; }
.symptom-card__cta   { font-size: 12px; font-weight: 600; color: var(--pink); margin-top: 12px; display: inline-block; }

/* Symptoms index */
.symptoms-index { padding: 80px 0 110px; background: var(--off); }
.symptom-controls {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; margin-bottom: 32px; flex-wrap: wrap;
}
.symptom-search {
  display: flex; align-items: center; gap: 10px;
  flex: 1 1 380px;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--r-pill);
  padding: 6px 22px;
  transition: border-color var(--ease), box-shadow var(--ease);
}
.symptom-search:focus-within { border-color: var(--pink); box-shadow: var(--shadow-sm); }
.symptom-search svg { color: var(--ink-light); flex-shrink: 0; }
.symptom-search input {
  flex: 1; border: none; outline: none;
  padding: 12px 0; background: transparent;
  font-family: var(--ff-body); font-size: 15px; color: var(--ink);
}
.symptom-controls__count {
  font-size: 13px; color: var(--ink-light); font-weight: 600;
  white-space: nowrap;
}

.symptom-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.symptom-tile {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: box-shadow var(--ease-mid), transform var(--ease-mid), border-color var(--ease-mid);
}
.symptom-tile:hover {
  border-color: var(--pink);
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}
.symptom-tile__img {
  aspect-ratio: 4/3; overflow: hidden;
  background: var(--purple-pale);
}
.symptom-tile__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--ease-slow);
}
.symptom-tile:hover .symptom-tile__img img { transform: scale(1.05); }
.symptom-tile__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.symptom-tile__title {
  font-family: var(--ff-display); font-weight: 400;
  font-size: 17px; color: var(--purple);
  line-height: 1.25;
}
.symptom-tile__desc {
  font-size: 13px; color: var(--ink-light);
  line-height: 1.6; margin: 0;
}
.symptom-tile__cta {
  margin-top: auto; padding-top: 10px;
  font-size: 12px; font-weight: 600; color: var(--pink);
  letter-spacing: .04em;
}

.symptom-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--ink-light);
  font-size: 15px;
}
.symptom-empty a { color: var(--pink); font-weight: 600; }

@media (max-width: 1100px) {
  .symptom-grid { grid-template-columns: repeat(3, 1fr); }
  .symptom-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .symptom-grid { grid-template-columns: repeat(2, 1fr); }
  .page-hero { padding: 60px 0 70px; }
  .page-hero__stats { gap: 28px; }
}
@media (max-width: 640px) {
  .symptom-row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .symptom-grid { grid-template-columns: 1fr; }
}


/* ABOUT SPLIT */
.about { padding: 100px 0; background: var(--white); }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about__images { position: relative; height: 560px; }
.about__img-main {
  position: absolute; top: 0; left: 0; right: 80px; bottom: 80px;
  border-radius: 20px; overflow: hidden;
  background: url('https://images.unsplash.com/photo-1571019613454-1cb2f99b2d8b?w=700&q=80') center/cover no-repeat;
}
.about__img-secondary {
  position: absolute; bottom: 0; right: 0;
  width: 52%; aspect-ratio: 1;
  border-radius: 20px; overflow: hidden;
  border: 6px solid var(--white);
  background: url('https://images.unsplash.com/photo-1559839734-2b71ea197ec2?w=400&q=80') center/cover no-repeat;
}
.about__pill {
  position: absolute; top: 40px; right: -20px;
  background: var(--pink); color: var(--white);
  font-family: var(--ff-display);
  font-size: 14px; padding: 10px 20px;
  border-radius: var(--r-pill);
  white-space: nowrap;
  box-shadow: var(--shadow-md);
}
.about__content { display: flex; flex-direction: column; gap: 22px; }

.value-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.value-item { padding: 14px 16px; border-radius: var(--r-md); border-left: 3px solid var(--pink); background: var(--pink-wash); }
.value-item strong { font-size: 13.5px; font-weight: 600; color: var(--purple); display: block; }
.value-item span   { font-size: 12px; color: var(--ink-light); }

/* SPECIALIST */
.specialist { padding: 100px 0; background: var(--white); }
.specialist__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.specialist__photo-wrap {
  position: relative; border-radius: 20px; overflow: hidden;
  aspect-ratio: 4/5;
  background:
    linear-gradient(to top, rgba(53,43,83,.5) 0%, transparent 50%),
    url('https://images.unsplash.com/photo-1551836022-d5d88e9218df?w=700&q=80') center/cover no-repeat;
}
.specialist__photo-caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 32px 28px; color: var(--white); }
.specialist__photo-caption strong { font-family: var(--ff-display); font-size: 20px; font-weight: 400; display: block; margin-bottom: 4px; }
.specialist__photo-caption span   { font-size: 13px; opacity: .75; }
.specialist__badge {
  position: absolute; top: 24px; left: 24px;
  background: var(--pink); color: var(--white);
  font-size: 11px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; padding: 6px 14px; border-radius: var(--r-pill);
}
.specialist__content { display: flex; flex-direction: column; gap: 24px; }
.specialist__search-wrap {
  display: flex; border: 2px solid var(--border); border-radius: var(--r-pill);
  overflow: hidden; background: var(--white);
  transition: border-color .2s;
}
.specialist__search-wrap:focus-within { border-color: var(--pink); }
.specialist__search-wrap input {
  flex: 1; border: none; outline: none; padding: 15px 22px;
  font-family: var(--ff-body); font-size: 15px; color: var(--ink); background: transparent;
}
.specialist__search-wrap button {
  background: var(--pink); color: var(--white); border: none;
  padding: 10px 22px; margin: 5px; border-radius: var(--r-pill);
  font-weight: 600; font-size: 13.5px; cursor: pointer;
  transition: background var(--ease);
}
.specialist__search-wrap button:hover { background: var(--pink-mid); }

.advisor-strip { display: flex; flex-direction: column; gap: 12px; }
.advisor-row {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; border-radius: var(--r-md);
  border: 1.5px solid var(--border); background: var(--off);
  transition: border-color var(--ease), background var(--ease);
}
.advisor-row:hover { border-color: var(--pink); background: var(--pink-wash); }
.advisor-row__photo { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: var(--purple-pale); }
.advisor-row__photo img { width: 100%; height: 100%; object-fit: cover; }
.advisor-row__name { font-weight: 600; font-size: 14px; color: var(--ink); }
.advisor-row__role { font-size: 12px; color: var(--ink-light); }
.advisor-row__tag  {
  margin-left: auto; flex-shrink: 0;
  font-size: 11px; font-weight: 600; color: var(--pink);
  background: var(--pink-pale); padding: 4px 12px; border-radius: var(--r-pill);
}

/* BLOG */
.blog { padding: 100px 0; }
.blog__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.blog__side { display: flex; flex-direction: column; gap: 24px; }
.post-card {
  background: var(--white); border-radius: var(--r-lg);
  overflow: hidden; border: 1.5px solid var(--border);
  transition: box-shadow var(--ease-mid), transform var(--ease-mid);
  display: block;
}



.post-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.post-card--featured { background: var(--white); border: none; border-radius: 18px; padding: 24px; box-shadow: var(--shadow-sm); }
.post-card__img { width: 100%; overflow: hidden; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--ease-slow); }
.post-card:hover .post-card__img img { transform: scale(1.05); }
.post-card--featured .post-card__img { aspect-ratio: 16/7; border-radius: var(--r-md); }
.post-card--small .post-card__img    { aspect-ratio: 3/2; }
.post-card--side {
  display: grid;
  grid-template-columns: minmax(180px, 42%) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
}
.post-card--side:hover { box-shadow: none; transform: none; }
.post-card--side .post-card__img {
  aspect-ratio: 16/9;
  border-radius: var(--r-md);
  background: var(--purple-pale);
}
.post-card__body  { padding: 22px 24px 26px; }
.post-card--featured .post-card__body { padding: 26px 0 2px; }
.post-card--side .post-card__body { padding: 0; }
.post-card__cat   {
  font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--pink); margin-bottom: 10px; display: block;
}
.post-card__title {
  font-family: var(--ff-display); font-weight: 400;
  color: var(--purple); line-height: 1.35; margin-bottom: 10px;
}
.post-card--featured .post-card__title { font-size: 22px; }
.post-card--small .post-card__title    { font-size: 16px; }
.post-card--side .post-card__title { font-size: 16px; margin-bottom: 8px; }
.post-card__excerpt { font-size: 13.5px; color: var(--ink-light); line-height: 1.65; margin-bottom: 16px; }
.post-card__meta    { font-size: 12px; color: var(--ink-light); display: flex; gap: 6px; align-items: center; }
.post-card__meta::before { content: ''; width: 14px; height: 1px; background: var(--ink-light); }



/* ============================================================
   MOBILE: ABOUT, SPECIALIST, BLOG
   ============================================================ */

/* --- Tablet: 900px and below --- */
@media (max-width: 900px) {

  /* About */
  .about { padding: 70px 0; }
  .about__grid { grid-template-columns: 1fr; gap: 48px; }
  .about__images { height: 340px; }
  .about__img-main { right: 60px; bottom: 60px; }
  .about__pill { right: 0; top: 24px; }

  /* Specialist */
  .specialist { padding: 70px 0; }
  .specialist__grid { grid-template-columns: 1fr; gap: 40px; }
  .specialist__photo-wrap { aspect-ratio: 16/9; max-height: 340px; }

  /* Blog */
  .blog { padding: 70px 0; }

  .blog__grid { grid-template-columns: 1fr; gap: 28px; }

  /* CTA */
  .cta { padding: 70px 0; }
  .cta__inner { grid-template-columns: 1fr; gap: 40px; }
  .cta__visual { max-height: 300px; }
}

/* --- Mobile: 640px and below --- */
@media (max-width: 640px) {

  /* About */
  .about { padding: 56px 0; }
  .about__grid { gap: 36px; }
  .about__images { height: 280px; }
  .about__img-main { right: 48px; bottom: 48px; }
  .about__img-secondary { width: 46%; }
  .about__pill { font-size: 12px; padding: 8px 14px; right: 0; top: 16px; }
  .value-grid { grid-template-columns: 1fr; }

  /* Specialist */
  .specialist { padding: 56px 0; }
  .specialist__photo-wrap { aspect-ratio: 4/3; max-height: 260px; }
  .specialist__photo-caption strong { font-size: 16px; }
  .advisor-row__tag { display: none; } /* reclaim space on small screens */

  /* Blog */
  .blog { padding: 56px 0; }
  .post-card--side {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .post-card--side .post-card__img { aspect-ratio: 16/7; }
  .post-card--featured .post-card__title { font-size: 18px; }

  /* CTA */
  .cta { padding: 56px 0; }
  .cta__sub { font-size: 14px; margin-bottom: 28px; }
  .cta__visual { display: none; } /* text is the focus on mobile; image adds little value */
}

/* --- Small mobile: 400px and below --- */
@media (max-width: 400px) {

  /* About */
  .about__images { height: 220px; }
  .about__img-secondary { display: none; } /* too cramped at this size */
  .about__img-main { right: 0; bottom: 0; }
  .about__pill { display: none; }

  /* Specialist */
  .specialist__photo-wrap { aspect-ratio: 3/2; }
}

/* COMMUNITY CTA */
.cta { padding: 100px 0; background: var(--purple); position: relative; overflow: hidden; }
.cta::before {
  content: ''; position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1516534775068-ba3e7458af70?w=1400&q=70') center/cover no-repeat;
  opacity: .12;
}
.cta__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.cta__title { font-family: var(--ff-display); font-weight: 300; font-size: clamp(28px, 3.5vw, 50px); color: var(--white); line-height: 1.15; margin-bottom: 16px; }
.cta__title em { font-style: normal; color: var(--gold); }
.cta__sub   { font-size: 16px; color: rgba(255,255,255,.65); line-height: 1.75; margin-bottom: 36px; }
.cta__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cta__visual {
  border-radius: 20px; overflow: hidden; aspect-ratio: 4/3;
  background: url('https://images.unsplash.com/photo-1529156069898-49953e39b3ac?w=700&q=80') center/cover no-repeat;
  position: relative;
}
.cta__visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(226,28,118,.25), transparent); }