/* Sleep clinic — custom styles (Bootstrap 5 companion) */

:root {
  --sc-navy: #0b1220;
  --sc-navy-soft: #121a2b;
  --sc-teal: #0f766e;
  --sc-teal-light: #14b8a6;
  --sc-gold: #c9a227;
  --sc-cream: #f6f4ef;
  --sc-muted: #64748b;
  --sc-border: rgba(15, 118, 110, 0.12);
  --sc-shadow: 0 18px 50px rgba(11, 18, 32, 0.12);
  --sc-radius: 14px;
  --sc-radius-lg: 22px;
  --sc-font-display: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sc-font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

html {
  scroll-padding-top: 88px;
}

body {
  font-family: var(--sc-font-body);
  color: #1e293b;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-optical-sizing: auto;
}

h1,
h2,
h3,
h4,
.sc-font-display {
  font-family: var(--sc-font-display);
  letter-spacing: -0.02em;
}

.sc-topbar {
  background: linear-gradient(180deg, #0f172a 0%, var(--sc-navy) 100%);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.8125rem;
  border-bottom: 1px solid rgba(20, 184, 166, 0.18);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}

.sc-topbar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem 1rem;
  padding: 0.55rem 0;
  min-height: 2.35rem;
}

@media (min-width: 768px) {
  .sc-topbar-inner {
    padding: 0.45rem 0;
    flex-wrap: nowrap;
    gap: 1rem;
  }
}

.sc-topbar-tagline {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1 1 auto;
  min-width: 0;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(226, 232, 240, 0.88);
}

.sc-topbar-tagline-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 575.98px) {
  .sc-topbar-inner {
    justify-content: center;
    text-align: center;
  }

  .sc-topbar-tagline {
    flex-basis: 100%;
    justify-content: center;
  }

  .sc-topbar-tagline-text {
    white-space: normal;
    text-overflow: unset;
    overflow: visible;
    font-size: 0.72rem;
    line-height: 1.35;
    max-width: 20rem;
  }

  .sc-topbar-contact {
    width: 100%;
    justify-content: center;
  }
}

.sc-topbar-accent {
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sc-teal-light);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.22);
}

.sc-topbar-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem 0.65rem;
  flex-shrink: 0;
}

.sc-topbar-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.95);
  margin-right: 0.15rem;
}

.sc-topbar-divider {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.18);
  flex-shrink: 0;
}

.sc-lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.sc-lang-link {
  color: rgba(148, 163, 184, 0.95);
  text-decoration: none;
  padding: 0.2rem 0.35rem;
  border-radius: 6px;
  transition: color 0.2s ease, background 0.2s ease;
}

.sc-lang-link:hover {
  color: #fff;
}

.sc-lang-link.is-active {
  color: #ccfbf1;
  background: rgba(255, 255, 255, 0.08);
}

.sc-lang-sep {
  color: rgba(148, 163, 184, 0.45);
  user-select: none;
}

.sc-topbar-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0.55rem;
  border-radius: 8px;
  color: #ccfbf1 !important;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 0.8125rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.sc-topbar-link:hover {
  color: #fff !important;
  background: rgba(20, 184, 166, 0.18);
  border-color: rgba(20, 184, 166, 0.35);
}

.sc-topbar-link-icon {
  display: flex;
  color: var(--sc-teal-light);
  opacity: 0.95;
}

.sc-topbar-link:focus-visible {
  outline: 2px solid var(--sc-teal-light);
  outline-offset: 2px;
}

.sc-topbar-phone {
  font-variant-numeric: tabular-nums;
}

/* Trust strip (below hero) */
.sc-trust-strip {
  position: relative;
  padding: 1.35rem 0 1.5rem;
  background: linear-gradient(180deg, #f8fafc 0%, var(--sc-cream) 55%, #f1f5f9 100%);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.sc-trust-strip::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sc-teal) 0%, var(--sc-teal-light) 50%, #0e7490 100%);
  opacity: 0.85;
}

.sc-trust-strip-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

@media (min-width: 992px) {
  .sc-trust-strip {
    padding: 1.5rem 0 1.65rem;
  }

  .sc-trust-strip-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
  }
}

.sc-trust-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin: 0;
  padding: 1rem 1rem 1.05rem;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(11, 18, 32, 0.05);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sc-trust-item:hover {
  border-color: rgba(15, 118, 110, 0.2);
  box-shadow: 0 14px 36px rgba(11, 18, 32, 0.08);
}

.sc-trust-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sc-teal);
  background: rgba(15, 118, 110, 0.1);
}

.sc-trust-body {
  min-width: 0;
  padding-top: 0.1rem;
}

.sc-trust-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--sc-muted);
  margin: 0 0 0.2rem;
  line-height: 1.2;
}

