/* ==========================================================
   ACCESSIBLE CONTENT LINKS (GenerateBlocks / WordPress)
   Restores underlines on normal body content while keeping
   navigation, buttons, and UI elements clean.
   ========================================================== */

.entry-content p a,
.entry-content li a,
.entry-content address a,
.entry-content figcaption a {
  text-decoration: underline;
  text-decoration-thickness: 1.25px;
  text-underline-offset: 3px;
}

.entry-content p a:hover,
.entry-content p a:focus,
.entry-content li a:hover,
.entry-content li a:focus,
.entry-content address a:hover,
.entry-content address a:focus,
.entry-content figcaption a:hover,
.entry-content figcaption a:focus {
  text-decoration-thickness: 2px;
}

/* Keep UI links unstyled */
.gb-button,
.gb-button-wrapper a,
.wp-block-button__link,
.wp-block-buttons a,
.wpcf7-submit,
.button,
nav a,
.main-navigation a,
.site-header a,
.site-footer a {
  text-decoration: none;
}


/* ==========================================================
   STADIUM DANCE UNIFIED CSS â€” GENERATEBLOCKS GLOBAL
   Clean production stylesheet for the GeneratePress / GenerateBlocks build.
   Theme-specific selectors removed:
   - edgtf / EdgeTheme / Manon header, footer, menu, mobile header
   - Elementor container overrides
   - Old theme footer widget image/layout fixes

   Stadium U remains page-level only on /stadiumu/.
   ========================================================== */

/* ==========================================================
   GLOBAL UTILITY / SAFETY
   ========================================================== */

.contact-info,
.contact-info a {
  color: #000;
  font-weight: 700;
}

.contact-info {
  font-size: 0.9rem;
  line-height: 1.8;
}

.contact-info p {
  margin: 4px 0;
}

.contact-info a {
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* Restore underlines on readable body-content links for accessibility.
   Scoped to content areas so nav, logos, buttons, cards, and UI links stay clean. */
.entry-content p a,
.entry-content li a,
.entry-content address a,
.entry-content figcaption a {
  color: #111;
  text-decoration: underline;
  text-decoration-thickness: 1.25px;
  text-underline-offset: 3px;
}

.entry-content p a:hover,
.entry-content p a:focus,
.entry-content li a:hover,
.entry-content li a:focus,
.entry-content address a:hover,
.entry-content address a:focus,
.entry-content figcaption a:hover,
.entry-content figcaption a:focus {
  color: #000;
  text-decoration-thickness: 2px;
}

.gb-button,
.gb-button-wrapper a,
.wp-block-button__link,
.wp-block-buttons a,
.wpcf7-submit,
.button,
nav a,
.main-navigation a,
.site-header a,
.site-footer a {
  text-decoration: none;
}

@media (max-width: 480px) {
  body {
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }

  h1,
  h2,
  h3,
  h4 {
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }

  p,
  li,
  a {
    overflow-wrap: anywhere;
  }
}

/* Contact Form 7 two-column row helper */
.cf7-row > p {
  display: flex !important;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 20px;
  margin: 0 0 8px !important;
}

.cf7-row > p > br {
  display: none !important;
}

.cf7-row > p > label {
  display: inline-block !important;
  flex: 1 1 0 !important;
  width: auto !important;
  min-width: 0;
}

.cf7-row > p > label input,
.cf7-row > p > label select,
.cf7-row > p > label textarea {
  width: 100% !important;
  box-sizing: border-box;
}

@media (max-width: 640px) {
  .cf7-row > p {
    flex-direction: column !important;
    gap: 0;
  }
}

/* ==========================================================
   GLOBAL LOCKED SYSTEM
   ========================================================== */

.sd-hero,
.sd-section,
.sd-figure {
  color: #222;
  font-family: inherit;
  box-sizing: border-box;
}

.sd-hero *,
.sd-section *,
.sd-figure * {
  box-sizing: border-box;
}

.sd-hero p,
.sd-section p,
.sd-section li,
.sd-section address {
  font-size: 1rem;
  line-height: 1.7;
}

.sd-section p {
  margin: 0 0 1rem;
}

.sd-section p:last-child {
  margin-bottom: 0;
}

.sd-section strong,
.sd-hero strong {
  color: #111;
  font-weight: 700;
}

/* ==========================================================
   HERO
   ========================================================== */

.sd-hero {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: clamp(2.75rem, 4vw, 3.5rem) clamp(1.5rem, 4vw, 3rem);
  background: #fff;
  border: 0;
}

.sd-hero__inner {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  text-align: center;
}

.sd-hero__content,
header.sd-hero__content {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0;
  border: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: center;
}

.sd-eyebrow {
  font-size: 0.78rem;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #555;
  margin: 0;
  text-align: center;
}

.sd-hero__title {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.08;
  margin: 0;
  font-weight: 700;
  color: #111;
  text-align: center;
  letter-spacing: -0.035em;
}

.sd-hero__subtitle {
  font-size: clamp(1.1rem, 1.9vw, 1.4rem);
  line-height: 1.4;
  font-weight: 600;
  margin: 0;
  color: #222;
  text-align: center;
  max-width: 850px;
}

.sd-hero__lead {
  font-size: clamp(1rem, 1.1vw, 1.08rem);
  line-height: 1.7;
  margin: 0 auto;
  max-width: 900px;
  color: #222;
  text-align: left;
}

.sd-hero__figure {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
}

.sd-hero__figure .sd-image,
.sd-hero__figure img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 1140 / 500;
  border-radius: 0;
}

