/* IlajIndia homepage v8 — responsive public layout (mobile-first, desktop expands) */

html { overflow-x: clip; }

:root {
  --hp-blue: #1a5f9e;
  --hp-blue-deep: #0d4a7a;
  --hp-navy: #0b3d66;
  --hp-sky: #eaf3fa;
  --hp-ice: #f5f9fc;
  --hp-orange: #e67e22;
  --hp-red: #d62828;
  --hp-red-soft: #e53935;
  --hp-green: #25d366;
  --hp-ink: #152636;
  --hp-muted: #5b6d7c;
  --hp-line: #dce7f0;
  --hp-radius: 12px;
  --hp-shadow: 0 4px 12px rgba(11, 45, 75, 0.08);
  --hp-pad-x: 14px;
  --hp-section-y: 10px;
  --font-hp: "Plus Jakarta Sans", "Noto Sans Arabic", system-ui, sans-serif;
  --mobile-bar-h: 60px;
  --hp-header-h: 60px;
  /* Shared public site content width — NEVER a fixed mobile canvas on desktop */
  --hp-content-max: 1240px;
  --site-container-w: min(100% - 28px, 1240px);
}

body.page-home {
  overflow-x: clip;
  font-family: var(--font-hp);
}

body.page-home {
  --mobile-bar-h: 60px;
}

/* Unified content column — full mobile width, expands on larger screens */
body.page-home .hp-page,
body.page-home .hp-header__inner,
body.page-home .hp-footer__inner,
body.page-home .ilj-footer__inner {
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
  box-sizing: border-box;
}

