/* ============================= */
/* GLOBAL BASE + MOTION SYSTEM */
/* ============================= */

html,
body {
  margin: 0;
  padding: 0;
  background: transparent;
  overflow-x: hidden;
  opacity: 0;
  animation: ebsPageFadeIn 0.6s ease-out forwards;
  scroll-behavior: smooth;
}

@keyframes ebsPageFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

* {
  box-sizing: border-box;
}

:root {
  --ebs-ease: 0.28s ease;
  --ebs-lift-sm: none;
  --ebs-lift-md: none;
  --ebs-ring: 0 0 0 3px rgba(47, 105, 232, 0.14);
}

/* Smooth color / shadow transitions without movement */
a,
button,
input,
select,
textarea,
img,
.ebs-consistency-card,
.ebs-healthcare-alignment-item,
.ebs-expectations-card,
.ebs-services-list-wrap,
.ebs-final-cta-card,
.ebs-service-card,
.ebs-callout-card,
.ebs-strip-item,
.ebs-services-cta-inner,
.ebs-about-card,
.ebs-about-callout-card,
.ebs-about-expect-item,
.ebs-about-stat-card,
.ebs-about-cta-inner,
.ebs-why-card,
.ebs-why-strip-item,
.ebs-why-callout-card,
.ebs-why-cta-inner,
.ebs-terms-card,
.ebs-terms-cta-inner,
.ebs-contact-form-card,
.ebs-contact-details-card,
.ebs-contact-cta-inner,
.ebs-reason-item,
.ebs-service-item,
.ebs-social-icon,
.ebs-oversight-image,
.ebs-approach-image {
  transition:
    color var(--ebs-ease),
    background-color var(--ebs-ease),
    border-color var(--ebs-ease),
    box-shadow var(--ebs-ease),
    opacity var(--ebs-ease),
    filter var(--ebs-ease);
}

img {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* ============================= */
/* SECTION REVEAL ANIMATION */
/* ============================= */

.js .ebs-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.85s ease,
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.js .ebs-reveal.ebs-reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

.js .ebs-reveal[data-reveal-delay="1"] {
  transition-delay: 0.08s;
}

.js .ebs-reveal[data-reveal-delay="2"] {
  transition-delay: 0.16s;
}

.js .ebs-reveal[data-reveal-delay="3"] {
  transition-delay: 0.24s;
}

@media (prefers-reduced-motion: reduce) {
  html,
  body {
    opacity: 1;
    animation: none;
    transform: none;
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js .ebs-reveal,
  .js .ebs-reveal.ebs-reveal-visible {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ============================= */
/* HEADER */
/* ============================= */

.ebs-header {
  width: 100%;
  background:
    radial-gradient(circle at 24% 22%, rgba(60, 108, 210, 0.18) 0%, rgba(60, 108, 210, 0.07) 22%, transparent 42%),
    linear-gradient(90deg, #02112b 0%, #07214d 48%, #06204a 70%, #02112b 100%);
  padding: 20px 28px 16px;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

.ebs-header-inner {
  max-width: 1380px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.ebs-header-top {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 110px;
}

.ebs-header-logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.ebs-logo-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  max-width: 100%;
}

.ebs-logo-image {
  display: block;
  height: 96px;
  width: auto;
  max-width: 100%;
  transition: transform var(--ebs-ease), filter var(--ebs-ease);
}

.ebs-logo-link:hover .ebs-logo-image {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.ebs-header-phone {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.ebs-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #e2e0d8;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.01em;
  font-family: "Times New Roman", Times, serif;
}

.ebs-phone-icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #c7c1b2;
}

.ebs-phone-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.ebs-phone-link:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.ebs-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 10px;
}

.ebs-nav a {
  position: relative;
  color: #d6d0c2;
  text-decoration: none;
  font-family: "Times New Roman", Times, serif;
  font-size: 21px;
  font-weight: 400;
  letter-spacing: 0.01em;
  transition: opacity 0.2s ease, color 0.2s ease;
  padding: 0 18px;
  line-height: 1;
}

.ebs-nav a:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 1px;
  height: 0.95em;
  background: rgba(198, 198, 198, 0.75);
  transform: translateY(-50%);
}

.ebs-nav a:hover {
  opacity: 0.8;
}

@media (max-width: 991px) {
  .ebs-header {
    padding: 18px 20px 14px;
  }

  .ebs-header-top {
    min-height: auto;
    flex-direction: column;
    gap: 14px;
  }

  .ebs-logo-image {
    height: auto;
    width: min(100%, 420px);
    max-width: 100%;
  }

  .ebs-header-phone {
    position: static;
    transform: none;
  }

  .ebs-nav {
    gap: 10px 0;
    margin-top: 14px;
  }

  .ebs-nav a {
    font-size: 19px;
    padding: 0 14px;
  }
}

@media (max-width: 640px) {
  .ebs-header {
    padding: 16px 16px 12px;
  }

  .ebs-logo-image {
    height: auto;
    width: min(100%, 300px);
    max-width: 100%;
  }

  .ebs-phone-link {
    font-size: 15px;
  }

  .ebs-phone-icon {
    width: 20px;
    height: 20px;
  }

  .ebs-nav {
    gap: 10px 0;
  }

  .ebs-nav a {
    font-size: 17px;
    padding: 0 12px;
  }
}

/* ============================= */
/* HOME HERO + COMMON BUTTONS */
/* ============================= */

.ebs-hero {
  position: relative;
  width: 100%;
  min-height: 860px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  font-family: Arial, Helvetica, sans-serif;
  color: #ffffff;
  background:
    radial-gradient(circle at 24% 22%, rgba(60, 108, 210, 0.18) 0%, rgba(60, 108, 210, 0.07) 22%, transparent 42%),
    linear-gradient(90deg, #02112b 0%, #07214d 48%, #06204a 70%, #02112b 100%);
}

.ebs-hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: -1%;
  bottom: 0;
  width: 60%;
  z-index: 1;
  background-image: url("../images/hero-image.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 54% 12%;
  opacity: 0.98;
  transition: transform 0.6s ease;
}

.ebs-hero:hover::before {
  transform: scale(1.01);
}

.ebs-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      #02112b 0%,
      #03183c 34%,
      rgba(6, 32, 74, 0.985) 45%,
      rgba(6, 32, 74, 0.96) 50%,
      rgba(6, 32, 74, 0.86) 56%,
      rgba(6, 32, 74, 0.62) 61%,
      rgba(6, 32, 74, 0.34) 65%,
      rgba(6, 32, 74, 0.14) 68%,
      rgba(6, 32, 74, 0.04) 70%,
      rgba(6, 32, 74, 0.00) 72%
    );
}

.ebs-hero-inner {
  position: relative;
  z-index: 3;
  max-width: 1380px;
  min-height: 860px;
  margin: 0 auto;
  padding-left: 24px;
  display: grid;
  grid-template-columns: minmax(0, 56%) minmax(0, 44%);
  align-items: stretch;
}

.ebs-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 760px;
  padding: 88px 72px 88px 0;
}

.ebs-hero-copy h1 {
  margin: 0 0 24px;
  font-size: clamp(44px, 5.2vw, 76px);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: #ffffff;
}

.ebs-hero-copy h1 span {
  display: block;
  color: #2f69e8;
}

.ebs-subheadline {
  margin: 0 0 18px;
  font-size: clamp(20px, 1.9vw, 23px);
  line-height: 1.42;
  font-weight: 500;
  color: #f2f5fb;
  max-width: 760px;
}

.ebs-support {
  margin: 0 0 34px;
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.84);
  max-width: 660px;
}

.ebs-hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.ebs-btn,
.ebs-final-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition:
    transform var(--ebs-ease),
    box-shadow var(--ebs-ease),
    filter var(--ebs-ease),
    background-color var(--ebs-ease),
    border-color var(--ebs-ease),
    color var(--ebs-ease);
}

.ebs-btn:focus-visible,
.ebs-final-btn:focus-visible,
.ebs-phone-link:focus-visible,
.ebs-nav a:focus-visible,
.ebs-footer a:focus-visible,
.ebs-social-icon:focus-visible {
  outline: none;
  box-shadow: var(--ebs-ring);
}

.ebs-btn-primary,
.ebs-final-btn-primary {
  background: linear-gradient(135deg, #2f69e8 0%, #1f4fb9 100%);
  color: #ffffff;
  border: 1px solid #4d86ff;
  box-shadow: 0 10px 24px rgba(31, 79, 185, 0.35);
}

.ebs-btn-primary:hover,
.ebs-final-btn-primary:hover {
  transform: var(--ebs-lift-sm);
  filter: brightness(1.06);
  box-shadow: 0 14px 28px rgba(31, 79, 185, 0.38);
}

.ebs-btn-outline,
.ebs-final-btn-outline {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.34);
}

.ebs-btn-outline:hover,
.ebs-final-btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: var(--ebs-lift-sm);
}

.ebs-hero-spacer {
  min-height: 860px;
}

.ebs-hero-mobile-image {
  display: none;
}

@media (max-width: 1180px) {
  .ebs-hero,
  .ebs-hero-inner,
  .ebs-hero-spacer {
    min-height: 760px;
  }

  .ebs-hero::before {
    width: 62%;
    right: -2%;
    background-position: 56% 14%;
  }

  .ebs-hero-copy {
    padding: 76px 52px 76px 0;
  }
}