/* Compact square hero portrait (founder headshot) - overrides the 1140/500 hero image ratio */
.sd-hero__figure--compact {
  max-width: 400px;
}

.sd-hero__figure--compact .sd-image,
.sd-hero__figure--compact img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.sd-hero__figcaption,
.sd-hero__figure .sd-figcaption {
  font-size: 0.85rem;
  line-height: 1.6;
  color: #666;
  text-align: center;
  margin: 0.875rem auto 0;
  max-width: 900px;
  font-style: italic;
}

.sd-hero .sd-section__grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  justify-content: center;
  max-width: 960px;
}

.sd-hero .sd-section__item {
  display: inline-block;
  width: auto;
  padding: 0.55rem 0.9rem;
  border: 0;
  border-radius: 0;
  font-size: 0.78rem;
  line-height: 1.2;
  color: #333;
  background: #faf8f5;
  white-space: normal;
}

/* ==========================================================
   SECTION BASE
   ========================================================== */

.sd-section {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: clamp(2.25rem, 3.5vw, 3rem) clamp(1.5rem, 4vw, 3rem);
  background: #fff;
  border: 0;
}

.sd-hero + .sd-section {
  margin-top: 0;
}

.sd-section__inner {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
}

.sd-section__header,
header.sd-section__header {
  max-width: 960px;
  margin: 0 auto 2rem;
  padding: 0;
  border: 0;
  text-align: center;
}

.sd-section__title,
.sd-section__header h2 {
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.18;
  margin: 0 0 1rem;
  color: #111;
  text-align: center;
}

.sd-section__subtitle {
  font-size: 1.15rem;
  font-weight: 700;
  color: #111;
  margin: 0 0 0.75rem;
  line-height: 1.35;
  text-align: left;
}

.sd-section__summary {
  font-size: 1rem;
  line-height: 1.7;
  color: #333;
  margin: 0 auto;
  max-width: 960px; /* unified readable measure - matches header */
  text-align: left;
}

.sd-section__body {
  max-width: 1140px;
  margin: 0 auto;
}

.sd-section__body > *:last-child {
  margin-bottom: 0;
}

.sd-section__body h3.sd-section__subtitle {
  margin-top: 1.5rem;
}

.sd-section__body h3.sd-section__subtitle:first-child {
  margin-top: 0;
}

.sd-section__body h4 {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  color: #111;
  margin: 0 0 0.75rem;
}

/* Unified readable content measure: prose, lists, address, and nav across every
   section share one 960px centered column (matching the header) so text aligns
   section-to-section. Card grids and the comparison table stay full-width (the
   intentional wide band). */
