/**
 * @file
 * Homepage layout.
 *
 * Structure only — the repeated pieces are single-directory components; this
 * file holds the one-off scaffolding those components sit in.
 */

/* ---------- Hero ---------- */

.dsq-hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: var(--dsq-gutter);
  align-items: center;
  max-width: var(--dsq-container);
  margin-inline: auto;
  padding: var(--dsq-gutter);
  background:
    radial-gradient(ellipse at 85% 20%, rgba(255, 184, 0, 0.06), transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(0, 96, 171, 0.05), transparent 50%);
}

.dsq-hero__badge {
  display: inline-block;
  margin-bottom: var(--dsq-sp-16);
  padding: var(--dsq-sp-8) var(--dsq-sp-14);
  border: 1px solid var(--dsq-gold-500);
  border-radius: 999px;
  background: rgba(255, 184, 0, 0.1);
  color: var(--dsq-navy-900);
  font-size: var(--dsq-fs-11);
  font-weight: var(--dsq-fw-800);
  letter-spacing: var(--dsq-ls-08);
  text-transform: uppercase;
}

.dsq-hero__title {
  margin: 0 0 var(--dsq-sp-20);
  color: var(--dsq-navy-900);
  font-size: 50px;
  font-weight: var(--dsq-fw-800);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.dsq-hero__title-lead {
  font-size: 60px;
  /* Deliberately overflows its grid column on desktop, as authored. */
  white-space: nowrap;
}

.dsq-hero__title-accent {
  color: var(--dsq-gold-500);
}

.dsq-hero__copy {
  margin: 0 0 var(--dsq-sp-28);
}

.dsq-hero__lede {
  display: block;
  max-width: 550px;
  color: var(--dsq-navy-900);
  font-size: var(--dsq-fs-18);
  font-weight: var(--dsq-fw-700);
  line-height: var(--dsq-lh-snug);
}

.dsq-hero__sub {
  display: block;
  max-width: 500px;
  margin-top: var(--dsq-sp-8);
  color: var(--dsq-ink-600);
  font-size: var(--dsq-fs-14);
  font-weight: var(--dsq-fw-600);
  line-height: var(--dsq-lh-note);
}

.dsq-hero__ctas {
  display: flex;
  align-items: center;
  gap: var(--dsq-sp-20);
  flex-wrap: wrap;
  margin-bottom: var(--dsq-sp-32);
}

.dsq-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--dsq-sp-16);
  padding-top: var(--dsq-sp-24);
  border-top: 1px solid var(--dsq-blue-100);
}

/* The export offsets the hero image by -30px/+100px with a fixed 450x300 box.
   Kept as a transform so it cannot force a horizontal scrollbar. */
.dsq-hero__media {
  width: 100%;
  max-width: 450px;
  height: 300px;
  transform: translate(100px, -30px);
}

.dsq-hero__media .dsq-image-slot {
  height: 100% !important;
  max-height: none !important;
  border-radius: 32px;
  box-shadow: 0 24px 50px rgba(0, 21, 52, 0.25);
}

/* ---------- Section scaffolding ---------- */

.dsq-home-section {
  max-width: var(--dsq-container);
  margin-inline: auto;
  padding: var(--dsq-gutter);
}

.dsq-home-section--flush-bottom {
  padding-bottom: 0;
}

.dsq-home-section--full {
  width: 100%;
  max-width: none;
  margin: var(--dsq-sp-32) 0 0;
  padding: 0;
}

.dsq-home-section--tinted {
  padding: var(--dsq-gutter);
  background: linear-gradient(180deg, var(--dsq-surface-50) 0%, var(--dsq-white) 320px);
}

.dsq-home-section--surface {
  max-width: none;
  padding: var(--dsq-gutter);
  background: var(--dsq-surface-50);
}

.dsq-home-section__inner {
  max-width: var(--dsq-container);
  margin-inline: auto;
}

.dsq-home-section__inner--narrow {
  max-width: 780px;
}

/* ---------- Centred section heading ---------- */

.dsq-home-heading {
  margin-bottom: var(--dsq-sp-32);
  text-align: center;
}

.dsq-home-heading__title {
  margin: 0 0 var(--dsq-sp-8);
  color: var(--dsq-navy-900);
  font-size: var(--dsq-fs-26);
  font-weight: var(--dsq-fw-800);
}

.dsq-home-heading__title--lg {
  margin-bottom: var(--dsq-sp-10);
  font-size: var(--dsq-fs-28);
}

.dsq-home-heading__lead {
  max-width: 500px;
  margin: 0 auto;
  color: var(--dsq-ink-600);
  font-size: var(--dsq-fs-14);
  line-height: var(--dsq-lh-note);
}

.dsq-home-heading__rule {
  width: 56px;
  height: 4px;
  margin: 0 auto var(--dsq-sp-12);
  border-radius: 999px;
  background: linear-gradient(90deg, var(--dsq-gold-500), var(--dsq-gold-700));
}

/* The four centred headings on this page are not interchangeable: they differ
   in trailing space, title weight and how wide the lead is allowed to run. */

.dsq-home-heading--journey {
  margin-bottom: var(--dsq-gutter);
}

.dsq-home-heading--journey .dsq-home-heading__title {
  margin-bottom: var(--dsq-sp-12);
  font-weight: var(--dsq-fw-700);
}

.dsq-home-heading--store {
  margin-bottom: var(--dsq-sp-36);
}

.dsq-home-heading--store .dsq-home-heading__lead {
  font-weight: var(--dsq-fw-600);
}

.dsq-home-heading--faq .dsq-home-heading__title {
  font-weight: var(--dsq-fw-700);
}

/* Only the "One Platform" lead is held to a 500px measure; the rest run the
   full width of their container. */
.dsq-home-heading--journey .dsq-home-heading__lead,
.dsq-home-heading--store .dsq-home-heading__lead,
.dsq-home-heading--faq .dsq-home-heading__lead {
  max-width: none;
  line-height: normal;
}

.dsq-home-heading--start {
  text-align: left;
}

.dsq-home-heading--start .dsq-home-heading__rule,
.dsq-home-heading--start .dsq-home-heading__lead {
  margin-inline: 0;
}

.dsq-carousel-label {
  padding: 0 var(--dsq-gutter);
  text-align: center;
}

/* ---------- Grids ---------- */

.dsq-journey-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--dsq-sp-20);
  align-items: start;
}

.dsq-step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--dsq-sp-24);
}

.dsq-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--dsq-sp-16);
}

.dsq-tool-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--dsq-sp-12);
}

/* ---------- Impact strip ---------- */

.dsq-impact {
  max-width: var(--dsq-container);
  margin-inline: auto;
  padding: var(--dsq-sp-28) var(--dsq-gutter);
  border-top: 1px solid var(--dsq-line-200);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(228, 176, 56, 0.14) 0%, rgba(228, 176, 56, 0.04) 60%, rgba(255, 255, 255, 0) 100%);
}

.dsq-impact__head {
  display: flex;
  align-items: center;
  gap: var(--dsq-sp-12);
  margin-bottom: var(--dsq-sp-20);
}

.dsq-impact__head .dsq-section-label {
  margin-bottom: 0;
}

.dsq-impact__line {
  flex: 1;
  height: 1px;
  background: var(--dsq-line-200);
}

.dsq-impact__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

/* ---------- Tool tile ---------- */

.dsq-tool {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--dsq-sp-8);
  padding: var(--dsq-sp-12) var(--dsq-sp-14);
  background: var(--dsq-white);
  border: 1px solid var(--dsq-surface-50);
  border-radius: var(--dsq-r-12);
  box-shadow: 0 4px 12px rgba(0, 21, 52, 0.05);
  transition: transform 0.15s ease;
}

@media (hover: hover) {
  .dsq-tool:hover {
    transform: translateY(-2px);
    color: var(--dsq-navy-900);
  }
}

.dsq-tool__label {
  display: flex;
  align-items: center;
  gap: var(--dsq-sp-8);
  color: var(--dsq-navy-900);
  font-size: var(--dsq-fs-12);
  font-weight: var(--dsq-fw-700);
}

.dsq-tool__chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: var(--dsq-r-full);
  background: rgba(0, 79, 171, 0.08);
  color: var(--dsq-blue-600);
}

.dsq-tool__chip .msi {
  font-size: var(--dsq-fs-16);
}

.dsq-tool__action {
  color: var(--dsq-blue-600);
  font-size: var(--dsq-fs-11);
  font-weight: var(--dsq-fw-800);
  white-space: nowrap;
}

/* ---------- Store / FAQ blocks ---------- */

.dsq-store__group {
  margin-bottom: var(--dsq-sp-28);
}

.dsq-store__group-title {
  margin: 0 0 var(--dsq-sp-14);
  color: var(--dsq-navy-900);
  font-size: var(--dsq-fs-20);
  font-weight: var(--dsq-fw-700);
}

.dsq-store__group-title--center {
  font-size: var(--dsq-fs-16);
  margin-bottom: var(--dsq-sp-12);
  text-align: center;
}

#faqs .dsq-faq {
  margin-bottom: var(--dsq-sp-36);
}

.dsq-faq-intro {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--dsq-sp-24);
  align-items: center;
  margin-bottom: var(--dsq-gutter);
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .dsq-hero {
    grid-template-columns: 1fr;
  }

  /* The offset only works when the image has a column to bleed into. */
  .dsq-hero__media {
    max-width: 100%;
    transform: none;
  }

  .dsq-hero__title {
    font-size: 40px;
  }

  .dsq-hero__title-lead {
    font-size: 46px;
  }

  .dsq-journey-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }
}

@media (max-width: 900px) {
  .dsq-hero {
    padding-block: var(--dsq-sp-28);
  }

  .dsq-hero__title {
    font-size: 34px;
  }

  .dsq-hero__title-lead {
    font-size: 38px;
  }

  /* The export forces this line nowrap, which overflows a phone. */
  .dsq-hero__title-lead {
    white-space: normal;
  }

  .dsq-hero__media {
    height: 240px;
  }

  .dsq-impact__grid {
    grid-template-columns: 1fr;
  }

  #faqs .dsq-faq {
  margin-bottom: var(--dsq-sp-36);
}