.sc-trust-value {
  font-family: var(--sc-font-display);
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  font-weight: 600;
  color: var(--sc-navy);
  margin: 0;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

@media (max-width: 575.98px) {
  .sc-trust-item {
    padding: 0.85rem 0.9rem;
    gap: 0.65rem;
  }

  .sc-trust-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

  .sc-trust-icon svg {
    width: 19px;
    height: 19px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sc-trust-item {
    transition: none;
  }

  .sc-trust-item:hover {
    box-shadow: 0 10px 28px rgba(11, 18, 32, 0.05);
  }
}

.sc-navbar {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.sc-navbar.sc-navbar-scrolled {
  box-shadow: 0 10px 30px rgba(11, 18, 32, 0.08);
}

.sc-brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--sc-teal) 0%, #0e7490 100%);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 8px 24px rgba(15, 118, 110, 0.35);
}

.sc-brand-logo {
  height: 2.5rem;
  width: auto;
  max-width: 9.5rem;
  object-fit: contain;
  display: block;
}

@media (min-width: 992px) {
  .sc-brand-logo {
    height: 2.65rem;
    max-width: 11rem;
  }
}

.sc-nav-link {
  font-weight: 600;
  font-size: 0.9rem;
  color: #334155 !important;
  padding: 0.5rem 0.75rem !important;
  border-radius: 10px;
}

.sc-nav-link:hover,
.sc-nav-link:focus {
  color: var(--sc-teal) !important;
  background: rgba(15, 118, 110, 0.06);
}

.sc-btn-primary {
  --bs-btn-bg: var(--sc-teal);
  --bs-btn-border-color: var(--sc-teal);
  --bs-btn-hover-bg: #0d9488;
  --bs-btn-hover-border-color: #0d9488;
  --bs-btn-active-bg: #0f766e;
  --bs-btn-active-border-color: #0f766e;
  --bs-btn-color: #fff;
  font-weight: 600;
  padding: 0.6rem 1.25rem;
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(15, 118, 110, 0.28);
}

.sc-btn-outline {
  font-weight: 600;
  border-radius: 999px;
  padding: 0.6rem 1.25rem;
  border-width: 2px;
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.sc-btn-outline:hover {
  background: #fff;
  color: var(--sc-navy);
  border-color: #fff;
}

.sc-btn-ghost {
  font-weight: 600;
  border-radius: 999px;
  color: var(--sc-teal);
  border: 2px solid rgba(15, 118, 110, 0.35);
  background: transparent;
}

.sc-btn-ghost:hover {
  background: rgba(15, 118, 110, 0.08);
  border-color: var(--sc-teal);
  color: var(--sc-teal);
}

.sc-hero {
  position: relative;
  background: var(--sc-navy);
  color: #e2e8f0;
  overflow: hidden;
  padding: 4.5rem 0 5rem;
}

@media (min-width: 992px) {
  .sc-hero {
    padding: 5.5rem 0 6rem;
  }
}

.sc-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(900px 500px at 15% 20%, rgba(20, 184, 166, 0.12), transparent 55%),
    radial-gradient(700px 420px at 85% 30%, rgba(201, 162, 39, 0.06), transparent 50%),
    linear-gradient(180deg, rgba(11, 18, 32, 0.62) 0%, rgba(11, 18, 32, 0.78) 42%, rgba(11, 18, 32, 0.96) 100%);
  pointer-events: none;
}

.sc-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.sc-hero-media.slick-initialized .slick-list,
.sc-hero-media.slick-initialized .slick-track {
  height: 100% !important;
}

.sc-hero-media .slick-slide {
  height: 100%;
}

.sc-hero-media .slick-slide > div {
  height: 100%;
}

.sc-hero-slide {
  height: 100%;
  min-height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.28;
  transform: scale(1.02);
}

.sc-hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: max(1rem, env(safe-area-inset-bottom, 0px));
  z-index: 3;
  display: flex;
  justify-content: center;
  padding: 0 1rem;
  pointer-events: none;
}

@media (min-width: 992px) {
  .sc-hero-dots {
    bottom: max(1.5rem, env(safe-area-inset-bottom, 0px));
  }
}

