/**
 * PUBLIC HOMEPAGE VISUAL RECOVERY — scoped namespace only.
 * Loads LAST on homepage. Does not target Admin / Portal / Live Chat.
 *
 * Root cause addressed:
 * - Homepage gated off home-trust-journey.css + home-track-journey.css
 * - SVG icons without width/height + global svg{max-width:100%} → full-screen icons
 */
.public-home-v2 {
  --phv2-icon-xs: 14px;
  --phv2-icon-sm: 18px;
  --phv2-icon-md: 24px;
  --phv2-icon-lg: 32px;
  --phv2-icon-xl: 40px;
  --phv2-container: min(100% - 32px, 1240px);
  --phv2-pad-x: 16px;
}

/* Kill the unsafe global SVG expand for homepage descendants */
.public-home-v2 svg {
  max-width: none;
  width: auto;
  height: auto;
  flex: 0 0 auto;
}

.public-home-v2 img {
  max-width: 100%;
  height: auto;
}

/* ---- Small UI icons (never section-width) ---- */
.public-home-v2 .hp-trust-strip__icon,
.public-home-v2 .hp-why-trust__icon,
.public-home-v2 .hp-track-journey__icon,
.public-home-v2 .hp-journey__icon,
.public-home-v2 .hp-visa-travel__ico,
.public-home-v2 .pub-p3__icon,
.public-home-v2 .ilj-trust__ico,
.public-home-v2 .hp-journey__leaf,
.public-home-v2 .hp-cost__check,
.public-home-v2 .hp-journey__trustbar-ico {
  flex: 0 0 auto !important;
  display: inline-grid !important;
  place-items: center;
  overflow: hidden;
}

.public-home-v2 .hp-trust-strip__icon {
  width: 28px !important;
  height: 28px !important;
}

.public-home-v2 .hp-trust-strip__icon svg {
  width: 15px !important;
  height: 15px !important;
}

.public-home-v2 .ilj-trust__ico {
  width: 30px !important;
  height: 30px !important;
  border-radius: 50%;
}

.public-home-v2 .ilj-trust__ico svg {
  width: 18px !important;
  height: 18px !important;
  display: block !important;
}

.public-home-v2 .hp-journey__leaf {
  width: 22px !important;
  height: 22px !important;
  line-height: 0;
}

.public-home-v2 .hp-journey__leaf svg {
  width: 22px !important;
  height: 22px !important;
  display: block !important;
}

.public-home-v2 .hp-track-journey__eyebrow {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  width: auto !important;
  max-width: 100%;
}