.dsq-faq-intro {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .dsq-hero__title {
    font-size: 28px;
  }

  .dsq-hero__title-lead {
    font-size: 30px;
  }

  .dsq-hero__lede {
    font-size: var(--dsq-fs-16);
  }

  .dsq-hero__ctas {
    gap: var(--dsq-sp-12);
  }

  /* Side-by-side CTAs become full-width rows so the tap targets stay large. */
  .dsq-hero__ctas .dsq-btn--lg {
    flex: 1 1 100%;
    justify-content: center;
  }

  .dsq-hero__stats {
    gap: var(--dsq-sp-8);
  }

  .dsq-hero__media {
    height: 200px;
  }

  .dsq-journey-grid,
  .dsq-step-grid,
  .dsq-product-grid,
  .dsq-tool-grid {
    grid-template-columns: 1fr;
  }

  .dsq-home-heading__title,
  .dsq-home-heading__title--lg {
    font-size: var(--dsq-fs-22);
  }
}

/**
 * Homepage API fallback notice.
 *
 * Rendered only for users who may administer the site, and only when the
 * website API could not be reached. Visitors never see it, so it sits outside
 * the approved design and deliberately reads as instrumentation.
 */
.dsq-api-notice {
  display: flex;
  gap: var(--dsq-sp-10);
  align-items: flex-start;
  margin: var(--dsq-sp-12) var(--dsq-sp-16) 0;
  padding: var(--dsq-sp-12) var(--dsq-sp-16);
  border: 1px solid var(--dsq-gold-500);
  border-radius: var(--dsq-sp-8);
  background: var(--dsq-grad-callout);
  color: var(--dsq-navy-900);
  font-size: var(--dsq-fs-13);
  font-weight: var(--dsq-fw-500);
  line-height: 1.5;
}

.dsq-api-notice .msi {
  flex: none;
  font-size: var(--dsq-fs-18);
  color: var(--dsq-gold-700);
}

.dsq-api-notice code {
  /* The endpoint is long; it must wrap rather than widen the page. */
  overflow-wrap: anywhere;
  font-size: var(--dsq-fs-12);
}

/* ============================================================
 * home.css — new-section additions (current approved design, 2026-09-24).
 *
 * Appended after the existing home.css.  All existing classes
 * (.dsq-home-section, .dsq-home-section--surface,
 *  .dsq-home-section__inner, .dsq-home-heading, .dsq-api-notice,
 *  .dsq-hero, .dsq-hero__*, .dsq-btn, stat-block…) are kept in the
 * original file; only NEW classes live here.
 * ============================================================ */

/* ---------------------------------------------------------- Design tokens
 * Local fallbacks so the file compiles standalone if tokens.css is
 * somehow not loaded.  Values mirror tokens.css.
 * ---------------------------------------------------------- */
:root {
  --dsq-navy-900: #001334;
  --dsq-navy-800: #002060;
  --dsq-blue-600: #1558CC;
  --dsq-gold-400: #D4943F;
  --dsq-gold-500: #B07A2E;
  --dsq-green-500: #1A7A3C;
  --dsq-surface-muted: #F7F8FA;
  --dsq-surface-subtle: #F8F9FC;
  --dsq-text-primary: #0D1A2E;
  --dsq-text-secondary: #4A5568;
  --dsq-text-inverse: #FFFFFF;
  --dsq-border-default: #E2E8F0;
  --dsq-radius-md: 12px;
  --dsq-radius-lg: 20px;
  --dsq-shadow-card: 0 2px 12px rgba(0 0 0 / 0.08);
  --dsq-section-gap: 80px;
  --dsq-inner-max: 1240px;
  --dsq-inner-px: clamp(16px, 5vw, 80px);
}

/* ============================================================ Hero (new)
 * Overrides/extends the hero CSS in the base file.
 * ============================================================ */
.dsq-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: var(--dsq-inner-max);
  margin-inline: auto;
  padding: 64px var(--dsq-inner-px) 80px;
}

.dsq-hero__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--dsq-text-primary);
  margin: 0 0 20px;
}

.dsq-hero__copy {
  font-size: 1.125rem;
  color: var(--dsq-text-secondary);
  line-height: 1.6;
  margin: 0 0 24px;
  font-style: normal;
}

.dsq-hero__sub-lead {
  font-style: italic;
  font-weight: 600;
  color: var(--dsq-text-primary);
}

.dsq-hero__sub-body {
  display: block;
  margin-top: 4px;
}

.dsq-hero__features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.dsq-hero__feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--dsq-text-secondary);
}

.dsq-hero__feature-icon {
  font-size: 20px;
  color: var(--dsq-blue-600);
  flex-shrink: 0;
}

.dsq-hero__stats {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--dsq-border-default);
}

.dsq-hero__media {
  border-radius: var(--dsq-radius-lg);
  overflow: hidden;
}

/* Responsive hero */
@media (max-width: 768px) {
  .dsq-hero {
    grid-template-columns: 1fr;
    padding-top: 40px;
    padding-bottom: 48px;
  }
  .dsq-hero__media { order: -1; }
  .dsq-hero__stats { justify-content: space-between; }
}

/* ============================================================ Three Steps
 * ============================================================ */
.dsq-steps {
  background: var(--dsq-navy-900);
  padding: 72px var(--dsq-inner-px);
}

.dsq-steps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  max-width: var(--dsq-inner-max);
  margin-inline: auto;
  border-radius: var(--dsq-radius-lg);
  overflow: hidden;
}

.dsq-step {
  background: rgba(255 255 255 / 0.04);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dsq-step--gold { border-top: 3px solid var(--dsq-gold-400); }
.dsq-step--blue  { border-top: 3px solid #4A9EFF; }
.dsq-step--green { border-top: 3px solid #4EBE7A; }

.dsq-step__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dsq-step__num {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255 255 255 / 0.45);
}

.dsq-step__icon {
  font-size: 28px;
  color: rgba(255 255 255 / 0.6);
}

.dsq-step--gold  .dsq-step__icon { color: var(--dsq-gold-400); }
.dsq-step--blue  .dsq-step__icon { color: #4A9EFF; }
.dsq-step--green .dsq-step__icon { color: #4EBE7A; }

.dsq-step__title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--dsq-text-inverse);
  margin: 0;
  line-height: 1.2;
}

/* Symptom pills */
.dsq-step__pills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.dsq-step__pill {
  background: rgba(255 255 255 / 0.08);
  border: 1px solid rgba(255 255 255 / 0.15);
  border-radius: 100px;
  padding: 6px 12px;
  font-size: 0.8125rem;
  color: rgba(255 255 255 / 0.85);
  text-align: center;
}

/* Service links */
.dsq-step__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dsq-step__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255 255 255 / 0.08);
  color: rgba(255 255 255 / 0.80);
  font-size: 0.9375rem;
  text-decoration: none;
  transition: color 0.15s;
}

.dsq-step__link:hover {
  color: #fff;
}

.dsq-step__link-arrow {
  font-size: 18px;
  flex-shrink: 0;
  opacity: 0.5;
  transition: opacity 0.15s, transform 0.15s;
}

.dsq-step__link:hover .dsq-step__link-arrow {
  opacity: 1;
  transform: translateX(3px);
}

@media (max-width: 768px) {
  .dsq-steps__grid {
    grid-template-columns: 1fr;
    border-radius: 0;
  }
  .dsq-step__pills {
    grid-template-columns: 1fr;
  }
}

/* ============================================================ Home Sleep Testing Flow
 * ============================================================ */
.dsq-hst {
  padding: var(--dsq-section-gap) var(--dsq-inner-px);
}

.dsq-hst__inner {
  max-width: var(--dsq-inner-max);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.dsq-hst__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.dsq-hst__step {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dsq-hst__meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dsq-hst__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--dsq-navy-900);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
}

.dsq-hst__title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--dsq-text-primary);
  margin: 0;
}

.dsq-hst__body {
  font-size: 0.875rem;
  color: var(--dsq-text-secondary);
  line-height: 1.55;
  margin: 0;
}

.dsq-hst__cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--dsq-blue-600);
  text-decoration: none;
  margin-top: 4px;
  transition: gap 0.15s;
}

.dsq-hst__cta:hover { gap: 8px; }
.dsq-hst__cta .msi { font-size: 16px; }

.dsq-home-video {
  padding: 0 var(--dsq-inner-px) var(--dsq-section-gap);
}

.dsq-home-video__inner {
  max-width: var(--dsq-inner-max);
  margin-inline: auto;
}

.dsq-home-video__player {
  display: block;
  width: 100%;
  height: auto;
  max-height: 75vh;
  border-radius: 16px;
  background: var(--dsq-navy-900);
  box-shadow: var(--dsq-shadow-menu);
}

@media (max-width: 1024px) {
  .dsq-hst__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .dsq-hst__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 380px) {
  .dsq-hst__grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================ Wireless Spotlight
 * ============================================================ */
.dsq-wireless {
  background: var(--dsq-navy-800);
  padding: 80px var(--dsq-inner-px);
}

.dsq-wireless__inner {
  max-width: var(--dsq-inner-max);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.dsq-wireless__badge {
  display: inline-block;
  background: var(--dsq-gold-400);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 4px;
  margin-bottom: 20px;
}

.dsq-wireless__title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--dsq-text-inverse);
  margin: 0 0 16px;
  line-height: 1.2;
}

.dsq-wireless__body {
  font-size: 1rem;
  color: rgba(255 255 255 / 0.75);
  line-height: 1.65;
  margin: 0 0 32px;
}

.dsq-wireless__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.dsq-wireless__feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.dsq-wireless__feature-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255 255 255 / 0.12);
  flex-shrink: 0;
  color: var(--dsq-text-inverse);
}

.dsq-wireless__feature-chip .msi { font-size: 22px; }

.dsq-wireless__feature-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--dsq-text-inverse);
  margin-bottom: 4px;
}

.dsq-wireless__feature-body {
  font-size: 0.875rem;
  color: rgba(255 255 255 / 0.65);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .dsq-wireless__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .dsq-wireless__features {
    grid-template-columns: 1fr;
  }
}

/* ============================================================ Testimonials
 * ============================================================ */
.dsq-testimonials {
  background: var(--dsq-surface-muted);
  padding: var(--dsq-section-gap) var(--dsq-inner-px);
}

.dsq-testimonials__inner {
  max-width: var(--dsq-inner-max);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.dsq-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.dsq-testimonial {
  background: #fff;
  border: 1px solid var(--dsq-border-default);
  border-radius: var(--dsq-radius-md);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--dsq-shadow-card);
}