.sc-hero-dots .slick-dots {
  position: relative !important;
  bottom: auto !important;
  left: auto !important;
  right: auto !important;
  width: auto !important;
  max-width: 100%;
  margin: 0;
  padding: 0.5rem 1rem;
  list-style: none !important;
  display: inline-flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(11, 18, 32, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  box-shadow:
    0 14px 44px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  pointer-events: auto;
}

.sc-hero-dots .slick-dots li {
  position: relative;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0.2rem;
}

.sc-hero-dots .slick-dots li button {
  appearance: none;
  -webkit-appearance: none;
  display: block;
  padding: 0;
  margin: 0;
  width: 11px;
  height: 11px;
  min-width: 11px;
  min-height: 11px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
  font-size: 0;
  line-height: 0;
  color: transparent;
  cursor: pointer;
  transition:
    width 0.28s cubic-bezier(0.25, 0.1, 0.25, 1),
    height 0.28s cubic-bezier(0.25, 0.1, 0.25, 1),
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.sc-hero-dots .slick-dots li button:before,
.sc-hero-dots .slick-dots li button:after {
  display: none !important;
  content: none !important;
}

.sc-hero-dots .slick-dots li:not(.slick-active) button:hover {
  background: rgba(255, 255, 255, 0.52);
  border-color: rgba(255, 255, 255, 0.42);
}

.sc-hero-dots .slick-dots li button:focus {
  outline: none;
}

.sc-hero-dots .slick-dots li button:focus-visible {
  outline: 2px solid #99f6e4;
  outline-offset: 3px;
}

.sc-hero-dots .slick-dots .slick-active button {
  width: 2rem;
  height: 11px;
  min-width: 2rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #5eead4 0%, #2dd4bf 55%, #14b8a6 100%);
  border-color: rgba(94, 234, 212, 0.55);
  box-shadow:
    0 0 0 1px rgba(15, 23, 42, 0.35),
    0 0 20px rgba(45, 212, 191, 0.35);
}

.sc-hero-dots .slick-dots .slick-active button:hover {
  background: linear-gradient(90deg, #6ee7d8 0%, #34d3bf 55%, #2dd4bf 100%);
}

@media (prefers-reduced-motion: reduce) {
  .sc-hero-dots .slick-dots li button {
    transition: none;
  }

  .sc-hero-dots .slick-dots {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

.sc-hero-content {
  position: relative;
  z-index: 2;
}

.sc-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5eead4;
  background: rgba(94, 234, 212, 0.1);
  border: 1px solid rgba(94, 234, 212, 0.25);
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
}

.sc-hero h1 {
  color: #fff;
  font-size: clamp(2.1rem, 4vw, 3.25rem);
  line-height: 1.12;
  margin-top: 1.25rem;
}

.sc-hero-lead {
  font-size: 1.1rem;
  max-width: 34rem;
  color: rgba(226, 232, 240, 0.92);
  margin-top: 1rem;
}

.sc-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.sc-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #f1f5f9;
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.sc-hero-cta {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.sc-hero-note {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: rgba(226, 232, 240, 0.75);
}

.sc-hero-card {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--sc-radius-lg);
  padding: 1.5rem;
  backdrop-filter: blur(10px);
}

.sc-hero-card h3 {
  color: #fff;
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.sc-hero-form .alert-success {
  border: 0;
  background: rgba(167, 243, 208, 0.95);
  color: #065f46;
}

.sc-hero-form-label {
  color: rgba(241, 245, 249, 0.92);
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.sc-hero-form-control {
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.96);
  color: var(--sc-navy);
  font-size: 0.9rem;
  padding: 0.5rem 0.75rem;
}

.sc-hero-form-control:focus {
  border-color: var(--sc-teal-light);
  box-shadow: 0 0 0 0.2rem rgba(20, 184, 166, 0.25);
  background: #fff;
}

.sc-hero-form-control::placeholder {
  color: #94a3b8;
}

.sc-hero-form textarea.sc-hero-form-control {
  resize: vertical;
  min-height: 4.5rem;
}

.sc-hero-form .invalid-feedback {
  color: #fecaca;
  font-size: 0.8rem;
}

.sc-hero-form .form-check-input {
  border-radius: 0.35rem;
  border-color: rgba(255, 255, 255, 0.45);
  background-color: rgba(255, 255, 255, 0.9);
}

.sc-hero-form .form-check-input:checked {
  background-color: var(--sc-teal);
  border-color: var(--sc-teal);
}

.sc-hero-form .form-check-input:focus {
  box-shadow: 0 0 0 0.2rem rgba(20, 184, 166, 0.35);
}

.sc-hero-form-check-label {
  color: rgba(226, 232, 240, 0.88);
}

.sc-metric {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.95rem;
}

.sc-metric:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.sc-metric strong {
  color: #fff;
}

.sc-section {
  padding: 4.25rem 0;
}

.sc-section-alt {
  background: var(--sc-cream);
}

/* Our services */
.sc-services {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 42%, #ffffff 100%);
  border-top: 1px solid rgba(15, 23, 42, 0.05);
}

.sc-services-head {
  margin-bottom: 2.75rem;
}

.sc-services-eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sc-teal);
}

.sc-services-title {
  font-size: clamp(1.85rem, 3vw, 2.45rem);
  color: var(--sc-navy);
  letter-spacing: -0.03em;
  margin: 0 0 0.85rem;
  line-height: 1.12;
}

.sc-services-lead {
  color: var(--sc-muted);
  font-size: 1.0625rem;
  line-height: 1.65;
  max-width: 40rem;
}

.sc-services-card {
  --sc-services-card-pad: clamp(0.65rem, 1.8vw, 0.9rem);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border-radius: 22px;
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 20px 48px -14px rgba(11, 18, 32, 0.1);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.35s cubic-bezier(0.25, 0.1, 0.25, 1), transform 0.35s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.sc-services-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sc-teal) 0%, var(--sc-teal-light) 55%, rgba(201, 162, 39, 0.65) 100%);
  opacity: 0;
  transition: opacity 0.28s ease;
  z-index: 2;
  pointer-events: none;
}

.sc-services-card:hover {
  border-color: rgba(15, 118, 110, 0.22);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 28px 64px -12px rgba(11, 18, 32, 0.14);
  transform: translateY(-5px);
}

.sc-services-card:hover::before {
  opacity: 1;
}

.sc-services-card-media {
  position: relative;
  flex-shrink: 0;
  margin: var(--sc-services-card-pad) var(--sc-services-card-pad) 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(11, 18, 32, 0.12);
}

.sc-services-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(11, 18, 32, 0.05) 0%, transparent 40%, rgba(11, 18, 32, 0.55) 100%);
  pointer-events: none;
}