body.page-home .hp-page > section,
body.page-home .hp-page > .hp-hero {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* Image system — never one global rule for all types */
body.page-home .hp-hero__visual img {
  max-width: none;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}
body.page-home .hp-review__photo,
body.page-home .hp-review__doctor {
  max-width: none;
  object-fit: contain;
  object-position: center bottom;
}
body.page-home .hp-story-card__avatar > img:first-child {
  object-fit: cover;
  object-position: center top;
}
body.page-home .hp-hospital-card__photo img {
  object-fit: cover;
  object-position: center center;
}
body.page-home .hp-final-cta__media img {
  object-fit: cover;
  object-position: center top;
}
body.page-home .hp-spec-card__media img {
  object-fit: contain;
  object-position: center;
}

/* —— Header —— */
.hp-mobile-nav { display: none !important; }
.hp-mobile-nav.is-open {
  display: grid !important;
  gap: 2px;
  padding: 8px 14px 12px;
  border-top: 1px solid var(--hp-line);
  background: #fff;
}
.hp-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  box-shadow: 0 2px 10px rgba(11, 45, 75, 0.08);
}
.hp-header.is-scrolled { box-shadow: 0 4px 14px rgba(11, 45, 75, 0.12); }
.hp-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 58px;
  max-height: 64px;
  padding: 8px var(--hp-pad-x);
}
.hp-brand {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--hp-blue);
  min-width: 0;
  flex: 0 1 auto;
}
.hp-brand__logo {
  display: block;
  width: auto;
  height: 40px;
  max-width: min(148px, 42vw);
  object-fit: contain;
  object-position: left center;
  flex-shrink: 0;
}
.hp-brand__text { display: none; }
.hp-brand__name { font-weight: 800; font-size: 1rem; font-family: var(--font-hp); }
.hp-brand__tag { display: none; }
.hp-header__actions { display: flex; align-items: center; gap: 5px; }
.hp-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff;
  text-decoration: none;
  flex-shrink: 0;
}
.hp-icon-btn .icon { width: 18px; height: 18px; }
.hp-icon-btn--phone { background: var(--hp-blue); }
.hp-icon-btn--wa { background: var(--hp-green); }
.hp-lang { position: relative; }
.hp-lang__btn {
  border: 0;
  background: #eef3f7;
  border-radius: 999px;
  padding: 8px 10px;
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--hp-ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  min-height: 40px;
}
.hp-lang__menu {
  position: absolute;
  top: calc(100% + 4px);
  inset-inline-end: 0;
  background: #fff;
  border-radius: 10px;
  box-shadow: var(--hp-shadow);
  min-width: 72px;
  z-index: 20;
  overflow: hidden;
}
.hp-lang__menu a {
  display: block;
  padding: 8px 10px;
  text-decoration: none;
  color: var(--hp-ink);
  font-weight: 600;
  font-size: 0.8rem;
}
.hp-menu-toggle {
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  color: var(--hp-navy);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.hp-mobile-nav a {
  padding: 10px 8px;
  text-decoration: none;
  color: var(--hp-ink);
  font-weight: 600;
  border-radius: 8px;
}
.hp-demo-chip {
  display: inline-block;
  font-size: 0.58rem;
  font-weight: 800;
  color: var(--hp-blue-deep);
  background: #e7f1fa;
  border-radius: 999px;
  padding: 1px 6px;
  text-transform: uppercase;
}

/* —— Hero 260–310px —— */
.hp-hero {
  width: 100%;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(248, 252, 255, 0.92) 0%, rgba(234, 245, 252, 0.95) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='430' height='120' viewBox='0 0 430 120' fill='none'%3E%3Cpath d='M0 70 H70 L82 40 L94 90 L106 55 L118 70 H210 L222 35 L234 95 L246 50 L258 70 H430' stroke='%23b7d4ea' stroke-width='2' opacity='.55'/%3E%3C/svg%3E") center 72% / 100% auto no-repeat,
    linear-gradient(180deg, #f8fcff 0%, #e8f4fb 100%);
}
.hp-hero__swiper { width: 100%; overflow: hidden; }
.hp-hero__slide { width: 100%; height: auto; }
.hp-hero__grid {
  width: 100%;
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
  gap: 8px;
  align-items: center;
  min-height: 268px;
  max-height: 310px;
  padding: 12px 36px 30px 16px;
  box-sizing: border-box;
}
.hp-hero__visual {
  display: grid;
  place-items: center;
  min-height: 190px;
  height: 210px;
  width: 100%;
}
.hp-hero__visual img {
  max-width: 190px;
  max-height: 200px;
  filter: drop-shadow(0 10px 18px rgba(15, 50, 80, 0.22));
}
.hp-hero__copy { min-width: 0; padding-inline-end: 2px; }
.hp-hero__badge {
  display: inline-block;
  background: var(--hp-red-soft);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 999px;
  margin-bottom: 6px;
}
.hp-hero__title {
  margin: 0 0 4px;
  color: var(--hp-navy);
  font-family: var(--font-hp);
  font-size: clamp(1.2rem, 5vw, 1.48rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.hp-hero__hl { color: var(--hp-red-soft); }
.hp-hero__subtitle {
  margin: 0 0 6px;
  font-size: 0.78rem;
  font-weight: 650;
  color: var(--hp-muted);
  line-height: 1.25;
}
.hp-hero__points {
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
  display: grid;
  gap: 3px;
}
.hp-hero__points li {
  position: relative;
  padding-inline-start: 15px;
  font-size: 0.74rem;
  font-weight: 650;
  color: var(--hp-ink);
  line-height: 1.2;
}
.hp-hero__points li::before {
  content: "✓";
  position: absolute;
  inset-inline-start: 0;
  color: var(--hp-blue);
  font-weight: 800;
  font-size: 0.72rem;
}
.hp-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 9px;
  background: var(--hp-blue);
  color: #fff;
  font-weight: 800;
  font-size: 0.8rem;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(26, 95, 158, 0.28);
}
.hp-hero__nav {
  position: absolute;
  top: 48%;
  transform: translateY(-50%);
  z-index: 6;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.95);
  color: #1f2d3a;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: grid;
  place-items: center;
}
.hp-hero__nav--prev { inset-inline-start: 4px; }
.hp-hero__nav--next { inset-inline-end: 4px; }
.hp-hero__dots { bottom: 8px !important; }
.hp-hero__dots .swiper-pagination-bullet {
  width: 6px;
  height: 6px;
  background: #c5d5e2;
  opacity: 1;
  margin: 0 2px !important;
}
.hp-hero__dots .swiper-pagination-bullet-active {
  width: 14px;
  border-radius: 999px;
  background: var(--hp-blue);
}

/* —— Gulf trust strip —— */
.hp-trust-strip {
  padding: 0 var(--hp-pad-x);
  margin-top: -10px;
  position: relative;
  z-index: 5;
}
.hp-trust-strip__card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(8, 58, 102, 0.1);
  border: 1px solid #e8f0f6;
  padding: 8px 6px;
}
.hp-trust-strip__row {
  display: grid;
  grid-template-columns: 1.35fr 0.95fr 0.95fr;
  gap: 4px;
  align-items: center;
  min-height: 52px;
}
.hp-trust-strip__item { text-align: center; padding: 0 3px; }
.hp-trust-strip__item + .hp-trust-strip__item { border-inline-start: 1px solid #e8f0f6; }
.hp-trust-strip__icon {
  width: 24px;
  height: 24px;
  margin: 0 auto 3px;
  border-radius: 999px;
  background: var(--hp-sky);
  display: grid;
  place-items: center;
  font-size: 0.78rem;
}
.hp-trust-strip__item p {
  margin: 0;
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--hp-ink);
  line-height: 1.2;
}
.hp-trust-strip__flags {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 2px;
  margin-bottom: 2px;
}
.hp-trust-strip__flags img {
  width: 16px;
  height: 11px;
  border-radius: 2px;
  object-fit: cover;
  flex-shrink: 0;
}

/* —— Section heads —— */
.hp-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 0 var(--hp-pad-x) 8px;
}
.hp-section-head h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--hp-navy);
  font-family: var(--font-hp);
}
.hp-view-all {
  color: var(--hp-blue);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.75rem;
  white-space: nowrap;
}