.sd-section__body > p,
.sd-section__body > ul:not(.sd-section__grid),
.sd-section__body > ol,
.sd-section__body > address,
.sd-section__body > nav,
.sd-section__body > h3,
.sd-section__body > h4 {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

/* When a card grid is the first thing in the body, the header's bottom margin
   already spaces it - drop the grid's top margin so the gap isn't doubled.
   StadiumU house keeps its own grid spacing. */
.sd-section:not(.sd-section--house) .sd-section__body > .sd-section__grid:first-child {
  margin-top: 0;
}

/* ==========================================================
   SECTION MODIFIERS
   (Section base is already white; only the tinted CTA/contact
   surfaces and flow rules need declarations.)
   ========================================================== */

.sd-section--cta,
.sd-section--contact {
  background: #faf8f5;
}

.sd-section--portfolio + .sd-section--portfolio {
  margin-top: 0;
}

/* Sections flow seamlessly (no inter-section gap); a single hairline marks each
   boundary so the page reads as one continuous sheet. StadiumU is excluded. */
.sd-hero + .sd-section:not(.sd-section--house),
.sd-section + .sd-section:not(.sd-section--house) {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.sd-hero,
.sd-section--faq {
  border: 0;
}

/* ==========================================================
   GRID + BLOCK SYSTEM
   ========================================================== */

.sd-section__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1.25rem, 2vw, 2rem);
  margin: 2rem auto 0;
  padding: 0;
  list-style: none;
  max-width: 1140px;
  align-items: stretch;
}

.sd-section__item {
  min-width: 0;
  padding: 1.5rem;
  background: #faf8f5;
  border: 0;
  border-radius: 0;
  display: flex;
  flex-direction: column;
}

.sd-section__item p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #333;
  margin: 0 0 1rem;
  max-width: 65ch;
}

.sd-section__item p:last-child {
  margin-bottom: 0;
}

.sd-section__item .sd-link {
  margin-top: auto;
  align-self: flex-start;
}

.sd-section__media {
  margin: 1.5rem auto 0;
  max-width: 1140px;
}

.sd-section--buyers .sd-section__grid,
.sd-section--related .sd-section__grid,
.sd-section--testimonials .sd-section__grid {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

/* Symmetric card grids: pick a column count that tiles the cards evenly so no row
   is left with an orphan card + blank space. 3/6/9 -> 3 columns, 2/4/8 -> 2 columns,
   and counts that can't tile evenly (5, 7) stack into a single column.
   Applies from tablet up; mobile (<=768px) stacks everything below. */
@media (min-width: 769px) {
  .sd-section__grid:has(> .sd-section__item:nth-child(3):last-child),
  .sd-section__grid:has(> .sd-section__item:nth-child(6):last-child),
  .sd-section__grid:has(> .sd-section__item:nth-child(9):last-child) {
    grid-template-columns: repeat(3, 1fr);
  }

  .sd-section__grid:has(> .sd-section__item:nth-child(2):last-child),
  .sd-section__grid:has(> .sd-section__item:nth-child(4):last-child),
  .sd-section__grid:has(> .sd-section__item:nth-child(8):last-child) {
    grid-template-columns: repeat(2, 1fr);
  }

  .sd-section__grid:has(> .sd-section__item:nth-child(5):last-child),
  .sd-section__grid:has(> .sd-section__item:nth-child(7):last-child) {
    grid-template-columns: 1fr;
  }
}

/* FAQ */

.sd-section--faq .sd-section__grid {
  display: block;
  max-width: 960px;
  margin-top: 1.5rem;
}

.sd-section--faq .sd-section__item {
  display: block;
  padding: 1.5rem 0;
  background: transparent;
  border: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08); /* faint slim divider above each question, incl. the first */
  border-radius: 0;
}

.sd-section--faq .sd-section__subtitle {
  font-size: 1.1rem;
  line-height: 1.4;
  margin: 0 0 0.75rem;
}

.sd-section--faq .sd-section__item p {
  font-size: 1rem;
  line-height: 1.75;
  max-width: none;
}

/* Process - <ol> steps. Two markup patterns are supported:
   (a) <li><h3>Title</h3><p>...</p></li>  - numeral renders via h3::before
   (b) <li><strong>Title.</strong> text</li> - numeral renders via li::before
   Both get the same quiet inline numeral; list-style is suppressed. */

.sd-section--process ol {
  max-width: 960px;
  margin: 1.75rem auto 0;
  padding: 0;
  list-style: none;
  counter-reset: sd-step;
}

.sd-section--process ol > li {
  counter-increment: sd-step;
  position: relative;
  padding-left: 2.5rem;
  margin-bottom: 1.5rem;
}

.sd-section--process ol > li:last-child {
  margin-bottom: 0;
}

