:root {
  --navy: #071425;
  --navy-2: #03101f;
  --red: #ed1c2e;
  --red-dark: #c90f20;
  --ink: #0d1b2d;
  --muted: #637287;
  --line: #dfe6ee;
  --soft: #f5f7fa;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "IBM Plex Sans Arabic", "Tajawal", "Segoe UI", Arial, sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
  max-width: 100vw;
}

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

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

.hc-container {
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
}

.hc-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 20, 37, .92);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background-color .25s ease, box-shadow .25s ease;
}

.hc-site-header.is-scrolled {
  background: rgba(7, 20, 37, .97);
  box-shadow: 0 8px 30px rgba(3, 12, 24, .25);
}

.hc-nav {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  transition: min-height .2s ease;
}

.hc-site-header.is-scrolled .hc-nav {
  min-height: 56px;
}

.hc-brand {
  display: inline-flex;
  align-items: center;
}

/* Crops the red icon badge out of the full logo lockup (which also contains
   dark wordmark text unreadable on this dark header/footer). The wordmark is
   rendered as real, styleable white text via .hc-brand-copy instead. */
.hc-brand-icon {
  display: block;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  overflow: hidden;
  background-color: #fff;
  background-image: url('/assets/medical-care-logo.png');
  background-repeat: no-repeat;
  background-size: 127px 69px;
  background-position: -43px -6px;
}

.hc-brand-text {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hc-brand-copy {
  text-align: right;
  line-height: 1.5;
}

.hc-brand-copy b {
  display: block;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}

.hc-brand-copy small {
  display: block;
  color: #96a2b5;
  font-size: 10px;
  letter-spacing: .02em;
}

.hc-footer-brand {
  display: inline-flex;
  align-items: center;
  margin-bottom: 16px;
}

.hc-main-nav,
.hc-nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.hc-main-nav a,
.hc-nav-dropdown-trigger {
  color: #dbe4ee;
  font-weight: 700;
  font-size: 14px;
  padding: 21px 0;
  position: relative;
}

.hc-main-nav a.hc-active::after,
.hc-main-nav a:hover::after {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  bottom: 11px;
  height: 2px;
  background: var(--red);
}

.hc-nav-dropdown {
  position: relative;
}

.hc-nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.hc-chevron {
  transition: transform .18s ease;
}

.hc-nav-dropdown.is-open .hc-chevron {
  transform: rotate(180deg);
}

.hc-nav-dropdown-trigger:hover,
.hc-nav-dropdown-trigger.hc-active {
  color: #fff;
}

.hc-nav-dropdown-menu {
  display: none;
  position: absolute;
  inset-inline-start: 0;
  top: calc(100% + 10px);
  min-width: 208px;
  padding: 8px;
  border-radius: 12px;
  background: rgba(7, 20, 37, .97);
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 20px 40px rgba(3, 12, 24, .35);
  backdrop-filter: blur(16px);
}

.hc-nav-dropdown.is-open .hc-nav-dropdown-menu {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hc-nav-dropdown-menu a {
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: #dbe4ee;
}

.hc-nav-dropdown-menu a:hover,
.hc-nav-dropdown-menu a.hc-active {
  background: rgba(255, 255, 255, .07);
  color: #fff;
}

.hc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 20px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
}

.hc-btn-compact {
  min-height: 36px;
  padding: 7px 14px;
  font-size: 13px;
}

.hc-btn-red {
  color: #fff;
  background: linear-gradient(180deg, var(--red), var(--red-dark));
  box-shadow: 0 16px 30px rgba(237, 28, 46, .24);
}

.hc-btn-outline,
.hc-btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .05);
}

.hc-btn-outline-light {
  color: #fff;
  border-color: rgba(255, 255, 255, .38);
  background: rgba(255, 255, 255, .06);
}

.hc-menu-toggle {
  display: none;
  width: 46px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 8px;
  background: transparent;
}

.hc-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
}

.hc-nav-actions-mobile {
  display: none;
}

.hc-nav-actions-mobile form {
  margin: 0;
}

.hc-lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .05);
  color: #dbe4ee;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
}

.hc-lang-toggle:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, .4);
}

.hc-toolbar-group {
  position: relative;
}