/* —— Specialities —— */
.hp-specs { padding: 12px 0 6px; background: #fff; }
.hp-specs__swiper { padding: 0 var(--hp-pad-x) 16px; overflow: hidden; }
.hp-spec-card {
  display: grid;
  gap: 5px;
  justify-items: center;
  text-align: center;
  text-decoration: none;
  background: #fff;
  border: 1px solid #e4eef6;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(8, 58, 102, 0.07);
  padding: 8px 4px 7px;
  height: 108px;
  box-sizing: border-box;
}
.hp-spec-card__media {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  overflow: hidden;
  background: #eaf6ff;
  display: grid;
  place-items: center;
  padding: 5px;
  box-sizing: border-box;
}
.hp-spec-card__media img {
  width: 100%;
  height: 100%;
  display: block;
}
.hp-spec-card__title {
  font-size: 0.66rem;
  font-weight: 800;
  color: var(--hp-blue-deep);
  line-height: 1.15;
  font-family: var(--font-hp);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
  max-width: 100%;
}
.hp-specs__bar { bottom: 0 !important; }
.hp-specs__bar .swiper-pagination-bullet {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #d5e2ec;
  opacity: 1;
  margin: 0 2px !important;
}
.hp-specs__bar .swiper-pagination-bullet-active { width: 12px; background: var(--hp-blue); }

/* —— Why: 8 items, 2 rows × 4 cols —— */
.hp-why-trust {
  background: #fff;
  padding: 8px var(--hp-pad-x) 12px;
}
.hp-why-trust__heading {
  margin: 0 0 10px;
  text-align: center;
  font-size: 1rem;
  font-weight: 800;
  color: var(--hp-navy);
  font-family: var(--font-hp);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.hp-why-trust__heading::before,
.hp-why-trust__heading::after {
  content: "";
  width: 18px;
  height: 1px;
  background: rgba(11, 79, 138, 0.3);
}
.hp-why-trust__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px 6px;
}
@media (max-width: 379px) {
  .hp-why-trust__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.hp-why-trust__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  text-align: center;
}
.hp-why-trust__icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--hp-blue);
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.hp-why-trust__icon svg { width: 16px; height: 16px; display: block; }
.hp-why-trust__card h3 {
  margin: 0;
  font-size: 0.66rem;
  font-weight: 800;
  color: var(--hp-blue-deep);
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  width: 100%;
}