.public-home-v2 .hp-track-journey__eyebrow svg {
  width: 14px !important;
  height: 14px !important;
  display: block !important;
  flex: 0 0 auto !important;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Track journey icons: mobile sized in public-sections-2-4-mobile.css */
@media (min-width: 768px) {
  .public-home-v2 .hp-track-journey__icon {
    width: 28px !important;
    height: 28px !important;
  }

  .public-home-v2 .hp-track-journey__icon svg {
    width: 16px !important;
    height: 16px !important;
    display: block !important;
  }
}

.public-home-v2 .hp-track-journey__trust svg,
.public-home-v2 .hp-track-journey__cta > svg,
.public-home-v2 .hp-track-journey__arrow {
  width: 16px !important;
  height: 16px !important;
  display: inline-block !important;
  flex: 0 0 auto !important;
}

.public-home-v2 .hp-why-trust__icon {
  width: 32px !important;
  height: 32px !important;
}

.public-home-v2 .hp-why-trust__icon svg {
  width: 16px !important;
  height: 16px !important;
}

.public-home-v2 .hp-journey__icon {
  width: 62px !important;
  height: 62px !important;
}

.public-home-v2 .hp-journey__icon svg {
  width: 34px !important;
  height: 34px !important;
  display: block !important;
}

.public-home-v2 .pub-p3__icon {
  width: 30px !important;
  height: 30px !important;
}

.public-home-v2 .pub-p3__icon svg {
  width: 16px !important;
  height: 16px !important;
}

.public-home-v2 .hp-visa-travel__ico {
  width: 32px !important;
  height: 32px !important;
}

.public-home-v2 .hp-visa-travel__ico svg {
  width: 16px !important;
  height: 16px !important;
}

.public-home-v2 .hp-cost__check {
  width: 18px !important;
  height: 18px !important;
}

.public-home-v2 .hp-cost__check svg {
  width: 10px !important;
  height: 10px !important;
}

.public-home-v2 .hp-icon-btn,
.public-home-v2 .pub-header .hp-icon-btn {
  width: 34px !important;
  height: 34px !important;
}

.public-home-v2 .hp-icon-btn svg,
.public-home-v2 .pub-header .hp-icon-btn svg {
  width: 16px !important;
  height: 16px !important;
}

.public-home-v2 .hp-mab__btn svg,
.public-home-v2 .mab-btn svg {
  width: 16px !important;
  height: 16px !important;
  max-width: 16px !important;
  max-height: 16px !important;
}

.public-home-v2 .ilj-footer__acc img {
  width: 28px !important;
  height: 28px !important;
  object-fit: contain !important;
}

.public-home-v2 .hp-brand__logo,
.public-home-v2 .ilj-footer__logo img {
  width: auto !important;
  max-width: 160px !important;
  max-height: 48px !important;
  height: auto !important;
  object-fit: contain !important;
}

/* ---- Specialities thumbnails ---- */
.public-home-v2 .hp-spec-card__media {
  width: 44px !important;
  height: 44px !important;
  flex: 0 0 auto !important;
  overflow: hidden;
}

.public-home-v2 .hp-spec-card__media img,
.public-home-v2 .hp-spec-card__media picture,
.public-home-v2 .hp-spec-card__media .hp-spec-card__img {
  width: 100% !important;
  height: 100% !important;
  max-width: 44px !important;
  max-height: 44px !important;
  object-fit: contain !important;
}

/* ---- Track Journey phone preview (bounded) ---- */
.public-home-v2 .hp-track-journey__visual {
  max-width: 220px;
  margin-inline: auto;
  justify-self: center;
}

.public-home-v2 .hp-track-journey__phone {
  width: min(180px, 48vw) !important;
  max-width: 180px !important;
  margin-inline: auto;
  border-radius: 28px;
  overflow: hidden;
  background: #0b2f4a;
  box-shadow: 0 12px 32px rgba(11, 47, 74, 0.22);
}

.public-home-v2 .hp-track-journey__screen {
  aspect-ratio: 9 / 16;
  max-height: 320px;
  overflow: hidden;
  background: #e8f1f8;
}

.public-home-v2 .hp-track-journey__screen img,
.public-home-v2 .hp-track-journey__screen picture,
.public-home-v2 .hp-track-journey__screen picture img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
  object-position: top center;
  display: block !important;
}

.public-home-v2 .hp-track-journey__halo {
  max-width: 240px;
  max-height: 240px;
}

/* ---- Hero media (bounded illustration, not full-bleed icon) ---- */
.public-home-v2 .hp-hero__visual {
  max-height: 220px !important;
  overflow: hidden;
}

.public-home-v2 .hp-hero__visual img,
.public-home-v2 .hp-hero__visual picture,
.public-home-v2 .hp-hero__visual picture img {
  width: 100% !important;
  height: 100% !important;
  max-height: 220px !important;
  object-fit: contain !important;
}

@media (max-width: 1023px) {
  .public-home-v2 .hp-hero__nav {
    display: none !important;
  }
}

@media (min-width: 1024px) {
  .public-home-v2 .hp-hero__visual {
    max-height: 420px !important;
  }

  .public-home-v2 .hp-hero__visual img,
  .public-home-v2 .hp-hero__visual picture img {
    max-height: 420px !important;
  }
}

/* ---- Medical review doctor visual ---- */
.public-home-v2 .ilj-mrev__visual,
.public-home-v2 .ilj-mrev__doctor,
.public-home-v2 .hp-review__doctor,
.public-home-v2 .hp-review__photo {
  max-width: 100%;
  max-height: 280px;
  object-fit: contain !important;
}

.public-home-v2 .ilj-mrev__visual img,
.public-home-v2 .ilj-mrev__visual picture img {
  max-height: 260px !important;
  width: auto !important;
  max-width: 100% !important;
  object-fit: contain !important;
  margin-inline: auto;
  display: block;
}