.hc-icon-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .05);
  color: #dbe4ee;
  cursor: pointer;
}

.hc-icon-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, .09);
}

.hc-icon-btn-dot {
  position: absolute;
  top: 6px;
  inset-inline-end: 6px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  border: 2px solid rgba(7, 20, 37, .9);
}

.hc-avatar-btn {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(145deg, var(--red), var(--red-dark));
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
}

.hc-dropdown-panel {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 10px);
  z-index: 60;
  width: 300px;
  max-width: 85vw;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: 0 24px 48px rgba(3, 12, 24, .22);
  overflow: hidden;
}

.hc-dropdown-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}

.hc-dropdown-panel-head b {
  font-size: 13px;
  font-weight: 800;
}

.hc-dropdown-panel-head span,
.hc-account-role {
  font-size: 11px;
  color: var(--muted);
  font-weight: 700;
  text-transform: capitalize;
}

.hc-notif-list {
  max-height: 320px;
  overflow-y: auto;
}

.hc-dropdown-panel--account {
  width: 220px;
  padding: 6px;
}

.hc-dropdown-panel--account .hc-dropdown-panel-head {
  padding: 8px 8px 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 4px;
  display: block;
}

.hc-dropdown-link {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 9px 10px;
  border-radius: 8px;
  border: none;
  background: none;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  text-align: start;
  font-family: inherit;
}

.hc-dropdown-link:hover {
  background: var(--soft);
}

.hc-dropdown-link--danger {
  color: var(--red);
}

.hc-dropdown-panel--account form {
  margin: 0;
}

.hc-hero {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  color: #fff;
  background: radial-gradient(circle at 22% 25%, rgba(237, 28, 46, .13), transparent 35%), linear-gradient(135deg, #071425 0%, #03101f 75%);
}

.hc-hero-media {
  position: absolute;
  top: 0;
  bottom: 114px;
  left: 0;
  width: 50%;
  overflow: hidden;
  border-radius: 0;
  margin: 0;
  z-index: 1;
}

.hc-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hc-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 16, 31, .02) 0%, rgba(3, 16, 31, .18) 42%, rgba(3, 16, 31, .95) 100%),
    linear-gradient(0deg, rgba(3, 16, 31, .15), rgba(3, 16, 31, .15));
}

.hc-review-chip {
  position: absolute;
  z-index: 2;
  right: 8%;
  bottom: 80px;
  min-width: 210px;
  padding: 16px 18px;
  border-radius: 10px;
  color: var(--ink);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .25);
  font-weight: 800;
}

.hc-progress-dots {
  display: flex;
  gap: 7px;
  margin-top: 10px;
}

.hc-progress-dots i {
  width: 30px;
  height: 7px;
  border-radius: 999px;
  background: #cbd4df;
}

.hc-progress-dots i:nth-child(n+3) {
  background: var(--red);
}

.hc-hero-content {
  position: relative;
  z-index: 2;
  direction: ltr;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 24px 0 16px;
}

.hc-hero-copy {
  direction: rtl;
  width: min(600px, 46%);
  margin: 0;
  text-align: right;
  padding: 22px 0;
}

.hc-eyebrow {
  color: #ff9fa8;
  font-weight: 800;
  margin: 0 0 16px;
}

.hc-hero h1 {
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.16;
  margin: 0 0 16px;
  letter-spacing: 0;
}

.hc-hero-text {
  max-width: 520px;
  color: #d8e2ee;
  font-size: 19px;
  margin: 0 0 30px;
}

.hc-hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hc-hero-benefits {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(4, 17, 31, .9);
  backdrop-filter: blur(16px);
  margin-bottom: 0;
  margin-top: 0;
}

.hc-hero-benefits article {
  min-height: 118px;
  padding: 18px 28px;
  text-align: center;
  border-left: 1px solid rgba(255, 255, 255, .12);
}

.hc-hero-benefits article:last-child {
  border-left: 0;
}

.hc-line-icon {
  display: block;
  color: var(--red);
  width: 30px;
  height: 30px;
  margin: 0 auto 12px;
}

.hc-svc-icon {
  display: block;
  color: var(--red);
  width: 26px;
  height: 26px;
  margin-bottom: 10px;
}