@media (max-width: 991px) {
  .ebs-hero {
    min-height: 0;
    background:
      radial-gradient(circle at 24% 22%, rgba(60, 108, 210, 0.14) 0%, rgba(60, 108, 210, 0.05) 22%, transparent 42%),
      linear-gradient(90deg, #02112b 0%, #07214d 48%, #06204a 70%, #02112b 100%);
  }

  .ebs-hero::before,
  .ebs-hero::after {
    display: none;
  }

  .ebs-hero-inner {
    min-height: 0;
    grid-template-columns: 1fr;
    padding: 0 20px 64px;
  }

  .ebs-hero-copy {
    max-width: 100%;
    padding: 72px 0 0;
  }

  .ebs-hero-copy h1 {
    font-size: clamp(40px, 8vw, 60px);
  }

  .ebs-hero-spacer {
    display: none;
  }

  .ebs-hero-mobile-image {
    display: block;
    width: 100%;
    height: 460px;
    margin-top: 34px;
    border-radius: 24px;
    background-image:
      linear-gradient(
        90deg,
        rgba(6, 32, 74, 0.88) 0%,
        rgba(6, 32, 74, 0.60) 16%,
        rgba(6, 32, 74, 0.28) 30%,
        rgba(6, 32, 74, 0.08) 42%,
        rgba(6, 32, 74, 0.00) 52%
      ),
      url("../images/hero-image.png");
    background-repeat: no-repeat, no-repeat;
    background-size: cover, cover;
    background-position: left center, 56% 14%;
  }
}

@media (max-width: 640px) {
  .ebs-hero-inner {
    padding: 0 16px 52px;
  }

  .ebs-hero-copy {
    padding-top: 56px;
  }

  .ebs-subheadline {
    font-size: 18px;
  }

  .ebs-support {
    font-size: 15px;
  }

  .ebs-hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .ebs-btn,
  .ebs-final-btn {
    width: 100%;
  }

  .ebs-hero-mobile-image {
    height: 320px;
    border-radius: 18px;
    background-position: left center, 58% 16%;
  }
}

/* ============================= */
/* HOME SECTIONS */
/* ============================= */

.ebs-consistency-section {
  width: 100%;
  margin: 0;
  padding: 110px 24px;
  background: linear-gradient(180deg, #e3eaf5 0%, #d7e1f0 100%);
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

.ebs-positioning-section {
  width: 100%;
  margin: 0;
  padding: 110px 24px 110px;
  background: #f7f9fc;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

.ebs-positioning-section *,
.ebs-consistency-section *,
.ebs-oversight-section *,
.ebs-approach-section *,
.ebs-healthcare-alignment-section *,
.ebs-expectations-section *,
.ebs-services-section *,
.ebs-geography-section *,
.ebs-final-cta-section * {
  box-sizing: border-box;
}

.ebs-positioning-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.ebs-positioning-inner h2 {
  margin: 0 0 26px;
  color: #0b1f4d;
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.ebs-positioning-inner p {
  margin: 0 0 20px;
  color: #33435f;
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.75;
  font-weight: 400;
}

.ebs-positioning-inner p:last-child {
  margin-bottom: 0;
}

.ebs-consistency-inner,
.ebs-oversight-inner,
.ebs-approach-inner,
.ebs-healthcare-alignment-inner,
.ebs-expectations-inner,
.ebs-services-inner,
.ebs-final-cta-inner {
  max-width: 1320px;
  margin: 0 auto;
}

.ebs-consistency-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 52px;
  align-items: start;
}

.ebs-consistency-copy,
.ebs-oversight-copy,
.ebs-approach-copy {
  max-width: 620px;
}

.ebs-consistency-copy h2,
.ebs-oversight-copy h2,
.ebs-approach-copy h2,
.ebs-healthcare-alignment-header h2,
.ebs-expectations-header h2,
.ebs-geography-inner h2 {
  margin: 0 0 24px;
  color: #0b1f4d;
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.ebs-consistency-copy p,
.ebs-oversight-copy p,
.ebs-approach-copy p,
.ebs-healthcare-alignment-header p,
.ebs-expectations-header p,
.ebs-geography-inner p {
  margin: 0 0 18px;
  color: #33435f;
  font-size: clamp(18px, 1.45vw, 21px);
  line-height: 1.75;
  font-weight: 400;
}

.ebs-consistency-copy p:last-child,
.ebs-oversight-copy p:last-child,
.ebs-approach-copy p:last-child {
  margin-bottom: 0;
}

.ebs-consistency-cards {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ebs-consistency-card,
.ebs-healthcare-alignment-item,
.ebs-expectations-card,
.ebs-services-list-wrap,
.ebs-final-cta-card {
  transition: transform var(--ebs-ease), box-shadow var(--ebs-ease), filter var(--ebs-ease);
}

.ebs-consistency-card:hover,
.ebs-healthcare-alignment-item:hover,
.ebs-expectations-card:hover {
  transform: var(--ebs-lift-md);
}

.ebs-consistency-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 26px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 18% 20%, rgba(58, 102, 191, 0.18), transparent 32%),
    linear-gradient(135deg, #07122e 0%, #0d1e49 55%, #07122e 100%);
  border: 1px solid rgba(72, 119, 229, 0.18);
  box-shadow:
    0 14px 32px rgba(7, 18, 46, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.ebs-consistency-icon,
.ebs-healthcare-alignment-icon,
.ebs-expectations-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(15, 33, 79, 0.94) 0%, rgba(9, 23, 56, 0.94) 100%);
  border: 2px solid rgba(77, 134, 255, 0.50);
  box-shadow:
    0 0 0 4px rgba(36, 77, 170, 0.12),
    0 0 20px rgba(52, 104, 233, 0.12);
}

.ebs-consistency-icon {
  flex: 0 0 74px;
  width: 74px;
  height: 74px;
  border: 2px solid rgba(77, 134, 255, 0.55);
  box-shadow:
    0 0 0 4px rgba(36, 77, 170, 0.16),
    0 0 22px rgba(52, 104, 233, 0.14);
}

.ebs-consistency-icon svg,
.ebs-healthcare-alignment-icon svg,
.ebs-expectations-icon svg,
.ebs-service-icon svg {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ebs-consistency-icon svg,
.ebs-healthcare-alignment-icon svg,
.ebs-expectations-icon svg {
  width: 30px;
  height: 30px;
  stroke: currentColor;
  stroke-width: 1.8;
}

.ebs-consistency-card-text h3 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(21px, 1.6vw, 26px);
  line-height: 1.28;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.ebs-oversight-section {
  width: 100%;
  margin: 0;
  padding: 110px 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

.ebs-oversight-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: center;
}

.ebs-oversight-image-wrap,
.ebs-approach-image-wrap {
  width: 100%;
}

.ebs-oversight-image,
.ebs-approach-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: center center;
  border-radius: 28px;
  box-shadow: 0 20px 50px rgba(11, 31, 77, 0.14);
  border: 1px solid rgba(11, 31, 77, 0.06);
  transition: transform var(--ebs-ease), box-shadow var(--ebs-ease), filter var(--ebs-ease);
}

.ebs-oversight-image:hover,
.ebs-approach-image:hover {
  transform: var(--ebs-lift-md);
  box-shadow: 0 26px 58px rgba(11, 31, 77, 0.18);
}

.ebs-approach-section {
  width: 100%;
  margin: 0;
  padding: 110px 24px;
  background: linear-gradient(180deg, #eef3fa 0%, #e3ebf6 100%);
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

.ebs-approach-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: 56px;
  align-items: center;
}

.ebs-healthcare-alignment-section {
  width: 100%;
  margin: 0;
  padding: 110px 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f6f8fc 100%);
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

.ebs-healthcare-alignment-header,
.ebs-expectations-header {
  max-width: 860px;
  margin: 0 auto 48px;
  text-align: center;
}

.ebs-healthcare-alignment-grid,
.ebs-expectations-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.ebs-healthcare-alignment-item,
.ebs-expectations-card {
  padding: 30px 22px;
  border-radius: 24px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(58, 102, 191, 0.12), transparent 38%),
    linear-gradient(135deg, #07122e 0%, #0d1e49 55%, #07122e 100%);
  border: 1px solid rgba(72, 119, 229, 0.16);
  box-shadow:
    0 14px 30px rgba(7, 18, 46, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.ebs-healthcare-alignment-icon,
.ebs-expectations-icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 18px;
}

.ebs-healthcare-alignment-item h3 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(18px, 1.3vw, 21px);
  line-height: 1.4;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.ebs-expectations-section {
  width: 100%;
  margin: 0;
  padding: 110px 24px;
  background: linear-gradient(180deg, #e8eef8 0%, #dbe5f3 100%);
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

.ebs-expectations-card {
  padding: 30px 24px;
}

.ebs-expectations-card h3 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: clamp(20px, 1.45vw, 24px);
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.ebs-expectations-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
}

.ebs-services-section {
  width: 100%;
  margin: 0;
  padding: 110px 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f5f8fc 100%);
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

.ebs-services-header {
  max-width: 920px;
  margin: 0 auto 42px;
  text-align: center;
}

.ebs-services-header h2 {
  margin: 0 0 18px;
  color: #0b1f4d;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.ebs-nowrap {
  white-space: nowrap;
}

.ebs-services-header p {
  margin: 0;
  color: #33435f;
  font-size: clamp(18px, 1.35vw, 20px);
  line-height: 1.75;
  font-weight: 400;
}

.ebs-services-list-wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 34px 34px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 0%, rgba(58, 102, 191, 0.10), transparent 36%),
    linear-gradient(135deg, #07122e 0%, #0d1e49 55%, #07122e 100%);
  border: 1px solid rgba(72, 119, 229, 0.16);
  box-shadow:
    0 14px 30px rgba(7, 18, 46, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.ebs-services-list-wrap:hover {
  transform: var(--ebs-lift-sm);
}

.ebs-services-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 26px;
}

.ebs-service-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-height: 72px;
  padding: 18px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform var(--ebs-ease), background-color var(--ebs-ease), border-color var(--ebs-ease);
}

.ebs-service-item:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.07);
}

.ebs-service-item-centered {
  grid-column: 1 / -1;
  justify-self: center;
  width: calc(50% - 13px);
}

.ebs-service-icon {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #2f69e8 0%, #1f4fb9 100%);
  box-shadow: 0 8px 18px rgba(31, 79, 185, 0.26);
}

.ebs-service-icon svg {
  width: 18px;
  height: 18px;
  stroke: #ffffff;
  stroke-width: 2.4;
}

.ebs-service-item span:last-child {
  color: #ffffff;
  font-size: 17px;
  line-height: 1.55;
  font-weight: 700;
}

.ebs-services-support {
  max-width: 920px;
  margin: 28px auto 0;
  text-align: center;
}

.ebs-services-support p {
  margin: 0;
  color: #4a5872;
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
}

.ebs-geography-section {
  width: 100%;
  margin: 0;
  padding: 100px 24px;
  background: linear-gradient(180deg, #e9eef7 0%, #f7f9fc 100%);
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

.ebs-geography-inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.ebs-geography-inner p {
  margin: 0;
}

.ebs-final-cta-section {
  width: 100%;
  margin: 0;
  padding: 100px 24px 90px;
  background:
    linear-gradient(180deg, #f7f9fc 0%, #e9eef7 18%, #10224f 62%, #07122e 100%);
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
  position: relative;
  overflow: hidden;
}

.ebs-final-cta-card {
  max-width: 980px;
  margin: 0 auto;
  padding: 54px 48px;
  text-align: center;
  border-radius: 30px;
  background:
    radial-gradient(circle at 50% 0%, rgba(58, 102, 191, 0.16), transparent 34%),
    linear-gradient(135deg, #07122e 0%, #0d1e49 55%, #07122e 100%);
  border: 1px solid rgba(72, 119, 229, 0.18);
  box-shadow:
    0 18px 42px rgba(7, 18, 46, 0.20),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.ebs-final-cta-card:hover {
  transform: var(--ebs-lift-sm);
}

.ebs-final-cta-card h2 {
  margin: 0 0 18px;
  color: #ffffff;
  font-size: clamp(32px, 3.4vw, 50px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.ebs-final-cta-card p {
  max-width: 760px;
  margin: 0 auto 30px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(18px, 1.35vw, 20px);
  line-height: 1.75;
  font-weight: 400;
}

.ebs-final-cta-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 991px) {
  .ebs-positioning-section {
    padding: 90px 22px 90px;
  }

  .ebs-positioning-inner {
    max-width: 760px;
  }

  .ebs-consistency-section,
  .ebs-oversight-section,
  .ebs-approach-section,
  .ebs-healthcare-alignment-section,
  .ebs-expectations-section,
  .ebs-services-section {
    padding: 90px 22px;
  }

  .ebs-consistency-grid,
  .ebs-oversight-grid,
  .ebs-approach-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .ebs-consistency-copy,
  .ebs-oversight-copy,
  .ebs-approach-copy {
    max-width: 100%;
  }

  .ebs-oversight-image,
  .ebs-approach-image {
    min-height: 420px;
  }

  .ebs-healthcare-alignment-header,
  .ebs-expectations-header {
    margin-bottom: 36px;
  }

  .ebs-healthcare-alignment-grid,
  .ebs-expectations-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ebs-services-header {
    margin-bottom: 34px;
  }

  .ebs-services-list-wrap {
    padding: 26px 24px;
    border-radius: 22px;
  }

  .ebs-services-list {
    grid-template-columns: 1fr;
  }

  .ebs-service-item-centered {
    grid-column: auto;
    justify-self: stretch;
    width: 100%;
  }

  .ebs-geography-section {
    padding: 84px 22px;
  }

  .ebs-final-cta-section {
    padding: 84px 22px 78px;
  }

  .ebs-final-cta-card {
    padding: 44px 30px;
    border-radius: 24px;
  }
}

@media (max-width: 640px) {
  .ebs-positioning-section {
    padding: 72px 18px 72px;
  }

  .ebs-positioning-inner h2 {
    margin-bottom: 20px;
  }

  .ebs-positioning-inner p {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 18px;
  }

  .ebs-consistency-section,
  .ebs-oversight-section,
  .ebs-approach-section,
  .ebs-healthcare-alignment-section,
  .ebs-expectations-section,
  .ebs-services-section {
    padding: 72px 18px;
  }

  .ebs-consistency-copy h2,
  .ebs-oversight-copy h2,
  .ebs-approach-copy h2,
  .ebs-healthcare-alignment-header h2,
  .ebs-expectations-header h2,
  .ebs-geography-inner h2 {
    margin-bottom: 20px;
  }

  .ebs-consistency-copy p,
  .ebs-oversight-copy p,
  .ebs-approach-copy p,
  .ebs-healthcare-alignment-header p,
  .ebs-expectations-header p,
  .ebs-geography-inner p {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 16px;
  }

  .ebs-consistency-card {
    padding: 20px 18px;
    gap: 14px;
    border-radius: 18px;
  }

  .ebs-consistency-icon {
    flex: 0 0 60px;
    width: 60px;
    height: 60px;
  }

  .ebs-consistency-icon svg,
  .ebs-healthcare-alignment-icon svg,
  .ebs-expectations-icon svg {
    width: 24px;
    height: 24px;
  }

  .ebs-consistency-card-text h3 {
    font-size: 20px;
  }

  .ebs-oversight-image,
  .ebs-approach-image {
    min-height: 300px;
    border-radius: 20px;
  }

  .ebs-healthcare-alignment-header,
  .ebs-expectations-header {
    margin-bottom: 28px;
  }

  .ebs-healthcare-alignment-grid,
  .ebs-expectations-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ebs-healthcare-alignment-item,
  .ebs-expectations-card {
    padding: 24px 18px;
    border-radius: 18px;
  }

  .ebs-healthcare-alignment-icon,
  .ebs-expectations-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 14px;
  }

  .ebs-healthcare-alignment-item h3,
  .ebs-expectations-card h3 {
    font-size: 18px;
  }

  .ebs-expectations-card h3 {
    margin-bottom: 10px;
  }

  .ebs-expectations-card p {
    font-size: 15px;
    line-height: 1.6;
  }

  .ebs-services-header {
    margin-bottom: 28px;
  }

  .ebs-services-header h2 {
    margin-bottom: 16px;
    font-size: 30px;
    line-height: 1.18;
  }

  .ebs-services-header p {
    font-size: 17px;
    line-height: 1.7;
  }

  .ebs-services-list-wrap {
    padding: 20px 16px;
    border-radius: 18px;
  }

  .ebs-services-list {
    gap: 14px;
  }

  .ebs-service-item {
    min-height: auto;
    padding: 16px 14px;
    gap: 12px;
    border-radius: 16px;
  }

  .ebs-service-icon {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
  }

  .ebs-service-icon svg {
    width: 16px;
    height: 16px;
  }

  .ebs-service-item span:last-child {
    font-size: 16px;
    line-height: 1.5;
  }

  .ebs-services-support {
    margin-top: 22px;
  }

  .ebs-services-support p {
    font-size: 15px;
    line-height: 1.65;
  }

  .ebs-geography-section {
    padding: 68px 18px;
  }

  .ebs-final-cta-section {
    padding: 68px 18px 64px;
  }

  .ebs-final-cta-card {
    padding: 34px 20px;
    border-radius: 20px;
  }

  .ebs-final-cta-card h2 {
    margin-bottom: 16px;
  }

  .ebs-final-cta-card p {
    margin-bottom: 24px;
    font-size: 17px;
    line-height: 1.7;
  }

  .ebs-final-cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ============================= */
/* FOOTER */
/* ============================= */

.ebs-footer {
  background: linear-gradient(180deg, #02112b 0%, #010a1a 100%);
  color: #ffffff;
  padding: 60px 24px 30px;
  font-family: Arial, Helvetica, sans-serif;
}

.ebs-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.35fr 1fr 0.9fr;
  gap: 40px;
  align-items: start;
}

.ebs-footer-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.ebs-footer-logo {
  width: 350px;
  max-width: 100%;
  margin-bottom: 18px;
}

.ebs-footer-location {
  margin: 0 0 14px;
  font-family: "Times New Roman", Times, serif;
  font-size: 20px;
  color: #d6d0c2;
  line-height: 1.3;
}

.ebs-footer-contact {
  margin-bottom: 14px;
}

.ebs-footer-contact a {
  display: block;
  color: #d6d0c2;
  text-decoration: none;
  font-family: "Times New Roman", Times, serif;
  font-size: 22px;
  line-height: 1.2;
}

.ebs-footer-contact a:hover,
.ebs-footer-nav a:hover,
.ebs-footer-legal a:hover {
  opacity: 0.8;
}

.ebs-footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ebs-footer-nav a {
  color: #d6d0c2;
  text-decoration: none;
  font-family: "Times New Roman", Times, serif;
  font-size: 22px;
  line-height: 1.15;
}

.ebs-footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.ebs-footer-social {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ebs-social-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(214, 208, 194, 0.08);
  border: 1px solid rgba(214, 208, 194, 0.35);
  transition: all 0.25s ease;
}

.ebs-social-icon svg {
  width: 18px;
  height: 18px;
  fill: #d6d0c2;
}

.ebs-social-icon:hover {
  background: rgba(214, 208, 194, 0.16);
  transform: translateY(-2px);
}

.ebs-footer-legal {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ebs-footer-legal a {
  color: #d6d0c2;
  text-decoration: none;
  font-family: "Times New Roman", Times, serif;
  font-size: 20px;
  line-height: 1.2;
}

.ebs-footer-bottom {
  border-top: 1px solid rgba(214, 208, 194, 0.22);
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
}

.ebs-footer-bottom p {
  margin: 0;
  font-size: 13px;
  color: rgba(214, 208, 194, 0.72);
}

@media (max-width: 991px) {
  .ebs-footer {
    padding: 48px 20px 24px;
  }

  .ebs-footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .ebs-footer-logo {
    width: 300px;
  }

  .ebs-footer-location {
    font-size: 19px;
  }

  .ebs-footer-contact a,
  .ebs-footer-nav a,
  .ebs-footer-legal a {
    font-size: 20px;
  }
}

@media (max-width: 640px) {
  .ebs-footer {
    padding: 42px 16px 22px;
  }

  .ebs-footer-inner {
    gap: 24px;
  }

  .ebs-footer-logo {
    width: 240px;
  }

  .ebs-footer-location {
    font-size: 18px;
  }

  .ebs-footer-contact a,
  .ebs-footer-nav a,
  .ebs-footer-legal a {
    font-size: 18px;
  }

  .ebs-social-icon {
    width: 38px;
    height: 38px;
  }

  .ebs-social-icon svg {
    width: 16px;
    height: 16px;
  }

  .ebs-footer-bottom p {
    font-size: 12px;
  }
}

/* ============================= */
/* SERVICES PAGE */
/* ============================= */

.ebs-services-page {
  --ebs-navy: #163a63;
  --ebs-navy-deep: #102b4a;
  --ebs-text: #243647;
  --ebs-muted: #617386;
  --ebs-border: #dbe5ee;
  --ebs-bg-soft: #f8fbfd;
  --ebs-bg-soft-2: #f5f9fc;
  --ebs-white: #ffffff;
  --ebs-shadow: 0 18px 50px rgba(16, 43, 74, 0.08);
  width: 100%;
  color: var(--ebs-text);
  background: var(--ebs-white);
  font-family: Arial, Helvetica, sans-serif;
}

.ebs-services-page * {
  box-sizing: border-box;
}

.ebs-services-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.ebs-services-eyebrow,
.ebs-section-label,
.ebs-service-kicker {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ebs-navy);
  font-weight: 700;
}

.ebs-services-page h1,
.ebs-services-page h2,
.ebs-services-page h3 {
  margin: 0;
  color: var(--ebs-navy-deep);
  font-weight: 700;
  line-height: 1.1;
}

.ebs-services-page p {
  margin: 0;
}

.ebs-services-hero {
  padding: 96px 0 68px;
  background: linear-gradient(180deg, #f8fbfd 0%, #ffffff 100%);
}

.ebs-services-hero-inner {
  max-width: 860px;
}

.ebs-services-hero h1 {
  font-size: 52px;
  max-width: 820px;
  margin-bottom: 22px;
}

.ebs-services-lead {
  max-width: 760px;
  font-size: 20px;
  line-height: 1.65;
  color: var(--ebs-text);
  margin-bottom: 14px;
}

.ebs-services-subcopy {
  max-width: 760px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--ebs-muted);
}

.ebs-services-hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.ebs-btn-secondary {
  background: transparent;
  color: var(--ebs-navy);
  border-color: var(--ebs-navy);
}

.ebs-btn-secondary:hover {
  background: rgba(22, 58, 99, 0.06);
  transform: var(--ebs-lift-sm);
}

.ebs-services-intro {
  padding: 26px 0 56px;
}

.ebs-services-intro-inner {
  max-width: 860px;
}

.ebs-services-intro h2,
.ebs-services-header h2,
.ebs-services-split-copy h2,
.ebs-services-strip-header h2,
.ebs-services-managed-inner h2,
.ebs-services-cta-inner h2 {
  font-size: 38px;
  margin-bottom: 18px;
}

.ebs-services-intro p,
.ebs-services-split-copy p,
.ebs-services-managed-inner p,
.ebs-services-cta-inner p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--ebs-muted);
}

.ebs-services-intro p + p,
.ebs-services-split-copy p + p,
.ebs-services-managed-inner p + p,
.ebs-services-cta-inner p + p {
  margin-top: 16px;
}

.ebs-services-main {
  padding: 12px 0 56px;
}

.ebs-services-header {
  max-width: 760px;
  margin-bottom: 28px;
}

.ebs-services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.ebs-service-card,
.ebs-callout-card,
.ebs-strip-item,
.ebs-services-cta-inner,
.ebs-about-card,
.ebs-about-callout-card,
.ebs-about-expect-item,
.ebs-about-stat-card,
.ebs-about-cta-inner,
.ebs-why-card,
.ebs-why-strip-item,
.ebs-why-callout-card,
.ebs-why-cta-inner,
.ebs-terms-card,
.ebs-terms-cta-inner,
.ebs-contact-form-card,
.ebs-contact-details-card,
.ebs-contact-cta-inner,
.ebs-reason-item {
  transition: transform var(--ebs-ease), box-shadow var(--ebs-ease), border-color var(--ebs-ease);
}

.ebs-service-card:hover,
.ebs-callout-card:hover,
.ebs-strip-item:hover,
.ebs-services-cta-inner:hover,
.ebs-about-card:hover,
.ebs-about-callout-card:hover,
.ebs-about-expect-item:hover,
.ebs-about-stat-card:hover,
.ebs-about-cta-inner:hover,
.ebs-why-card:hover,
.ebs-why-strip-item:hover,
.ebs-why-callout-card:hover,
.ebs-why-cta-inner:hover,
.ebs-terms-card:hover,
.ebs-terms-cta-inner:hover,
.ebs-contact-form-card:hover,
.ebs-contact-details-card:hover,
.ebs-contact-cta-inner:hover,
.ebs-reason-item:hover {
  transform: var(--ebs-lift-sm);
  box-shadow: 0 22px 54px rgba(16, 43, 74, 0.10);
}

.ebs-service-card {
  background: var(--ebs-white);
  border: 1px solid var(--ebs-border);
  border-radius: 24px;
  box-shadow: var(--ebs-shadow);
  padding: 30px 28px;
}

.ebs-service-card-featured {
  background: linear-gradient(180deg, #fbfdff 0%, #ffffff 100%);
}

.ebs-service-card h3 {
  font-size: 28px;
  margin-bottom: 16px;
}

.ebs-service-card p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--ebs-muted);
}

.ebs-service-card p + p {
  margin-top: 14px;
}

.ebs-services-differentiation {
  padding: 18px 0 56px;
}

.ebs-services-split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 28px;
  align-items: start;
}

.ebs-services-callouts-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
  align-items: stretch;
}

.ebs-services-callouts-row .ebs-callout-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.ebs-services-callouts-row .ebs-callout-card * {
  user-select: none;
  -webkit-user-select: none;
}

.ebs-services-callout-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  object-position: center;
  border-radius: 16px;
  margin-bottom: 14px;
  display: block;
  flex-shrink: 0;
  background: #0f172a;
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
  pointer-events: none;
}

@media (max-width: 991px) {
  .ebs-services-callouts-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .ebs-services-callouts-row {
    grid-template-columns: 1fr;
  }

  .ebs-services-callout-image {
    height: 200px;
  }
}

.ebs-services-strip {
  padding: 12px 0 56px;
}

.ebs-services-strip-header {
  max-width: 760px;
  margin-bottom: 26px;
}

.ebs-services-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.ebs-strip-item {
  background: var(--ebs-bg-soft);
  border: 1px solid var(--ebs-border);
  border-radius: 20px;
  padding: 22px 18px;
}

.ebs-strip-item h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.ebs-strip-item p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ebs-muted);
}

.ebs-services-managed {
  padding: 12px 0 56px;
}

.ebs-services-managed-inner {
  max-width: 860px;
}

.ebs-services-cta {
  padding: 12px 0 96px;
}

.ebs-services-cta-inner {
  text-align: center;
  padding: 48px 28px;
  border-radius: 28px;
  background: linear-gradient(180deg, var(--ebs-bg-soft-2) 0%, #ffffff 100%);
  border: 1px solid var(--ebs-border);
}

.ebs-services-cta-inner h2 {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.ebs-services-cta-inner p {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.ebs-services-cta-inner .ebs-services-hero-buttons {
  justify-content: center;
}

@media (max-width: 991px) {
  .ebs-services-hero {
    padding: 82px 0 54px;
  }

  .ebs-services-hero h1 {
    font-size: 42px;
  }

  .ebs-services-intro h2,
  .ebs-services-header h2,
  .ebs-services-split-copy h2,
  .ebs-services-strip-header h2,
  .ebs-services-managed-inner h2,
  .ebs-services-cta-inner h2 {
    font-size: 32px;
  }

  .ebs-services-grid,
  .ebs-services-split,
  .ebs-services-strip-grid {
    grid-template-columns: 1fr;
  }

  .ebs-services-callouts {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  .ebs-services-container {
    padding: 0 18px;
  }

  .ebs-services-hero {
    padding: 64px 0 40px;
  }

  .ebs-services-hero h1 {
    font-size: 34px;
    margin-bottom: 18px;
  }

  .ebs-services-lead {
    font-size: 18px;
    line-height: 1.55;
  }

  .ebs-services-subcopy,
  .ebs-services-intro p,
  .ebs-services-split-copy p,
  .ebs-services-managed-inner p,
  .ebs-services-cta-inner p {
    font-size: 16px;
    line-height: 1.7;
  }

  .ebs-services-intro h2,
  .ebs-services-header h2,
  .ebs-services-split-copy h2,
  .ebs-services-strip-header h2,
  .ebs-services-managed-inner h2,
  .ebs-services-cta-inner h2 {
    font-size: 28px;
  }

  .ebs-service-card,
  .ebs-callout-card,
  .ebs-strip-item {
    border-radius: 20px;
  }

  .ebs-service-card {
    padding: 24px 20px;
  }

  .ebs-service-card h3 {
    font-size: 24px;
  }

  .ebs-services-callouts {
    grid-template-columns: 1fr;
  }

  .ebs-services-cta {
    padding: 12px 0 72px;
  }

  .ebs-services-cta-inner {
    padding: 36px 20px;
    border-radius: 22px;
    text-align: left;
  }

  .ebs-services-cta-inner p,
  .ebs-services-cta-inner h2 {
    margin-left: 0;
    margin-right: 0;
    max-width: none;
  }

  .ebs-services-cta-inner .ebs-services-hero-buttons {
    justify-content: flex-start;
  }
}

/* ============================= */
/* WHY HEALTHCARE PAGE */
/* ============================= */

.ebs-why-page {
  --ebs-navy: #163a63;
  --ebs-navy-deep: #102b4a;
  --ebs-text: #243647;
  --ebs-muted: #617386;
  --ebs-border: #dbe5ee;
  --ebs-bg-soft: #f8fbfd;
  --ebs-bg-soft-2: #f5f9fc;
  --ebs-white: #ffffff;
  --ebs-shadow: 0 18px 50px rgba(16, 43, 74, 0.08);
  width: 100%;
  color: var(--ebs-text);
  background: var(--ebs-white);
  font-family: Arial, Helvetica, sans-serif;
}

.ebs-why-page * {
  box-sizing: border-box;
}

.ebs-why-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.ebs-why-eyebrow,
.ebs-section-label {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ebs-navy);
  font-weight: 700;
}

.ebs-why-page h1,
.ebs-why-page h2,
.ebs-why-page h3 {
  margin: 0;
  color: var(--ebs-navy-deep);
  font-weight: 700;
  line-height: 1.1;
}

.ebs-why-page p {
  margin: 0;
}

.ebs-why-hero {
  padding: 96px 0 68px;
  background: linear-gradient(180deg, #f8fbfd 0%, #ffffff 100%);
}

.ebs-why-hero-inner {
  max-width: 860px;
}

.ebs-why-hero h1 {
  font-size: 52px;
  max-width: 860px;
  margin-bottom: 22px;
}

.ebs-why-lead {
  max-width: 780px;
  font-size: 20px;
  line-height: 1.65;
  color: var(--ebs-text);
  margin-bottom: 14px;
}

.ebs-why-subcopy {
  max-width: 780px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--ebs-muted);
}

.ebs-why-hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.ebs-why-intro {
  padding: 26px 0 56px;
}

.ebs-why-intro-inner {
  max-width: 860px;
}

.ebs-why-intro h2,
.ebs-why-core-header h2,
.ebs-why-strip-header h2,
.ebs-why-positioning-copy h2,
.ebs-why-cta-inner h2 {
  font-size: 38px;
  margin-bottom: 18px;
}

.ebs-why-intro p,
.ebs-why-positioning-copy p,
.ebs-why-cta-inner p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--ebs-muted);
}

.ebs-why-intro p + p,
.ebs-why-positioning-copy p + p,
.ebs-why-cta-inner p + p {
  margin-top: 16px;
}

.ebs-why-core {
  padding: 12px 0 56px;
}

.ebs-why-core-header {
  max-width: 760px;
  margin-bottom: 28px;
}

.ebs-why-core-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.ebs-why-card {
  background: var(--ebs-white);
  border: 1px solid var(--ebs-border);
  border-radius: 24px;
  box-shadow: var(--ebs-shadow);
  padding: 30px 28px;
}

.ebs-why-card h3 {
  font-size: 28px;
  margin-bottom: 16px;
}

.ebs-why-card p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--ebs-muted);
}

.ebs-why-card p + p {
  margin-top: 14px;
}

.ebs-why-strip {
  padding: 12px 0 56px;
}

.ebs-why-strip-header {
  max-width: 760px;
  margin-bottom: 26px;
}

.ebs-why-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.ebs-why-strip-item {
  background: var(--ebs-bg-soft);
  border: 1px solid var(--ebs-border);
  border-radius: 20px;
  padding: 22px 18px;
}

.ebs-why-strip-item h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.ebs-why-strip-item p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ebs-muted);
}