.dsq-testimonial__stars {
  color: var(--dsq-gold-400);
  font-size: 1.125rem;
  letter-spacing: 2px;
}

.dsq-testimonial__quote {
  font-size: 0.9375rem;
  color: var(--dsq-text-secondary);
  line-height: 1.65;
  margin: 0;
  flex: 1;
}

.dsq-testimonial__byline {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--dsq-border-default);
}

.dsq-testimonial__name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--dsq-text-primary);
}

.dsq-testimonial__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.dsq-testimonial__tag {
  background: rgba(21 88 204 / 0.08);
  color: var(--dsq-blue-600);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
  border: 1px solid rgba(21 88 204 / 0.15);
}

.dsq-testimonials__cta {
  display: flex;
  justify-content: center;
}

@media (max-width: 900px) {
  .dsq-testimonials__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .dsq-testimonials__grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================ Meet Our Team
 * ============================================================ */
.dsq-team {
  padding: var(--dsq-section-gap) var(--dsq-inner-px);
}

.dsq-team__inner {
  max-width: var(--dsq-inner-max);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.dsq-team__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.dsq-team__card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.dsq-team__name {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--dsq-text-primary);
}

.dsq-team__role {
  font-size: 0.875rem;
  color: var(--dsq-text-secondary);
  line-height: 1.4;
}

.dsq-team__cta {
  display: flex;
  justify-content: center;
}

@media (max-width: 768px) {
  .dsq-team__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .dsq-team__grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================ YouTube
 * ============================================================ */
.dsq-youtube {
  padding: var(--dsq-section-gap) var(--dsq-inner-px);
  background: #fff;
}

.dsq-youtube__inner {
  max-width: var(--dsq-inner-max);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.dsq-youtube__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.dsq-yt-card {
  display: block;
  border-radius: var(--dsq-radius-md);
  overflow: hidden;
  text-decoration: none;
  box-shadow: var(--dsq-shadow-card);
  transition: box-shadow 0.2s, transform 0.2s;
}

.dsq-yt-card:hover {
  box-shadow: 0 8px 28px rgba(0 0 0 / 0.16);
  transform: translateY(-3px);
}

.dsq-yt-card__thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--dsq-navy-900);
  overflow: hidden;
}

.dsq-yt-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.2s;
}

.dsq-yt-card:hover .dsq-yt-card__thumb img {
  opacity: 0.85;
}

.dsq-yt-card__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.dsq-yt-card__play svg {
  width: 56px;
  height: auto;
  filter: drop-shadow(0 2px 6px rgba(0 0 0 / 0.4));
  transition: transform 0.2s;
}

.dsq-yt-card:hover .dsq-yt-card__play svg {
  transform: scale(1.1);
}

.dsq-yt-card__play-bg  { fill: #FF0000; }
.dsq-yt-card__play-btn { fill: #FFFFFF; }

@media (max-width: 768px) {
  .dsq-youtube__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .dsq-youtube__grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================ FAQ additions
 * (base .dsq-faq-section styles are in the existing home.css)
 * ============================================================ */
.dsq-faq-section {
  background: var(--dsq-surface-subtle);
}

/* Smooth show/hide for extra FAQ items */
.dsq-faq-extra {
  overflow: hidden;
}

.dsq-faq-extra[hidden] {
  display: none;
}

.dsq-faq-more {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

/* Rotate expand_more icon when expanded */
.dsq-faq-more button[aria-expanded="true"] .msi {
  transform: rotate(180deg);
  display: inline-block;
}

/* ============================================================ Section label
 * Used by {{ include('dsq:section-label', ...) }}
 * ============================================================ */
.dsq-section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dsq-blue-600);
  margin-bottom: 12px;
}

/* ============================================================ Shared button
 * Extends the existing .dsq-btn classes.
 * ============================================================ */
.dsq-btn--gold {
  background: var(--dsq-gold-400);
  color: #fff;
  border: 2px solid var(--dsq-gold-400);
}

.dsq-btn--gold:hover {
  background: var(--dsq-gold-500);
  border-color: var(--dsq-gold-500);
}

.dsq-btn--outline {
  background: transparent;
  color: var(--dsq-text-primary);
  border: 2px solid var(--dsq-border-default);
}

.dsq-btn--outline:hover {
  border-color: var(--dsq-text-primary);
}

.dsq-btn--sm  { padding: 8px 20px;  font-size: 0.875rem; }
.dsq-btn--md  { padding: 12px 28px; font-size: 0.9375rem; }

/* ============================================================
 * HERO FULL-BLEED LAYOUT OVERRIDE — 2026-09-24
 * Matches approved Claude Design:
 *   · #F5F6F8 background, height 520px
 *   · Photo: position:absolute right 0, width 58%, full height
 *   · White-to-transparent gradient overlay (left 42% → 80%)
 *   · Text body: left-aligned, padding-left 80px, flex column
 *   · Badge: white pill, gold border, sensors icon
 *   · H1: 57px, weight 800, max-width 600px
 *   · Features: horizontal flex row, gap 20px
 * ============================================================ */

/* --- Hero container ----------------------------------------- */
.dsq-hero {
  position: relative !important;
  display: block !important;
  width: 100%;
  height: 520px;
  overflow: hidden;
  background: #F5F6F8 !important;
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
}

/* --- Gradient overlay --------------------------------------- */
.dsq-hero__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    #F5F6F8 42%,
    rgba(245, 246, 248, 0.6) 62%,
    transparent 80%
  );
  z-index: 1;
  pointer-events: none;
}

/* --- Text body ---------------------------------------------- */
.dsq-hero__body {
  position: relative !important;
  z-index: 2;
  height: 100%;
  padding: 0 0 0 80px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center;
  gap: 14px;
  max-width: none !important;
  width: 100%;
}

/* --- Badge -------------------------------------------------- */
.dsq-hero__badge {
  display: inline-flex !important;
  align-items: center;
  gap: 5px;
  background: #FFFFFF !important;
  border: 1.5px solid #E4B038 !important;
  border-radius: 999px !important;
  padding: 3px 10px !important;
  width: fit-content;
  margin-bottom: 0 !important;
}

.dsq-hero__badge .msi {
  font-size: 14px !important;
  color: #E4B038 !important;
}

.dsq-hero__badge {
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em !important;
  color: #001334 !important;
  text-transform: uppercase !important;
}

/* --- H1 title ----------------------------------------------- */
.dsq-hero__title {
  font-size: clamp(32px, 4vw, 57px) !important;
  line-height: 1.1 !important;
  font-weight: 800 !important;
  color: #001334 !important;
  margin: 0 !important;
  max-width: 600px !important;
}

/* --- Features row ------------------------------------------ */
.dsq-hero__features {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap;
  gap: 20px !important;
  margin-bottom: 0 !important;
  margin-top: 4px;
}

.dsq-hero__feature {
  display: flex !important;
  align-items: center;
  gap: 7px;
}

.dsq-hero__feature-icon {
  font-size: 18px !important;
  color: #004FAB !important;
}

.dsq-hero__feature-text {
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #001334 !important;
  line-height: 1.2 !important;
}

/* --- Stats -------------------------------------------------- */
.dsq-hero__stats {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap;
  gap: 0 !important;
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(0, 19, 52, 0.1);
}

/* --- Hero photo -------------------------------------------- */
.dsq-hero__media {
  position: absolute !important;
  right: 0 !important;
  top: 0 !important;
  width: 58% !important;
  height: 100% !important;
  transform: none !important;
  border-radius: 0 !important;
  overflow: hidden;
  max-width: none !important;
  z-index: 0;
}

.dsq-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: brightness(1.05) saturate(0.9);
}

/* ============================================================
 * RESPONSIVE — tablet & mobile
 * ============================================================ */
@media (max-width: 1024px) {
  .dsq-hero__body {
    padding-left: 48px !important;
  }
  .dsq-hero__title {
    font-size: 40px !important;
  }
}

@media (max-width: 768px) {
  .dsq-hero {
    height: auto !important;
    min-height: auto;
  }
  .dsq-hero__media {
    position: relative !important;
    width: 100% !important;
    height: 260px !important;
    top: auto !important;
    right: auto !important;
  }
  .dsq-hero__gradient {
    background: linear-gradient(
      to bottom,
      #F5F6F8 30%,
      rgba(245, 246, 248, 0.5) 65%,
      transparent 100%
    ) !important;
  }
  .dsq-hero__body {
    padding: 40px 24px 32px !important;
    height: auto !important;
  }
  .dsq-hero__features {
    flex-direction: column !important;
    gap: 12px !important;
  }
  .dsq-hero__title {
    font-size: 28px !important;
  }
}

@media (max-width: 480px) {
  .dsq-hero__body {
    padding: 32px 20px 28px !important;
  }
  .dsq-hero__title {
    font-size: 24px !important;
  }
}

/* ============================================================
 * PIXEL-PERFECT DESIGN OVERRIDE — 2026-09-24
 * Matches approved Claude Design:
 * https://claude.ai/design/p/e5a326ce-3892-4826-be68-ee198eda39e1
 *
 * Sections covered:
 *   · Sora headings (loaded via library)
 *   · Three Steps
 *   · Home Sleep Testing Flow
 *   · Wireless Spotlight
 *   · Testimonials
 *   · Meet Our Team
 *   · YouTube Videos
 *   · FAQ
 *   · Sticky Booking Bar
 *   · Footer (social icons, columns, disclaimer)
 * ============================================================ */


/* ============================================================
 * SHARED: Sora font for section headings
 * ============================================================ */
.dsq-hst .dsq-home-heading__title,
.dsq-testimonials .dsq-home-heading__title,
.dsq-youtube .dsq-home-heading__title,
.dsq-wireless__title,
.dsq-step__title,
.dsq-hst__title,
.dsq-team__name,
.dsq-faq__title {
  font-family: 'Sora', sans-serif !important;
}

/* ============================================================
 * 2. THREE STEPS
 * ============================================================ */
.dsq-steps {
  background: #001334 !important;
  padding: 0 !important;
  margin: 0 !important;
}

.dsq-steps__grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr 1fr !important;
  gap: 0 !important;
  max-width: none !important;
}

