/**
 * Shopify Development Services page-only extras.
 * Loaded only via seo.extra_css — scoped so other pages are unaffected.
 */
body.page-shopify .shopify-theme-page.theme-html-root {
  /* namespace hook */
}

body.page-shopify .shopify-theme-page .sec-paper,
body.page-shopify .shopify-theme-page .sec-mist,
body.page-shopify .shopify-theme-page .sec-ink {
  position: relative;
}

body.page-shopify .hero-eyebrow {
  display: none !important;
}

body.page-shopify .hero-badges.hero-trust,
body.page-shopify .hero-trust.hero-badges {
  margin-top: 1.25rem;
}

/* ─── Hero: light breathing room (beats stacked over-padding) ─── */
html body.page-shopify.page-service .hero,
html body.page-shopify.page-service section.hero {
  padding-top: 72px !important;
  padding-bottom: clamp(24px, 3vw, 40px) !important;
}

html body.page-shopify.page-service .hero > .wrap,
html body.page-shopify.page-service .hero > .hero-in,
html body.page-shopify.page-service .hero > .container {
  padding-top: 8px !important;
  padding-bottom: clamp(12px, 2vw, 24px) !important;
}

html body.page-shopify.page-service .hero .hero-copy,
html body.page-shopify.page-service .hero .hero-inner {
  padding-top: 8px !important;
  padding-bottom: clamp(14px, 2vw, 28px) !important;
  margin-top: 0 !important;
}

html body.page-shopify.page-service .hero h1 {
  margin-top: 0.2em !important;
  margin-bottom: 0.45em !important;
  line-height: 1.12 !important;
}

html body.page-shopify.page-service .hero .lede,
html body.page-shopify.page-service .hero p.sub,
html body.page-shopify.page-service .hero .hero-sub {
  margin-top: 0 !important;
  margin-bottom: clamp(18px, 2.4vw, 28px) !important;
  line-height: 1.55 !important;
}

html body.page-shopify.page-service .hero-actions,
html body.page-shopify.page-service .hero-ctas {
  margin-top: 0 !important;
  margin-bottom: clamp(12px, 1.8vw, 20px) !important;
}

@media (max-width: 900px) {
  html body.page-shopify.page-service .hero,
  html body.page-shopify.page-service section.hero {
    padding-top: 72px !important;
    padding-bottom: 24px !important;
  }

  html body.page-shopify.page-service .hero > .wrap,
  html body.page-shopify.page-service .hero > .hero-in,
  html body.page-shopify.page-service .hero > .container {
    padding-top: 6px !important;
  }

  html body.page-shopify.page-service .hero .hero-copy,
  html body.page-shopify.page-service .hero .hero-inner {
    padding-top: 6px !important;
    padding-bottom: 14px !important;
  }
}

/* #services cards stay dark on every breakpoint. */
html body.page-shopify.page-service .shopify-theme-page #services .svc-card {
  background: var(--ink, #0a1a22) !important;
  background-color: var(--ink, #0a1a22) !important;
  color: #9fb6be !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

html body.page-shopify.page-service .shopify-theme-page #services .svc-card h3 {
  color: #fff !important;
}

html body.page-shopify.page-service .shopify-theme-page #services .svc-card p {
  color: #9fb6be !important;
}

html body.page-shopify.page-service .shopify-theme-page #services .svc-card .tile {
  background: #061018 !important;
  background-color: #061018 !important;
  color: var(--signal, #f47a1f) !important;
}

html body.page-shopify.page-service .shopify-theme-page #services .svc-card .tile svg {
  stroke: var(--signal, #f47a1f) !important;
}

html body.page-shopify.page-service .shopify-theme-page #services .svc-card:hover .tile {
  background: var(--signal, #f47a1f) !important;
  color: var(--signal-ink, #0a1a22) !important;
}

html body.page-shopify.page-service .shopify-theme-page #services .svc-card:hover .tile svg {
  stroke: var(--signal-ink, #0a1a22) !important;
}

/* ─── #services: mobile carousel with orange dots ─── */
@media (max-width: 900px) {
  html body.page-shopify.page-service .shopify-theme-page section#services {
    overflow-x: clip !important;
    overflow-y: visible !important;
  }

  html body.page-shopify.page-service .shopify-theme-page #services .wrap {
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: visible !important;
  }

  html body.page-shopify.page-service .shopify-theme-page #services .svc-grid.thm-mobile-carousel[data-thm-carousel] {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    gap: 14px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    margin-top: 28px !important;
    padding: 0 0 6px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    scroll-snap-type: x mandatory !important;
    overscroll-behavior-x: contain !important;
    grid-template-columns: none !important;
    scrollbar-width: none !important;
    touch-action: pan-x !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }

  html body.page-shopify.page-service .shopify-theme-page #services .svc-grid.thm-mobile-carousel[data-thm-carousel]::-webkit-scrollbar {
    display: none !important;
    height: 0 !important;
  }

  html body.page-shopify.page-service .shopify-theme-page #services .svc-grid.thm-mobile-carousel[data-thm-carousel] > .svc-card {
    flex: 0 0 100% !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
    scroll-snap-align: start !important;
    scroll-snap-stop: always !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 22px 18px 24px !important;
    border-radius: 18px !important;
    overflow-wrap: anywhere !important;
  }

  html body.page-shopify.page-service .shopify-theme-page #services .svc-card h3,
  html body.page-shopify.page-service .shopify-theme-page #services .svc-card p {
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
  }

  html body.page-shopify.page-service .shopify-theme-page #services .wrap > .testi-dots.thm-carousel-dots {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 18px 0 0 !important;
  }

  html body.page-shopify.page-service .shopify-theme-page #services .testi-dot {
    width: 8px !important;
    height: 8px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.28) !important;
    cursor: pointer;
  }

  html body.page-shopify.page-service .shopify-theme-page #services .testi-dot.is-active {
    background: var(--signal, #f47a1f) !important;
    transform: scale(1.15);
  }
}