.ebs-why-positioning {
  padding: 18px 0 56px;
}

.ebs-why-positioning-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 28px;
  align-items: start;
}

.ebs-why-positioning-callouts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.ebs-why-callout-card {
  background: var(--ebs-bg-soft);
  border: 1px solid var(--ebs-border);
  border-radius: 20px;
  padding: 24px 20px;
}

.ebs-why-callout-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.ebs-why-callout-card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ebs-muted);
}

.ebs-why-cta {
  padding: 12px 0 96px;
}

.ebs-why-cta-inner {
  text-align: center;
  padding: 48px 28px;
  border-radius: 28px;
  background: linear-gradient(180deg, var(--ebs-bg-soft-2) 0%, #ffffff 100%);
  border: 1px solid var(--ebs-border);
}

.ebs-why-cta-inner h2 {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.ebs-why-cta-inner p {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.ebs-why-cta-inner .ebs-why-hero-buttons {
  justify-content: center;
}

@media (max-width: 991px) {
  .ebs-why-hero {
    padding: 82px 0 54px;
  }

  .ebs-why-hero h1 {
    font-size: 42px;
  }

  .ebs-why-intro h2,
  .ebs-why-core-header h2,
  .ebs-why-strip-header h2,
  .ebs-why-positioning-copy h2,
  .ebs-why-cta-inner h2 {
    font-size: 32px;
  }

  .ebs-why-core-grid,
  .ebs-why-strip-grid,
  .ebs-why-positioning-inner {
    grid-template-columns: 1fr;
  }

  .ebs-why-positioning-callouts {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  .ebs-why-container {
    padding: 0 18px;
  }

  .ebs-why-hero {
    padding: 64px 0 40px;
  }

  .ebs-why-hero h1 {
    font-size: 34px;
    margin-bottom: 18px;
  }

  .ebs-why-lead {
    font-size: 18px;
    line-height: 1.55;
  }

  .ebs-why-subcopy,
  .ebs-why-intro p,
  .ebs-why-positioning-copy p,
  .ebs-why-cta-inner p {
    font-size: 16px;
    line-height: 1.7;
  }

  .ebs-why-intro h2,
  .ebs-why-core-header h2,
  .ebs-why-strip-header h2,
  .ebs-why-positioning-copy h2,
  .ebs-why-cta-inner h2 {
    font-size: 28px;
  }

  .ebs-why-card,
  .ebs-why-strip-item,
  .ebs-why-callout-card {
    border-radius: 20px;
  }

  .ebs-why-card {
    padding: 24px 20px;
  }

  .ebs-why-card h3 {
    font-size: 24px;
  }

  .ebs-why-positioning-callouts {
    grid-template-columns: 1fr;
  }

  .ebs-why-cta {
    padding: 12px 0 72px;
  }

  .ebs-why-cta-inner {
    padding: 36px 20px;
    border-radius: 22px;
    text-align: left;
  }

  .ebs-why-cta-inner p,
  .ebs-why-cta-inner h2 {
    margin-left: 0;
    margin-right: 0;
    max-width: none;
  }

  .ebs-why-cta-inner .ebs-why-hero-buttons {
    justify-content: flex-start;
  }
}

/* ============================= */
/* ABOUT US PAGE */
/* ============================= */

.ebs-about-page {
  --ebs-navy: #163a63;
  --ebs-navy-deep: #102b4a;
  --ebs-text: #243647;
  --ebs-muted: #617386;
  --ebs-border: #dbe5ee;
  --ebs-bg-soft: #f8fbfd;
  --ebs-bg-soft-2: #f5f9fc;
  --ebs-white: #ffffff;
  --ebs-shadow: 0 18px 50px rgba(16, 43, 74, 0.08);
  width: 100%;
  color: var(--ebs-text);
  background: var(--ebs-white);
  font-family: Arial, Helvetica, sans-serif;
}

.ebs-about-page * {
  box-sizing: border-box;
}

.ebs-about-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.ebs-about-eyebrow,
.ebs-section-label {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ebs-navy);
  font-weight: 700;
}

.ebs-about-page h1,
.ebs-about-page h2,
.ebs-about-page h3 {
  margin: 0;
  color: var(--ebs-navy-deep);
  font-weight: 700;
  line-height: 1.1;
}

.ebs-about-page p {
  margin: 0;
}

.ebs-about-hero {
  padding: 96px 0 68px;
  background: linear-gradient(180deg, #f8fbfd 0%, #ffffff 100%);
}

.ebs-about-hero-inner {
  max-width: 900px;
}

.ebs-about-hero h1 {
  font-size: 52px;
  max-width: 860px;
  margin-bottom: 22px;
}

.ebs-about-lead {
  max-width: 800px;
  font-size: 20px;
  line-height: 1.65;
  color: var(--ebs-text);
  margin-bottom: 14px;
}

.ebs-about-subcopy {
  max-width: 800px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--ebs-muted);
}

.ebs-about-hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.ebs-about-intro {
  padding: 26px 0 48px;
}

.ebs-about-intro-inner,
.ebs-about-market-inner,
.ebs-about-cta-inner {
  max-width: 860px;
}

.ebs-about-intro h2,
.ebs-about-why-header h2,
.ebs-about-expect-inner h2,
.ebs-about-market-inner h2,
.ebs-about-story-copy h2,
.ebs-about-cta-inner h2 {
  font-size: 38px;
  margin-bottom: 18px;
}

.ebs-about-intro p,
.ebs-about-market-inner p,
.ebs-about-story-copy p,
.ebs-about-cta-inner p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--ebs-muted);
}

.ebs-about-intro p + p,
.ebs-about-market-inner p + p,
.ebs-about-story-copy p + p,
.ebs-about-cta-inner p + p {
  margin-top: 16px;
}

.ebs-about-stats {
  padding: 8px 0 56px;
}

.ebs-about-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.ebs-about-stat-card {
  background: var(--ebs-bg-soft);
  border: 1px solid var(--ebs-border);
  border-radius: 20px;
  padding: 24px 20px;
  text-align: center;
}

.ebs-about-stat-number {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--ebs-navy-deep);
  margin-bottom: 10px;
}

