@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700;800;900&display=swap');
@import url('css/responsive-global.css');

:root {
  --bg: #f5f7ff;
  --card: #ffffff;
  --text: #111827;
  --muted: #667085;
  --line: #e7edfb;
  --blue: #1b64ff;
  --purple: #af20ea;
  --shadow: 0 10px 30px rgba(24, 54, 120, 0.08);
  /* Brand wordmark colors (Applicable to site, docs etc.) */
  --brand-ubiq: #1D6CB9;
  --brand-cure: #D91C3D;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(34, 99, 255, 0.08), transparent 22%),
    linear-gradient(180deg, #ffffff 0%, #f7f9ff 50%, #f3f6fe 100%);
}

img {
  max-width: 100%;
  display: block;
}

button,
input {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(231, 237, 251, 0.95);
  backdrop-filter: blur(12px);
}

body.index-page,
body.fixed-header-page {
  padding-top: 74px;
}

.index-page .site-header,
.fixed-header-page .site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1050;
}

.site-header__inner,
.page-shell,
.site-footer__inner {
  width: min(1440px, calc(100% - 56px));
  margin: 0 auto;
}

.site-header__inner {
  min-height: 74px;
  display: grid;
  grid-template-columns: 185px 1fr auto;
  align-items: center;
  gap: 24px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.brand-mark img {
  height: 34px;
  width: auto;
  max-width: none;
}
.brand-wordmark,
.ubiq-brand {
  font-family: 'Montserrat', 'Poppins', sans-serif;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: 0.6px;
  line-height: 1;
}
.brand-wordmark-ubiq,
.ubiq-brand .ubiq { color: var(--brand-ubiq); }
.brand-wordmark-cure,
.ubiq-brand .cure { color: var(--brand-cure); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  justify-content: center;
}

.main-nav a,
.site-nav-link {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  color: #243253;
  padding: 30px 0 26px;
  text-decoration: none;
}

.main-nav a.active::after,
.site-mobile-nav__links .site-nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 10px;
  width: 30px;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--blue), var(--purple));
}

.new-pill {
  display: inline-block;
  margin-left: 4px;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 9px;
  color: #fff;
  background: linear-gradient(90deg, var(--blue), var(--purple));
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  flex-shrink: 0;
}

.site-nav-toggle__bar {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: #243253;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

body.site-nav-open .site-nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.site-nav-open .site-nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

body.site-nav-open .site-nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-mobile-nav,
.site-nav-backdrop {
  display: none;
}

.ehrc-btn {
  border: 1px solid rgba(24, 79, 215, 0.35);
  background: #fff;
  color: #1b2b57;
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 16px rgba(24, 54, 120, 0.06);
}

.ehrc-icon {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #1b64ff;
  background: rgba(27, 100, 255, 0.10);
}

.ehrc-new {
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  color: #fff;
  background: #16b35a;
  font-weight: 700;
}

.location-chip .loc-name {
  font-weight: 600;
}

.location-chip.dropdown-toggle::after {
  display: none;
}

.location-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.location-chip--hero {
  width: 100%;
  justify-content: flex-start;
  min-height: 46px;
  border-radius: 14px;
  padding: 12px 18px;
  font-size: 13px;
  color: #364152;
}

.ubiq-location-picker--hero {
  width: 100%;
}

.ubiq-location-picker--hero .ubiq-city-menu {
  width: 100%;
}

.ubiq-city-menu {
  border-radius: 12px;
  border: 1px solid #e8eefc;
  min-width: 180px;
  max-height: 320px;
  overflow-y: auto;
  padding: 6px;
}

.ubiq-city-menu .dropdown-item {
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 14px;
}

.ubiq-city-menu .ubiq-city-option.active,
.ubiq-city-menu .ubiq-city-option:active {
  background: #eef2ff;
  color: #1d5fff;
  font-weight: 600;
}

.ubiq-detect-location {
  color: #1d5fff;
  font-weight: 600;
}

.header-login-btn {
  border: 1px solid rgba(184, 194, 223, 0.9);
  color: #253257;
  font-size: 14px;
  padding: 10px 16px;
  border-radius: 12px;
  background: #fff;
  font-weight: 600;
}

.header-signup-btn {
  border: 0;
  color: #fff;
  font-size: 14px;
  padding: 11px 16px;
  border-radius: 12px;
  background: linear-gradient(90deg, var(--blue), var(--purple));
  box-shadow: 0 8px 20px rgba(104, 72, 228, 0.25);
  font-weight: 600;
}

.header-signup-btn::after {
  margin-left: 8px;
}

.signup-menu {
  border-radius: 12px;
  border: 1px solid #e8eefc;
  min-width: 185px;
}

.signup-menu .dropdown-item {
  font-size: 14px;
  font-weight: 500;
}

.chip,
.ghost-btn,
.primary-header-btn,
.outline-btn,
.store-btn {
  border-radius: 12px;
  cursor: pointer;
}

.chip,
.ghost-btn {
  border: 1px solid var(--line);
  background: #fff;
  color: #243253;
  font-size: 14px;
  padding: 12px 16px;
}

.primary-header-btn {
  border: 0;
  color: #fff;
  font-size: 14px;
  padding: 13px 18px;
  background: linear-gradient(90deg, var(--blue), var(--purple));
  box-shadow: 0 8px 20px rgba(104, 72, 228, 0.25);
}

.page-shell {
  padding: 14px 0 24px;
}

.card,
.virtual-card,
.mini-card,
.doctor-card,
.join-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(231, 237, 251, 0.95);
  box-shadow: var(--shadow);
  border-radius: 22px;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 20px;
  align-items: start;
}