.sc-services-card-img {
  transition: transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.sc-services-card:hover .sc-services-card-img {
  transform: scale(1.05);
}

.sc-services-card-step {
  position: absolute;
  z-index: 2;
  top: 0.85rem;
  right: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  padding: 0.35rem 0.55rem;
  font-family: var(--sc-font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
  background: rgba(11, 18, 32, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.sc-services-card-step-num {
  line-height: 1;
}

.sc-services-card .sc-services-card-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 1.35rem clamp(1.15rem, 3vw, 1.65rem) 1.25rem;
  min-height: 0;
}

.sc-services-card-main {
  flex: 1 1 auto;
  min-height: 0;
}

.sc-services-card-footer {
  flex-shrink: 0;
  margin-top: auto;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.sc-services-read-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.62rem 1rem;
  border-radius: 12px;
  border: 1px solid transparent;
  color: var(--sc-teal);
  text-decoration: none;
  background: linear-gradient(180deg, rgba(15, 118, 110, 0.07) 0%, rgba(15, 118, 110, 0.04) 100%);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.sc-services-read-more::after {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  margin-top: 0.06rem;
}

.sc-services-read-more:hover {
  background: var(--sc-teal);
  color: #fff;
  border-color: var(--sc-teal);
  box-shadow: 0 10px 26px rgba(15, 118, 110, 0.28);
}

.sc-services-read-more:focus-visible {
  outline: 2px solid var(--sc-teal-light);
  outline-offset: 2px;
}

.sc-services-card-title {
  font-size: clamp(1.2rem, 2.1vw, 1.45rem);
  font-weight: 600;
  color: var(--sc-navy);
  margin: 0 0 0.6rem;
  letter-spacing: -0.03em;
  line-height: 1.18;
}

.sc-services-card-text {
  color: #64748b;
  font-size: 0.9375rem;
  line-height: 1.62;
  margin: 0;
}

.sc-services-card-text strong {
  color: var(--sc-navy);
  font-weight: 700;
}

.sc-services-list {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #64748b;
}

.sc-services-list--fade {
  position: relative;
  max-height: 7.25rem;
  overflow: hidden;
  margin-top: 0.5rem;
}

.sc-services-list--fade::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2.75rem;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 92%);
  pointer-events: none;
}

.sc-services-list li {
  position: relative;
  padding-left: 1.05rem;
  margin-bottom: 0.4rem;
  line-height: 1.48;
  font-size: 0.875rem;
}

.sc-services-list li:last-child {
  margin-bottom: 0;
}

.sc-services-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--sc-teal-light) 0%, var(--sc-teal) 100%);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.18);
}

@media (prefers-reduced-motion: reduce) {
  .sc-services-card {
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
  }

  .sc-services-card:hover {
    transform: none;
  }

  .sc-services-card::before {
    opacity: 1;
  }

  .sc-services-card-img {
    transition: none;
  }

  .sc-services-card:hover .sc-services-card-img {
    transform: none;
  }

  .sc-services-read-more {
    transition: none;
  }

  .sc-services-card-step {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

.sc-section-title {
  font-size: clamp(1.75rem, 2.6vw, 2.35rem);
  color: var(--sc-navy);
  margin-bottom: 0.75rem;
}

.sc-section-sub {
  color: var(--sc-muted);
  max-width: 42rem;
  font-size: 1.05rem;
}

.sc-card {
  border: 1px solid var(--sc-border);
  border-radius: var(--sc-radius-lg);
  box-shadow: var(--sc-shadow);
  background: #fff;
  height: 100%;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.sc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 60px rgba(11, 18, 32, 0.14);
}

.sc-card .card-body {
  padding: 1.5rem 1.5rem 1.35rem;
}

.sc-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 118, 110, 0.1);
  color: var(--sc-teal);
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.sc-card h3 {
  font-size: 1.15rem;
  color: var(--sc-navy);
  margin-bottom: 0.5rem;
}

.sc-card p {
  color: #475569;
  font-size: 0.95rem;
  margin-bottom: 0;
}

.sc-img-tile {
  border-radius: var(--sc-radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--sc-shadow);
}

.sc-img-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
}

.sc-img-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(11, 18, 32, 0.65));
  pointer-events: none;
}

@media (min-width: 992px) {
  .sc-care-pathways-sticky {
    position: sticky;
    top: 5.75rem;
    z-index: 2;
  }

  .sc-care-pathways-sticky .sc-img-tile img {
    max-height: calc(100vh - 7rem);
    object-fit: cover;
  }
}

.sc-step-num {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--sc-teal);
  color: #fff;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