.ebs-about-stat-label {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ebs-muted);
}

.ebs-about-story {
  padding: 6px 0 56px;
}

.ebs-about-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 28px;
  align-items: start;
}

.ebs-about-story-callouts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.ebs-about-callout-card {
  background: var(--ebs-bg-soft);
  border: 1px solid var(--ebs-border);
  border-radius: 20px;
  padding: 24px 20px;
}

.ebs-about-callout-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.ebs-about-callout-card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ebs-muted);
}

.ebs-about-why {
  padding: 10px 0 56px;
}

.ebs-about-why-header {
  max-width: 760px;
  margin-bottom: 28px;
}

.ebs-about-why-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.ebs-about-card {
  background: var(--ebs-white);
  border: 1px solid var(--ebs-border);
  border-radius: 24px;
  box-shadow: var(--ebs-shadow);
  padding: 30px 28px;
}

.ebs-about-card h3 {
  font-size: 28px;
  margin-bottom: 16px;
}

.ebs-about-card p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--ebs-muted);
}

.ebs-about-expect {
  padding: 10px 0 56px;
}

.ebs-about-expect-inner {
  margin-bottom: 26px;
}

.ebs-about-expect-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.ebs-about-expect-item {
  background: var(--ebs-bg-soft);
  border: 1px solid var(--ebs-border);
  border-radius: 20px;
  padding: 22px 18px;
}