.hero-left {
  position: relative;
  min-height: 370px;
  overflow: hidden;
}

.hero-left h1 {
  margin: 14px 0 8px;
  font-size: clamp(42px, 3.1vw, 58px);
  line-height: 1.03;
  letter-spacing: -0.03em;
  position: relative;
  z-index: 2;
}

.hero-left h1 span {
  background: linear-gradient(90deg, #1f65ff, #af22ea);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-left > p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: #4f5b6f;
  max-width: 370px;
  position: relative;
  z-index: 2;
}

.hero-visual {
  position: absolute;
  right: -8px;
  top: 6px;
  width: 55%;
  z-index: 1;
}

.hero-visual img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 30px;
  position: relative;
  z-index: 2;
}

.trust-row article h4 {
  margin: 8px 0 2px;
  font-size: 12px;
}

.trust-row article small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.trust-icon,
.mini-badge,
.spec {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #2958ff;
  background: #f3f7ff;
}

.trust-icon.purple {
  color: #9a31ef;
}

.virtual-card {
  margin-top: 26px;
  padding: 18px 20px 0;
  display: grid;
  grid-template-columns: 1fr 210px;
  align-items: end;
  overflow: hidden;
}

.virtual-copy {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.virtual-icon {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: #184fd7;
  font-size: 22px;
}

.virtual-copy h3 {
  margin: 0 0 8px;
  font-size: 24px;
}

.virtual-copy h3 span,
.tiny-pill {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 999px;
  font-size: 10px;
  color: #fff;
  background: #16b35a;
  vertical-align: middle;
}

.virtual-copy p,
.mini-card p,
.join-card p,
.doctor-copy p,
.doctor-copy span,
.blog p,
.app p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.mini-gradient-btn,
.gradient-btn,
.join-btn {
  border: 0;
  color: #fff;
  background: linear-gradient(90deg, var(--blue), var(--purple));
  box-shadow: 0 10px 24px rgba(110, 70, 230, 0.25);
  cursor: pointer;
}

.mini-gradient-btn {
  margin-top: 12px;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
}

.search-panel {
  padding: 16px 18px;
  height: 370px;
  border-radius: 18px;
}

.search-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  border-bottom: 1px solid var(--line);
}

.tab {
  border: 0;
  background: transparent;
  padding: 10px 6px 12px;
  font-size: 14px;
  font-weight: 500;
  color: #243253;
  border-bottom: 3px solid transparent;
}

.tab.active {
  color: #1d5fff;
  border-bottom-color: #1d5fff;
}

.field {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #7b879b;
  background: #fff;
}

.field.full {
  margin-top: 20px;
}

.field input {
  width: 100%;
  border: 0;
  outline: 0;
  font-size: 13px;
  color: #364152;
  background: transparent;
}

.field select {
  width: 100%;
  border: 0;
  outline: 0;
  font-size: 13px;
  color: #364152;
  background: transparent;
  appearance: none;
}

.search-fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 16px;
}

.gradient-btn {
  min-height: 42px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 600;
}

.search-btn {
  width: 100%;
  margin-top: 12px;
}

.popular-row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 12px;
  font-size: 12px;
  color: #475467;
}

.popular-row strong {
  color: #2d3446;
}

.popular-row span {
  padding: 6px 10px;
  border-radius: 999px;
  background: #f2f5ff;
  color: #3e4f78;
  cursor: pointer;
  transition: all 0.2s ease;
}

.popular-row span:hover {
  background: #e5ecff;
  color: #1f3fa8;
}

.autocomplete-dropdown {
  position: relative;
  z-index: 20;
  margin-top: 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(20, 38, 92, 0.09);
  max-height: 220px;
  overflow-y: auto;
  display: none;
}

.autocomplete-dropdown.is-open {
  display: block;
}

/* UBIQCURE themed SweetAlert popups */
.ubiq-swal-popup {
  border: none !important;
  border-radius: 16px !important;
  box-shadow: 0 18px 48px rgba(24, 54, 120, 0.18) !important;
  padding: 1.25rem 1.25rem 1rem !important;
  font-family: "Poppins", sans-serif !important;
}

.ubiq-swal-title {
  color: #111827 !important;
  font-weight: 700 !important;
  font-size: 1.25rem !important;
}

.ubiq-swal-btn {
  border-radius: 10px !important;
  padding: 0.55rem 1.6rem !important;
  font-weight: 600 !important;
  box-shadow: 0 8px 18px rgba(27, 100, 255, 0.22) !important;
}

.ubiq-swal-body {
  text-align: center;
  color: #667085;
  line-height: 1.55;
  font-size: 0.98rem;
}