.sd-section--process ol > li > h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

.sd-section--process ol > li > h3::before,
.sd-section--process ol > li:not(:has(> h3))::before {
  content: counter(sd-step);
  position: absolute;
  left: 0;
  top: 0.05em;
  width: 1.6rem;
  font-size: 0.85rem;
  font-weight: 400; /* light - not bold */
  color: #999; /* muted gray numeral */
  letter-spacing: 0.02em;
}

.sd-section--process ol > li:not(:has(> h3))::before {
  top: 0.35em;
}

.sd-section--process ol > li > p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #333;
}

/* Testimonials */

.sd-section--testimonials blockquote.sd-section__item {
  margin: 0;
  border: 0;
  background: #faf8f5;
  padding: 1.5rem;
}

.sd-section--testimonials blockquote.sd-section__item p {
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.7;
  color: #333;
}

.sd-section--testimonials blockquote.sd-section__item footer {
  font-size: 0.9rem;
  font-style: normal;
  color: #555;
}

/* Comparison */

.sd-section--comparison table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem auto 0;
  font-size: 0.95rem;
  line-height: 1.5;
  background: #fff;
  border: 0;
}

.sd-section--comparison th,
.sd-section--comparison td {
  padding: 1rem;
  border: 0;
  vertical-align: top;
  text-align: left;
}

.sd-section--comparison th {
  color: #111;
  font-weight: 700;
  background: #faf8f5;
}

/* ==========================================================
   LINKS + CTA
   ========================================================== */

.sd-link,
a.sd-link,
a.sd-link:link,
a.sd-link:visited,
.sd-section a:not(.sd-cta),
.sd-hero a:not(.sd-cta) {
  color: #111;
  font-weight: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1.25px;
  text-underline-offset: 3px;
}

.sd-link:hover,
.sd-link:focus,
.sd-section a:not(.sd-cta):hover,
.sd-section a:not(.sd-cta):focus,
.sd-hero a:not(.sd-cta):hover,
.sd-hero a:not(.sd-cta):focus {
  color: #000;
  text-decoration-thickness: 2px;
}

.sd-cta__wrap {
  margin-top: 1.75rem;
  margin-bottom: 0;
  text-align: center;
}

.sd-cta,
a.sd-cta,
a.sd-cta:link,
a.sd-cta:visited {
  display: inline-block;
  padding: 0.95rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  color: #fff !important;
  background-color: #000 !important;
  border: 1px solid #000 !important;
  border-radius: 0;
  text-decoration: none !important;
  text-transform: uppercase;
}

.sd-cta:hover,
.sd-cta:focus,
a.sd-cta:hover,
a.sd-cta:focus {
  background-color: #000 !important;
  border-color: #000 !important;
  color: #fff !important;
  text-decoration: none !important;
}

.sd-cta--secondary,
a.sd-cta--secondary,
a.sd-cta--secondary:link,
a.sd-cta--secondary:visited {
  background-color: transparent !important;
  color: #000 !important;
  border-color: #000 !important;
}

.sd-cta--secondary:hover,
.sd-cta--secondary:focus {
  background-color: #000 !important;
  color: #fff !important;
}

/* CTA/contact text lines extracted from <address> (descriptor
   tagline, service area, portfolio link, social link). Shares
   the 960px measure; descriptor reads as the business tagline. */
.sd-cta__descriptor,
.sd-cta__service-area,
.sd-cta__portfolio,
.sd-cta__social {
  max-width: 960px;
  margin: 1.5rem auto 0;
  font-size: 1rem;
  line-height: 1.7;
  color: #333;
  text-align: left;
}

.sd-cta__descriptor {
  font-weight: 600;
  color: #111;
}

/* Descriptor sits directly above the address card - tighten the pair. */
.sd-cta__descriptor + address {
  margin-top: 0.75rem;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid #000;
  outline-offset: 3px;
  border-radius: 0;
}

/* ==========================================================
   FIGURES + IMAGES
   ========================================================== */

.sd-figure {
  width: 100%;
  max-width: 1140px;
  margin: 2rem auto;
  padding: 0;
}

.sd-image,
.sd-figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
  object-fit: cover;
  aspect-ratio: 1140 / 500;
}