.ebs-about-expect-item h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.ebs-about-expect-item p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ebs-muted);
}

.ebs-about-market {
  padding: 10px 0 56px;
}

.ebs-about-cta {
  padding: 10px 0 96px;
}

.ebs-about-cta-inner {
  text-align: center;
  padding: 48px 28px;
  border-radius: 28px;
  background: linear-gradient(180deg, var(--ebs-bg-soft-2) 0%, #ffffff 100%);
  border: 1px solid var(--ebs-border);
}

.ebs-about-cta-inner h2 {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.ebs-about-cta-inner p {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.ebs-about-cta-inner .ebs-about-hero-buttons {
  justify-content: center;
}

@media (max-width: 991px) {
  .ebs-about-hero {
    padding: 82px 0 54px;
  }

  .ebs-about-hero h1 {
    font-size: 42px;
  }

  .ebs-about-intro h2,
  .ebs-about-why-header h2,
  .ebs-about-expect-inner h2,
  .ebs-about-market-inner h2,
  .ebs-about-story-copy h2,
  .ebs-about-cta-inner h2 {
    font-size: 32px;
  }

  .ebs-about-stats-grid,
  .ebs-about-why-grid,
  .ebs-about-expect-grid,
  .ebs-about-story-grid {
    grid-template-columns: 1fr;
  }

  .ebs-about-story-callouts {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  .ebs-about-container {
    padding: 0 18px;
  }

  .ebs-about-hero {
    padding: 64px 0 40px;
  }

  .ebs-about-hero h1 {
    font-size: 34px;
    margin-bottom: 18px;
  }

  .ebs-about-lead {
    font-size: 18px;
    line-height: 1.55;
  }

  .ebs-about-subcopy,
  .ebs-about-intro p,
  .ebs-about-market-inner p,
  .ebs-about-story-copy p,
  .ebs-about-cta-inner p {
    font-size: 16px;
    line-height: 1.7;
  }

  .ebs-about-intro h2,
  .ebs-about-why-header h2,
  .ebs-about-expect-inner h2,
  .ebs-about-market-inner h2,
  .ebs-about-story-copy h2,
  .ebs-about-cta-inner h2 {
    font-size: 28px;
  }

  .ebs-about-card,
  .ebs-about-callout-card,
  .ebs-about-expect-item,
  .ebs-about-stat-card {
    border-radius: 20px;
  }

  .ebs-about-card {
    padding: 24px 20px;
  }

  .ebs-about-card h3 {
    font-size: 24px;
  }

  .ebs-about-story-callouts {
    grid-template-columns: 1fr;
  }

  .ebs-about-cta {
    padding: 10px 0 72px;
  }

  .ebs-about-cta-inner {
    padding: 36px 20px;
    border-radius: 22px;
    text-align: left;
  }

  .ebs-about-cta-inner p,
  .ebs-about-cta-inner h2 {
    margin-left: 0;
    margin-right: 0;
    max-width: none;
  }

  .ebs-about-cta-inner .ebs-about-hero-buttons {
    justify-content: flex-start;
  }
}

/* ============================= */
/* TERMS OF USE PAGE */
/* ============================= */

.ebs-terms-page {
  --ebs-navy: #163a63;
  --ebs-navy-deep: #102b4a;
  --ebs-text: #243647;
  --ebs-muted: #617386;
  --ebs-border: #dbe5ee;
  --ebs-bg-soft: #f8fbfd;
  --ebs-bg-soft-2: #f5f9fc;
  --ebs-white: #ffffff;
  --ebs-shadow: 0 18px 50px rgba(16, 43, 74, 0.08);
  width: 100%;
  color: var(--ebs-text);
  background: var(--ebs-white);
  font-family: Arial, Helvetica, sans-serif;
}

.ebs-terms-page * {
  box-sizing: border-box;
}

.ebs-terms-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.ebs-terms-eyebrow,
.ebs-section-label {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ebs-navy);
  font-weight: 700;
}

.ebs-terms-page h1,
.ebs-terms-page h2,
.ebs-terms-page h3 {
  margin: 0;
  color: var(--ebs-navy-deep);
  font-weight: 700;
  line-height: 1.1;
}

.ebs-terms-page p {
  margin: 0;
}

.ebs-terms-page a {
  color: var(--ebs-navy);
  text-decoration: none;
}

.ebs-terms-page a:hover {
  text-decoration: underline;
}

.ebs-terms-hero {
  padding: 96px 0 68px;
  background: linear-gradient(180deg, #f8fbfd 0%, #ffffff 100%);
}

.ebs-terms-hero-inner {
  max-width: 900px;
}

.ebs-terms-hero h1 {
  font-size: 52px;
  max-width: 860px;
  margin-bottom: 22px;
}

.ebs-terms-lead {
  max-width: 800px;
  font-size: 20px;
  line-height: 1.65;
  color: var(--ebs-text);
  margin-bottom: 14px;
}

.ebs-terms-subcopy {
  max-width: 800px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--ebs-muted);
}

.ebs-terms-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 22px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ebs-muted);
}

.ebs-terms-hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.ebs-terms-intro {
  padding: 26px 0 48px;
}

.ebs-terms-intro-inner,
.ebs-terms-cta-inner {
  max-width: 860px;
}

.ebs-terms-intro h2,
.ebs-terms-cta-inner h2 {
  font-size: 38px;
  margin-bottom: 18px;
}

.ebs-terms-intro p,
.ebs-terms-cta-inner p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--ebs-muted);
}