/* Per-step gradient backgrounds */
.dsq-step--gold {
  background: linear-gradient(160deg, #003882 0%, #002560 60%, #001640 100%) !important;
  border-right: 1px solid rgba(255,255,255,0.15) !important;
}
.dsq-step--blue {
  background: linear-gradient(160deg, #002C70 0%, #001D4E 60%, #001030 100%) !important;
  border-right: 1px solid rgba(255,255,255,0.15) !important;
}
.dsq-step--green {
  background: linear-gradient(160deg, #001F4E 0%, #001234 60%, #000C22 100%) !important;
}

.dsq-step {
  position: relative !important;
  padding: 24px 32px !important;
  overflow: hidden !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

/* Large decorative background icon */
.dsq-step__bg-icon {
  position: absolute !important;
  top: 16px !important;
  right: 16px !important;
  font-size: 56px !important;
  color: rgba(228,176,56,0.84) !important;
  pointer-events: none;
  user-select: none;
  line-height: 1;
  font-variation-settings: 'FILL' 1 !important;
}

/* Step number label */
.dsq-step__num {
  display: block !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  margin: 0 0 10px !important;
  line-height: 1 !important;
}
.dsq-step--gold .dsq-step__num { color: #E4B038 !important; }
.dsq-step--blue  .dsq-step__num { color: #6A97FF !important; }
.dsq-step--green .dsq-step__num { color: #059669 !important; }

/* Step title */
.dsq-step__title {
  font-size: 26px !important;
  font-weight: 800 !important;
  color: #FFFFFF !important;
  margin: 0 0 14px !important;
  line-height: 1.15 !important;
}

/* Symptom pills (Step 1 — Discover) */
.dsq-step__pills {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 8px !important;
  margin-top: 4px !important;
}
.dsq-step__pill {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #FFFFFF !important;
  background: rgba(255,255,255,0.08) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  border-radius: 8px !important;
  padding: 7px 12px !important;
  display: block !important;
  white-space: nowrap !important;
}

/* Service / treatment links (Steps 2 & 3) */
.dsq-step__links {
  list-style: none !important;
  margin: 4px 0 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}
.dsq-step__link {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #FFFFFF !important;
  background: rgba(255,255,255,0.08) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  border-radius: 8px !important;
  padding: 8px 14px !important;
  text-decoration: none !important;
  width: 100% !important;
  box-sizing: border-box;
}
.dsq-step--blue  .dsq-step__link-arrow { color: #6A97FF !important; font-size: 16px !important; }
.dsq-step--green .dsq-step__link-arrow { color: #4ADE80 !important; font-size: 16px !important; }
.dsq-step--gold  .dsq-step__link-arrow { color: #E4B038 !important; }

/* Responsive steps */
@media (max-width: 900px) {
  .dsq-steps__grid {
    grid-template-columns: 1fr !important;
  }
  .dsq-step--gold,
  .dsq-step--blue {
    border-right: none !important;
    border-bottom: 1px solid rgba(255,255,255,0.15) !important;
  }
}

/* ── Narrow-phone step fixes (≤480px) ────────────────────────────────────
 * At 320–480px the single-column step has ~256px content width after
 * 32px padding each side. Three issues:
 *  1. padding: 24px 32px wastes 25% width → reduce to 20px sides.
 *  2. Pills grid 1fr 1fr gives ~120px cells; "Irregular Breathing" at
 *     14px overflows with white-space: nowrap.
 *  3. Service links have min-width: 220px + white-space: nowrap +
 *     display: inline-flex which can combine to overflow short columns.
 * ──────────────────────────────────────────────────────────────────────── */
@media (max-width: 480px) {
  .dsq-step {
    padding: 32px 20px !important;
  }
  .dsq-step__pills {
    grid-template-columns: 1fr !important;
  }
  .dsq-step__pill {
    white-space: normal !important;
    font-size: 14px !important;
  }
  .dsq-step__link {
    white-space: normal !important;
    font-size: 14px !important;
    min-width: 0 !important;
    display: flex !important;
  }
}


/* ============================================================
 * 3. HOME SLEEP TESTING FLOW
 * ============================================================ */
.dsq-hst {
  padding: 48px 40px !important;
  background: #FFFFFF !important;
}

.dsq-hst__inner {
  max-width: 1100px !important;
  margin: 0 auto !important;
}

/* Section label */
.dsq-hst .dsq-section-label {
  font-size: 22px !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em !important;
  color: #B58B2A !important;
  margin-bottom: 8px !important;
  display: block !important;
}

/* Heading */
.dsq-hst .dsq-home-heading__title {
  font-size: 19px !important;
  font-weight: 800 !important;
  color: #001334 !important;
  margin: 0 0 24px !important;
}

/* 5-column grid */
.dsq-hst__grid {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 12px !important;
}

/* Each step card */
.dsq-hst__step {
  background: #FFFFFF !important;
  border: 1px solid #E5E9F2 !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
}

/* Image area — remove image-slot border-radius */
.dsq-hst__step .dsq-image-slot {
  border-radius: 0 !important;
  flex-shrink: 0;
}

/* Meta area below image */
.dsq-hst__meta {
  padding: 18px 16px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  flex: 1 !important;
}

/* Step number circle */
.dsq-hst__num {
  width: 28px !important;
  height: 28px !important;
  border-radius: 50% !important;
  background: #001334 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  color: #E4B038 !important;
  flex-shrink: 0 !important;
  line-height: 1 !important;
}

/* Step title */
.dsq-hst__title {
  font-size: 16px !important;
  font-weight: 800 !important;
  color: #001334 !important;
  margin: 0 !important;
  line-height: 1.25 !important;
}

/* Step body */
.dsq-hst__body {
  font-size: 17px !important;
  line-height: 1.55 !important;
  color: #474F5F !important;
  margin: 0 !important;
  flex: 1 !important;
}

/* CTA link */
.dsq-hst__cta {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #004FAB !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  margin-top: 2px !important;
}
.dsq-hst__cta .msi {
  font-size: 15px !important;
}

@media (max-width: 900px) {
  .dsq-hst__grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 480px) {
  .dsq-hst__grid {
    grid-template-columns: 1fr !important;
  }
  .dsq-hst {
    padding: 32px 20px !important;
  }
}


/* ============================================================
 * 4. WIRELESS SPOTLIGHT
 * ============================================================ */
.dsq-wireless {
  background: #001334 !important;
  padding: 40px 80px !important;
}

.dsq-wireless__inner {
  max-width: 1100px !important;
  margin: 0 auto !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr) !important;
  gap: 40px !important;
  align-items: center !important;
}

/* Solid gold badge (NOT outlined like hero) */
.dsq-wireless__badge {
  display: inline-block !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  color: #001334 !important;
  background: #E4B038 !important;
  border: none !important;
  border-radius: 999px !important;
  padding: 4px 12px !important;
  margin-bottom: 14px !important;
}

/* Title */
.dsq-wireless__title {
  font-size: 26px !important;
  font-weight: 800 !important;
  color: #FFFFFF !important;
  margin: 0 0 12px !important;
  line-height: 1.2 !important;
}

/* Body */
.dsq-wireless__body {
  font-size: 14px !important;
  line-height: 1.6 !important;
  color: rgba(255,255,255,0.8) !important;
  margin: 0 0 20px !important;
  max-width: 460px !important;
}

/* CTA button — gold with navy text */
.dsq-wireless .dsq-btn--gold,
.dsq-wireless__cta-btn {
  background: #E4B038 !important;
  color: #001334 !important;
  border-color: #E4B038 !important;
  padding: 11px 20px !important;
  border-radius: 8px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  text-decoration: none !important;
}

/* Feature grid — 2×2 */
.dsq-wireless__features {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 12px !important;
}

.dsq-wireless__feature {
  background: rgba(255,255,255,0.06) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  border-radius: 14px !important;
  padding: 16px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
}

.dsq-wireless__feature-chip {
  display: flex !important;
  align-items: flex-start !important;
  background: none !important;
  border: none !important;
  padding: 0 !important;
  margin-bottom: 8px !important;
}
.dsq-wireless__feature-chip .msi {
  font-size: 22px !important;
  color: #E4B038 !important;
  font-variation-settings: 'FILL' 1 !important;
}

.dsq-wireless__feature-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dsq-wireless__feature-title {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #FFFFFF !important;
  margin: 0 !important;
}

.dsq-wireless__feature-body {
  font-size: 12px !important;
  color: rgba(255,255,255,0.65) !important;
  margin: 0 !important;
  line-height: 1.5 !important;
}

@media (max-width: 900px) {
  .dsq-wireless {
    padding: 40px 32px !important;
  }
  .dsq-wireless__inner {
    grid-template-columns: 1fr !important;
  }
}


/* ============================================================
 * 5. TESTIMONIALS
 * ============================================================ */
.dsq-testimonials {
  background: #F7F8FA !important;
  padding: 48px 80px !important;
}

.dsq-testimonials__inner {
  max-width: 1100px !important;
  margin: 0 auto !important;
}

/* Section label — slightly muted gold */
.dsq-testimonials .dsq-section-label {
  font-size: 22px !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em !important;
  color: #B58B2A !important;
  margin-bottom: 8px !important;
  display: block !important;
}

/* Heading */
.dsq-testimonials .dsq-home-heading__title {
  font-size: 19px !important;
  font-weight: 800 !important;
  color: #001334 !important;
  margin: 0 0 24px !important;
}

/* 3-column grid */
.dsq-testimonials__grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 20px !important;
  margin-bottom: 24px !important;
}

/* Card */
.dsq-testimonial {
  background: #FFFFFF !important;
  border-radius: 16px !important;
  padding: 24px !important;
  box-shadow: none !important;
  border: none !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
}

/* MSI star icons — use filled variant */
.dsq-testimonial__stars {
  display: flex !important;
  gap: 2px !important;
  margin-bottom: 14px !important;
  align-items: center !important;
}
.dsq-testimonial__stars .msi {
  font-size: 16px !important;
  color: #FFB800 !important;
  font-variation-settings: 'FILL' 1 !important;
  line-height: 1 !important;
}

/* Quote */
.dsq-testimonial__quote {
  font-size: 13.5px !important;
  line-height: 1.6 !important;
  color: #1B1B1E !important;
  font-style: italic !important;
  margin: 0 0 16px !important;
  flex: 1 !important;
}

/* Byline */
.dsq-testimonial__byline {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
}
.dsq-testimonial__name {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #001334 !important;
}
.dsq-testimonial__tags {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 4px 8px !important;
  margin-top: 2px !important;
}
.dsq-testimonial__tag {
  font-size: 11.5px !important;
  color: #6B7280 !important;
  background: none !important;
  border: none !important;
  padding: 0 !important;
}
.dsq-testimonial__tag + .dsq-testimonial__tag::before {
  content: '· ';
  color: #D1D5DB;
}

/* CTA — inline link NOT button */
.dsq-testimonials__cta {
  text-align: center !important;
  margin-top: 4px !important;
}
.dsq-testimonials__cta-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  color: #004FAB !important;
  text-decoration: none !important;
}
.dsq-testimonials__cta-link .msi {
  font-size: 16px !important;
}

@media (max-width: 900px) {
  .dsq-testimonials {
    padding: 40px 32px !important;
  }
  .dsq-testimonials__grid {
    grid-template-columns: 1fr !important;
  }
}


/* ============================================================
 * 6. MEET OUR TEAM
 * ============================================================ */
.dsq-team {
  padding: 8px 40px 48px !important;
  background: #FFFFFF !important;
}

.dsq-team__inner {
  max-width: 1100px !important;
  margin: 0 auto !important;
}

/* Label — shifted down to overlap cards */
.dsq-team .dsq-home-heading {
  margin-bottom: 0 !important;
}
.dsq-team .dsq-section-label {
  font-size: 22px !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em !important;
  color: #B58B2A !important;
  transform: translate(0px, 14px) !important;
  display: inline-block !important;
  margin-bottom: 0 !important;
  text-transform: uppercase !important;
}

/* 3-column grid */
.dsq-team__grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 20px !important;
  margin-bottom: 24px !important;
  margin-top: 24px !important;
}

/* Portrait card — fills with image + overlay */
.dsq-team__card {
  position: relative !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  aspect-ratio: 3/4 !important;
  background: #002F6D !important;
  display: block !important;
}

/* Real image fills card */
.dsq-team__card-img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

/* Placeholder when no image */
.dsq-team__card-placeholder {
  position: absolute !important;
  inset: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  background: #002F6D !important;
}
.dsq-team__card-placeholder .msi {
  font-size: 80px !important;
  color: rgba(255,255,255,0.15) !important;
}

/* Dark gradient overlay */
.dsq-team__card-overlay {
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(
    to top,
    rgba(0,19,52,0.95) 0%,
    rgba(0,19,52,0.4) 50%,
    rgba(0,19,52,0) 100%
  ) !important;
}

/* Text at bottom of card */
.dsq-team__card-info {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  padding: 20px !important;
  z-index: 1 !important;
}
.dsq-team__name {
  font-size: 16px !important;
  font-weight: 800 !important;
  color: #FFFFFF !important;
  margin-bottom: 4px !important;
  display: block !important;
}
.dsq-team__role {
  font-size: 12px !important;
  color: #B58B2A !important;
  font-weight: 600 !important;
  display: block !important;
  line-height: 1.4 !important;
}

/* Story link CTA — styled as a proper clickable button */
.dsq-team__cta {
  text-align: center !important;
  margin-top: 36px !important;
}
.dsq-team__story-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  font-size: 17px !important;
  font-weight: 600 !important;
  color: #004FAB !important;
  text-decoration: none !important;
  background: transparent !important;
  border: 2px solid #001334 !important;
  padding: 13px 28px !important;
  border-radius: 8px !important;
  transition: background 0.18s, color 0.18s !important;
}
.dsq-team__story-link:hover {
  background: #001334 !important;
  color: #fff !important;
}
.dsq-team__story-link:hover .msi {
  color: #E4B038 !important;
}
.dsq-team__story-link::after {
  content: "→" !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  margin-left: 2px !important;
}
.dsq-team__story-link .msi {
  font-size: 22px !important;
  color: #E4B038 !important;
  font-variation-settings: 'FILL' 1 !important;
}

@media (max-width: 900px) {
  .dsq-team {
    padding: 8px 24px 40px !important;
  }
  .dsq-team__grid {
    grid-template-columns: 1fr !important;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
}


/* ============================================================
 * 7. YOUTUBE VIDEOS
 * ============================================================ */
.dsq-youtube {
  padding: 48px 80px !important;
  background: #FFFFFF !important;
}

.dsq-youtube__inner {
  max-width: 1100px !important;
  margin: 0 auto !important;
}

/* Section label */
.dsq-youtube .dsq-section-label {
  font-size: 22px !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em !important;
  color: #B58B2A !important;
  margin-bottom: 8px !important;
  display: block !important;
}

/* Title — color #070A36 (not #001334) per design */
.dsq-youtube .dsq-home-heading__title {
  font-size: 19px !important;
  font-weight: 800 !important;
  color: #070A36 !important;
  margin: 0 0 24px !important;
}

/* 3-column grid */
.dsq-youtube__grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 16px !important;
}

/* Video card */
.dsq-yt-card {
  background: #0D2050 !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  display: block !important;
  text-decoration: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.dsq-yt-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* Thumbnail wrapper */
.dsq-yt-card__thumb {
  position: relative !important;
  overflow: hidden !important;
  display: block !important;
}
.dsq-yt-card__thumb img {
  width: 100% !important;
  aspect-ratio: 16/9 !important;
  object-fit: cover !important;
  display: block !important;
  height: auto !important;
}

/* Red circle play button with MSI icon */
.dsq-yt-card__play {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: 52px !important;
  height: 52px !important;
  border-radius: 50% !important;
  background: rgba(255,0,0,0.9) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4) !important;
  pointer-events: none;
}
.dsq-yt-card__play .msi {
  font-size: 28px !important;
  color: #FFFFFF !important;
  font-variation-settings: 'FILL' 1 !important;
  margin-left: 3px; /* optical centering for play arrow */
}

/* Remove old YouTube SVG play bg/btn paths */
.dsq-yt-card__play-bg { display: none !important; }
.dsq-yt-card__play-btn { display: none !important; }

@media (max-width: 900px) {
  .dsq-youtube {
    padding: 40px 32px !important;
  }
  .dsq-youtube__grid {
    grid-template-columns: 1fr !important;
  }
}


/* ============================================================
 * 8. FAQ
 * ============================================================ */
.dsq-faq-section {
  background: #F8F9FC !important;
  padding: 28px 40px 28px 80px !important;
}

.dsq-faq-section .dsq-home-section__inner {
  max-width: 1100px !important;
  margin: 0 auto !important;
}

/* FAQ header block */
.dsq-faq__header {
  margin-bottom: 24px !important;
}
.dsq-faq__title {
  font-size: 22px !important;
  font-weight: 700 !important;
  color: #001334 !important;
  margin: 0 0 10px !important;
}
/* Gold underline rule */
.dsq-faq__rule {
  width: 56px !important;
  height: 4px !important;
  background: linear-gradient(90deg, #E4B038, #B58B2A) !important;
  border-radius: 999px !important;
  margin: 0 0 12px !important;
  display: block !important;
}
.dsq-faq__sub {
  font-size: 14px !important;
  color: #474F5F !important;
  margin: 0 !important;
  line-height: 1.5 !important;
}

/* FAQ accordion items */
.dsq-faq {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}
.dsq-faq__item {
  background: #FFFFFF !important;
  border: 1px solid #E2E8FF !important;
  border-radius: 12px !important;
  padding: 0 !important;
  overflow: hidden !important;
}
.dsq-faq__heading {
  margin: 0 !important;
}
.dsq-faq__trigger {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  padding: 16px 20px !important;
  background: transparent !important;
  border: none !important;
  cursor: pointer !important;
  text-align: left !important;
}
.dsq-faq__question {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #001334 !important;
  line-height: 1.4 !important;
  flex: 1 !important;
}
.dsq-faq__caret {
  font-size: 22px !important;
  color: #001334 !important;
  flex-shrink: 0 !important;
  transition: transform 0.2s ease !important;
}
.dsq-faq__item.is-open .dsq-faq__caret {
  transform: rotate(180deg) !important;
}
.dsq-faq__panel {
  padding: 0 20px 16px !important;
}
.dsq-faq__answer {
  font-size: 14px !important;
  line-height: 1.6 !important;
  color: #474F5F !important;
  margin: 0 !important;
}

/* Show more button — plain link style */
.dsq-faq-more {
  margin-top: 20px !important;
  text-align: left !important;
}
.dsq-faq__more-btn {
  background: transparent !important;
  border: none !important;
  cursor: pointer !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: #004FAB !important;
}
.dsq-faq__more-btn .msi {
  font-size: 18px !important;
  transition: transform 0.2s ease;
}
.dsq-faq__more-btn[aria-expanded="true"] .msi {
  transform: rotate(180deg);
}

@media (max-width: 768px) {
  .dsq-faq-section {
    padding: 28px 20px !important;
  }
}


/* ============================================================
 * BOOKING BAR — sticky bottom
 * ============================================================ */
.dsq-bar {
  background: #E2E8FF !important;
  border-top: 1px solid #B6C1DB !important;
  padding: 12px 20px !important;
}
.dsq-bar__inner {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  max-width: 1100px !important;
  margin: 0 auto !important;
  flex-wrap: wrap !important;
}
.dsq-bar__input,
.dsq-select__trigger {
  background: #FFFFFF !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 10px 12px !important;
  font-size: 13px !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
  color: #001334 !important;
}
.dsq-bar__submit {
  background: #004FAB !important;
  color: #FFFFFF !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  padding: 10px 20px !important;
  border-radius: 8px !important;
  border: none !important;
  cursor: pointer !important;
  white-space: nowrap !important;
}
.dsq-bar__submit:hover {
  background: #0041A3 !important;
}
/* Sticky bar uses position:fixed — no body padding needed; footer has sufficient internal spacing */
body {
  padding-bottom: 0;
}


/* ============================================================
 * FOOTER — brand-coloured social icons, columns, disclaimer
 * ============================================================ */
/* Social icons — 30×30 circles with brand colors */
.dsq-footer__social-link {
  width: 30px !important;
  height: 30px !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #FFFFFF !important;
  text-decoration: none !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  flex-shrink: 0 !important;
}
.dsq-footer__social-link--fb   { background: #1877F2 !important; }
.dsq-footer__social-link--ig   { background: #E4405F !important; }
.dsq-footer__social-link--th   { background: #000000 !important; }
.dsq-footer__social-link--li   { background: #0A66C2 !important; }
.dsq-footer__social-link--yt   { background: #FF0000 !important; }

.dsq-footer__social-link .msi {
  font-size: 16px !important;
}

/* Footer columns grid */
.dsq-footer__cols {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important;
  gap: 16px !important;
  margin-bottom: 14px !important;
}

/* Column headers */
.dsq-footer__col-head {
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  color: #FFFFFF !important;
  margin-bottom: 12px !important;
}

/* Column links */
.dsq-footer__col-link {
  font-size: 12px !important;
  color: rgba(255,255,255,0.7) !important;
  text-decoration: none !important;
  display: block !important;
  margin-bottom: 6px !important;
  line-height: 1.4 !important;
}
.dsq-footer__col-link:hover {
  color: #FFFFFF !important;
}

/* Tagline under logo */
.dsq-footer__tagline {
  font-size: 12px !important;
  color: rgba(255,255,255,0.7) !important;
}

/* Bottom disclaimer */
.dsq-footer__disclaimer {
  font-size: 11px !important;
  color: rgba(255,255,255,0.5) !important;
  border-top: 1px solid rgba(255,255,255,0.1) !important;
  padding-top: 12px !important;
  margin-top: 10px !important;
}
.dsq-footer__copyright {
  font-size: 11px !important;
  color: rgba(255,255,255,0.5) !important;
  margin-top: 4px !important;
}

/* Footer clearance for booking bar is now padding-bottom in site-footer.css.
   Remove margin-bottom so no white body background appears below the dark footer. */
.dsq-footer {
  margin-bottom: 0 !important;
}


/* ============================================================
 * RESPONSIVE — global adjustments
 * ============================================================ */
@media (max-width: 768px) {
  .dsq-wireless__features {
    grid-template-columns: 1fr !important;
  }
}
@media (max-width: 480px) {
  .dsq-wireless {
    padding: 32px 20px !important;
  }
  .dsq-testimonials {
    padding: 32px 20px !important;
  }
  .dsq-youtube {
    padding: 32px 20px !important;
  }
}


/* ============================================================
 * DESIGN DIFF FIXES — 2026-09-24
 * Pixel-perfect match vs Image 17 approved design
 * ============================================================ */

/* ── Hero: sub-lead (orange italic bold) ───────────────────── */
.dsq-hero__copy {
  margin: 0 0 4px !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
}
.dsq-hero__sub-lead {
  display: block !important;
  color: #D97706 !important;
  font-weight: 700 !important;
  font-style: italic !important;
  font-size: 14px !important;
  margin-bottom: 3px !important;
}
.dsq-hero__sub-body {
  display: block !important;
  color: #474F5F !important;
  font-style: normal !important;
  font-size: 14px !important;
}

/* ── Hero: stats — gap + right-border separator ─────────────── */
.dsq-hero__stats {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 0 !important;
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(0, 19, 52, 0.1);
}
.dsq-hero__stats .dsq-stat--sm {
  padding-right: 24px !important;
  margin-right: 24px !important;
  border-right: 1px solid rgba(0, 19, 52, 0.12) !important;
}
.dsq-hero__stats .dsq-stat--sm:last-child {
  padding-right: 0 !important;
  margin-right: 0 !important;
  border-right: none !important;
}
.dsq-hero__stats .dsq-stat--sm .dsq-stat__value {
  font-size: 26px !important;
  font-weight: 800 !important;
  color: #001334 !important;
  line-height: 1 !important;
}
.dsq-hero__stats .dsq-stat--sm .dsq-stat__label {
  font-size: 10px !important;
  letter-spacing: 0.04em !important;
  color: #6B7280 !important;
  margin-top: 4px !important;
  line-height: 1.3 !important;
  max-width: 110px !important;
  word-wrap: break-word !important;
}

/* ── Hero: feature text single line ────────────────────────── */
.dsq-hero__feature-text {
  white-space: nowrap !important;
}

/* ── Three Steps: description paragraph ────────────────────── */
.dsq-step__desc {
  font-size: 13px !important;
  line-height: 1.55 !important;
  color: rgba(255, 255, 255, 0.72) !important;
  margin: 0 0 16px !important;
  font-weight: 400 !important;
}

/* ── Three Steps: link row — icon + label + arrow ───────────── */
.dsq-step__link {
  display: flex !important;
  align-items: center !important;
  gap: 0 !important;
}
.dsq-step__link-icon {
  font-size: 16px !important;
  font-variation-settings: 'FILL' 0 !important;
  margin-right: 10px !important;
  flex-shrink: 0 !important;
  opacity: 0.85;
}
.dsq-step--blue  .dsq-step__link-icon { color: #6A97FF !important; }
.dsq-step--green .dsq-step__link-icon { color: #4ADE80 !important; }
.dsq-step--gold  .dsq-step__link-icon { color: #E4B038 !important; }

.dsq-step__link-label {
  flex: 1 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #FFFFFF !important;
}

.dsq-step__link-arrow {
  margin-left: auto !important;
  font-size: 16px !important;
  flex-shrink: 0 !important;
}


/* ============================================================
 * HST + WIRELESS FIXES — 2026-09-24
 * Match approved design Image 19
 * ============================================================ */

/* ── HST: eliminate the large gap between heading and grid ──── */
.dsq-hst__inner {
  display: flex !important;
  flex-direction: column !important;
  gap: 20px !important;        /* was 48px — caused the large whitespace */
}

/* ── HST: reduce image-slot height to match compact design ──── */
.dsq-hst__step .dsq-image-slot {
  height: 145px !important;
  max-height: 145px !important;
}

/* ── HST: CTA — arrow is now on the left, keep styling intact ─ */
.dsq-hst__cta {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #004FAB !important;
  text-decoration: none !important;
  margin-top: 2px !important;
}
.dsq-hst__cta .msi {
  font-size: 15px !important;
  font-variation-settings: 'FILL' 0 !important;
}

/* ── Wireless: feature card body — shorter text wrap fix ─────── */
.dsq-wireless__feature-body {
  font-size: 12px !important;
  line-height: 1.4 !important;
  color: rgba(255,255,255,0.65) !important;
}


/* ============================================================
 * FINAL DESIGN MATCH FIXES — 2026-09-24 (session 3)
 * All values sourced from approved Dr Sleep Qure Homepage.dc.html
 * ============================================================ */

/* ── Hero: sub-lead — correct color (#B58B2A = rgb(181,139,42)) and weight (600) ── */
.dsq-hero__sub-lead {
  color: #B58B2A !important;
  font-weight: 600 !important;
  font-style: italic !important;
  font-size: 15px !important;
}

/* ── Three Steps: hide arrow_forward — design has NO arrow on service links ── */
.dsq-step__link-arrow {
  display: none !important;
}

/* ── Three Steps: links list gap 16px (was 8px), and link styling ── */
.dsq-step__links {
  gap: 16px !important;
}
.dsq-step__link {
  font-size: 16px !important;
  padding: 8px 16px !important;
  white-space: nowrap !important;
  gap: 8px !important;
  display: inline-flex !important;
  align-items: center !important;
  min-width: 220px !important;
  box-sizing: border-box !important;
}
.dsq-step__link-icon {
  font-size: 17px !important;
}

/* ── Three Steps: pill font-size 16px (was 14px) ── */
.dsq-step__pill {
  font-size: 16px !important;
}

/* ── HST: image-slot height 110px (was 145px in last patch) ── */
.dsq-hst__step .dsq-image-slot,
.dsq-hst__step .dsq-image-slot img {
  height: 110px !important;
  max-height: 110px !important;
}

/* ── Testimonials: quote 13.5px italic #1B1B1E ── */
.dsq-testimonial__quote {
  font-size: 13.5px !important;
  font-style: italic !important;
  color: #1B1B1E !important;
  line-height: 1.6 !important;
}

/* ── Testimonials: stars 16px #FFB800 filled ── */
.dsq-testimonial__stars .msi {
  font-size: 16px !important;
  color: #FFB800 !important;
  font-variation-settings: 'FILL' 1 !important;
}


/* ============================================================
 * BOOKING BAR — mobile fix 2026-09-24
 * Two bugs fixed:
 *  1. display:flex !important in home.css was forcing form always
 *     visible even when collapsed — showed both peek + submit btn.
 *  2. position:fixed on mobile blocked page content while scrolling.
 * ============================================================ */

/* ── 769–900px: keep sticky but fix peek/expand state ────────── */
@media (max-width: 900px) {
  .dsq-bar__inner {
    display: none !important;       /* hidden until expanded */
  }
  .dsq-bar.is-expanded .dsq-bar__inner {
    display: flex !important;       /* visible when JS adds is-expanded */
  }
}

/* ── ≤ 768px: convert to page-section (not sticky fixed) ─────── */
@media (max-width: 768px) {
  /* Remove fixed positioning — bar flows as a normal section */
  .dsq-bar {
    position: static !important;
    border-radius: 0 !important;
    padding: 24px 16px !important;
    background: #EEF2FF !important;
    border-top: 1px solid #B6C1DB !important;
    border-bottom: none !important;
  }
  /* No bottom padding on body — bar is no longer floating */
  body {
    padding-bottom: 0 !important;
  }
  /* Hide the peek button — show the full form directly */
  .dsq-bar__peek {
    display: none !important;
  }
  /* Always show the form on mobile */
  .dsq-bar__inner {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    max-height: none !important;
    overflow: visible !important;
  }
  /* Full-width fields */
  .dsq-bar__field,
  .dsq-bar__field--location,
  .dsq-bar__field--service {
    flex: 1 1 100% !important;
    min-width: 100% !important;
  }
  /* Full-width submit button */
  .dsq-bar__submit {
    width: 100% !important;
    padding: 14px 20px !important;
    font-size: 15px !important;
  }
  /* Dropdown panels open downward on mobile */
  .dsq-select__panel {
    bottom: auto !important;
    top: calc(100% + 8px) !important;
    right: 0 !important;
    min-width: 100% !important;
    max-height: 40vh !important;
    overflow-y: auto !important;
  }
}


/* ============================================================
 * BOOKING BAR — restore sticky drop-up on mobile 2026-09-24
 * Reverts position:static. Keeps fixed sticky bar.
 * Only fix: show peek button OR form, never both at once.
 * ============================================================ */
@media (max-width: 768px) {
  /* Restore fixed sticky positioning */
  .dsq-bar {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    padding: 10px 16px !important;
    background: #EEF2FF !important;
    border-top: 1px solid #B6C1DB !important;
    border-radius: 0 !important;
    z-index: 200 !important;
  }
  /* Body still needs padding so footer isn't hidden under the bar */
  body {
    padding-bottom: 60px !important;
  }
  /* Default (collapsed): show ONLY the peek button */
  .dsq-bar__peek {
    display: block !important;
    width: 100% !important;
    padding: 14px 20px !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: #004FAB !important;
    color: #FFFFFF !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    cursor: pointer !important;
  }
  .dsq-bar__inner {
    display: none !important;   /* hidden until expanded */
  }
  /* Expanded (JS adds .is-expanded): hide peek, show form */
  .dsq-bar.is-expanded .dsq-bar__peek {
    display: none !important;
  }
  .dsq-bar.is-expanded .dsq-bar__inner {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    max-height: 70vh !important;
    overflow-y: auto !important;
  }
  /* Full-width fields & submit in expanded form */
  .dsq-bar.is-expanded .dsq-bar__field,
  .dsq-bar.is-expanded .dsq-bar__field--location,
  .dsq-bar.is-expanded .dsq-bar__field--service {
    flex: 1 1 100% !important;
    min-width: 100% !important;
  }
  .dsq-bar.is-expanded .dsq-bar__submit {
    width: 100% !important;
    padding: 14px 20px !important;
    font-size: 15px !important;
  }
}


/* ============================================================
 * BOOKING BAR — revert to static page section on mobile
 * 2026-09-24 — user approved: form sits before footer, not sticky
 * ============================================================ */
@media (max-width: 768px) {
  .dsq-bar {
    position: static !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    padding: 24px 16px !important;
    background: #EEF2FF !important;
    border-top: 1px solid #B6C1DB !important;
    border-bottom: none !important;
    border-radius: 0 !important;
    z-index: auto !important;
  }
  body {
    padding-bottom: 0 !important;
  }
  .dsq-bar__peek {
    display: none !important;
  }
  .dsq-bar__inner {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    max-height: none !important;
    overflow: visible !important;
  }
  .dsq-bar__field,
  .dsq-bar__field--location,
  .dsq-bar__field--service {
    flex: 1 1 100% !important;
    min-width: 100% !important;
  }
  .dsq-bar__submit {
    width: 100% !important;
    padding: 14px 20px !important;
    font-size: 15px !important;
  }
}


/* Remove leftover body padding from sticky-bar era — mobile only */
@media (max-width: 768px) {
  html, body {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }
}


/* ============================================================
 * HST SPACING — match Claude Design exactly (2026-09-28)
 * Source: Dr Sleep Qure Homepage.dc.html lines 337-367
 * ============================================================ */

/* Heading block: centred */
.dsq-hst .dsq-home-heading {
  text-align: center !important;
}

/* Heading title: remove bottom margin (gap on inner handles spacing) */
.dsq-hst .dsq-home-heading__title {
  margin: 0 !important;
}

/* Inner: 32px gap between heading and grid (design: margin-bottom:32px) */
.dsq-hst__inner {
  gap: 32px !important;
}

/* Meta: 8px gap between items (design: gap:8px) */
.dsq-hst__meta {
  gap: 8px !important;
}

/* Number + title row: side-by-side (design: display:flex;align-items:center;gap:10px) */
.dsq-hst__num-title {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

/* Title: remove any default h3 margins when inside num-title row */
.dsq-hst__num-title .dsq-hst__title {
  margin: 0 !important;
}

/* CTA: push to bottom of card (design: margin-top:auto) */
.dsq-hst__cta {
  margin-top: auto !important;
}


/* ============================================================
 * TESTIMONIALS — reduce heading→cards gap (match Claude Design)
 * Root cause: base inner gap 48px + title margin-bottom 24px = 72px
 * Design value: 28px total
 * 2026-09-28
 * ============================================================ */

/* Inner flex gap: was 48px (base), now 28px */
.dsq-testimonials__inner {
  gap: 28px !important;
}

/* Heading title: remove 24px margin-bottom (gap handles spacing) */
.dsq-testimonials .dsq-home-heading__title {
  margin: 0 !important;
}


/* ============================================================
 * TEAM MOBILE — ensure cards visible on all breakpoints
 * Root cause: repeat(3,1fr)!important overrode media query rules
 *             (fixed at line 2137 with !important — this block
 *             reinforces and adds a min-height fallback)
 * 2026-09-28
 * ============================================================ */

/* Mobile ≤ 768px: 2 columns with proper padding */
@media (max-width: 768px) {
  .dsq-team {
    padding: 8px 16px 40px !important;
  }
  .dsq-team__grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .dsq-team__card {
    min-height: 200px !important;  /* fallback if aspect-ratio unsupported */
  }
  .dsq-team__name {
    font-size: 13px !important;
  }
  .dsq-team__role {
    font-size: 10px !important;
  }
  .dsq-team__card-info {
    padding: 12px !important;
  }
}

/* Very small phones ≤ 420px: single column */
@media (max-width: 420px) {
  .dsq-team__grid {
    grid-template-columns: 1fr !important;
    max-width: 320px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}


/* ============================================================
 * FAQ — equal spacing between all 6 questions (no extra gap
 *        between group 1 and group 2 when Show More is open)
 * Root cause: #faqs .dsq-faq { margin-bottom: 36px } (base)
 *             creates 36px after group 1, vs 12px between items
 * 2026-09-28
 * ============================================================ */

/* Remove 36px bottom margin on both .dsq-faq groups */
#faqs .dsq-faq {
  margin-bottom: 0 !important;
}

/* When extra items are revealed, add same 12px gap as within a group */
.dsq-faq-extra {
  margin-top: 0 !important;
}
.dsq-faq-extra:not([hidden]) {
  margin-top: 12px !important;
}



/* ============================================================
 * NAV CTA BUTTON — correct gold colour (#E4B038)
 * Root cause: --dsq-gold-400 in home.css :root block = #D4943F
 *             (amber-orange); .dsq-btn--gold used that token.
 * Design: standard DSQ gold #E4B038
 * 2026-09-28
 * ============================================================ */
.dsq-btn--gold {
  background: #E4B038 !important;
  border-color: #E4B038 !important;
  color: #001334 !important;
}
.dsq-btn--gold:hover,
.dsq-btn--gold:focus-visible {
  background: #D4962A !important;
  border-color: #D4962A !important;
  color: #001334 !important;
}

/* ============================================================
 * HST IMAGE CROP + SPACING FIXES — 2026-09-28
 * Fixes: (1) double gap on desktop (margin-bottom + flex gap)
 *        (2) 110px height too short on full-width mobile cards
 *        (3) object-position per step to show correct focal point
 * ============================================================ */

/* 1. Remove home-heading margin-bottom inside HST
      (base CSS adds margin-bottom:32px which doubles the flex gap) */
.dsq-hst .dsq-home-heading {
  margin-bottom: 0 !important;
}

/* 2. Taller images on mobile (full-width card ~390px, 110px = 3.5:1 crop) */
@media (max-width: 640px) {
  .dsq-hst__step .dsq-image-slot,
  .dsq-hst__step .dsq-image-slot img {
    height: 200px !important;
    max-height: 200px !important;
  }
}

/* 3. Object-position per step for optimal focal point */

/* Step 1 · Book: HST kit centred on pedestal — crop slightly below centre */
.dsq-hst__step:nth-child(1) .dsq-image-slot__img {
  object-position: center 55% !important;
}

/* Step 2 · Test: patient lying down, sensor on head/chest — show upper body */
.dsq-hst__step:nth-child(2) .dsq-image-slot__img {
  object-position: center top !important;
}

/* Step 3 · Understand: clinic signage — right side has wireless comparison panel */
.dsq-hst__step:nth-child(3) .dsq-image-slot__img {
  object-position: 65% center !important;
}

/* Step 4 · Consult: reception desk + DSQ logo on wall — centre is ideal */
.dsq-hst__step:nth-child(4) .dsq-image-slot__img {
  object-position: center 40% !important;
}

/* Step 5 · Treat: sleeping couple + CPAP machine — centre of frame */
.dsq-hst__step:nth-child(5) .dsq-image-slot__img {
  object-position: center center !important;
}

/* ============================================================
 * YOUTUBE SPACING FIX — 2026-09-28
 * Fixes: (1) Team→YouTube section gap too large (48+48=96px)
 *        (2) Heading→video gap doubled by margin-bottom:32px
 * ============================================================ */

/* 1. Reduce Team section padding-bottom 48px → 28px */
.dsq-team {
  padding-bottom: 28px !important;
}

/* 2. Reduce YouTube section padding-top 48px → 32px */
.dsq-youtube {
  padding-top: 32px !important;
}

/* 3. Remove home-heading margin-bottom that doubles the flex gap */
.dsq-youtube .dsq-home-heading {
  margin-bottom: 0 !important;
}

/* 4. Reduce youtube inner gap 40px → 24px */
.dsq-youtube__inner {
  gap: 24px !important;
}

/* Image #137 — strip button box from Discover symptom pills, show as plain text */
.dsq-step__pill {
  background: none !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 2px 0 2px 20px !important;
  text-align: left !important;
  white-space: normal !important;
  position: relative !important;
}
.dsq-step__pill::before {
  content: '–';
  position: absolute;
  left: 0;
  color: rgba(255,255,255,0.45);
  font-weight: 400;
}


/* ============================================================
 * MOBILE STATS + FEATURES OVERFLOW FIX -- 2026-10-09
 *
 * Bug 1 -- Stats: flex-wrap:nowrap forces all 3 into one
 *   unbreakable row; at 320-430px that needs 460px+.
 * Bug 2 -- Features: white-space:nowrap prevents text from
 *   wrapping when features are in a flex row (430-768px).
 *
 * Fix: grid for stats; nowrap removed for features.
 * Does NOT change typography (font-size, weight, colour).
 * ============================================================ */

/* -- Feature row: allow text to wrap at all mobile widths -- */
@media (max-width: 768px) {
  .dsq-hero__feature-text {
    white-space: normal !important;
    min-width: 0 !important;
  }
  .dsq-hero__feature {
    min-width: 0 !important;
  }
}

/* -- Stats row: 3-column grid so all three always fit -- */
@media (max-width: 480px) {
  .dsq-hero__stats {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    flex-wrap: unset !important;
    gap: 0 !important;
  }
  .dsq-hero__stats .dsq-stat--sm {
    padding-right: 0 !important;
    padding-left: 0 !important;
    margin-right: 0 !important;
    text-align: center !important;
    border-right: 1px solid rgba(0, 19, 52, 0.12) !important;
  }
  .dsq-hero__stats .dsq-stat--sm:last-child {
    border-right: none !important;
  }
  .dsq-hero__stats .dsq-stat--sm .dsq-stat__value {
    font-size: 20px !important;
  }
  .dsq-hero__stats .dsq-stat--sm .dsq-stat__label {
    max-width: none !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
  }
}

/* ============================================================
 * TEAM SECTION NARROWER-PHONE PROPORTIONAL FIX -- 2026-10-09
 *
 * REFERENCE STATE (iPhone 17 Pro Max, viewport ≤420px):
 *   The existing @media(max-width:420px) block above already
 *   sets: grid-template-columns:1fr, max-width:320px, margin:auto
 *   This produces the APPROVED look -- 320px card centered with
 *   generous whitespace. DO NOT CHANGE AT REFERENCE VIEWPORT.
 *
 * PROBLEM:
 *   At viewports ≤389px the fixed 320px max-width fills more of
 *   the screen than at the reference: at 320px viewport the card
 *   is 250px (container=288px, 320px > 288px so it fills
 *   container, only the 16px team padding provides any margin).
 *   The reference visual proportions (35px total side margin)
 *   are not preserved at narrower phones.
 *
 * FIX: Override max-width with min(320px, calc(100% - 38px))
 *   where 100% = dsq-team__inner width = viewport - 32px.
 *
 *   min() resolves to 320px when (100% - 38) ≥ 320, i.e. when
 *   container ≥ 358px, i.e. viewport ≥ 390px:
 *     → reference viewport (390–420px): EXACTLY 320px. NO CHANGE.
 *   When viewport < 390px min() resolves to (100% - 38px):
 *     → card scales down maintaining 19px inner margin each side
 *     → + 16px outer team padding = 35px total visual margin
 *     → same proportional feel as the approved reference.
 *
 *   At 390px:  container=358  card=min(320,320)=320px  margin=35px ← ref
 *   At 375px:  container=343  card=min(320,305)=305px  margin=35px ✓
 *   At 360px:  container=328  card=min(320,290)=290px  margin=35px ✓
 *   At 320px:  container=288  card=min(320,250)=250px  margin=35px ✓
 *
 * Scope: @media(max-width:420px) — same range as the rule above.
 * Source-order position (end of file) ensures this wins over the
 * existing 320px value from line ~3075 of the same range.
 * ONLY max-width is changed; all other properties (1fr, gap,
 * margin:auto, aspect-ratio, card heights, text sizes) remain
 * from the existing blocks above.
 * ============================================================ */
@media (max-width: 420px) {
  .dsq-team__grid {
    max-width: min(320px, calc(100% - 38px)) !important;
  }
}

/* ============================================================
 * PEOPLE GRID: 2-COL AT ALL MOBILE WIDTHS — 2026-10-13
 *
 * Root cause: @media(max-width:420px) at ~line 3074 sets
 *   grid-template-columns:1fr!important + max-width:320px!important,
 *   collapsing to single column. Being LATER in source than the
 *   ≤768px 2-column rule (~line 3048), it wins at ≤420px.
 *   The reference phone viewport (~430px) sits just above the
 *   420px cutoff → sees 2 columns; phones at 320–412px see 1.
 *
 * Fix (source-order strategy): append here, after all prior
 *   blocks, a 2-column assertion at ≤480px. Being the LATEST
 *   rule for grid-template-columns with !important, it wins at
 *   every mobile width from 320 to 480px.
 *
 * max-width:none removes the 320px/min() centering constraint
 *   so cards fill available container width proportionally.
 *
 * Grid layout at each breakpoint after this fix:
 *   320px: container=288px  each card=138px  ratio 3:4=184px tall
 *   360px: container=328px  each card=158px  ratio 3:4=211px tall
 *   375px: container=343px  each card=165px  ratio 3:4=220px tall
 *   390px: container=358px  each card=173px  ratio 3:4=231px tall
 *   412px: container=380px  each card=184px  ratio 3:4=245px tall
 *   430px: container=398px  each card=193px  ratio 3:4=257px tall
 *   All: row 1 = Dr. Kalaikovan + Dr. Krishna Priya Jayaram
 *        row 2 = Dr. Kathirvel Tamiljothy (col 1, same width)
 *
 * 3rd card position: CSS grid auto-placement puts it in row 2
 *   col 1 automatically. No explicit positioning needed.
 *
 * Tablet/desktop (>768px): UNCHANGED — 3-column preserved.
 * ============================================================ */
@media (max-width: 480px) {
  .dsq-team__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
  }
  /* Cards fill their grid column — no fixed width constraints */
  .dsq-team__card {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* ── STATS DIVIDERS REMOVED — 2026-10-14 ────────────────────────────────
 * Removes all grey divider lines from the hero stats row (25,000+ / 2,000+ / 100+).
 * Sources overridden:
 *   border-top  → .dsq-hero__stats at lines 88, 613, 1370, 2604
 *   border-right → .dsq-hero__stats .dsq-stat--sm at lines 2613, 3250 (≤480px)
 * Values, labels, spacing, alignment: UNCHANGED.
 * ──────────────────────────────────────────────────────────────────────── */
.dsq-hero__stats {
  border-top: none !important;
}
.dsq-hero__stats .dsq-stat--sm {
  border-right: none !important;
}
@media (max-width: 480px) {
  .dsq-hero__stats .dsq-stat--sm {
    border-right: none !important;
  }
}

/* ── TASK 3: "READ OUR STORY" CTA — TEXT-LINK STYLE (matches testimonials CTA) — 2026-10-14 */
/* Remove the bordered-box look; override every boxed-button property. */
.dsq-team__story-link {
  border: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  font-weight: 700 !important;
  transition: gap 0.2s ease !important;
}
.dsq-team__story-link::after {
  content: none !important;
}
/* Match the arrow_forward icon size to testimonials CTA */
.dsq-team__story-link .msi {
  font-size: 16px !important;
  color: #004FAB !important;
  font-variation-settings: normal !important;
}
/* Hover: widen gap so arrow shifts right (matches testimonials pattern) */
.dsq-team__story-link:hover,
.dsq-team__story-link:focus-visible {
  background: transparent !important;
  color: #004FAB !important;
  gap: 12px !important;
}
.dsq-team__story-link:hover .msi,
.dsq-team__story-link:focus-visible .msi {
  color: #004FAB !important;
}

/* ── TASK 4: STEP LINKS — HOVER/FOCUS EFFECT — 2026-10-14 ─────────────────── */
/* The arrow icon is currently display:none (line 2740). Un-hide it, keep it   */
/* visually hidden at rest (opacity:0, absolute position), reveal on hover.    */
/* Absolute positioning prevents any layout/width change on the link block.    */
.dsq-step__link {
  position: relative !important;
  transition: background 0.2s ease !important;
}
.dsq-step__link-arrow {
  display: inline-flex !important;   /* override display:none from line 2740  */
  position: absolute !important;
  right: 10px !important;
  top: 50% !important;
  transform: translateY(-50%) translateX(0) !important;
  opacity: 0 !important;
  font-size: 18px !important;
  pointer-events: none !important;
  transition: opacity 0.2s ease, transform 0.2s ease !important;
}
.dsq-step__link:hover .dsq-step__link-arrow,
.dsq-step__link:focus-visible .dsq-step__link-arrow {
  opacity: 1 !important;
  transform: translateY(-50%) translateX(4px) !important;
}
.dsq-step__link:hover,
.dsq-step__link:focus-visible {
  background: rgba(255, 255, 255, 0.1) !important;
  border-radius: 6px !important;
}
/* Keyboard focus ring for accessibility */
.dsq-step__link:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.55) !important;
  outline-offset: 3px !important;
}

/* ── HST STEP LINKS: HOVER + FOCUS EFFECT — 2026-10-14
 *
 * Root cause: lines 1749 and 2703 both set
 *   gap: 4px !important
 * with no matching !important hover, which kills:
 *   (a) the existing `transition: gap 0.15s` from line 821, and
 *   (b) the existing `.dsq-hst__cta:hover { gap: 8px }` at line 833
 *
 * Fix: reinstate transition + add colour/underline/arrow-translate
 * hover using !important so this end-of-file block wins cascade.
 * Arrow is .msi BEFORE the link text → translateX moves arrow right.
 * No layout shift: transform does not affect flow.
 * ──────────────────────────────────────────────── */
.dsq-hst__cta {
  transition: color 0.2s ease !important;
}
.dsq-hst__cta .msi {
  transition: transform 0.2s ease !important;
  flex-shrink: 0 !important;
}
.dsq-hst__cta:hover,
.dsq-hst__cta:focus-visible {
  color: #003080 !important;
  text-decoration: none !important;
}
/* Underline only the text span — arrow (.msi) gets no underline */
.dsq-hst__cta:hover .dsq-hst__cta-text,
.dsq-hst__cta:focus-visible .dsq-hst__cta-text {
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
}
.dsq-hst__cta:hover .msi,
.dsq-hst__cta:focus-visible .msi {
  transform: translateX(4px) !important;
}
.dsq-hst__cta:focus-visible {
  outline: 2px solid rgba(0, 79, 171, 0.5) !important;
  outline-offset: 3px !important;
  border-radius: 2px !important;
}

/* Center the remaining profile while the other team cards are hidden. */
.dsq-team__grid.dsq-team__grid--centered {
  grid-template-columns: minmax(0, 720px) !important;
  justify-content: center;
  width: 100% !important;
  max-width: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Preserve the full landscape photo and place the caption beneath it. */
.dsq-team__grid--centered .dsq-team__card {
  aspect-ratio: auto !important;
  min-height: 0 !important;
}
.dsq-team__grid--centered .dsq-team__card-img {
  position: static !important;
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
}
.dsq-team__grid--centered .dsq-team__card-overlay {
  display: none !important;
}
.dsq-team__grid--centered .dsq-team__card-info {
  position: static !important;
}
