.access-section {
  position: relative;
  overflow: hidden;
  padding: clamp(5.5rem, 9vw, 9rem) 0;
  border-block: 1px solid rgba(8, 45, 79, 0.08);
  background:
    radial-gradient(circle at 8% 12%, rgba(0, 184, 217, 0.12), transparent 28rem),
    radial-gradient(circle at 92% 88%, rgba(89, 142, 230, 0.1), transparent 30rem),
    linear-gradient(180deg, #f7fbfd 0%, #eaf5f9 100%);
}

.access-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(8, 45, 79, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 45, 79, 0.035) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 84%, transparent);
}

.access-wrap {
  position: relative;
  z-index: 1;
}

.access-head {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.7fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.access-head h2 {
  max-width: 900px;
  margin-bottom: 0;
  font-size: clamp(2.8rem, 5.4vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.access-head > p {
  margin-bottom: 0.35rem;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
}

.access-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}

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

.access-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 24px 70px rgba(8, 45, 79, 0.11);
  backdrop-filter: blur(18px) saturate(125%);
  -webkit-backdrop-filter: blur(18px) saturate(125%);
}

.access-card-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: #dcecf2;
}

.access-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 64%, rgba(3, 26, 58, 0.12));
}

.access-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.access-card:hover .access-card-media img {
  transform: scale(1.025);
}

.access-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
}

.access-kicker {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.15rem;
  color: #0967c9;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.access-kicker::before {
  content: "";
  width: 26px;
  height: 2px;
  background: #00a9df;
}

.access-card h3 {
  margin-bottom: 0.8rem;
  color: var(--navy);
  font-size: clamp(1.65rem, 2.4vw, 2.25rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.access-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.access-card .button {
  width: fit-content;
  margin-top: 1.4rem;
}

.access-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: stretch;
  max-width: 1120px;
  min-height: 500px;
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 28px 80px rgba(8, 45, 79, 0.12);
}

.access-feature-media {
  min-height: 500px;
  aspect-ratio: auto;
  overflow: hidden;
  background: #082d59;
}

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

.access-feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.6rem, 2.5vw, 2.7rem);
}

.access-feature-copy h2 {
  max-width: 590px;
  font-size: clamp(2.25rem, 3vw, 3.25rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.access-feature-copy > p {
  color: var(--ink-soft);
  font-size: clamp(0.96rem, 1vw, 1.05rem);
  line-height: 1.55;
}

.access-points {
  display: grid;
  gap: 0.5rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.access-points li {
  font-size: 0.92rem;
}

.access-feature-copy .button {
  min-height: 48px;
  margin-top: 0.9rem;
}

.access-points li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--navy);
  font-weight: 700;
}

.access-points li::before {
  content: "";
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00a9df;
  box-shadow: 0 0 0 6px rgba(0, 169, 223, 0.1);
}

body[data-page="patients"] .section-navy .content-card h3,
body[data-page="patients"] .section-navy .content-card p {
  color: #0a365f;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  body[data-page="patients"] .section-navy .content-card h3,
  body[data-page="patients"] .section-navy .content-card p {
    background-image: linear-gradient(105deg, #0b6c9e 0%, #0a4776 46%, #061f43 100%);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
  }
}

@media (max-width: 900px) {
  .access-head,
  .access-feature {
    grid-template-columns: minmax(0, 1fr);
  }

  .access-head {
    align-items: start;
  }

  .access-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .access-feature-media {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 640px) {
  .access-section {
    padding: 4.5rem 0;
  }

  .access-head {
    gap: 1.25rem;
    margin-bottom: 2rem;
  }

  .access-head h2,
  .access-feature-copy h2 {
    font-size: clamp(2.15rem, 10vw, 2.9rem);
  }

  .access-card,
  .access-feature {
    border-radius: 26px;
  }

  .access-card-media {
    aspect-ratio: 4 / 3;
  }

  .access-feature-media {
    aspect-ratio: 4 / 3;
  }

  .access-card-content,
  .access-feature-copy {
    padding: 1.4rem;
  }

  .access-card.home-visit .access-card-media img {
    object-position: 55% center;
  }
}