.ebs-terms-intro p + p,
.ebs-terms-cta-inner p + p {
  margin-top: 16px;
}

.ebs-terms-content {
  padding: 8px 0 56px;
}

.ebs-terms-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.ebs-terms-card {
  background: var(--ebs-white);
  border: 1px solid var(--ebs-border);
  border-radius: 24px;
  box-shadow: var(--ebs-shadow);
  padding: 30px 28px;
}

.ebs-terms-card h3 {
  font-size: 26px;
  margin-bottom: 16px;
}

.ebs-terms-card p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--ebs-muted);
}

.ebs-terms-card p + p {
  margin-top: 14px;
}

.ebs-terms-cta {
  padding: 10px 0 96px;
}

.ebs-terms-cta-inner {
  text-align: center;
  padding: 48px 28px;
  border-radius: 28px;
  background: linear-gradient(180deg, var(--ebs-bg-soft-2) 0%, #ffffff 100%);
  border: 1px solid var(--ebs-border);
}

.ebs-terms-cta-inner h2 {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.ebs-terms-cta-inner p {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.ebs-terms-cta-inner .ebs-terms-hero-buttons {
  justify-content: center;
}

@media (max-width: 991px) {
  .ebs-terms-hero {
    padding: 82px 0 54px;
  }

  .ebs-terms-hero h1 {
    font-size: 42px;
  }

  .ebs-terms-intro h2,
  .ebs-terms-cta-inner h2 {
    font-size: 32px;
  }

  .ebs-terms-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .ebs-terms-container {
    padding: 0 18px;
  }

  .ebs-terms-hero {
    padding: 64px 0 40px;
  }

  .ebs-terms-hero h1 {
    font-size: 34px;
    margin-bottom: 18px;
  }

  .ebs-terms-lead {
    font-size: 18px;
    line-height: 1.55;
  }

  .ebs-terms-subcopy,
  .ebs-terms-intro p,
  .ebs-terms-cta-inner p {
    font-size: 16px;
    line-height: 1.7;
  }

  .ebs-terms-intro h2,
  .ebs-terms-cta-inner h2 {
    font-size: 28px;
  }

  .ebs-terms-card {
    padding: 24px 20px;
    border-radius: 20px;
  }

  .ebs-terms-card h3 {
    font-size: 23px;
  }

  .ebs-terms-cta {
    padding: 10px 0 72px;
  }

  .ebs-terms-cta-inner {
    padding: 36px 20px;
    border-radius: 22px;
    text-align: left;
  }

  .ebs-terms-cta-inner p,
  .ebs-terms-cta-inner h2 {
    margin-left: 0;
    margin-right: 0;
    max-width: none;
  }

  .ebs-terms-cta-inner .ebs-terms-hero-buttons {
    justify-content: flex-start;
  }
}

/* ============================= */
/* CONTACT PAGE */
/* ============================= */

.ebs-contact-page {
  --ebs-navy: #163a63;
  --ebs-navy-deep: #102b4a;
  --ebs-text: #243647;
  --ebs-muted: #617386;
  --ebs-border: #dbe5ee;
  --ebs-white: #ffffff;
  --ebs-shadow: 0 18px 50px rgba(16, 43, 74, 0.08);
  width: 100%;
  color: var(--ebs-text);
  background: var(--ebs-white);
  font-family: Arial, Helvetica, sans-serif;
}

.ebs-contact-page * {
  box-sizing: border-box;
}

.ebs-contact-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.ebs-contact-hero {
  padding: 96px 0 64px;
  background: linear-gradient(180deg, #f8fbfd 0%, #ffffff 100%);
}

.ebs-contact-hero-inner {
  max-width: 820px;
}

.ebs-contact-eyebrow,
.ebs-section-label {
  margin: 0 0 12px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ebs-navy);
  font-weight: 700;
}

.ebs-contact-hero h1,
.ebs-contact-main h2,
.ebs-contact-reasons h2,
.ebs-contact-cta h2 {
  margin: 0;
  color: var(--ebs-navy-deep);
  font-weight: 700;
  line-height: 1.1;
}

.ebs-contact-hero h1 {
  font-size: 52px;
  max-width: 700px;
  margin-bottom: 22px;
}

.ebs-contact-lead {
  margin: 0 0 14px;
  max-width: 700px;
  font-size: 20px;
  line-height: 1.65;
  color: var(--ebs-text);
}

.ebs-contact-subcopy {
  margin: 0;
  max-width: 700px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ebs-muted);
}

.ebs-contact-hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.ebs-contact-main {
  padding: 32px 0 48px;
}

.ebs-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.95fr);
  gap: 28px;
  align-items: start;
}

.ebs-contact-form-card,
.ebs-contact-details-card {
  background: var(--ebs-white);
  border: 1px solid var(--ebs-border);
  border-radius: 24px;
  box-shadow: var(--ebs-shadow);
  padding: 34px 30px;
}

.ebs-contact-main h2 {
  font-size: 34px;
  margin-bottom: 14px;
}

.ebs-section-intro {
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ebs-muted);
}

.ebs-netlify-form {
  width: 100%;
}

.ebs-hidden-field {
  position: absolute;
  left: -9999px;
}

.ebs-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.ebs-form-group {
  display: flex;
  flex-direction: column;
}

.ebs-form-group-full {
  grid-column: 1 / -1;
}

.ebs-form-group label {
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ebs-navy-deep);
}

.ebs-form-group input,
.ebs-form-group select,
.ebs-form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--ebs-border);
  border-radius: 14px;
  font: inherit;
  font-size: 15px;
  color: var(--ebs-text);
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform var(--ebs-ease);
}

.ebs-form-group input:focus,
.ebs-form-group select:focus,
.ebs-form-group textarea:focus {
  outline: none;
  border-color: #2f69e8;
  box-shadow: var(--ebs-ring);
  transform: translateY(-1px);
}

.ebs-form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.ebs-form-actions {
  margin-top: 22px;
}

.ebs-contact-detail-block + .ebs-contact-detail-block {
  margin-top: 22px;
}

.ebs-contact-detail-block h3 {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.3;
  color: var(--ebs-navy-deep);
}

.ebs-contact-detail-block p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ebs-text);
}

.ebs-contact-detail-block a {
  color: var(--ebs-navy);
  text-decoration: none;
  word-break: break-word;
}

.ebs-contact-detail-block a:hover {
  text-decoration: underline;
}

.ebs-contact-reasons {
  padding: 36px 0 48px;
}

.ebs-reasons-header {
  max-width: 740px;
  margin-bottom: 28px;
}

.ebs-reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.ebs-reason-item {
  position: relative;
  padding: 20px 18px 20px 48px;
  background: #f8fbfd;
  border: 1px solid var(--ebs-border);
  border-radius: 18px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ebs-text);
}

.ebs-reason-item::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 22px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--ebs-navy);
}

.ebs-contact-cta {
  padding: 48px 0 96px;
}