/* —— FREE Medical Review form —— */
.hp-review {
  padding: 6px var(--hp-pad-x) 8px;
  background: #fff;
  scroll-margin-top: calc(var(--hp-header-h) + 8px);
  scroll-margin-bottom: calc(var(--mobile-bar-h) + 12px);
}
.hp-review__wrap {
  width: 100%;
  margin-inline: auto;
}
.hp-review__shell {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 100%;
  margin-inline: auto;
  background: linear-gradient(165deg, #0c5288 0%, #083a66 50%, #062d52 100%);
  border-radius: 20px;
  color: #fff;
  padding: 9px;
  box-shadow: 0 10px 22px rgba(11, 61, 102, 0.24);
  overflow: hidden;
  min-height: 290px;
  max-height: 340px;
  box-sizing: border-box;
}
.hp-review__intro {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "title badge"
    "sub sub";
  gap: 2px 8px;
  align-items: start;
  flex-shrink: 0;
}
.hp-review__intro h2 {
  grid-area: title;
  margin: 0;
  font-size: 0.98rem;
  font-weight: 800;
  font-family: var(--font-hp);
  line-height: 1.15;
}
.hp-review__intro h2 span { color: #fde047; }
.hp-review__secure {
  grid-area: badge;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 3px 7px;
  font-size: 0.58rem;
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
}
.hp-review__secure .icon { width: 11px; height: 11px; flex-shrink: 0; }
.hp-review__intro p {
  grid-area: sub;
  margin: 0;
  font-size: 0.68rem;
  opacity: 0.9;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hp-review__form {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  min-height: 0;
  flex: 1;
}
.hp-review__fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.hp-field {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border-radius: 9px;
  min-height: 42px;
  height: 42px;
  padding: 0 9px;
  color: var(--hp-ink);
  box-sizing: border-box;
}
.hp-field__icon .icon { width: 14px; height: 14px; color: var(--hp-blue); flex-shrink: 0; }
.hp-field input,
.hp-field select {
  border: 0;
  outline: 0;
  width: 100%;
  min-width: 0;
  height: 40px;
  min-height: 40px;
  background: transparent;
  font: inherit;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--hp-ink);
}
body.page-home .hp-review__upload.upload-zone,
body.page-home .hp-review__upload {
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
  padding: 0 !important;
  min-height: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  text-align: inherit !important;
  cursor: default !important;
}
.hp-review__upload-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 58px;
  height: 58px;
  border: 1.5px dashed rgba(186, 230, 253, 0.75);
  border-radius: 9px;
  color: #fff;
  font-weight: 800;
  font-size: 0.72rem;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.1);
  padding: 6px 8px;
  text-align: center;
  box-sizing: border-box;
}
.hp-review__upload-label .icon { width: 16px; height: 16px; color: #fff; margin: 0; }
.hp-review__upload-label small {
  display: block;
  font-size: 0.56rem;
  font-weight: 600;
  opacity: 0.75;
  line-height: 1.2;
}

.hp-review__fields,
.hp-review__upload,
.hp-review__bottom {
  flex-shrink: 0;
}
.hp-review__bottom {
  display: grid;
  grid-template-columns: minmax(0, 26%) minmax(0, 1fr);
  gap: 6px;
  align-items: stretch;
  flex-shrink: 0;
  min-height: 130px;
}
.hp-review__aside {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  min-height: 130px;
  height: 100%;
  max-height: 150px;
  overflow: hidden;
  pointer-events: none;
}
.hp-review__doctor,
.hp-review__photo {
  position: static !important;
  width: 100% !important;
  height: 130px !important;
  max-width: 100% !important;
  max-height: 150px !important;
  object-fit: contain !important;
  object-position: center bottom !important;
  display: block;
  background: transparent;
  border-radius: 8px;
}
.hp-review__bottom-main {
  display: grid;
  gap: 4px;
  align-content: space-between;
  align-self: stretch;
  min-width: 0;
  padding-block: 2px 0;
}
.hp-review__consent {
  display: flex;
  gap: 6px;
  align-items: center;
  margin: 0;
  font-size: 0.68rem;
  opacity: 0.92;
  line-height: 1.2;
}
.hp-review__consent input {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  margin: 0;
}
.hp-review__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.hp-review__submit {
  margin: 0;
  width: 100%;
  min-height: 44px;
  height: 44px;
  border: 0;
  border-radius: 9px;
  background: var(--hp-red-soft);
  color: #fff;
  font-weight: 800;
  font-size: 0.68rem;
  line-height: 1.15;
  cursor: pointer;
  padding: 6px 4px;
}
.hp-review__chat {
  margin: 0;
  width: 100%;
  min-height: 44px;
  height: 44px;
  border-radius: 9px;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  background: rgba(12, 70, 120, 0.45);
  color: #fff;
  font-weight: 800;
  font-size: 0.68rem;
  cursor: pointer;
  padding: 6px 4px;
}
.hp-review__note {
  margin: 0;
  text-align: center;
  font-size: 0.6rem;
  opacity: 0.85;
  line-height: 1.2;
}
@media (max-width: 374px) {
  .hp-review__fields { grid-template-columns: 1fr; }
  .hp-review__bottom { grid-template-columns: 1fr; }
  .hp-review__aside { display: none; }
  .hp-review__shell { max-height: none; }
}

/* —— How it works —— styles live in home-trust-journey.css —— */
.hp-journey__arrow { display: none; }

/* —— Hospitals + Stories —— styles live in home-hospitals-stories.css —— */

/* Doctors section never on reference homepage */
.hp-doctors { display: none !important; }
.hp-bangalore { display: none !important; }

/* —— Stats —— */
.hp-stats {
  background: var(--hp-navy);
  color: #fff;
  padding: 10px var(--hp-pad-x);
}
.hp-stats__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 2px;
  text-align: center;
  width: 100%;
}
.hp-stats__value,
.hp-stats__num {
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.1;
  display: block;
}
.hp-stats__label {
  margin-top: 2px;
  font-size: 0.56rem;
  font-weight: 600;
  opacity: 0.82;
  display: block;
  line-height: 1.15;
}