.hc-pkg-icon {
  color: var(--red);
  width: 22px;
  height: 22px;
  flex: none;
}

.hc-cta-icon {
  color: var(--red);
  width: 34px;
  height: 34px;
  flex: none;
  opacity: .85;
}

.hc-brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #fff;
  display: grid;
  place-items: center;
  color: var(--red);
  flex: none;
}

.hc-brand-mark svg {
  width: 22px;
  height: 22px;
}

.hc-hero-benefits h3 {
  margin: 0 0 5px;
  font-size: 22px;
}

.hc-hero-benefits p {
  margin: 0;
  color: #b9c7d7;
  font-size: 14px;
}

.hc-section {
  padding: 72px 0;
}

/* Secondary-page hero — same gradient/typography recipe as .hc-hero, without
   the split photo (interior pages don't have dedicated hero photography). */
.hc-page-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: radial-gradient(circle at 22% 25%, rgba(237, 28, 46, .13), transparent 35%), linear-gradient(135deg, #071425 0%, #03101f 75%);
  padding: 56px 0 60px;
}

.hc-page-hero-crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, .45);
  margin-bottom: 22px;
}

.hc-page-hero-crumb a:hover {
  color: #fff;
}

.hc-page-hero-crumb span:last-child {
  color: rgba(255, 255, 255, .75);
}

.hc-page-hero h1 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.16;
  margin: 0 0 16px;
  max-width: 640px;
}

.hc-page-hero .hc-hero-text {
  max-width: 620px;
  margin: 0 0 28px;
}

.hc-page-hero-decor {
  position: absolute;
  top: 50%;
  inset-inline-end: 64px;
  transform: translateY(-50%) rotate(6deg);
  width: 220px;
  height: 220px;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 40px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .06);
}

.hc-page-hero-decor svg {
  width: 96px;
  height: 96px;
  color: rgba(255, 255, 255, .08);
}

@media (min-width: 1024px) {
  .hc-page-hero-decor {
    display: flex;
  }
}

.hc-page-hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.hc-page-hero-stats b {
  display: block;
  font-size: 22px;
  margin-bottom: 4px;
}

.hc-page-hero-stats span {
  color: #b9c7d7;
  font-size: 13px;
}

@media (min-width: 1024px) {
  .hc-page-hero-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Info card — same border/radius/shadow recipe as .hc-service-card and
   .hc-package-card, but flexible content (icon + text, no fixed image slot). */
.hc-info-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(7, 20, 37, .06);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.hc-info-card--interactive:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 42px rgba(7, 20, 37, .1);
  border-color: rgba(237, 28, 46, .25);
}

.hc-info-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.hc-info-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.hc-section-heading {
  text-align: center;
  margin-bottom: 32px;
}

.hc-section-heading h2 {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin: 0;
  font-size: 38px;
  line-height: 1.2;
}

.hc-section-heading > span {
  display: inline-block;
  width: 58px;
  height: 2px;
  margin: 0 13px 10px;
  background: var(--red);
}

.hc-section-heading p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.hc-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.hc-service-card {
  display: grid;
  grid-template-columns: 1fr 146px;
  align-items: center;
  min-height: 142px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(7, 20, 37, .06);
}

.hc-service-card div {
  padding: 20px;
}

.hc-service-card h3 {
  margin: 0 0 6px;
  font-size: 21px;
}

.hc-service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.hc-service-card img {
  width: 146px;
  height: 142px;
  object-fit: cover;
  object-position: center;
}

.hc-service-card:nth-child(1) img,
.hc-service-card:nth-child(2) img,
.hc-service-card:nth-child(6) img {
  object-position: center;
}

.hc-packages-section {
  background: #fbfcfe;
}

.hc-package-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 940px;
}

.hc-package-card {
  position: relative;
  padding: 30px 26px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(7, 20, 37, .07);
}

.hc-package-card.hc-featured {
  border: 2px solid var(--red);
  transform: translateY(-10px);
}

.hc-ribbon {
  position: absolute;
  top: -14px;
  right: 18px;
  padding: 4px 12px;
  border-radius: 5px;
  color: #fff;
  background: var(--red);
  font-size: 13px;
}