.ubiq-swal-lead-icon {
  font-size: 2rem;
  color: #1b64ff;
  display: block;
  margin: 0.15rem auto 0.65rem;
}

.ubiq-swal-phone {
  color: #111827;
  font-size: 1.05rem;
}

.ubiq-swal-icon-wrap.swal2-success {
  border-color: #1b64ff !important;
  color: #1b64ff !important;
}

.ubiq-swal-icon-wrap.swal2-success [class^='swal2-success-line'] {
  background-color: #1b64ff !important;
}

.ubiq-swal-icon-wrap.swal2-success .swal2-success-ring {
  border-color: rgba(27, 100, 255, 0.28) !important;
}

.quick-services {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.mini-card {
  min-height: 126px;
  padding: 12px 10px;
  display: flex;
  gap: 12px;
}

.mini-card h4,
.join-card h4,
.doctor-copy h4,
.blog h4 {
  margin: 0 0 6px;
  font-size: 13px;
}

.mini-card a {
  display: inline-block;
  margin-top: 12px;
  color: #275cff;
}

.purple-tone .mini-badge,
.purple-tone i:first-child { color: #9349f2; }
.green-tone .mini-badge,
.green-tone i:first-child { color: #17a55d; }
.blue-tone .mini-badge,
.blue-tone i:first-child { color: #245cff; }
.orange-tone .mini-badge,
.orange-tone i:first-child { color: #ef9520; }
.pink-tone .mini-badge,
.pink-tone i:first-child { color: #eb4098; }
.cyan-tone .mini-badge,
.cyan-tone i:first-child { color: #2eb3b7; }

.status-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: 12px;
  margin-top: 12px;
}

.queue-card,
.clinic-card,
.specializations,
.choose,
.connect,
.blog,
.app,
.trust-panel {
  padding: 14px;
  height: 100%;
  border-radius: 16px;
}

.top-doctors {
  padding: 14px;
  border-radius: 16px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.section-head h3,
.clinic-card h3,
.connect h2,
.app h3,
.trust-panel h3 {
  margin: 0;
  font-size: 15px;
  color: #18358d;
}

.section-head a {
  font-size: 13px;
  font-weight: 600;
  color: #295cff;
}

.live {
  font-size: 12px;
  color: #18a34a;
}

.queue-top {
  display: grid;
  grid-template-columns: 155px 1fr 185px;
  gap: 12px;
  margin-top: 10px;
}

.queue-top img {
  border-radius: 12px;
  height: 92px;
  object-fit: cover;
}

.queue-main h4 {
  margin: 8px 0 4px;
  font-size: 16px;
}

.queue-main p,
.queue-depts div {
  margin: 0;
  font-size: 13px;
  color: #475467;
}

.queue-depts {
  border-left: 1px solid var(--line);
  padding-left: 12px;
}

.queue-depts h5 {
  margin: 0 0 8px;
  font-size: 14px;
  color: #3150a5;
}

.queue-depts div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.queue-depts span {
  display: inline-flex;
  gap: 6px;
}

.ok {
  color: #17a34a;
}

.warn {
  color: #ef9a1d;
}

.stats-row,
.impact-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.stats-row div,
.impact-row div {
  display: grid;
  gap: 4px;
  color: #2147b5;
}

.stats-row strong,
.impact-row strong {
  font-size: 36px;
  color: #1d45b5;
}

.stats-row span,
.impact-row span {
  font-size: 13px;
  color: var(--muted);
}

.queue-actions {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 16px;
  margin-top: 12px;
}

.outline-btn {
  border: 1px solid #bccaf3;
  background: #fff;
  color: #2648b9;
  font-size: 15px;
  font-weight: 600;
  min-height: 54px;
}

.clinic-card h3 span {
  font-weight: 600;
}

.clinic-layout {
  display: grid;
  grid-template-columns: 1fr 290px;
  gap: 18px;
  align-items: center;
  margin-top: 18px;
}

.clinic-layout ul,
.trust-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.clinic-layout li,
.trust-panel li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 14px;
  color: #475467;
}

.clinic-layout img {
  height: 240px;
  object-fit: cover;
  border-radius: 16px;
}

.compact-btn {
  width: 180px;
  margin-top: 10px;
  font-size: 16px;
}

.catalog-grid {
  display: grid;
  grid-template-columns: 320px 1fr 320px;
  gap: 12px;
  margin-top: 12px;
  align-items: start;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px 12px;
  margin-top: 22px;
}

.spec-grid div {
  text-align: center;
}

.spec {
  margin: 0 auto 8px;
}

.spec-grid p {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
}

.spec.red { color: #ef415a; }
.spec.orange { color: #f39d18; }
.spec.blue { color: #275bff; }
.spec.sky { color: #5d84ff; }
.spec.pink { color: #ea469d; }
.spec.violet { color: #7e54f4; }
.spec.teal { color: #1f8f8d; }
.spec.purple { color: #924ced; }

.doctor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.doctor-card {
  overflow: hidden;
}

.doctor-card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  object-position: center top;
}

.doctor-copy {
  padding: 8px 10px;
}

.doctor-copy small {
  display: block;
  margin: 4px 0;
  color: #d2941f;
  font-size: 11px;
}

.doctor-copy span {
  display: block;
}

.doctor-copy .outline-btn {
  width: 100%;
  margin-top: 8px;
}

.connect {
  margin-top: 12px;
}

/* ===== Connect with us + UBIQ-Saathi (homepage) ===== */
.connect-partner-section {
  margin-top: 12px;
  display: grid;
  gap: 12px;
}

.connect-partner-row {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
}

.connect-panel {
  padding: 18px 18px 16px;
  min-width: 0;
  width: 100%;
}

.connect-panel .connect-grid.connect-grid--three {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
  width: 100%;
}

.connect-panel__title {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  color: #18358d;
  letter-spacing: -0.02em;
}

.connect-panel__sub {
  margin: 6px 0 0;
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
}

.join-card--partner {
  width: 100%;
  min-width: 0;
  padding: 16px 14px 14px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 220px;
  background: #fff;
  border: 1px solid #e8eef8;
  box-shadow: 0 2px 10px rgba(21, 34, 56, 0.05);
}

.join-card--partner > i:first-child {
  display: none;
}

.join-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 10px;
}

.purple-tone .join-card__icon { background: #f3e8ff; color: #7c3aed; }
.blue-tone .join-card__icon { background: #dbeafe; color: #2563eb; }
.green-tone .join-card__icon { background: #dcfce7; color: #16a34a; }

.join-card--partner h4 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 800;
  color: #1e3a8a;
}

.join-card--partner p {
  margin: 0 0 14px;
  font-size: 12.5px;
  line-height: 1.45;
  color: #64748b;
  flex: 1;
}

.join-card--partner .join-btn {
  width: 100%;
  margin-top: auto;
  min-height: 40px;
  border-radius: 9px;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
}

.join-card--partner .purple-btn { background: #7c3aed; }
.join-card--partner .blue-btn { background: #2563eb; }
.join-card--partner .green-btn { background: #16a34a; }
.orange-btn { background: linear-gradient(90deg, #ff9917, #f56e00); }
.pink-btn { background: linear-gradient(90deg, #ff5aa6, #f4458f); }

.saathi-panel {
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(210px, 42%);
  gap: 0;
  align-items: stretch;
  overflow: hidden;
  min-width: 0;
  background: linear-gradient(180deg, #faf8ff 0%, #f4f0ff 100%);
  border: 1px solid #ebe4ff;
}

.saathi-panel__copy {
  padding: 18px 16px 16px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.saathi-panel__title {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
  color: #4338ca;
  letter-spacing: -0.02em;
}

.saathi-panel__lead {
  margin: 4px 0 0;
  font-size: 11.5px;
  font-weight: 600;
  color: #64748b;
  line-height: 1.35;
}

.saathi-panel__tagline {
  margin: 10px 0 0;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.1;
  color: #15803d;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.saathi-panel__heart {
  width: 26px;
  height: 22px;
  color: #22c55e;
  flex-shrink: 0;
  transform: rotate(-8deg);
}

.saathi-panel__desc {
  margin: 8px 0 0;
  font-size: 11px;
  line-height: 1.5;
  color: #475569;
  font-weight: 500;
  max-width: 100%;
}

.saathi-panel__features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin-top: 14px;
}

.saathi-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 5px;
}

.saathi-feature__icon {
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  color: #7c3aed;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
}

.saathi-feature span:last-child {
  font-size: 9.5px;
  line-height: 1.25;
  font-weight: 600;
  color: #334155;
}

.saathi-panel__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.saathi-panel__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 16px;
  border-radius: 8px;
  background: #7c3aed;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: none;
  border: none;
}

.saathi-panel__btn:hover {
  background: #6d28d9;
  color: #fff;
}

.saathi-panel__cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  color: #2563eb;
  text-decoration: none;
}

.saathi-panel__cta:hover {
  color: #1d4ed8;
}

.saathi-panel__visual {
  display: flex;
  align-items: stretch;
  min-height: 0;
  overflow: hidden;
  padding: 8px 8px 8px 0;
}

.saathi-panel__visual img {
  width: 100%;
  height: 100%;
  min-height: 230px;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
}

.impact-row--bar {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 0;
  padding: 14px 16px;
  border-top: none;
  background: linear-gradient(180deg, #f8fbff 0%, #f3f7ff 100%);
}

.impact-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.impact-item i {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  margin-bottom: 2px;
}

.impact-item.purple-tone i { background: #f3e8ff; color: #7c3aed; }
.impact-item.blue-tone i { background: #dbeafe; color: #2563eb; }
.impact-item.green-tone i { background: #dcfce7; color: #16a34a; }
.impact-item.orange-tone i { background: #ffedd5; color: #ea580c; }
.impact-item.pink-tone i { background: #fce7f3; color: #db2777; }

.impact-item strong {
  font-size: 22px;
  font-weight: 800;
  color: #1e3a8a;
  line-height: 1.1;
}

.impact-item span {
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
}

.connect h2 {
  font-size: 20px;
}

.connect > p {
  margin: 2px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.connect-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.connect-grid.connect-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.join-card {
  padding: 12px;
  display: flex;
  flex-direction: column;
}

.join-card > i {
  font-size: 34px;
}

.join-btn {
  width: 100%;
  margin-top: auto;
  min-height: 42px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
}

.purple-btn { background: linear-gradient(90deg, #2d63ff, #7132eb); }
.blue-btn { background: linear-gradient(90deg, #1f64ff, #2a4ad5); }
.green-btn { background: linear-gradient(90deg, #18a860, #108052); }
.orange-btn { background: linear-gradient(90deg, #ff9917, #f56e00); }
.pink-btn { background: linear-gradient(90deg, #ff5aa6, #f4458f); }

.impact-row {
  grid-template-columns: repeat(5, 1fr);
  margin-top: 10px;
}

.bottom-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
  align-items: stretch;
}

/* e-HRC promotional banner */
.ehrc-promo-banner {
  margin-top: 12px;
  padding: 24px 28px 20px;
  border: 1px solid #d5dee8;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
}

.ehrc-promo-banner svg {
  display: block;
}

.ehrc-promo__top {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: 32px;
  align-items: start;
  padding-bottom: 20px;
}

.ehrc-promo__brand-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.ehrc-promo__logo {
  font-size: 1.85rem;
  font-weight: 800;
  color: #c1272d;
  letter-spacing: -0.03em;
  line-height: 1;
  flex-shrink: 0;
}

.ehrc-promo__divider-v {
  width: 1px;
  height: 32px;
  background: #cbd5e1;
  flex-shrink: 0;
}

.ehrc-promo__tag {
  font-size: 0.82rem;
  color: #1e293b;
  font-weight: 500;
  line-height: 1.35;
}

.ehrc-promo__headline {
  margin: 0 0 8px;
  font-size: clamp(1.75rem, 3.2vw, 2.25rem);
  font-weight: 800;
  line-height: 1.06;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.ehrc-promo__headline-rule {
  display: block;
  width: 68px;
  height: 3px;
  background: #0047ab;
  border-radius: 2px;
  margin-bottom: 12px;
}

.ehrc-promo__hl-blue { color: #0047ab; }
.ehrc-promo__hl-green { color: #2e7d32; }
.ehrc-promo__hl-red { color: #c1272d; }
.ehrc-promo__hl-navy { color: #1565c0; }
.ehrc-promo__hl-teal { color: #2e7d32; }

.ehrc-promo__sub {
  margin: 0;
  font-size: 0.88rem;
  color: #374151;
  line-height: 1.55;
  max-width: 520px;
}

.ehrc-promo__affiliations {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: stretch;
  border: 1px solid #d5dee8;
  border-radius: 12px;
  padding: 18px 14px;
  background: #fff;
  min-height: 124px;
}

.ehrc-promo__affil {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  gap: 8px;
  padding: 0 12px;
  min-width: 0;
}

.ehrc-promo__affil-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
  margin-bottom: 2px;
}

.ehrc-promo__affil-icon svg {
  width: 36px;
  height: 36px;
}

.ehrc-promo__affil-icon--blue {
  color: #0047ab;
}

.ehrc-promo__affil-icon--red img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.ehrc-promo__affil strong {
  display: block;
  font-size: 0.76rem;
  line-height: 1.35;
  color: #1e293b;
  font-weight: 700;
}

.ehrc-promo__affil strong.ehrc-promo__hl-red {
  color: #c1272d;
}

.ehrc-promo__affil small {
  display: block;
  font-size: 0.67rem;
  color: #64748b;
  line-height: 1.35;
}

.ehrc-promo__affil-sep {
  width: 1px;
  background: #d5dee8;
  align-self: stretch;
}

.ehrc-promo__features {
  display: flex;
  align-items: stretch;
  gap: 0;
  padding: 18px 0;
  border-top: 1px solid #e8edf3;
}

.ehrc-promo__feature {
  flex: 1 1 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  padding: 0 14px;
}

.ehrc-promo__feature:first-child {
  padding-left: 0;
}

.ehrc-promo__feature:last-of-type {
  padding-right: 0;
}

.ehrc-promo__feat-sep {
  width: 1px;
  align-self: stretch;
  min-height: 62px;
  background: #e2e8f0;
  flex-shrink: 0;
}

.ehrc-promo__feat-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
}



.ehrc-promo__feat-icon--blue { background: #1976d2; }
.ehrc-promo__feat-icon--green { background: #2e7d32; }
.ehrc-promo__feat-icon--navy { background: #1565c0; }
.ehrc-promo__feat-icon--red { background: #c62828; }
.ehrc-promo__feat-icon--teal { background: #2e7d32; }

.ehrc-promo__feature strong {
  display: block;
  font-size: 0.76rem;
  line-height: 1.35;
  margin-bottom: 4px;
  font-weight: 700;
}

.ehrc-promo__feature span {
  display: block;
  font-size: 0.68rem;
  line-height: 1.35;
}

.ehrc-promo__footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: nowrap;
  background: #eef2f6;
  border: 1px solid #dde4ec;
  border-radius: 10px;
  padding: 13px 18px;
  margin-top: 6px;
}

.ehrc-promo__trust-row {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0;
  font-size: 0.78rem;
  color: #1f2937;
}

.ehrc-promo__trust-row > span:not(.ehrc-promo__trust-sep) {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 0 16px;
  gap: 6px;
}

.ehrc-promo__trust-row > span:not(.ehrc-promo__trust-sep):first-child {
  padding-left: 0;
}

.ehrc-promo__trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ehrc-promo__trust-icon svg {
  width: 20px;
  height: 20px;
}

.ehrc-promo__trust-blue { color: #0047ab; }
.ehrc-promo__trust-red { color: #c1272d; }
.ehrc-promo__trust-green { color: #2e7d32; }

.ehrc-promo__trust-sep {
  width: 1px;
  height: 20px;
  background: #cbd5e1;
  flex-shrink: 0;
}

.ehrc-promo__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #0047ab;
  color: #fff !important;
  font-size: 0.86rem;
  font-weight: 600;
  padding: 11px 22px;
  border-radius: 8px;
  white-space: nowrap;
  transition: background 0.2s ease;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 71, 171, 0.28);
}

.ehrc-promo__cta svg {
  stroke: #fff;
}

.ehrc-promo__cta:hover {
  background: #003d94;
  color: #fff;
}

.connect,
.blog,
.app,
.trust-panel {
  height: 100%;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.blog-grid img {
  height: 88px;
  border-radius: 10px;
  object-fit: cover;
}

.blog-grid article h4 {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.45;
}

.blog-grid article p {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--muted);
}

.app-layout {
  display: grid;
  grid-template-columns: 122px 1fr;
  gap: 18px;
  align-items: end;
  margin-top: 12px;
}

.app-side {
  display: grid;
  gap: 10px;
}

.qr-box {
  width: 112px;
  height: 112px;
  border-radius: 10px;
  border: 2px solid #111827;
  background:
    linear-gradient(90deg, #111 12%, transparent 12% 24%, #111 24% 36%, transparent 36% 48%, #111 48% 60%, transparent 60% 72%, #111 72% 84%, transparent 84%),
    linear-gradient(#111 12%, transparent 12% 24%, #111 24% 36%, transparent 36% 48%, #111 48% 60%, transparent 60% 72%, #111 72% 84%, transparent 84%);
  background-size: 18px 18px;
}

.store-btn {
  border: 0;
  background: #111827;
  color: #fff;
  min-height: 42px;
  font-size: 13px;
}

.app-layout img {
  width: 420px;
  justify-self: end;
}

.trust-panel {
  display: flex;
  flex-direction: column;
}

.trust-panel__body {
  display: flex;
  margin-top: 15px;

}

.trust-panel ul {
  flex: 1;
  min-width: 0;
}

.trust-panel li {
  margin-bottom: 12px;
}

.trust-panel li:last-child {
  margin-bottom: 0;
}

.trust-panel li i {
  flex-shrink: 0;
  font-size: 1.05rem;
  line-height: 1;
  margin-top: 1px;
}

.trust-panel__shield {
  width: 1000px;
  max-width: 58%;
  height: auto;
  flex-shrink: 0;
  align-self: flex-end;
  object-fit: contain;
}

.trust-panel i {
  color: #18a34a;
}

.site-footer {
  background: linear-gradient(180deg, #0d46ba 0%, #062d87 100%);
  color: #fff;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 290px repeat(4, 1fr);
  gap: 28px;
  padding: 24px 0 26px;
}

.footer-brand img {
  width: 170px;
  margin-bottom: 10px;
}

.footer-brand p,
.footer-links a,
.footer-help p,
.footer-help span {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.86);
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links h4,
.footer-help h4 {
  margin: 0 0 10px;
  font-size: 15px;
}

.footer-help strong {
  display: block;
  margin: 5px 0 2px;
  font-size: 26px;
}

/* Old index footer style (used in index.jsp) */
.legacy-footer {
  margin-top: 22px;
  background: linear-gradient(110deg, #4f6fe8 0%, #6358d8 45%, #6e4fcb 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 30px 0 12px;
}

.legacy-footer .footer-description {
  color: rgba(255, 255, 255, 0.92);
  font-size: 16px;
  line-height: 1.45;
  max-width: 420px;
  margin: 10px 0 12px;
  font-weight: 500;
}

.legacy-footer .footer-heading {
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 12px;
}

.legacy-footer .footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.legacy-footer .footer-links li {
  color: rgba(255, 255, 255, 0.95);
  font-size: 15px;
  line-height: 1.4;
}

.legacy-footer .footer-links a,
.legacy-footer .footer-links span {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500;
}

.legacy-footer .footer-links a:hover {
  color: #ffffff !important;
}

.legacy-footer .social-icons {
  display: flex;
  gap: 10px;
}

.legacy-footer .social-icons a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 18px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.legacy-footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 14px;
  padding-top: 10px;
  text-align: left;
}

.legacy-footer .footer-bottom p,
.legacy-footer .footer-bottom span {
  color: rgba(255, 255, 255, 0.95);
  font-size: 14px;
  margin: 0;
}
.legacy-footer .footer-logo > span { color: #ffffff; }
.legacy-footer .footer-links i { color: rgba(255, 255, 255, 0.85); }

/* UbiqCure — branded search validation alert (index.jsp) */
.ubiq-search-alert-backdrop {
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.ubiq-search-alert {
  position: relative;
  border-radius: 24px !important;
  padding: 36px 32px 28px !important;
  max-width: 440px !important;
  width: min(440px, calc(100vw - 32px)) !important;
  box-shadow:
    0 28px 64px rgba(15, 23, 42, 0.18),
    0 8px 20px rgba(79, 125, 255, 0.08) !important;
  border: 1px solid rgba(238, 242, 248, 0.95) !important;
  background: linear-gradient(180deg, #ffffff 0%, #fafbff 100%) !important;
  overflow: hidden;
}

.ubiq-search-alert::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #4f7dff 0%, #6366f1 50%, #7c3aed 100%);
}

.ubiq-search-alert__icon-wrap {
  position: relative;
  width: 76px;
  height: 76px;
  margin: 0 auto 20px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #4f7dff 0%, #6366f1 52%, #7c3aed 100%);
  color: #fff;
  font-size: 2rem;
  box-shadow: 0 14px 32px rgba(79, 125, 255, 0.38);
}

.ubiq-search-alert__icon-glow {
  position: absolute;
  inset: -10px;
  border-radius: 28px;
  border: 2px solid rgba(99, 102, 241, 0.22);
  background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.ubiq-search-alert__title {
  font-family: 'Poppins', 'Inter', system-ui, sans-serif !important;
  font-size: clamp(1.45rem, 3.5vw, 1.65rem) !important;
  font-weight: 800 !important;
  color: #152238 !important;
  margin: 0 0 12px !important;
  padding: 0 !important;
  letter-spacing: -0.03em;
  line-height: 1.2 !important;
}

.ubiq-search-alert__body {
  margin: 0 !important;
  padding: 0 6px 22px !important;
}

.ubiq-search-alert__text {
  margin: 0 0 8px;
  font-size: 1rem;
  color: #3d4f6f;
  line-height: 1.6;
  font-weight: 600;
}

.ubiq-search-alert__hint {
  margin: 0;
  font-size: 0.88rem;
  color: #6b7a94;
  line-height: 1.55;
  font-weight: 500;
}

.ubiq-search-alert__actions {
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
}

.ubiq-search-alert__btn {
  width: 100%;
  border: 0;
  border-radius: 14px;
  padding: 14px 24px;
  min-height: 48px;
  font-size: 0.98rem;
  font-weight: 700;
  font-family: 'Poppins', 'Inter', system-ui, sans-serif;
  letter-spacing: 0.01em;
  color: #fff;
  background: linear-gradient(135deg, #4f7dff 0%, #6366f1 48%, #7c3aed 100%);
  box-shadow: 0 10px 28px rgba(79, 125, 255, 0.34);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.ubiq-search-alert__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(79, 125, 255, 0.42);
  filter: brightness(1.04);
}

.ubiq-search-alert__btn:active {
  transform: translateY(0);
  box-shadow: 0 8px 20px rgba(79, 125, 255, 0.3);
}

.ubiq-search-alert__btn:focus {
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.28), 0 10px 28px rgba(79, 125, 255, 0.34);
}

@keyframes ubiqSearchAlertIn {
  from { opacity: 0; transform: scale(0.94) translateY(12px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes ubiqSearchAlertOut {
  from { opacity: 1; transform: scale(1) translateY(0); }
  to { opacity: 0; transform: scale(0.97) translateY(6px); }
}

.ubiq-search-alert-animate {
  animation: ubiqSearchAlertIn 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.ubiq-search-alert-animate-out {
  animation: ubiqSearchAlertOut 0.2s ease-in forwards;
}

@media (max-width: 1280px) {
  .site-header__inner,
  .page-shell,
  .site-footer__inner {
    width: min(1180px, calc(100% - 28px));
  }

  .hero {
    grid-template-columns: 1fr 1.12fr;
  }

  .hero-left h1 {
    font-size: 52px;
  }

  .hero-left > p {
    font-size: 22px;
  }

  .quick-services,
  .connect-grid:not(.connect-grid--three) {
    grid-template-columns: repeat(3, 1fr);
  }

  .doctor-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ehrc-promo__features {
    flex-wrap: wrap;
    gap: 14px 12px;
  }

  .ehrc-promo__feature {
    flex: 1 1 calc(50% - 12px);
    padding: 0;
  }

  .ehrc-promo__feat-sep {
    display: none;
  }
}

@media (max-width: 991.98px) {
  .site-header__inner,
  .page-shell,
  .site-footer__inner {
    width: calc(100% - 24px);
  }

  .site-header__inner {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 64px;
  }

  .brand-mark {
    flex-shrink: 0;
  }

  .main-nav,
  .header-actions--desktop {
    display: none !important;
  }

  .site-nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-mobile-nav {
    display: block;
    position: fixed;
    top: 64px;
    right: 0;
    width: min(320px, calc(100vw - 20px));
    max-height: calc(100dvh - 64px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: #fff;
    border-left: 1px solid var(--line);
    box-shadow: -10px 0 32px rgba(21, 34, 56, 0.14);
    transform: translateX(105%);
    transition: transform 0.25s ease;
    z-index: 1060;
    padding: 14px 14px 20px;
  }

  body.site-nav-open .site-mobile-nav {
    transform: translateX(0);
  }

  .site-nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    top: 64px;
    background: rgba(15, 23, 42, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 1055;
  }

  body.site-nav-open .site-nav-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .site-mobile-nav__links {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
  }

  .site-mobile-nav__links .site-nav-link {
    padding: 12px 14px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
  }

  .site-mobile-nav__links .site-nav-link.active {
    background: #eef2ff;
    color: #1d5fff;
  }

  .site-mobile-nav__links .site-nav-link.active::after {
    display: none;
  }

  .site-mobile-nav__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }

  .site-mobile-nav__actions .ehrc-btn,
  .site-mobile-nav__actions .location-chip,
  .site-mobile-nav__actions .header-login-btn,
  .site-mobile-nav__actions .header-signup-btn,
  .site-mobile-nav__actions .chip {
    width: 100%;
    justify-content: center;
  }

  .site-mobile-nav__actions .dropdown {
    width: 100%;
  }

  .site-mobile-nav__actions .dropdown > button {
    width: 100%;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-left {
    min-height: 0;
  }

  .hero-left h1 {
    font-size: clamp(1.75rem, 6vw, 42px);
  }

  .hero-left > p {
    font-size: clamp(0.95rem, 3vw, 18px);
    max-width: none;
  }

  .trust-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 20px;
  }

  .search-panel {
    height: auto;
    min-height: 0;
  }

  .status-grid,
  .catalog-grid {
    grid-template-columns: 1fr;
  }

  .queue-top {
    grid-template-columns: 1fr;
  }

  .queue-depts {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0;
    padding-top: 12px;
  }

  .quick-services,
  .connect-grid:not(.connect-grid--three),
  .doctor-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .connect-grid.connect-grid--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .connect-partner-row {
    grid-template-columns: 1fr;
  }

  .saathi-panel {
    grid-template-columns: 1fr;
  }

  .saathi-panel__copy {
    padding: 16px;
  }

  .saathi-panel__visual {
    padding: 0 12px 12px;
  }

  .saathi-panel__tagline {
    font-size: 20px;
  }

  .saathi-panel__features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .saathi-panel__visual img {
    min-height: 220px;
  }

  .impact-row--bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bottom-panels {
    grid-template-columns: 1fr;
  }

  body.index-page,
  body.fixed-header-page {
    padding-top: 64px;
  }

  body.site-nav-open {
    overflow: hidden;
  }
}

@media (max-width: 767.98px) {
  .site-header__inner,
  .page-shell,
  .site-footer__inner {
    width: calc(100% - 16px);
  }

  .brand-wordmark,
  .ubiq-brand {
    font-size: 1.05rem;
  }

  .quick-services,
  .connect-grid,
  .connect-grid--three,
  .doctor-grid {
    grid-template-columns: 1fr;
  }

  .impact-row--bar {
    grid-template-columns: 1fr;
  }

  .ehrc-promo__top {
    grid-template-columns: 1fr;
  }

  .ehrc-promo__affiliations {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .ehrc-promo__affil-sep {
    width: 100%;
    height: 1px;
  }

  .ehrc-promo__features {
    flex-direction: column;
    gap: 14px;
    padding: 16px 0;
  }

  .ehrc-promo__feature {
    flex: 1 1 auto;
    padding: 0;
  }

  .ehrc-promo__feat-sep {
    display: none;
  }

  .ehrc-promo__footer-bar {
    flex-direction: column;
    align-items: stretch;
    flex-wrap: wrap;
  }

  .ehrc-promo__trust-row {
    flex-wrap: wrap;
    gap: 8px 10px;
  }

  .ehrc-promo__trust-row > span:not(.ehrc-promo__trust-sep) {
    padding: 0;
  }

  .ehrc-promo__trust-sep {
    display: none;
  }

  .ehrc-promo__cta {
    justify-content: center;
  }

  .bottom-panels {
    grid-template-columns: 1fr;
  }

  .stats-row,
  .impact-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .queue-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .queue-actions .gradient-btn,
  .queue-actions .outline-btn {
    width: 100%;
  }

  .popular-row {
    gap: 8px;
  }

  .popular-row strong {
    width: 100%;
    margin-bottom: 2px;
  }
}

@media (max-width: 575.98px) {
  .brand-mark img {
    height: 28px;
  }

  .trust-row {
    grid-template-columns: 1fr 1fr;
  }

  .trust-row article h4 {
    font-size: 11px;
  }

  .mini-card {
    min-height: 0;
  }
}

/* ===== Why choose UbiqCure benefits list ===== */
.why-list {
  list-style: none;
  padding: 8px 4px 0;
  margin: 12px 0 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.why-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 4px;
  border-bottom: 1px solid #eef2f7;
}
.why-list li:last-child {
  border-bottom: none;
}
.why-check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #22c55e;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 900;
  box-shadow: 0 2px 5px rgba(34, 197, 94, 0.22);
}
.why-text {
  color: #1a2547;
  font-weight: 700;
  font-size: 11px;
  line-height: 1.35;
  letter-spacing: 0.1px;
}