/* Sleep medicine tests */
.sc-section.sc-tests {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 28%, #f8fafc 100%);
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

@media (min-width: 992px) {
  .sc-section.sc-tests {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

.sc-tests-head {
  margin-bottom: 2.75rem;
}

.sc-section-head-action {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

@media (max-width: 991.98px) {
  .sc-section-head-action {
    justify-content: stretch;
  }
}

.sc-tests-eyebrow {
  margin: 0 0 0.45rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sc-teal);
}

.sc-tests-title {
  font-size: clamp(1.85rem, 3vw, 2.4rem);
  color: var(--sc-navy);
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
  line-height: 1.12;
}

.sc-tests-lead {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--sc-muted);
  max-width: 42rem;
}

.sc-tests-grid {
  --bs-gutter-y: 1.25rem;
}

.sc-tests-grid > [class*="col"] {
  display: flex;
}

@media (min-width: 992px) {
  .sc-tests-grid {
    --bs-gutter-y: 1.5rem;
  }
}

.sc-test-card {
  border-radius: var(--sc-radius-lg);
  border: 1px solid rgba(15, 23, 42, 0.07);
  background: #fff;
  overflow: hidden;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 36px rgba(11, 18, 32, 0.06);
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.sc-test-card .card-body,
.sc-test-card .sc-test-card-body {
  padding: 1.4rem 1.35rem 1.45rem;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.sc-test-card:hover {
  border-color: rgba(15, 118, 110, 0.22);
  box-shadow: 0 18px 48px rgba(11, 18, 32, 0.1);
}

.sc-test-card-media {
  position: relative;
  overflow: hidden;
}

.sc-test-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 55%, rgba(11, 18, 32, 0.14) 100%);
  pointer-events: none;
}

.sc-test-card .ratio > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.sc-test-card:hover .sc-test-card-media .ratio img {
  transform: scale(1.03);
}

.sc-test-card-excerpt[data-test-excerpt],
.sc-test-card-body > p:not(.sc-test-card-text) {
  flex: 1 1 auto;
  min-height: 0;
}

.sc-test-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--sc-navy);
  margin: 0 0 0.65rem;
  letter-spacing: -0.02em;
  line-height: 1.28;
}

.sc-test-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.sc-test-card-title a:hover {
  color: var(--sc-teal);
}

.sc-test-card p,
.sc-test-card-text {
  color: #475569;
  font-size: 0.9375rem;
  margin: 0;
  line-height: 1.65;
}

.sc-test-card-excerpt p + p {
  margin-top: 0.75rem;
}

.sc-test-card-excerpt > p:last-child {
  margin-bottom: 0;
}

.sc-test-card-excerpt.sc-test-card-excerpt--clamp:not(.is-expanded) {
  max-height: calc(0.9375rem * 1.65 * 3);
  overflow: hidden;
  position: relative;
}

.sc-test-card-excerpt.sc-test-card-excerpt--clamp:not(.is-expanded)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2.25rem;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff);
  pointer-events: none;
}

.sc-test-card-excerpt.is-expanded {
  max-height: none;
  overflow: visible;
}

.sc-test-card-excerpt.is-expanded::after {
  display: none;
}

.sc-test-read-wrap {
  margin-top: 0.4rem;
}

.sc-test-read-more-btn {
  font-weight: 600;
  padding: 0.28rem 0.75rem;
  color: var(--sc-teal);
  border: 1px solid rgba(15, 118, 110, 0.45);
  background: transparent;
  border-radius: 999px;
}

.sc-test-read-more-btn:hover {
  color: #fff;
  background: var(--sc-teal);
  border-color: var(--sc-teal);
}

.sc-test-read-more-btn:focus-visible {
  outline: 2px solid var(--sc-teal-light);
  outline-offset: 2px;
}

.sc-test-card-footer {
  padding-top: 0.75rem;
  margin-top: auto;
  flex-shrink: 0;
}

.sc-test-read-more-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--sc-teal);
  text-decoration: none;
}

.sc-test-read-more-link:hover {
  color: #0e7490;
}

.sc-test-read-more-link::after {
  content: "→";
  transition: transform 0.2s ease;
}

.sc-test-read-more-link:hover::after {
  transform: translateX(3px);
}

.sc-test-card--featured {
  display: block;
  height: auto !important;
  box-shadow: 0 14px 44px rgba(11, 18, 32, 0.08);
  border-left: 4px solid var(--sc-teal-light);
}

.sc-test-card--featured.h-100 {
  height: auto !important;
}

.sc-test-card--featured > .row {
  min-height: 100%;
}