.hc-pkg-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.hc-package-card h3 {
  margin: 0 0 8px;
  font-size: 24px;
}

.hc-package-card p {
  margin: 0 0 18px;
  color: var(--muted);
}

.hc-package-card strong {
  display: block;
  margin-bottom: 20px;
  font-size: 38px;
  line-height: 1;
}

.hc-package-card small {
  font-size: 14px;
}

.hc-package-card a {
  display: block;
  padding: 12px;
  border: 1px solid #bfc9d5;
  border-radius: 8px;
  font-weight: 800;
}

.hc-featured a {
  color: #fff;
  border-color: var(--red);
  background: var(--red);
}

.hc-payment-strip {
  width: fit-content;
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.hc-payment-strip img {
  height: 28px;
  width: auto;
}

.hc-how-section {
  background: linear-gradient(180deg, #f7f9fc, #fff);
}

.hc-process-line {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  position: relative;
}

.hc-process-line::before {
  content: "";
  position: absolute;
  top: 31px;
  right: 8%;
  left: 8%;
  height: 1px;
  background: #9aa7b6;
}

.hc-process-line article {
  position: relative;
  text-align: center;
  padding: 70px 12px 0;
}

.hc-process-line b {
  position: absolute;
  top: 0;
  right: 50%;
  transform: translateX(50%);
  z-index: 2;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border: 1px solid #8997a8;
  border-radius: 50%;
  background: #fff;
}

.hc-process-line h3 {
  margin: 0 0 4px;
  font-size: 18px;
}

.hc-process-line p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.hc-review-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 20px;
}

.hc-review-panel,
.hc-decision-panel {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(7, 20, 37, .06);
}

.hc-shortlist {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.hc-shortlist div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  text-align: center;
}

.hc-shortlist img {
  width: 68px;
  height: 68px;
  margin: 0 auto 8px;
  border-radius: 50%;
  object-fit: cover;
}

.hc-shortlist strong,
.hc-shortlist span {
  display: block;
}

.hc-shortlist span {
  color: #f4a100;
}

.hc-contact-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.hc-contact-options button {
  min-height: 72px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
}

.hc-app-section {
  padding: 70px 0;
  color: #fff;
  background: radial-gradient(circle at 18% 24%, rgba(237, 28, 46, .14), transparent 32%), linear-gradient(135deg, #071425, #03101f);
}

.hc-app-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 44px;
  align-items: center;
}

.hc-phones {
  width: 100%;
  max-height: 440px;
  object-fit: contain;
}

.hc-app-grid h2 {
  margin: 0 0 14px;
  font-size: 42px;
}

.hc-app-grid p,
.hc-app-grid li {
  color: #d7e0eb;
}

.hc-app-grid ul {
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.hc-app-grid li {
  margin-bottom: 10px;
}

.hc-app-grid li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-left: 10px;
  border-radius: 50%;
  background: var(--red);
}

.hc-store-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hc-store-buttons a {
  min-width: 164px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 8px;
  background: #04070b;
  color: #fff;
  line-height: 1.2;
}

.hc-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.hc-dashboard-grid article {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(7, 20, 37, .06);
}

.hc-dashboard-grid img {
  width: 100%;
  height: 165px;
  object-fit: contain;
  border-radius: 10px;
  background: #eef3f8;
}

.hc-dashboard-grid h3 {
  margin: 14px 0 4px;
}

.hc-dashboard-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.hc-cta-banner {
  margin-bottom: 72px;
  display: grid;
  grid-template-columns: 190px 1fr auto auto;
  gap: 24px;
  align-items: center;
  padding: 18px 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(7, 20, 37, .07);
}

.hc-cta-banner img {
  width: 190px;
  height: 100px;
  object-fit: cover;
  object-position: top center;
  border-radius: 12px;
}

.hc-cta-banner h2,
.hc-cta-banner p {
  margin: 0;
}

.hc-cta-banner p {
  color: var(--muted);
}

.hc-site-footer {
  color: #d9e3ee;
  background: #061424;
  padding: 54px 0 34px;
}

.hc-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 34px;
}

.hc-footer-grid img {
  width: auto;
  height: 44px;
  margin-bottom: 0;
}