/* ---- Hospital / story cards ---- */
.public-home-v2 .hp-hospital-card__photo,
.public-home-v2 .hp-hospital-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.public-home-v2 .hp-hospital-card__photo img,
.public-home-v2 .hp-hospital-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.public-home-v2 .hp-story-card__avatar img {
  width: 48px !important;
  height: 48px !important;
  object-fit: cover !important;
  border-radius: 50%;
}

/* ---- Footer readability ---- */
.public-home-v2 .ilj-footer__inner {
  width: var(--phv2-container) !important;
  max-width: 1240px !important;
  margin-inline: auto;
  box-sizing: border-box;
}

/* Mobile: stack brand + contact — prevents brand column collapsing to 0px */
.public-home-v2 .ilj-footer__top {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 14px !important;
}

.public-home-v2 .ilj-footer__brand {
  min-width: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

.public-home-v2 .ilj-footer__brand > p,
.public-home-v2 .ilj-footer__address,
.public-home-v2 .ilj-footer__group a,
.public-home-v2 .ilj-footer__contact-link {
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: manual;
  max-width: 100% !important;
}

.public-home-v2 .ilj-footer__brand > p {
  width: 100% !important;
  max-width: 42ch !important;
  line-height: 1.5;
}

/* Keep footer copy clear of fixed Live Chat launcher (do not alter chat CSS) */
@media (max-width: 767px) {
  .public-home-v2 .ilj-footer__brand {
    padding-inline-end: 56px;
  }
}

.public-home-v2 .ilj-footer__contact {
  width: 100%;
  min-width: 0;
}

@media (min-width: 1024px) {
  .public-home-v2 .ilj-footer.pub-p3 .ilj-footer__top,
  .public-home-v2 .ilj-footer__top {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) !important;
  }
}

/* Track Journey: keep phone in flow, no overlap on trust chips */
.public-home-v2 .hp-track-journey__visual {
  position: relative !important;
  z-index: 1;
  margin-bottom: 20px !important;
  overflow: visible;
}

.public-home-v2 .hp-track-journey__phone {
  box-shadow: 0 8px 20px rgba(11, 47, 74, 0.16) !important;
}

.public-home-v2 .hp-track-journey__trust {
  position: relative;
  z-index: 2;
  margin-top: 4px !important;
  clear: both;
}

/* Mobile: flex column — do not rely on gated home-track-journey.css grid-area */
.public-home-v2 .hp-track-journey__panel {
  display: flex !important;
  flex-direction: column !important;
  gap: 20px !important;
}

.public-home-v2 .hp-track-journey__copy,
.public-home-v2 .hp-track-journey__timeline,
.public-home-v2 .hp-track-journey__visual,
.public-home-v2 .hp-track-journey__trust,
.public-home-v2 .hp-track-journey__actions {
  width: 100%;
}

/* Tablet/desktop: restore two-column grid with explicit areas (gated CSS missing) */
@media (min-width: 768px) {
  .public-home-v2 .hp-track-journey__panel {
    display: grid !important;
    grid-template-columns: minmax(0, 1.15fr) minmax(160px, 0.75fr) !important;
    grid-template-areas:
      "copy phone"
      "timeline phone"
      "trust phone"
      "actions phone" !important;
    gap: 16px 24px !important;
    align-items: center;
  }

  .public-home-v2 .hp-track-journey__copy { grid-area: copy; }
  .public-home-v2 .hp-track-journey__timeline { grid-area: timeline; }
  .public-home-v2 .hp-track-journey__visual { grid-area: phone; }
  .public-home-v2 .hp-track-journey__trust { grid-area: trust; }
  .public-home-v2 .hp-track-journey__actions { grid-area: actions; }
}

/* How It Works step icons — base size; desktop sheet overrides upward */
body.page-home.public-home-v2 .hp-journey.pub-p2 .hp-journey__icon,
.public-home-v2 .hp-journey__icon {
  width: 62px !important;
  height: 62px !important;
}

body.page-home.public-home-v2 .hp-journey.pub-p2 .hp-journey__icon svg,
.public-home-v2 .hp-journey__icon svg {
  width: 34px !important;
  height: 34px !important;
  display: block !important;
}

@media (max-width: 767px) {
  .public-home-v2 .ilj-footer__inner {
    width: 100% !important;
    max-width: 100% !important;
    padding-inline: var(--phv2-pad-x);
  }

  .public-home-v2 .hp-page > section,
  .public-home-v2 .hp-page > .hp-hero {
    padding-inline: 0;
  }

  .public-home-v2 .pub-container,
  .public-home-v2 .hp-header__inner {
    width: 100%;
    max-width: 100%;
    padding-inline: var(--phv2-pad-x);
    box-sizing: border-box;
  }
}