.ebs-contact-cta-inner {
  text-align: center;
  padding: 48px 28px;
  border-radius: 28px;
  background: linear-gradient(180deg, #f5f9fc 0%, #ffffff 100%);
  border: 1px solid var(--ebs-border);
}

.ebs-contact-cta-inner h2 {
  font-size: 38px;
  max-width: 760px;
  margin: 0 auto 16px;
}

.ebs-contact-cta-inner p {
  max-width: 760px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.75;
  color: var(--ebs-muted);
}

.ebs-contact-cta-inner .ebs-contact-hero-buttons {
  justify-content: center;
  margin-top: 28px;
}

@media (max-width: 991px) {
  .ebs-contact-hero {
    padding: 80px 0 48px;
  }

  .ebs-contact-hero h1 {
    font-size: 42px;
  }

  .ebs-contact-grid {
    grid-template-columns: 1fr;
  }

  .ebs-reasons-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ebs-contact-cta-inner h2 {
    font-size: 32px;
  }
}

@media (max-width: 767px) {
  .ebs-contact-container {
    padding: 0 18px;
  }

  .ebs-contact-hero {
    padding: 64px 0 36px;
  }

  .ebs-contact-hero h1 {
    font-size: 34px;
    margin-bottom: 18px;
  }

  .ebs-contact-lead {
    font-size: 18px;
    line-height: 1.55;
  }

  .ebs-contact-subcopy {
    font-size: 16px;
    line-height: 1.65;
  }

  .ebs-contact-main h2,
  .ebs-contact-reasons h2,
  .ebs-contact-cta h2 {
    font-size: 28px;
  }

  .ebs-contact-form-card,
  .ebs-contact-details-card {
    padding: 26px 20px;
    border-radius: 20px;
  }

  .ebs-form-grid {
    grid-template-columns: 1fr;
  }

  .ebs-reasons-grid {
    grid-template-columns: 1fr;
  }

  .ebs-contact-cta {
    padding: 36px 0 72px;
  }

  .ebs-contact-cta-inner {
    padding: 36px 20px;
    border-radius: 22px;
    text-align: left;
  }

  .ebs-contact-cta-inner p,
  .ebs-contact-cta-inner h2 {
    margin-left: 0;
    margin-right: 0;
    max-width: none;
  }

  .ebs-contact-cta-inner .ebs-contact-hero-buttons {
    justify-content: flex-start;
  }
}

/* ============================= */
/* GLOBAL NO-HOVER-MOVEMENT OVERRIDES */
/* ============================= */

.ebs-logo-link:hover .ebs-logo-image,
.ebs-phone-link:hover,
.ebs-hero:hover::before,
.ebs-btn-primary:hover,
.ebs-final-btn-primary:hover,
.ebs-btn-outline:hover,
.ebs-final-btn-outline:hover,
.ebs-btn-secondary:hover,
.ebs-consistency-card:hover,
.ebs-healthcare-alignment-item:hover,
.ebs-expectations-card:hover,
.ebs-oversight-image:hover,
.ebs-approach-image:hover,
.ebs-services-list-wrap:hover,
.ebs-service-item:hover,
.ebs-final-cta-card:hover,
.ebs-service-card:hover,
.ebs-callout-card:hover,
.ebs-strip-item:hover,
.ebs-services-cta-inner:hover,
.ebs-about-card:hover,
.ebs-about-callout-card:hover,
.ebs-about-expect-item:hover,
.ebs-about-stat-card:hover,
.ebs-about-cta-inner:hover,
.ebs-why-card:hover,
.ebs-why-strip-item:hover,
.ebs-why-callout-card:hover,
.ebs-why-cta-inner:hover,
.ebs-terms-card:hover,
.ebs-terms-cta-inner:hover,
.ebs-contact-form-card:hover,
.ebs-contact-details-card:hover,
.ebs-contact-cta-inner:hover,
.ebs-reason-item:hover,
.ebs-social-icon:hover,
[class*="bubble"]:hover,
[class*="orb"]:hover {
  transform: none !important;
}

.ebs-logo-link:hover .ebs-logo-image {
  filter: brightness(1.03);
}

.ebs-phone-link:hover,
.ebs-nav a:hover,
.ebs-footer-contact a:hover,
.ebs-footer-nav a:hover,
.ebs-footer-legal a:hover {
  opacity: 0.88;
}

.ebs-btn-primary:hover,
.ebs-final-btn-primary:hover {
  filter: brightness(1.06);
  box-shadow: 0 10px 24px rgba(31, 79, 185, 0.35);
}

.ebs-btn-outline:hover,
.ebs-final-btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
}

.ebs-btn-secondary:hover {
  background: rgba(22, 58, 99, 0.06);
}

.ebs-service-item:hover {
  background: rgba(255, 255, 255, 0.07);
}

.ebs-oversight-image:hover,
.ebs-approach-image:hover {
  box-shadow: 0 20px 50px rgba(11, 31, 77, 0.14);
}

.ebs-social-icon:hover {
  background: rgba(214, 208, 194, 0.16);
}

/* ============================= */
/* SERVICES PAGE - MANAGED VISUAL ROW */
/* ============================= */

.ebs-managed-visual-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.ebs-managed-visual-item {
  user-select: none;
  -webkit-user-select: none;
}

.ebs-managed-visual-image {
  width: 100%;
  height: 190px;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 18px;
  margin-bottom: 14px;
  background: transparent;
  -webkit-user-drag: none;
}

.ebs-managed-visual-item h3 {
  margin: 0 0 10px;
  color: var(--ebs-navy-deep);
  font-size: 20px;
  line-height: 1.25;
  font-weight: 700;
}

.ebs-managed-visual-item p {
  margin: 0;
  color: var(--ebs-muted);
  font-size: 15px;
  line-height: 1.7;
}

.ebs-managed-visual-item ::selection {
  background: transparent;
}

.ebs-managed-visual-item ::-moz-selection {
  background: transparent;
}

@media (max-width: 991px) {
  .ebs-managed-visual-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .ebs-managed-visual-grid {
    grid-template-columns: 1fr;
  }

  .ebs-managed-visual-image {
    height: 220px;
  }
}

/* Restore boxed side-column cards in first services differentiation section */
#service-structure .ebs-services-callouts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

#service-structure .ebs-callout-card,
#service-structure .ebs-callout-card:hover {
  background: var(--ebs-bg-soft) !important;
  border: 1px solid var(--ebs-border) !important;
  box-shadow: var(--ebs-shadow) !important;
  border-radius: 20px !important;
  padding: 24px 20px !important;
  transform: none !important;
}

#service-structure .ebs-callout-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

#service-structure .ebs-callout-card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ebs-muted);
}

@media (max-width: 991px) {
  #service-structure .ebs-services-callouts {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  #service-structure .ebs-services-callouts {
    grid-template-columns: 1fr;
  }
}

/* WHY HEALTHCARE PAGE - STORY / BENEFIT CARDS */

.ebs-why-story {
  padding: 18px 0 56px;
}

.ebs-why-story-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 28px;
  align-items: center;
}

.ebs-why-story-image-wrap {
  width: 100%;
}

.ebs-why-story-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
  object-position: center center;
  border-radius: 24px;
  box-shadow: var(--ebs-shadow);
  border: 1px solid var(--ebs-border);
}

.ebs-why-benefits {
  padding: 12px 0 56px;
}

.ebs-why-benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.ebs-why-benefit-card {
  background: var(--ebs-bg-soft);
  border: 1px solid var(--ebs-border);
  border-radius: 20px;
  padding: 24px 20px;
  transition: transform var(--ebs-ease), box-shadow var(--ebs-ease), border-color var(--ebs-ease);
}

.ebs-why-benefit-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--ebs-navy-deep);
}

.ebs-why-benefit-card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ebs-muted);
}

.ebs-why-benefit-card:hover {
  transform: var(--ebs-lift-sm);
  box-shadow: 0 22px 54px rgba(16, 43, 74, 0.10);
}

@media (max-width: 991px) {
  .ebs-why-story-inner,
  .ebs-why-benefits-grid {
    grid-template-columns: 1fr;
  }

  .ebs-why-story-image {
    min-height: 360px;
  }
}

@media (max-width: 767px) {
  .ebs-why-story-image {
    min-height: 280px;
    border-radius: 20px;
  }

  .ebs-why-benefit-card {
    border-radius: 20px;
  }
}

/* ============================= */
/* CONTACT PAGE - STORY SECTION */
/* ============================= */

.ebs-contact-story {
  padding: 12px 0 48px;
}

.ebs-contact-story-inner {
  max-width: 860px;
}

.ebs-contact-story-inner h2,
.ebs-reasons-header h2,
.ebs-contact-cta-inner h2 {
  font-size: 38px;
  margin-bottom: 18px;
  color: var(--ebs-navy-deep);
  line-height: 1.1;
  font-weight: 700;
}

.ebs-contact-story-inner p,
.ebs-contact-cta-inner p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--ebs-muted);
  margin: 0;
}

.ebs-contact-story-inner p + p,
.ebs-contact-cta-inner p + p {
  margin-top: 16px;
}

@media (max-width: 991px) {
  .ebs-contact-story-inner h2,
  .ebs-reasons-header h2,
  .ebs-contact-cta-inner h2 {
    font-size: 32px;
  }
}

@media (max-width: 767px) {
  .ebs-contact-story-inner h2,
  .ebs-reasons-header h2,
  .ebs-contact-cta-inner h2 {
    font-size: 28px;
  }

  .ebs-contact-story-inner p,
  .ebs-contact-cta-inner p {
    font-size: 16px;
    line-height: 1.7;
  }
}

/* ============================= */
/* MEDICAL CLEANING LANDING PAGE */
/* ============================= */

.ebs-medical-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

.ebs-medical-hero {
  padding: 92px 0 86px;
  background:
    radial-gradient(circle at 24% 22%, rgba(60, 108, 210, 0.14) 0%, rgba(60, 108, 210, 0.05) 22%, transparent 42%),
    linear-gradient(90deg, #02112b 0%, #07214d 48%, #06204a 70%, #02112b 100%);
  color: #ffffff;
}

.ebs-medical-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 40px;
  align-items: center;
}

.ebs-medical-eyebrow {
  margin: 0 0 16px;
  color: #8db4ff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ebs-medical-hero-copy h1 {
  margin: 0 0 22px;
  font-size: clamp(40px, 5vw, 66px);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.ebs-medical-lead {
  margin: 0 0 18px;
  font-size: clamp(20px, 1.9vw, 24px);
  line-height: 1.5;
  color: #f2f5fb;
  max-width: 760px;
}

.ebs-medical-subcopy {
  margin: 0 0 34px;
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.84);
  max-width: 700px;
}

.ebs-medical-hero-card,
.ebs-medical-card,
.ebs-medical-feature,
.ebs-medical-area-card,
.ebs-medical-step,
.ebs-medical-faq-item,
.ebs-medical-cta-card {
  border-radius: 24px;
  border: 1px solid rgba(16, 43, 74, 0.10);
  box-shadow: 0 18px 48px rgba(16, 43, 74, 0.08);
  box-sizing: border-box;
}

.ebs-medical-hero-card {
  padding: 28px 26px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(141, 180, 255, 0.18);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}

.ebs-medical-hero-card h2 {
  margin: 0 0 18px;
  color: #ffffff;
  font-size: 28px;
  line-height: 1.15;
  font-weight: 800;
}

.ebs-medical-checklist {
  margin: 0;
  padding-left: 20px;
}

.ebs-medical-checklist li {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.65;
}