.sc-test-card--featured .sc-test-card-body--featured {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.sc-test-card--featured .sc-test-card-excerpt,
.sc-test-card--featured .sc-test-card-body > p {
  flex: 1 1 auto;
}

.sc-page-hero + .sc-section.sc-tests {
  padding-top: 2.75rem;
}

.sc-page-hero + .sc-section.sc-team {
  padding-top: 2.75rem;
}

.sc-page-hero + .sc-section.sc-team .sc-team-head {
  margin-bottom: 2rem;
}

.sc-page-hero + .sc-section.sc-mission {
  padding-top: 2.75rem;
}

.sc-page-hero + .sc-section.sc-consultation {
  padding-top: 2.75rem;
}

.sc-consultation-intro-title {
  font-size: 1.35rem;
  color: var(--sc-navy);
  margin: 0 0 0.75rem;
}

.sc-consultation-steps {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.sc-consultation-steps li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.85rem;
  color: var(--sc-muted);
  line-height: 1.6;
}

.sc-consultation-steps li::before {
  content: attr(data-step);
  position: absolute;
  left: 0;
  top: 0.05rem;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: rgba(20, 184, 166, 0.12);
  color: var(--sc-teal);
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sc-consultation-contact {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.sc-consultation-contact-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: var(--sc-navy);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sc-consultation-contact-item:hover {
  border-color: rgba(15, 118, 110, 0.28);
  box-shadow: 0 8px 24px rgba(11, 18, 32, 0.08);
  color: var(--sc-teal);
}

.sc-consultation-card {
  background: #fff;
  border-radius: var(--sc-radius-lg);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 20px 48px rgba(11, 18, 32, 0.08);
  padding: clamp(1.35rem, 3vw, 2rem);
}

.sc-consultation-card h2 {
  font-size: 1.35rem;
  color: var(--sc-navy);
  margin: 0 0 0.5rem;
}

.sc-consultation-card-lead {
  color: var(--sc-muted);
  font-size: 0.9375rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.sc-consultation-form .sc-hero-form-label {
  color: var(--sc-navy);
}

.sc-consultation-form .sc-hero-form-check-label {
  color: var(--sc-muted);
}

.sc-consultation-form .invalid-feedback {
  color: #dc3545;
}

.sc-consultation-form .alert-success {
  border: 0;
  background: #d1fae5;
  color: #065f46;
}

.sc-navbar .btn.sc-btn-primary.is-active {
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.35);
}

.sc-test-card-media--tall {
  position: relative;
  overflow: hidden;
  min-height: 220px;
}

.sc-test-card-media--tall::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(105deg, rgba(11, 18, 32, 0.15) 0%, transparent 55%);
  pointer-events: none;
}

.sc-test-featured-img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  display: block;
}

@media (min-width: 992px) {
  .sc-test-card-media--tall {
    min-height: 100%;
  }

  .sc-test-featured-img {
    min-height: 320px;
  }

  .sc-test-card-body--featured {
    padding: 2rem 2.25rem 2rem 2.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sc-test-card .ratio img,
  .sc-test-card:hover .sc-test-card-media .ratio img {
    transition: none;
    transform: none;
  }
}

.sc-team {
  background: linear-gradient(165deg, #eef2f7 0%, #f8fafc 45%, #e8eef5 100%);
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.sc-team-head {
  max-width: 44rem;
  margin-bottom: 2.25rem;
}

.sc-team-eyebrow {
  margin: 0 0 0.45rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sc-teal);
}

.sc-team-title {
  font-size: clamp(1.85rem, 3vw, 2.4rem);
  color: var(--sc-navy);
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
  line-height: 1.12;
}

.sc-team-lead {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--sc-muted);
}

.sc-team-grid {
  --bs-gutter-y: 1.25rem;
}

.sc-team-card {
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow: 0 14px 42px rgba(11, 18, 32, 0.08);
  display: flex;
  flex-direction: column;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.sc-team-card:hover {
  border-color: rgba(15, 118, 110, 0.22);
  box-shadow: 0 22px 56px rgba(11, 18, 32, 0.12);
  transform: translateY(-3px);
}

.sc-team-card-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: linear-gradient(145deg, #e2e8f0, #cbd5e1);
}

.sc-team-card-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(11, 18, 32, 0.35) 100%);
  pointer-events: none;
  z-index: 1;
}

.sc-team-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.sc-team-card:hover .sc-team-photo-img {
  transform: scale(1.04);
}

.sc-team-card-body {
  padding: 1.2rem 1.35rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}

.sc-team-role-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sc-teal);
  background: rgba(15, 118, 110, 0.1);
  border: 1px solid rgba(15, 118, 110, 0.2);
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
}

.sc-team-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--sc-navy);
  margin: 0;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.sc-team-bio {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #64748b;
}

@media (prefers-reduced-motion: reduce) {
  .sc-team-card {
    transition: none;
  }

  .sc-team-card:hover {
    transform: none;
  }

  .sc-team-photo-img {
    transition: none;
  }

  .sc-team-card:hover .sc-team-photo-img {
    transform: none;
  }
}

/* Our mission */
.sc-mission {
  background: linear-gradient(165deg, #f8fafc 0%, #f1f5f9 38%, #ffffff 100%);
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.sc-mission-head {
  max-width: 26rem;
}

.sc-mission-eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sc-teal);
}

.sc-mission-title {
  font-size: clamp(1.85rem, 3vw, 2.35rem);
  color: var(--sc-navy);
  letter-spacing: -0.03em;
  margin: 0 0 0.85rem;
  line-height: 1.12;
}

.sc-mission-intro {
  color: var(--sc-muted);
  font-size: 1.0625rem;
  line-height: 1.65;
}

.sc-mission-pillars-label {
  margin: 0 0 0.85rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sc-muted);
}

.sc-mission-pillar {
  position: relative;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.07);
  padding: 1rem 1.1rem 1.15rem;
  box-shadow: 0 10px 32px rgba(11, 18, 32, 0.06);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.sc-mission-pillar::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  border-radius: 3px 0 0 3px;
  background: linear-gradient(180deg, var(--sc-teal-light) 0%, var(--sc-teal) 100%);
  opacity: 0.85;
}

.sc-mission-pillar:hover {
  border-color: rgba(15, 118, 110, 0.22);
  box-shadow: 0 16px 44px rgba(11, 18, 32, 0.1);
  transform: translateY(-2px);
}

.sc-mission-pillar-num {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--sc-teal);
  margin-bottom: 0.35rem;
  padding-left: 0.5rem;
}

.sc-mission-pillar-title {
  font-family: var(--sc-font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--sc-navy);
  margin: 0;
  line-height: 1.3;
  padding-left: 0.5rem;
}