/* Square portrait figure (in-body founder headshots, etc.) - overrides the 1140/500 figure ratio */
.sd-figure--portrait {
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.sd-figure--portrait .sd-image,
.sd-figure--portrait img {
  aspect-ratio: 1 / 1;
}

/* Map embed figure (contact page iframe wrapper) */
.sd-figure--map iframe {
  width: 100%;
  border: 0;
  display: block;
}

.sd-figcaption {
  font-size: 0.85rem;
  line-height: 1.6;
  color: #666;
  text-align: center;
  margin: 0.875rem auto 0;
  max-width: 900px;
  font-style: italic;
}

/* ==========================================================
   CTA ADDRESS + RELATED NAV
   ========================================================== */

.sd-section--cta .sd-section__body {
  text-align: left;
}

.sd-section--cta address,
.sd-section--contact address {
  max-width: 960px;
  margin: 1.5rem auto;
  padding: 1.5rem;
  background: #fff;
  border: 0;
  border-radius: 0;
  font-style: normal;
  text-align: left;
  line-height: 1.75;
  color: #333;
}

.sd-section--cta address strong,
.sd-section--contact address strong {
  color: #111;
  font-weight: 700;
}

.sd-section--cta nav,
.sd-section--related nav,
.sd-section--contact nav {
  max-width: 960px;
  margin: 1.5rem auto 0;
}

.sd-section--cta nav p,
.sd-section--related nav p,
.sd-section--contact nav p {
  font-size: 1rem;
  line-height: 1.75;
  color: #333;
  margin: 0;
  text-align: left;
}

/* ==========================================================
   FORMS
   ========================================================== */

.sd-section--form form {
  max-width: 960px;
  margin: 0 auto;
}

.sd-section--form input,
.sd-section--form select,
.sd-section--form textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border-radius: 0;
}

.sd-section--form input[type="submit"],
.sd-section--form button[type="submit"] {
  display: inline-block;
  width: auto;
  padding: 0.95rem 1.75rem;
  color: #fff;
  background: #000;
  border: 1px solid #000;
  border-radius: 0;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
}

.sd-section--form input[type="submit"]:hover,
.sd-section--form button[type="submit"]:hover {
  background: #000;
  border-color: #000;
}

/* ==========================================================
   POLICY PAGES
   ========================================================== */

.sd-section--policy .sd-section__body {
  max-width: 960px;
}

.sd-section--policy ul,
.sd-section--policy ol {
  max-width: 960px;
  margin: 1rem auto;
  padding-left: 1.25rem;
}

.sd-section--policy li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

/* ==========================================================
   RESPONSIVE (core system)
   ========================================================== */

@media (max-width: 1024px) {
  .sd-section__grid,
  .sd-section--buyers .sd-section__grid,
  .sd-section--related .sd-section__grid,
  .sd-section--testimonials .sd-section__grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .sd-hero {
    padding: 2rem 1.5rem;
  }

  .sd-section {
    padding: 2rem 1.5rem;
  }

  .sd-hero__inner {
    gap: 1.5rem;
  }

  .sd-hero__content,
  header.sd-hero__content {
    gap: 1rem;
  }

  .sd-eyebrow {
    font-size: 0.72rem;
  }

  .sd-hero__title {
    font-size: 1.75rem;
    line-height: 1.16;
  }

  .sd-hero__subtitle {
    font-size: 1.02rem;
    line-height: 1.38;
  }

  .sd-hero__lead {
    font-size: 0.95rem;
    line-height: 1.65;
  }

  .sd-hero .sd-section__grid {
    gap: 0.4rem;
  }

  .sd-hero .sd-section__item {
    font-size: 0.75rem;
    padding: 0.45rem 0.7rem;
  }

  .sd-cta,
  a.sd-cta {
    padding: 0.85rem 1.5rem;
    font-size: 0.85rem;
    width: 100%;
    max-width: 340px;
    text-align: center;
  }

  .sd-hero__figure .sd-image,
  .sd-hero__figure img,
  .sd-image,
  .sd-figure img {
    aspect-ratio: 16 / 9;
  }

  /* Keep square portraits square on mobile (base rule above switches to 16/9) */
  .sd-hero__figure--compact .sd-image,
  .sd-hero__figure--compact img,
  .sd-figure--portrait .sd-image,
  .sd-figure--portrait img {
    aspect-ratio: 1 / 1;
  }

  .sd-section__grid,
  .sd-section--buyers .sd-section__grid,
  .sd-section--related .sd-section__grid,
  .sd-section--testimonials .sd-section__grid {
    grid-template-columns: 1fr;
  }

  .sd-section--comparison table,
  .sd-section--comparison thead,
  .sd-section--comparison tbody,
  .sd-section--comparison th,
  .sd-section--comparison td,
  .sd-section--comparison tr {
    display: block;
  }

  .sd-section--comparison thead {
    display: none;
  }

  .sd-section--comparison tr {
    margin-bottom: 1rem;
    border: 0;
    padding: 1rem;
  }

  .sd-section--comparison th,
  .sd-section--comparison td {
    border: 0;
    padding: 0.5rem 0;
  }

  .sd-section--comparison td[data-label]::before {
    content: attr(data-label);
    display: block;
    font-weight: 700;
    color: #111;
    margin-bottom: 0.15rem;
  }
}