.ebs-medical-intro,
.ebs-medical-services,
.ebs-medical-diff,
.ebs-medical-local,
.ebs-medical-pain,
.ebs-medical-process,
.ebs-medical-links,
.ebs-medical-faq,
.ebs-medical-cta {
  width: 100%;
  box-sizing: border-box;
}

.ebs-medical-intro,
.ebs-medical-local,
.ebs-medical-process,
.ebs-medical-faq {
  padding: 100px 0;
  background: #f7f9fc;
}

.ebs-medical-services,
.ebs-medical-pain,
.ebs-medical-links {
  padding: 100px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%);
}

.ebs-medical-diff,
.ebs-medical-cta {
  padding: 100px 0;
  background: linear-gradient(180deg, #e3eaf5 0%, #d7e1f0 100%);
}

.ebs-medical-section-header {
  max-width: 860px;
  margin: 0 auto 34px;
  text-align: center;
}

.ebs-medical-section-header h2 {
  margin: 0 0 18px;
  color: #0b1f4d;
  font-size: clamp(30px, 3.1vw, 46px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.ebs-medical-section-header p {
  margin: 0;
  color: #33435f;
  font-size: clamp(18px, 1.4vw, 21px);
  line-height: 1.75;
}

.ebs-medical-copy-wrap {
  max-width: 900px;
  margin: 0 auto;
}

.ebs-medical-copy-wrap p {
  margin: 0 0 20px;
  color: #33435f;
  font-size: clamp(18px, 1.4vw, 21px);
  line-height: 1.78;
  text-align: center;
}

.ebs-medical-copy-wrap p:last-child {
  margin-bottom: 0;
}

.ebs-medical-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.ebs-medical-card {
  padding: 26px 22px;
  background: #ffffff;
}

.ebs-medical-card h3 {
  margin: 0 0 12px;
  color: #0b1f4d;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 800;
}

.ebs-medical-card p {
  margin: 0;
  color: #4b5d7c;
  font-size: 15px;
  line-height: 1.75;
}

.ebs-medical-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ebs-medical-feature {
  padding: 28px 24px;
  background:
    radial-gradient(circle at 18% 20%, rgba(58, 102, 191, 0.12), transparent 32%),
    linear-gradient(135deg, #07122e 0%, #0d1e49 55%, #07122e 100%);
  border: 1px solid rgba(72, 119, 229, 0.16);
}

.ebs-medical-feature h3 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: 24px;
  line-height: 1.18;
  font-weight: 800;
}

.ebs-medical-feature p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
  line-height: 1.8;
}

.ebs-medical-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 30px;
  align-items: center;
}

.ebs-medical-split-copy h2 {
  margin: 0 0 18px;
  color: #0b1f4d;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.ebs-medical-split-copy p {
  margin: 0 0 18px;
  color: #33435f;
  font-size: clamp(18px, 1.35vw, 20px);
  line-height: 1.78;
}

.ebs-medical-split-copy p:last-child {
  margin-bottom: 0;
}

.ebs-medical-area-card {
  padding: 28px 26px;
  background: #ffffff;
}

.ebs-medical-area-card h3 {
  margin: 0 0 18px;
  color: #0b1f4d;
  font-size: 24px;
  font-weight: 800;
}

.ebs-medical-area-card .ebs-medical-checklist li {
  color: #33435f;
}

.ebs-medical-process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.ebs-medical-step {
  padding: 28px 22px;
  background: #ffffff;
}

.ebs-medical-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2f69e8 0%, #1f4fb9 100%);
  color: #ffffff;
  font-size: 18px;
  font-weight: 800;
}

.ebs-medical-step h3 {
  margin: 0 0 12px;
  color: #0b1f4d;
  font-size: 22px;
  font-weight: 800;
}

.ebs-medical-step p {
  margin: 0;
  color: #4b5d7c;
  font-size: 15px;
  line-height: 1.75;
}

.ebs-medical-related-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.ebs-medical-related-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(16, 43, 74, 0.10);
  color: #0b1f4d;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  box-shadow: 0 10px 28px rgba(16, 43, 74, 0.06);
}

.ebs-medical-related-links a:hover {
  box-shadow: 0 14px 30px rgba(16, 43, 74, 0.10);
}

.ebs-medical-faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.ebs-medical-faq-item {
  padding: 28px 24px;
  background: #ffffff;
}

.ebs-medical-faq-item h3 {
  margin: 0 0 12px;
  color: #0b1f4d;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 800;
}

.ebs-medical-faq-item p {
  margin: 0;
  color: #4b5d7c;
  font-size: 15px;
  line-height: 1.8;
}

.ebs-medical-cta-card {
  max-width: 920px;
  margin: 0 auto;
  padding: 38px 32px;
  background:
    radial-gradient(circle at 18% 20%, rgba(58, 102, 191, 0.14), transparent 34%),
    linear-gradient(135deg, #07122e 0%, #0d1e49 55%, #07122e 100%);
  border: 1px solid rgba(72, 119, 229, 0.18);
  text-align: center;
}

.ebs-medical-cta-card h2 {
  margin: 0 0 18px;
  color: #ffffff;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.12;
  font-weight: 800;
}

.ebs-medical-cta-card p {
  max-width: 760px;
  margin: 0 auto 28px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.75;
}

@media (max-width: 1180px) {
  .ebs-medical-grid,
  .ebs-medical-process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ebs-medical-columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991px) {
  .ebs-medical-hero {
    padding: 74px 0 68px;
  }

  .ebs-medical-hero-inner,
  .ebs-medical-split,
  .ebs-medical-faq-list {
    grid-template-columns: 1fr;
  }

  .ebs-medical-intro,
  .ebs-medical-services,
  .ebs-medical-diff,
  .ebs-medical-local,
  .ebs-medical-pain,
  .ebs-medical-process,
  .ebs-medical-links,
  .ebs-medical-faq,
  .ebs-medical-cta {
    padding: 78px 0;
  }
}

@media (max-width: 767px) {
  .ebs-medical-container {
    padding: 0 16px;
  }

  .ebs-medical-grid,
  .ebs-medical-process-grid,
  .ebs-medical-faq-list {
    grid-template-columns: 1fr;
  }

  .ebs-medical-hero-copy h1 {
    font-size: clamp(36px, 9vw, 52px);
  }

  .ebs-medical-lead {
    font-size: 18px;
  }

  .ebs-medical-subcopy,
  .ebs-medical-copy-wrap p,
  .ebs-medical-split-copy p,
  .ebs-medical-section-header p,
  .ebs-medical-cta-card p {
    font-size: 16px;
  }

  .ebs-medical-hero-card,
  .ebs-medical-card,
  .ebs-medical-feature,
  .ebs-medical-area-card,
  .ebs-medical-step,
  .ebs-medical-faq-item,
  .ebs-medical-cta-card {
    border-radius: 20px;
  }
}

.ebs-medical-cta-card .ebs-btn-secondary {
  color: #ffffff !important;
}

.ebs-medical-hero-visual,
.ebs-medical-image-band-visual,
.ebs-medical-photo-card {
  width: 100%;
}

.ebs-medical-hero-image,
.ebs-medical-inline-image,
.ebs-medical-wide-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 22px 56px rgba(16, 43, 74, 0.12);
  border: 1px solid rgba(16, 43, 74, 0.08);
}

.ebs-medical-hero-image {
  min-height: 520px;
  height: 520px;
}

.ebs-medical-inline-image {
  min-height: 360px;
  height: 360px;
}

.ebs-medical-wide-image {
  min-height: 420px;
  height: 420px;
}

.ebs-medical-image-band {
  padding: 100px 0;
  background: #ffffff;
}

.ebs-medical-image-band-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.95fr);
  gap: 34px;
  align-items: center;
}

.ebs-medical-image-band-copy h2 {
  margin: 0 0 18px;
  color: #0b1f4d;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.ebs-medical-image-band-copy p {
  margin: 0;
  color: #33435f;
  font-size: clamp(18px, 1.35vw, 20px);
  line-height: 1.78;
}

.ebs-medical-photo-section {
  padding: 32px 0 100px;
  background: linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%);
}

.ebs-medical-checklist-dark li {
  color: #33435f;
}

@media (max-width: 991px) {
  .ebs-medical-image-band {
    padding: 78px 0;
  }

  .ebs-medical-photo-section {
    padding: 20px 0 78px;
  }

  .ebs-medical-image-band-inner {
    grid-template-columns: 1fr;
  }

  .ebs-medical-hero-image {
    min-height: 420px;
    height: 420px;
  }

  .ebs-medical-inline-image,
  .ebs-medical-wide-image {
    min-height: 320px;
    height: 320px;
  }
}

@media (max-width: 767px) {
  .ebs-medical-hero-image {
    min-height: 300px;
    height: 300px;
    border-radius: 20px;
  }

  .ebs-medical-inline-image,
  .ebs-medical-wide-image {
    min-height: 240px;
    height: 240px;
    border-radius: 20px;
  }
}

.ebs-internal-link-block {
  max-width: 900px;
  margin: 26px auto 0;
  padding: 0 8px;
  text-align: center;
}

.ebs-internal-link-block p {
  margin: 0;
  color: #33435f;
  font-size: 16px;
  line-height: 1.75;
}

.ebs-internal-link-block a {
  color: #0b4f8a;
  font-weight: 700;
  text-decoration: none;
}

.ebs-internal-link-block a:hover {
  text-decoration: underline;
}

.ebs-keep-together {
  white-space: nowrap;
}
/* ============================= */
/* FINAL PATCHES / STABILITY FIXES */
/* ============================= */

/* Keep specific service-page phrase together on desktop, allow wrap on small screens */
.ebs-keep-together {
  white-space: nowrap;
}

@media (max-width: 767px) {
  .ebs-keep-together {
    white-space: normal;
  }
}

/* Inline landing-page links inside services/why copy */
.ebs-services-page a[href="/medical-cleaning-long-island"],
.ebs-why-page a[href="/medical-cleaning-long-island"] {
  color: #0b4f8a;
  font-weight: 700;
  text-decoration: none;
}

.ebs-services-page a[href="/medical-cleaning-long-island"]:hover,
.ebs-why-page a[href="/medical-cleaning-long-island"]:hover {
  text-decoration: underline;
}

/* CTA phone button on the medical landing page */
.ebs-medical-cta-card .ebs-btn-secondary {
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

.ebs-medical-cta-card .ebs-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}

/* Small active state helper if you later choose to add .active in nav */
.ebs-nav a.active {
  color: #ffffff;
}

.ebs-footer-location {
  font-style: normal;
}

.ebs-footer-service-area {
  margin-top: 10px;
}