@media (min-width: 1024px) {
  .public-home-v2 .hp-header__inner,
  .public-home-v2 .ilj-footer__inner,
  .public-home-v2 .pub-container {
    width: min(100% - 48px, 1240px) !important;
    max-width: 1240px !important;
  }
}

@media (min-width: 1600px) {
  .public-home-v2 .hp-header__inner,
  .public-home-v2 .ilj-footer__inner,
  .public-home-v2 .pub-container {
    width: min(100% - 80px, 1320px) !important;
    max-width: 1320px !important;
  }
}

/* =========================================================
   COMPACT DESIGN PASS (mockup: 1–2 scrolls mobile)
   Scoped to .public-home-v2 only
   ========================================================= */
.public-home-v2 {
  --section-pad-y: 14px;
  --section-pad-y-md: 20px;
  --phv2-spec-circle: 44px;
  --phv2-phone-max: 150px;
  --phv2-doctor-max: 160px;
  --phv2-card-min-h: 0;
}

.public-home-v2 .pub-p2,
.public-home-v2 .pub-p3,
.public-home-v2 section.pub-p2,
.public-home-v2 section.pub-p3 {
  --p2-pad-y: var(--section-pad-y) !important;
  --p3-pad-y: var(--section-pad-y) !important;
  padding-block: var(--section-pad-y) !important;
}

.public-home-v2 .hp-hero.pub-hero {
  padding: 6px 0 12px !important;
}

.public-home-v2 .hp-hero__grid {
  gap: 12px !important;
  padding: 8px 0 16px !important;
}

.public-home-v2 .hp-hero__visual {
  max-height: 180px !important;
}

.public-home-v2 .hp-hero__visual img,
.public-home-v2 .hp-hero__visual picture img {
  max-height: 180px !important;
}

.public-home-v2 .hp-hero__points {
  gap: 4px !important;
  margin: 8px 0 !important;
}

.public-home-v2 .hp-hero__points li {
  font-size: 0.82rem !important;
  line-height: 1.3 !important;
}

/* ---- Trust strip: 6 compact circular icons (mockup) ---- */
.public-home-v2 .hp-trust-strip {
  padding: 0 0 8px !important;
}

.public-home-v2 .hp-trust-strip__card {
  padding: 10px 8px !important;
  border-radius: 14px !important;
  background: #fff !important;
}