/* —— Final CTA —— */
.hp-final-cta { padding: 6px var(--hp-pad-x) 8px; }
.hp-final-cta__card {
  display: grid;
  grid-template-columns: 28% 1fr;
  overflow: hidden;
  border-radius: 12px;
  background: var(--hp-sky);
  border: 1px solid var(--hp-line);
  min-height: 110px;
  max-height: 130px;
}
.hp-final-cta__media {
  min-height: 110px;
  max-height: 130px;
  background: linear-gradient(180deg, #d7e4ee 0%, #eaf3fa 100%);
  overflow: hidden;
}
.hp-final-cta__media img {
  width: 100%;
  height: 100%;
  max-height: 130px;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.hp-final-cta__body {
  padding: 10px 10px;
  display: grid;
  align-content: center;
  gap: 5px;
}
.hp-final-cta__body h2 {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--hp-navy);
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hp-final-cta__body h2 span { color: var(--hp-red-soft); }
.hp-final-cta__trust {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 2px 8px;
  font-size: 0.58rem;
  font-weight: 650;
  color: var(--hp-muted);
}
.hp-final-cta__trust li::before { content: "✓ "; color: var(--hp-blue); font-weight: 800; }
.hp-final-cta__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
}
.hp-final-cta__wa,
.hp-final-cta__cb {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  border-radius: 7px;
  font-weight: 800;
  font-size: 0.66rem;
  text-decoration: none;
  text-align: center;
  padding: 4px 2px;
}
.hp-final-cta__wa { background: var(--hp-green); color: #fff; }
.hp-final-cta__cb {
  background: #fff;
  color: var(--hp-blue-deep);
  border: 1px solid var(--hp-line);
}

/* —— Sticky bar —— */
body.page-home.pb-mobile-bar {
  padding-bottom: calc(var(--mobile-bar-h) + env(safe-area-inset-bottom, 0px) + 12px);
}
.hp-mab {
  padding: 0;
  height: var(--mobile-bar-h);
  z-index: 90;
}
.hp-mab__grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 0 !important;
  padding: 0 !important;
  height: 100%;
}
.hp-mab__btn {
  border-radius: 0 !important;
  min-height: 52px;
  height: 100%;
  color: #fff !important;
  font-weight: 800;
  font-size: 0.68rem;
  gap: 2px;
  border: 0 !important;
  text-decoration: none;
}
.hp-mab__btn .icon { width: 18px; height: 18px; }
.hp-mab__btn--chat { background: var(--hp-blue) !important; }
.hp-mab__btn--wa { background: var(--hp-green) !important; }
.hp-mab__btn--call { background: var(--hp-red) !important; }
.hp-mab__btn--upload { background: var(--hp-orange) !important; }

/* —— Footer compact premium —— */
.site-footer.hp-footer {
  background: linear-gradient(180deg, #0e4a78 0%, #0b3d66 28%, #092f52 100%);
  color: #fff;
  padding: 0;
  border-top: 1px solid rgba(186, 220, 245, 0.22);
}
.hp-footer__inner {
  padding: 10px var(--hp-pad-x) 10px;
  max-height: 135px;
  box-sizing: border-box;
}
.hp-footer__row1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}
.hp-footer__brand-block { min-width: 0; }
.hp-footer__name {
  font-size: 0.95rem;
  font-weight: 800;
  font-family: var(--font-hp);
  line-height: 1.1;
}
.hp-footer__tag {
  margin: 1px 0 0;
  font-size: 0.65rem;
  font-weight: 600;
  color: rgba(186, 220, 245, 0.88);
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hp-footer__brand,
.hp-footer__summary,
.hp-footer .footer-group,
.hp-footer__bottom,
.hp-footer__legal { display: none; }
.hp-footer__links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1px 8px;
  margin: 0 0 4px;
  padding: 0;
  list-style: none;
  max-height: 2.6em;
  overflow: hidden;
}
.hp-footer__links-row a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-size: 0.65rem;
  font-weight: 600;
  line-height: 1.25;
}
.hp-footer__row3 {
  margin-top: 0;
  padding-top: 5px;
  border-top: 1px solid rgba(186, 220, 245, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.hp-footer__copy {
  margin: 0;
  font-size: 0.58rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.2;
}
.hp-footer__contact {
  color: rgba(186, 220, 245, 0.95);
  text-decoration: none;
  font-size: 0.58rem;
  font-weight: 700;
}
.site-footer.hp-footer .lang-switch,
.site-footer.hp-footer .language-switcher {
  transform: scale(0.92);
  transform-origin: right center;
}
.site-footer.hp-footer .section-pad { padding: 0; }
.site-footer.hp-footer .footer-grid { padding: 0; gap: 0; }
.site-footer.hp-footer .footer-bottom { display: none; }
.hp-footer .language-switcher,
.hp-footer .hp-lang {
  transform: scale(0.88);
  transform-origin: inline-end center;
}

/* RTL */
[dir="rtl"] .hp-hero__points li { padding-inline-start: 0; padding-inline-end: 15px; }
[dir="rtl"] .hp-hero__points li::before { inset-inline-start: auto; inset-inline-end: 0; }
[dir="rtl"] .hp-hero__cta span { display: inline-block; transform: scaleX(-1); }
/* RTL journey connectors handled in home-trust-journey.css */
[dir="rtl"] .hp-review__aside { order: 2; }
[dir="rtl"] .hp-review__bottom-main { order: 1; }

@media (prefers-reduced-motion: reduce) {
  .hp-hero__cta,
  .hp-spec-card { transition: none; }
}

/* Scroll clearance under sticky header */
.hp-specs,
.hp-hospitals,
.hp-stories,
.hp-journey,
.hp-why-trust,
.hp-final-cta {
  scroll-margin-top: calc(var(--hp-header-h) + 8px);
}

/* Responsive site container — desktop expands; mobile stays full-bleed */
@media (min-width: 768px) {
  :root {
    --hp-pad-x: 20px;
    --hp-section-y: 28px;
    --site-container-w: min(100% - 40px, 960px);
  }

  body.page-home .hp-page,
  body.page-home .hp-header__inner,
  body.page-home .hp-footer__inner,
  body.page-home .ilj-footer__inner {
    width: var(--site-container-w);
    max-width: var(--site-container-w);
  }

  body.page-home .hp-header__inner {
    min-height: 64px;
    max-height: none;
    padding-block: 10px;
  }

  body.page-home .hp-brand__logo {
    height: 46px;
    max-width: 180px;
  }

  body.page-home .hp-why-trust { padding-block: 36px; }
  body.page-home .hp-why-trust__heading { font-size: clamp(1.5rem, 2.4vw, 2rem); }
  body.page-home .hp-why-trust__grid { gap: 16px; }

  body.page-home .hp-specs { padding-block: 28px 18px; }
  body.page-home .hp-review__shell { max-width: 720px; margin-inline: auto; }
}

@media (min-width: 1200px) {
  :root {
    --hp-pad-x: 24px;
    --hp-section-y: 40px;
    --site-container-w: min(100% - 64px, 1240px);
  }

  body.page-home .hp-page,
  body.page-home .hp-header__inner,
  body.page-home .hp-footer__inner,
  body.page-home .ilj-footer__inner {
    width: var(--site-container-w);
    max-width: var(--site-container-w);
  }

  body.page-home .hp-why-trust__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
  }

  body.page-home .hp-trust-row {
    max-width: 100%;
  }

  body.page-home .hp-final-cta__grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 28px;
  }
}

@media (min-width: 768px) {
  body.page-home.pb-mobile-bar {
    padding-bottom: 0;
  }
}

/* Sticky mobile action bar — fixed 60px, full bleed */
.hp-mab {
  padding: 0;
  height: var(--mobile-bar-h);
  z-index: 90;
}
@media (min-width: 768px) {
  .hp-mab { display: none !important; }
}