.hc-footer-grid h3 {
  margin: 0 0 14px;
  color: #fff;
}

.hc-footer-grid a,
.hc-footer-grid p {
  display: block;
  margin: 0 0 8px;
  color: #aebccd;
}

.hc-footer-legal {
  margin: 30px auto 0;
  padding-top: 24px;
  width: min(1240px, calc(100% - 48px));
  border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hc-footer-legal .hc-footer-copy {
  margin: 0;
  padding: 0;
  border: none;
  width: auto;
}

.hc-footer-legal-links {
  display: flex;
  gap: 20px;
}

.hc-footer-legal-links a {
  color: #aebccd;
  font-size: 13px;
  font-weight: 700;
}

.hc-footer-legal-links a:hover {
  color: #fff;
}

.hc-footer-copy {
  margin: 30px auto 0;
  padding-top: 24px;
  width: min(1240px, calc(100% - 48px));
  border-top: 1px solid rgba(255, 255, 255, .1);
  text-align: center;
  font-size: 13px;
  color: #7f8ea3;
}

@media (max-width: 1100px) {
  .hc-main-nav {
    display: none;
  }

  .hc-menu-toggle {
    display: block;
  }

  .hc-main-nav.hc-is-open {
    position: absolute;
    top: 64px;
    right: 24px;
    left: 24px;
    display: grid;
    gap: 0;
    padding: 14px 18px;
    max-height: calc(100vh - 96px);
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 12px;
    background: #071425;
  }

  .hc-main-nav.hc-is-open a {
    padding: 12px 0;
  }

  .hc-main-nav.hc-is-open .hc-nav-dropdown-trigger {
    width: 100%;
    justify-content: space-between;
    padding: 12px 0;
  }

  .hc-main-nav.hc-is-open .hc-nav-dropdown-menu {
    position: static;
    display: none;
    background: rgba(255, 255, 255, .04);
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    margin: 0 0 6px;
    padding: 4px;
    padding-inline-start: 20px;
  }

  .hc-main-nav.hc-is-open .hc-nav-dropdown.is-open .hc-nav-dropdown-menu {
    display: flex;
  }

  .hc-services-grid,
  .hc-package-grid,
  .hc-dashboard-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hc-process-line {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px 0;
  }

  .hc-process-line::before {
    display: none;
  }
}

@media (max-width: 780px) {
  .hc-nav-actions {
    display: none;
  }

  .hc-main-nav.hc-is-open .hc-nav-actions-mobile {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, .12);
  }

  .hc-footer-legal {
    flex-direction: column;
    align-items: flex-start;
  }

  .hc-hero {
    min-height: auto;
    padding-bottom: 0;
  }

  .hc-hero-media {
    position: relative;
    inset: auto;
    width: 100%;
    height: 360px;
  }

  .hc-hero-media::after {
    background: linear-gradient(0deg, #071425, rgba(7, 20, 37, .18));
  }

  .hc-hero-content {
    min-height: auto;
    padding: 38px 0;
  }

  .hc-hero-media,
  .hc-hero-copy {
    grid-column: auto;
    grid-row: auto;
  }

  .hc-hero-copy {
    width: 100%;
  }

  .hc-hero h1 {
    font-size: 48px;
  }

  .hc-hero-benefits {
    position: static;
    transform: none;
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
  }

  .hc-services-grid,
  .hc-package-grid,
  .hc-review-grid,
  .hc-app-grid,
  .hc-dashboard-grid,
  .hc-footer-grid,
  .hc-cta-banner {
    grid-template-columns: 1fr;
  }

  .hc-shortlist,
  .hc-contact-options {
    grid-template-columns: repeat(2, 1fr);
  }

  .hc-payment-strip {
    width: min(100%, 520px);
    flex-wrap: wrap;
    justify-content: center;
  }

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

@media (max-width: 520px) {
  .hc-container {
    width: min(100% - 30px, 1180px);
  }

  .hc-service-card {
    grid-template-columns: 1fr;
  }

  .hc-service-card img {
    width: 100%;
    height: 190px;
  }

  .hc-hero-benefits,
  .hc-process-line,
  .hc-shortlist,
  .hc-contact-options {
    grid-template-columns: 1fr;
  }
}