.public-home-v2 .hp-trust-strip__row {
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: space-between !important;
  gap: 4px !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.public-home-v2 .hp-trust-strip__row::-webkit-scrollbar {
  display: none;
}

.public-home-v2 .hp-trust-strip__item {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  gap: 5px !important;
  min-width: 56px !important;
  flex: 1 1 0 !important;
  min-height: 0 !important;
  padding: 2px !important;
}

.public-home-v2 .hp-trust-strip__icon {
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  border: 1.5px solid rgba(26, 111, 181, 0.28) !important;
  background: #f3f8fc !important;
  font-size: 0 !important;
  color: var(--pub-primary, #1a6fb5);
  display: grid !important;
  place-items: center !important;
}

.public-home-v2 .hp-trust-strip__icon svg {
  width: 16px !important;
  height: 16px !important;
  display: block !important;
}

.public-home-v2 .hp-trust-strip__item p {
  margin: 0 !important;
  font-size: 0.62rem !important;
  line-height: 1.15 !important;
  font-weight: 700 !important;
  color: var(--pub-navy, #0b2f4a);
  max-width: 72px;
}

/* ---- Specialties: circular icons (mockup) ---- */
.public-home-v2 .hp-specs.pub-p2 {
  padding-block: var(--section-pad-y) !important;
}

.public-home-v2 .hp-section-head {
  margin-bottom: 8px !important;
  gap: 8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.public-home-v2 .hp-spec-card {
  min-height: 0 !important;
  padding: 6px 4px !important;
  gap: 6px !important;
  align-items: center !important;
  text-align: center !important;
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

.public-home-v2 .hp-spec-card__media {
  width: var(--phv2-spec-circle) !important;
  height: var(--phv2-spec-circle) !important;
  max-width: var(--phv2-spec-circle) !important;
  max-height: var(--phv2-spec-circle) !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  margin-inline: auto !important;
  border: 1.5px solid rgba(26, 111, 181, 0.22) !important;
  background: #f3f8fc !important;
}

.public-home-v2 .hp-spec-card__media img,
.public-home-v2 .hp-spec-card__media picture,
.public-home-v2 .hp-spec-card__media picture img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 50% !important;
}

.public-home-v2 .hp-spec-card__title {
  font-size: 0.68rem !important;
  line-height: 1.15 !important;
  font-weight: 700 !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.public-home-v2 .hp-specs__bar {
  margin-top: 6px !important;
}

/* ---- Track Journey compact ---- */
.public-home-v2 .hp-track-journey__panel {
  padding: 14px 12px 16px !important;
  gap: 12px !important;
}

.public-home-v2 .hp-track-journey__self-service {
  display: none !important;
}

.public-home-v2 .hp-track-journey__subtitle {
  margin: 0 0 4px !important;
  font-size: 0.86rem !important;
}

.public-home-v2 .hp-track-journey h2 {
  font-size: clamp(1.15rem, 4vw, 1.45rem) !important;
  margin-bottom: 4px !important;
}

.public-home-v2 .hp-track-journey__timeline {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 6px !important;
}

.public-home-v2 .hp-track-journey__step {
  min-height: 0 !important;
  padding: 6px 4px !important;
  flex-direction: column !important;
  gap: 4px !important;
  text-align: center !important;
}

.public-home-v2 .hp-track-journey__label {
  font-size: 0.62rem !important;
}

.public-home-v2 .hp-track-journey__phone {
  width: min(var(--phv2-phone-max), 42vw) !important;
  max-width: var(--phv2-phone-max) !important;
}

.public-home-v2 .hp-track-journey__screen {
  max-height: 240px !important;
}

.public-home-v2 .hp-track-journey__trust {
  gap: 6px !important;
}

.public-home-v2 .hp-track-journey__trust li {
  padding: 5px 8px !important;
  font-size: 0.7rem !important;
}

/* ---- Why Choose: circular icon + title (mockup) ---- */
.public-home-v2 .hp-why-trust__subtitle {
  display: none !important;
}

.public-home-v2 .hp-why-trust__head {
  margin-bottom: 10px !important;
}

.public-home-v2 .hp-why-trust__heading {
  margin: 0 !important;
  font-size: clamp(1.1rem, 4vw, 1.35rem) !important;
  text-align: start !important;
}

.public-home-v2 .hp-why-trust__grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 10px 6px !important;
}

.public-home-v2 .hp-why-trust__card {
  min-height: 0 !important;
  padding: 6px 4px !important;
  gap: 6px !important;
  align-items: center !important;
  text-align: center !important;
  box-shadow: none !important;
  border: none !important;
  background: transparent !important;
}

.public-home-v2 .hp-why-trust__card p {
  display: none !important;
}

.public-home-v2 .hp-why-trust__card h3 {
  margin: 0 !important;
  font-size: 0.68rem !important;
  line-height: 1.15 !important;
}

.public-home-v2 .hp-why-trust__icon {
  width: 40px !important;
  height: 40px !important;
  margin-inline: auto !important;
  border-radius: 50% !important;
  border: 1.5px solid rgba(26, 111, 181, 0.28) !important;
  background: #f3f8fc !important;
  display: grid !important;
  place-items: center !important;
}

.public-home-v2 .hp-why-trust__icon svg {
  width: 18px !important;
  height: 18px !important;
}

@media (min-width: 768px) {
  .public-home-v2 .hp-why-trust__grid {
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  }
}

/* ---- Medical review form denser ---- */
.public-home-v2 .ilj-mrev.pub-p2 {
  padding-block: var(--section-pad-y) !important;
}

.public-home-v2 .ilj-mrev__card {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(120px, 0.42fr) !important;
  gap: 14px !important;
  align-items: start;
  padding: 14px 12px !important;
}

.public-home-v2 .ilj-mrev__main {
  min-width: 0;
}

.public-home-v2 .ilj-mrev__visual {
  max-height: 280px !important;
}

.public-home-v2 .ilj-mrev__visual img,
.public-home-v2 .ilj-mrev__visual picture img {
  max-height: 280px !important;
  width: 100% !important;
  object-fit: cover !important;
  border-radius: 14px !important;
}

.public-home-v2 .ilj-mrev__wrap {
  padding: 0 !important;
}

.public-home-v2 .ilj-trust {
  padding: 8px 0 12px !important;
}

.public-home-v2 .ilj-trust__card {
  padding: 8px !important;
}

.public-home-v2 .ilj-trust__desc {
  display: none !important;
}

/* ---- How It Works: horizontal compact steps ---- */
.public-home-v2 .hp-journey__inner {
  padding-inline: 12px !important;
}

.public-home-v2 .hp-journey__heading {
  margin: 0 0 10px !important;
  font-size: clamp(1.15rem, 4vw, 1.4rem) !important;
}

.public-home-v2 .hp-journey__grid {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 0 !important;
  overflow-x: visible !important;
  justify-content: space-between !important;
  padding-bottom: 4px !important;
}

.public-home-v2 .hp-journey__step {
  position: relative;
  flex: 1 1 0 !important;
  width: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 6px 2px !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  gap: 3px !important;
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

.public-home-v2 .hp-journey__step:not(:last-child)::after {
  content: "→";
  position: absolute;
  inset-inline-end: -2px;
  top: 28px;
  font-size: 0.85rem;
  color: var(--pub-primary, #1a6fb5);
  opacity: 0.7;
  pointer-events: none;
}

[dir="rtl"] .public-home-v2 .hp-journey__step:not(:last-child)::after {
  content: "←";
}

.public-home-v2 .hp-journey__desc {
  display: none !important;
}

.public-home-v2 .hp-journey__num {
  width: 28px !important;
  height: 28px !important;
  font-size: 0.72rem !important;
}

.public-home-v2 .hp-journey__label {
  font-size: 0.68rem !important;
  line-height: 1.2 !important;
}

.public-home-v2 .hp-journey__trustbar {
  margin-top: 10px !important;
  padding: 8px 12px !important;
  min-height: 0 !important;
}

.public-home-v2 .hp-journey__trustbar-text {
  font-size: 0.78rem !important;
}

@media (min-width: 900px) {
  .public-home-v2 .hp-journey__grid {
    justify-content: center !important;
    overflow: visible !important;
  }

  .public-home-v2 .hp-journey__step {
    width: 140px !important;
  }
}

/* ---- Hospitals / Stories: shorter cards ---- */
.public-home-v2 .hp-hospital-card,
.public-home-v2 .hp-story-card {
  min-height: 0 !important;
}

.public-home-v2 .hp-hospital-card {
  max-width: 220px;
}

.public-home-v2 .hp-hospital-card__media,
.public-home-v2 .hp-hs .hp-hospital-card .responsive-picture,
.public-home-v2 .hp-hospital-card picture,
.public-home-v2 .hp-hospital-card img {
  max-height: 110px !important;
}

.public-home-v2 .hp-story-card {
  padding: 12px !important;
  max-width: 280px;
}

/* ---- Visa compact ---- */
.public-home-v2 .hp-visa-travel .pub-p3__panel {
  padding: 14px 12px !important;
}

.public-home-v2 .hp-visa-travel__grid {
  gap: 8px !important;
}

.public-home-v2 .hp-visa-travel__item {
  padding: 8px !important;
  min-height: 0 !important;
}

/* ---- Cost: bounded ₹ shield ---- */
.public-home-v2 .hp-cost .pub-p3__panel {
  padding: 14px 12px !important;
  gap: 12px !important;
}

.public-home-v2 .hp-cost__rupee {
  width: 72px !important;
  height: 86px !important;
  margin: 0 auto 8px !important;
  flex: 0 0 auto !important;
}

.public-home-v2 .hp-cost__rupee svg {
  width: 72px !important;
  height: 86px !important;
  display: block !important;
  max-width: 72px !important;
}

.public-home-v2 .hp-cost__list {
  gap: 6px !important;
  margin: 8px 0 0 !important;
}

.public-home-v2 .hp-cost__list li {
  font-size: 0.82rem !important;
  line-height: 1.3 !important;
}

.public-home-v2 .hp-cost__aside {
  padding: 12px !important;
  text-align: center;
}

.public-home-v2 .hp-cost__aside p {
  font-size: 0.78rem !important;
  line-height: 1.35 !important;
}

/* ---- Final CTA compact ---- */
.public-home-v2 .ilj-fcta {
  padding-block: var(--section-pad-y) !important;
}

.public-home-v2 .ilj-fcta__card {
  padding: 16px 14px !important;
}

/* ---- Footer denser ---- */
.public-home-v2 .ilj-footer.pub-p3 {
  padding: 22px 0 18px !important;
}

.public-home-v2 .ilj-footer__top {
  margin-bottom: 12px !important;
  gap: 12px !important;
}

@media (min-width: 768px) {
  .public-home-v2 {
    --section-pad-y: var(--section-pad-y-md);
  }

  .public-home-v2 .hp-hero__visual {
    max-height: 320px !important;
  }

  .public-home-v2 .hp-hero__visual img,
  .public-home-v2 .hp-hero__visual picture img {
    max-height: 320px !important;
  }

  .public-home-v2 .hp-track-journey__phone {
    width: min(180px, 100%) !important;
    max-width: 180px !important;
  }
}

/* ---- Aggressive mobile cuts — keep mockup layout intact ---- */
@media (max-width: 767px) {
  .public-home-v2 {
    --section-pad-y: 12px;
    --phv2-phone-max: 128px;
    --phv2-doctor-max: 150px;
    --phv2-spec-circle: 48px;
  }

  /* Duplicate trust aside after form — hide on mobile */
  .public-home-v2 .ilj-trust {
    display: none !important;
  }

  /* Hero: keep 3 bullets + stacked CTAs (mockup) */
  .public-home-v2 .hp-hero__points {
    display: grid !important;
    gap: 4px !important;
    margin: 8px 0 !important;
  }

  .public-home-v2 .hp-hero__points li {
    font-size: 0.8rem !important;
  }

  .public-home-v2 .hp-hero__visual {
    max-height: 160px !important;
  }

  .public-home-v2 .hp-hero__visual img,
  .public-home-v2 .hp-hero__visual picture img {
    max-height: 160px !important;
    object-fit: contain !important;
  }

  .public-home-v2 .hp-hero__subtitle {
    font-size: 0.82rem !important;
    margin: 4px 0 8px !important;
  }

  .public-home-v2 .pub-hero__actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    margin-top: 8px !important;
  }

  .public-home-v2 .pub-hero__actions .hp-hero__cta {
    width: 100% !important;
    justify-content: center !important;
    min-height: 44px !important;
    padding: 10px 14px !important;
    font-size: 0.9rem !important;
  }

  /* Track: copy+timeline left, phone right (mockup) */
  .public-home-v2 .hp-track-journey__trust {
    display: none !important;
  }

  .public-home-v2 .hp-track-journey__note,
  .public-home-v2 .hp-track-journey__actions p {
    display: none !important;
  }

  .public-home-v2 .hp-track-journey__screen {
    max-height: 210px !important;
  }

  .public-home-v2 .hp-track-journey__panel {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 128px !important;
    grid-template-areas:
      "copy phone"
      "timeline phone"
      "actions actions" !important;
    padding: 12px 10px !important;
    gap: 8px 10px !important;
    align-items: start;
  }

  .public-home-v2 .hp-track-journey__copy { grid-area: copy; }
  .public-home-v2 .hp-track-journey__timeline { grid-area: timeline; }
  .public-home-v2 .hp-track-journey__visual { grid-area: phone; width: 128px !important; margin: 0 !important; }
  .public-home-v2 .hp-track-journey__actions { grid-area: actions; }

  .public-home-v2 .hp-track-journey__phone {
    width: 128px !important;
    max-width: 128px !important;
  }

  .public-home-v2 .hp-track-journey__timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .public-home-v2 .hp-track-journey h2 {
    font-size: 1.05rem !important;
  }

  /* Form: doctor beside form (mockup) */
  .public-home-v2 .ilj-mrev__card {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 110px !important;
    padding: 12px 10px !important;
    gap: 10px !important;
    align-items: start;
  }

  .public-home-v2 .ilj-mrev__main {
    min-width: 0;
    grid-column: 1;
  }

  .public-home-v2 .ilj-mrev__visual {
    display: block !important;
    max-height: 180px !important;
    grid-column: 2;
    grid-row: 1;
    align-self: start;
  }

  .public-home-v2 .ilj-mrev__visual img,
  .public-home-v2 .ilj-mrev__visual picture img {
    max-height: 180px !important;
    width: 100% !important;
    object-fit: cover !important;
    border-radius: 12px !important;
  }

  .public-home-v2 .ilj-mrev__wrap {
    padding: 0 !important;
  }

  .public-home-v2 .ilj-mrev__fields,
  .public-home-v2 .ilj-mrev__form {
    gap: 8px !important;
  }

  .public-home-v2 .ilj-mrev input,
  .public-home-v2 .ilj-mrev select,
  .public-home-v2 .ilj-mrev textarea {
    min-height: 40px !important;
    padding: 8px 10px !important;
    font-size: 0.88rem !important;
  }

  .public-home-v2 .ilj-mrev__intro p,
  .public-home-v2 .ilj-mrev__lead {
    font-size: 0.8rem !important;
    margin: 0 0 6px !important;
  }

  /* Cost: keep ₹ + CTA compact */
  .public-home-v2 .hp-cost__aside p {
    display: none !important;
  }

  .public-home-v2 .hp-cost__rupee {
    width: 56px !important;
    height: 68px !important;
  }

  .public-home-v2 .hp-cost__rupee svg {
    width: 56px !important;
    height: 68px !important;
    max-width: 56px !important;
  }

  .public-home-v2 .pub-p3__sub {
    font-size: 0.78rem !important;
    margin: 2px 0 6px !important;
  }

  .public-home-v2 .hp-visa-travel__cta {
    min-height: 40px !important;
    margin-top: 8px !important;
  }

  .public-home-v2 .hp-hospital-card__media,
  .public-home-v2 .hp-hospital-card img,
  .public-home-v2 .hp-hospital-card picture img {
    max-height: 100px !important;
  }

  .public-home-v2 .hp-story-card {
    padding: 12px !important;
    max-width: none !important;
    margin-inline: auto;
  }

  .public-home-v2 .hp-story-card__quote,
  .public-home-v2 .hp-story-card blockquote,
  .public-home-v2 .hp-story-card p {
    font-size: 0.8rem !important;
    line-height: 1.35 !important;
    -webkit-line-clamp: 3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .public-home-v2 .ilj-footer__accs {
    display: none !important;
  }

  .public-home-v2 .ilj-footer__brand > p {
    font-size: 0.75rem !important;
    max-width: 100% !important;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .public-home-v2 .ilj-footer.pub-p3 {
    padding: 16px 0 72px !important;
  }

  .public-home-v2 .ilj-footer__nav {
    gap: 6px !important;
  }

  .public-home-v2 .ilj-fcta__visual {
    display: none !important;
  }

  .public-home-v2 .hp-hospitals .pub-p3__panel,
  .public-home-v2 .hp-stories .pub-p3__panel,
  .public-home-v2 .hp-visa-travel .pub-p3__panel,
  .public-home-v2 .hp-cost .pub-p3__panel {
    padding: 10px !important;
  }

  .public-home-v2 .hp-hospitals .pub-p3__sub,
  .public-home-v2 .hp-stories .pub-p3__sub {
    display: none !important;
  }

  .public-home-v2 .hp-visa-travel__item span:last-child,
  .public-home-v2 .hp-visa-travel__item p {
    display: none !important;
  }

  .public-home-v2 .hp-visa-travel__item strong,
  .public-home-v2 .hp-visa-travel__item h3 {
    font-size: 0.72rem !important;
    margin: 0 !important;
  }

  .public-home-v2 .ilj-mrev__upload {
    min-height: 0 !important;
    padding: 8px !important;
  }

  .public-home-v2 .ilj-mrev__upload-label small {
    display: none !important;
  }

  .public-home-v2 .ilj-footer__group details:not([open]) summary {
    min-height: 36px !important;
  }

  .public-home-v2 .ilj-footer__contact-link {
    min-height: 36px !important;
    font-size: 0.78rem !important;
  }

  .public-home-v2 .hp-journey__label {
    font-size: 0.66rem !important;
  }

  .public-home-v2 .hp-journey__icon {
    width: 56px !important;
    height: 56px !important;
  }

  .public-home-v2 .hp-journey__icon svg {
    width: 30px !important;
    height: 30px !important;
  }
}