@media (max-width: 600px) {
  .sd-hero,
  .sd-section {
    max-width: calc(100% - 2rem);
    margin-left: auto;
    margin-right: auto;
    padding: 1.25rem;
  }

  .sd-section {
    margin-bottom: 1.5rem;
  }

  .sd-section__title,
  .sd-section__header h2 {
    font-size: 1.45rem;
  }

  .sd-section__subtitle {
    font-size: 1.05rem;
  }

  .sd-section__item {
    padding: 1.25rem;
  }

  .sd-section--faq .sd-section__item {
    padding: 1.25rem 0;
  }

  .sd-figure {
    max-width: calc(100% - 2rem);
    margin: 1.5rem auto;
  }

  .sd-section--testimonials blockquote.sd-section__item {
    padding: 1.25rem;
  }
}

@media (max-width: 480px) {
  .sd-hero__title {
    font-size: 1.45rem;
  }

  .sd-hero__subtitle {
    font-size: 0.98rem;
  }

  .sd-hero__lead {
    font-size: 0.9rem;
    line-height: 1.6;
  }
}

/* ============================================================
   FOOTER — MOBILE / TABLET RESPONSIVE
   ============================================================ */

/* Back-to-top: black arrow on white background */
.generate-back-to-top {
  background-color: #fff !important;
  color: #000 !important;
  border: 1px solid rgba(0,0,0,0.15) !important;
}
.generate-back-to-top svg,
.generate-back-to-top::before,
.generate-back-to-top::after {
  color: #000 !important;
  fill: #000 !important;
  stroke: #000 !important;
}

/* Footer logo — never overflow container */
.site-footer-custom .footer-logo img {
  max-width: 100% !important;
  width: auto !important;
  height: auto !important;
}

@media (max-width: 768px) {
  .site-footer-custom {
    padding: 40px 20px !important;
  }

  .site-footer-custom > div {
    max-width: 100% !important;
    padding: 0 !important;
  }

  /* Social icons — wrap if needed */
  .site-footer-custom .footer-social {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 8px !important;
    margin-bottom: 20px !important;
  }

  /* Footer nav links — wrap gracefully */
  .site-footer-custom .footer-nav {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 4px 8px !important;
    line-height: 2 !important;
  }

  /* Logo — constrain width on mobile */
  .site-footer-custom .footer-logo {
    margin: 12px auto !important;
  }

  .site-footer-custom .footer-logo img {
    max-width: 160px !important;
    width: 160px !important;
  }

  /* Legal links — hide pipe separators on mobile, use gap instead */
  .site-footer-custom .footer-legal {
    font-size: 11px !important;
    letter-spacing: 0.5px !important;
    line-height: 2 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 6px 14px !important;
  }

  /* Hide pipe separators in footer legal on mobile */
  .site-footer-custom .footer-legal span {
    display: none !important;
  }

  /* Back-to-top on mobile */
  .generate-back-to-top {
    bottom: 20px !important;
    right: 15px !important;
    width: 36px !important;
    height: 36px !important;
  }
}

@media (max-width: 480px) {
  .site-footer-custom {
    padding: 32px 16px !important;
  }

  .site-footer-custom .footer-logo img {
    max-width: 140px !important;
    width: 140px !important;
  }

  .site-footer-custom .footer-legal {
    font-size: 11px !important;
    letter-spacing: 0.5px !important;
  }
}