@media (min-width: 901px) {
  html body.page-shopify.page-service .shopify-theme-page #services .svc-grid.page-svc-stack,
  html body.page-shopify.page-service .shopify-theme-page #services .svc-grid[data-thm-stack] {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 20px !important;
  }

  html body.page-shopify.page-service .shopify-theme-page #services .svc-grid.page-svc-stack > .svc-stack-item {
    position: relative !important;
    top: auto !important;
    margin: 0 !important;
    transform: none !important;
  }
}

@media (min-width: 901px) and (max-width: 1100px) {
  html body.page-shopify.page-service .shopify-theme-page #services .svc-grid.page-svc-stack,
  html body.page-shopify.page-service .shopify-theme-page #services .svc-grid[data-thm-stack] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* Industries: real cards, 4 per row on large screens. */
@media (min-width: 981px) {
  html body.page-shopify.page-service .shopify-theme-page #industries .ind-grid,
  html body.page-shopify.page-service .shopify-theme-page #industries .ind-grid[data-thm-carousel]:not(.thm-mobile-carousel) {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 50px !important;
    overflow: visible !important;
  }
}

html body.page-shopify.page-service .shopify-theme-page #industries .ind-grid > .ind {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  background: #fff !important;
  border: 1px solid var(--line, #e1e9e5) !important;
  border-radius: 18px !important;
  padding: 24px !important;
  box-shadow: 0 1px 2px rgba(13, 32, 41, 0.05) !important;
  text-decoration: none !important;
  color: inherit !important;
}

html body.page-shopify.page-service .shopify-theme-page #industries .ind h3 {
  margin: 0 0 6px !important;
  font-size: 1rem !important;
  color: var(--graphite, #0d2029) !important;
}

html body.page-shopify.page-service .shopify-theme-page #industries .ind p {
  margin: 0 !important;
  max-width: none !important;
  font-size: 0.85rem !important;
  line-height: 1.5 !important;
  color: var(--slate, #4b5b62) !important;
}

/* First paper section: pain cards swipe up on mobile. */
@media (max-width: 900px) {
  html body.page-shopify.page-service .shopify-theme-page section.sec-paper:has(.pain-grid.page-svc-stack) {
    overflow-x: clip !important;
    overflow-y: visible !important;
  }

  html body.page-shopify.page-service .shopify-theme-page section.sec-paper .pain-grid.page-svc-stack {
    display: block !important;
    grid-template-columns: none !important;
    width: 100% !important;
    margin-top: 28px !important;
  }

  html body.page-shopify.page-service .shopify-theme-page section.sec-paper .pain-grid.page-svc-stack > .svc-stack-item {
    position: sticky !important;
    top: calc(var(--svc-stack-nav, 68px) + (var(--index0, 0) * var(--svc-stack-peek, 14px))) !important;
    z-index: calc(1 + var(--index0, 0)) !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 18px !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  html body.page-shopify.page-service .shopify-theme-page section.sec-paper .pain-grid.page-svc-stack > .svc-stack-item:last-child {
    margin-bottom: 0 !important;
  }

  html body.page-shopify.page-service .shopify-theme-page section.sec-paper .pain-grid.page-svc-stack .pain-card {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    background: #fff !important;
    border: 1px solid var(--line, #e1e9e5) !important;
    border-radius: 18px !important;
    opacity: 1 !important;
    overflow-wrap: anywhere !important;
  }
}

@media (min-width: 901px) {
  html body.page-shopify.page-service .shopify-theme-page section.sec-paper .pain-grid[data-thm-stack] {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 20px !important;
  }

  html body.page-shopify.page-service .shopify-theme-page section.sec-paper .pain-grid > .svc-stack-item {
    display: contents !important;
  }
}

@media (max-width: 900px) {
  html body.page-shopify.page-service .shopify-theme-page #why .why-grid > .testi-dots.thm-carousel-dots {
    position: static !important;
    width: 100% !important;
    margin: 16px 0 22px !important;
    order: 0 !important;
  }
}