@media (min-width: 768px) {
  .sc-mission-pillar-title {
    font-size: 1rem;
  }
}

.sc-mission-callout {
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.06) 0%, rgba(11, 18, 32, 0.04) 100%);
  border: 1px solid rgba(15, 118, 110, 0.14);
  border-radius: var(--sc-radius-lg);
  padding: 1.35rem 1.5rem 1.45rem;
  box-shadow: 0 12px 40px rgba(11, 18, 32, 0.06);
}

.sc-mission-callout-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--sc-navy);
  margin: 0 0 0.65rem;
  letter-spacing: -0.02em;
}

.sc-mission-callout-text {
  color: var(--sc-muted);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 48rem;
}

@media (prefers-reduced-motion: reduce) {
  .sc-mission-pillar {
    transition: none;
  }

  .sc-mission-pillar:hover {
    transform: none;
  }
}

/* Call to action — full-section photo + glass panel */
.sc-cta {
  position: relative;
  isolation: isolate;
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
  color: #e2e8f0;
  background-color: #0b1220;
  background-image: linear-gradient(
      115deg,
      rgba(11, 18, 32, 0.94) 0%,
      rgba(11, 18, 32, 0.82) 38%,
      rgba(15, 118, 110, 0.78) 72%,
      rgba(11, 18, 32, 0.92) 100%
    ),
    radial-gradient(ellipse 120% 90% at 50% 100%, rgba(11, 18, 32, 0.55) 0%, transparent 52%),
    url("../img/supports.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.sc-cta .container {
  position: relative;
  z-index: 1;
}

.sc-cta-shell {
  border-radius: var(--sc-radius-lg);
  padding: 2rem 1.5rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

@media (min-width: 768px) {
  .sc-cta-shell {
    padding: 2.5rem 2.25rem;
  }
}

.sc-cta-eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(153, 246, 228, 0.95);
}

.sc-cta-title {
  color: #fff;
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 1rem;
}

.sc-cta-lead {
  color: rgba(226, 232, 240, 0.92);
  font-size: 1.0625rem;
  line-height: 1.65;
  max-width: 38rem;
}

.sc-cta-emphasis {
  color: #fff;
  font-weight: 700;
}

.sc-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

@media (min-width: 576px) {
  .sc-cta-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (min-width: 992px) {
  .sc-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (min-width: 1200px) {
  .sc-cta-actions {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-end;
  }
}

.sc-cta-btn {
  border-radius: 999px;
  padding-inline: 1.35rem;
  min-height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 576px) {
  .sc-cta-btn {
    flex: 1 1 auto;
  }
}

@media (min-width: 992px) {
  .sc-cta-btn {
    flex: 1 1 auto;
  }
}

@media (min-width: 1200px) {
  .sc-cta-btn {
    flex: 0 1 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sc-cta-shell {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(11, 18, 32, 0.72);
  }
}

.sc-footer {
  position: relative;
  margin-top: 0;
  padding: 0;
  color: rgba(226, 232, 240, 0.92);
  background-color: #050a14;
  background-image: radial-gradient(ellipse 90% 55% at 100% 0%, rgba(45, 212, 191, 0.1) 0%, transparent 55%),
    radial-gradient(ellipse 70% 45% at 0% 100%, rgba(14, 116, 144, 0.14) 0%, transparent 55%),
    linear-gradient(180deg, #0c1528 0%, var(--sc-navy) 32%, #060a12 100%);
  border-top: 1px solid rgba(20, 184, 166, 0.2);
  overflow: hidden;
}

.sc-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(201, 162, 39, 0.35) 45%, rgba(45, 212, 191, 0.45) 55%, transparent 100%);
  opacity: 0.9;
}

.sc-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(125deg, rgba(255, 255, 255, 0.03) 0%, transparent 42%, transparent 58%, rgba(255, 255, 255, 0.02) 100%);
  pointer-events: none;
}

.sc-footer-inner {
  position: relative;
  z-index: 1;
  padding: clamp(2.75rem, 5vw, 4.25rem) 0 clamp(2.25rem, 4vw, 3rem);
}

.sc-footer-main {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 992px) {
  .sc-footer-main {
    grid-template-columns: minmax(0, 1.2fr) minmax(11rem, auto) minmax(0, 1fr);
    gap: 0;
    align-items: start;
  }

  .sc-footer-col {
    padding-left: clamp(1.5rem, 3vw, 2.75rem);
    padding-right: clamp(1.5rem, 3vw, 2.75rem);
  }

  .sc-footer-col-brand {
    padding-left: 0;
  }

  .sc-footer-col-contact {
    padding-right: 0;
  }

  .sc-footer-col + .sc-footer-col {
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    border-top: none;
    padding-top: 0;
  }
}

@media (max-width: 991.98px) {
  .sc-footer-col + .sc-footer-col {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
}

.sc-footer-brand-row {
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
  margin-bottom: 1.35rem;
}

.sc-footer-brand-logo {
  height: 3.25rem;
  width: auto;
  max-width: 12rem;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.35));
}

.sc-footer-brand-text {
  min-width: 0;
  padding-top: 0.2rem;
}

.sc-footer-name {
  display: block;
  color: #fff;
  font-weight: 600;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.sc-footer-desc {
  max-width: 36rem;
  font-size: 0.96875rem;
  line-height: 1.7;
  color: rgba(148, 163, 184, 0.96);
}

.sc-footer-heading {
  font-family: var(--sc-font-body);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(201, 162, 39, 0.85);
  margin: 0 0 1.35rem;
  line-height: 1.3;
}

.sc-footer-nav li + li {
  margin-top: 0.15rem;
}

.sc-footer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  max-width: 16rem;
  padding: 0.55rem 0;
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(241, 245, 249, 0.92);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.sc-footer-link:hover {
  color: #fff;
  border-bottom-color: rgba(45, 212, 191, 0.35);
}

.sc-footer-link-arrow {
  flex-shrink: 0;
  opacity: 0.35;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.sc-footer-link:hover .sc-footer-link-arrow {
  opacity: 1;
  transform: translate(2px, -2px);
}

.sc-footer-contact-cards {
  display: grid;
  gap: 0.75rem;
}

.sc-footer-touch {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.1rem;
  text-decoration: none;
  color: inherit;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--sc-radius-lg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.sc-footer-touch:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(45, 212, 191, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 14px 36px rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
}

.sc-footer-touch-badge {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(45, 212, 191, 0.2) 0%, rgba(15, 118, 110, 0.35) 100%);
  color: #5eead4;
  border: 1px solid rgba(45, 212, 191, 0.25);
}

.sc-footer-touch-body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.sc-footer-touch-label {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.85);
}

.sc-footer-touch-value {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #f8fafc;
  letter-spacing: 0.01em;
  word-break: break-word;
}

.sc-footer-sole {
  position: relative;
  z-index: 1;
  background: rgba(2, 6, 23, 0.85);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.sc-footer-sole-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.15rem 0 1.35rem;
  text-align: center;
}

@media (min-width: 576px) {
  .sc-footer-sole-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    padding: 1.1rem 0 1.25rem;
  }
}

.sc-footer-copy {
  font-size: 0.8125rem;
  color: rgba(148, 163, 184, 0.88);
  letter-spacing: 0.02em;
}

.sc-footer-to-top {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(153, 246, 228, 0.9);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.sc-footer-to-top:hover {
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .sc-footer-link:hover .sc-footer-link-arrow {
    transform: none;
  }

  .sc-footer-touch {
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  }

  .sc-footer-touch:hover {
    transform: none;
  }

  .sc-footer-sole {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

.sc-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.sc-reveal.sc-reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .sc-card:hover {
    transform: none;
  }

  .sc-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Inner pages */
.sc-nav-link.is-active {
  color: var(--sc-teal) !important;
  font-weight: 700;
}

.sc-page-hero {
  position: relative;
  padding: clamp(2.75rem, 6vw, 4.5rem) 0 clamp(2.25rem, 4vw, 3.25rem);
  background: linear-gradient(135deg, var(--sc-navy) 0%, #0f2744 55%, #134e4a 100%);
  color: #fff;
  overflow: hidden;
}

.sc-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(720px 380px at 12% 30%, rgba(20, 184, 166, 0.18), transparent 55%),
    radial-gradient(520px 300px at 88% 20%, rgba(201, 162, 39, 0.08), transparent 50%);
  pointer-events: none;
}

.sc-page-hero .container {
  position: relative;
  z-index: 1;
}

.sc-breadcrumb {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  font-size: 0.8125rem;
  color: rgba(226, 232, 240, 0.75);
}

.sc-breadcrumb a {
  color: rgba(153, 246, 228, 0.95);
  text-decoration: none;
}

.sc-breadcrumb a:hover {
  color: #fff;
}

.sc-breadcrumb li + li::before {
  content: "/";
  margin-right: 0.5rem;
  color: rgba(148, 163, 184, 0.55);
}

.sc-page-hero-title {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0 0 0.75rem;
  color: #fff;
}

.sc-page-hero-lead {
  margin: 0;
  max-width: 40rem;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: rgba(226, 232, 240, 0.9);
}

.sc-service-detail-hero-img {
  border-radius: var(--sc-radius-lg);
  box-shadow: 0 24px 56px rgba(11, 18, 32, 0.18);
}

.sc-service-detail-content h2 {
  font-size: 1.35rem;
  color: var(--sc-navy);
  margin: 2rem 0 0.75rem;
}

.sc-service-detail-content h2:first-child {
  margin-top: 0;
}

.sc-service-detail-content p,
.sc-service-detail-content li {
  color: var(--sc-muted);
  line-height: 1.7;
}

.sc-service-detail-sidebar {
  position: sticky;
  top: 6.5rem;
}

.sc-service-detail-card {
  padding: 1.35rem;
  border-radius: var(--sc-radius-lg);
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 16px 40px -12px rgba(11, 18, 32, 0.1);
}

.sc-service-detail-card h3 {
  font-size: 1.05rem;
  margin: 0 0 0.85rem;
  color: var(--sc-navy);
}

.sc-related-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  color: var(--sc-navy);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
}

.sc-related-link:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.sc-related-link:hover {
  color: var(--sc-teal);
}

.sc-related-link span:last-child {
  color: var(--sc-teal);
  font-size: 1.1rem;
}
