/* ==========================================================================
   Mobio Technologies — Section-Specific Styles (Viewport Fitted)
   ========================================================================== */

/* --------------------------------------------------------------------------
   Section 1 — Hero Bottom Strip: Recent Clients And Partners Marquee
   -------------------------------------------------------------------------- */
.hero-bottom-bar {
  margin-top: 0.35rem;
  padding-top: 0.35rem;
  border-top: 1px solid var(--border-subtle);
  width: 100%;
}

.partners-row-wrapper {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 1.5rem !important;
  width: 100% !important;
  min-height: 88px !important;
  overflow: hidden !important;
  flex-wrap: nowrap !important;
}

.partners-heading-col {
  flex-shrink: 0 !important;
  display: flex !important;
  align-items: center !important;
}

.partners-heading {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent-green);
  margin: 0 !important;
  text-align: left;
  white-space: nowrap !important;
}

.partners-marquee-container {
  flex: 1 1 0% !important;
  min-width: 0 !important;
  overflow: hidden !important;
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  mask-image: linear-gradient(to right, transparent 0%, black 2.5%, black 97.5%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 2.5%, black 97.5%, transparent 100%);
}

.partners-marquee-track {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  width: max-content !important;
  animation: partnersScrollLeft 26s linear infinite !important;
  will-change: transform;
}

.partners-marquee-track:hover {
  animation-play-state: paused !important;
}

.partners-marquee-group {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 3rem !important;
  padding-right: 3rem !important;
  flex-shrink: 0 !important;
}

@keyframes partnersScrollLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.partner-logo-item {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  height: 84px !important;
  opacity: 0.95;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.partner-logo-item:hover {
  opacity: 1;
  transform: translateY(-2px);
}

/* Logos made two times bigger along horizontal frame; supports .png, .jpeg, .webp, .svg */
.partner-logo-img,
.partner-logo-svg {
  height: 80px !important;
  max-height: 80px !important;
  width: auto !important;
  max-width: 180px !important;
  object-fit: contain !important;
  display: block !important;
}

.partner-logo-img.logo-circle,
.partner-logo-svg.logo-circle {
  width: 80px !important;
  height: 80px !important;
  min-width: 80px !important;
  min-height: 80px !important;
  border-radius: 50% !important;
  object-fit: contain !important;
}

/* ==========================================================================
   Hero Section — Exact Match to Design Mockup
   ========================================================================== */
@media (min-width: 1024px) {
  #hero.section-block {
    padding: 0.5rem 2.25rem 0.35rem 2.25rem !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
  }

  #hero .section-container {
    height: auto !important;
    max-height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
  }

  #hero .section-hero-layout {
    display: grid !important;
    grid-template-columns: 1.16fr 0.94fr !important;
    grid-template-areas:
      "super   ."
      "head    image"
      "sub     image"
      "bullet  image"
      "ctas    extra"
      "bottom  bottom" !important;
    column-gap: 2.5rem !important;
    row-gap: 0.32rem !important;
    align-items: stretch !important;
  }

  #hero .hero-item-super-header {
    align-self: start !important;
    margin-top: 0 !important;
    margin-bottom: 0.25rem !important;
  }

  #hero .eyebrow-badge {
    margin-bottom: 0 !important;
    padding: 0.3rem 0.85rem !important;
    background-color: rgba(139, 92, 246, 0.12) !important;
    border: 1px solid rgba(139, 92, 246, 0.45) !important;
    color: #c4b5fd !important;
    font-size: 0.74rem !important;
    letter-spacing: 0.08em !important;
  }

  #hero .hero-item-header {
    align-self: start !important;
    margin-top: 0 !important;
  }

  #hero .hero-headline {
    font-size: clamp(1.85rem, 2.6vw, 2.45rem) !important;
    font-weight: 800 !important;
    line-height: 1.12 !important;
    letter-spacing: -0.025em !important;
    color: #ffffff !important;
    margin-bottom: 0.35rem !important;
  }

  #hero .section-subheading {
    font-size: clamp(0.88rem, 1.05vw, 0.96rem) !important;
    font-weight: 600 !important;
    line-height: 1.38 !important;
    color: #f5b83d !important;
    margin-bottom: 0.35rem !important;
    max-width: 580px !important;
  }

  #hero .hero-item-bullets {
    align-self: start !important;
    margin-top: 0 !important;
  }

  #hero .hero-item-bullets .hero-features-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.48rem !important;
    margin-bottom: 0 !important;
  }

  #hero .hero-feature-pill {
    display: flex !important;
    align-items: center !important;
    gap: 0.65rem !important;
    padding: 0.48rem 0.85rem !important;
    background-color: #140d24 !important;
    border: 1px solid #2d1f47 !important;
    border-radius: 6px !important;
    color: #ffffff !important;
    font-size: 0.88rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
  }

  #hero .hero-item-image {
    grid-area: image !important;
    align-self: stretch !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: 245px !important;
    display: flex !important;
    flex-direction: column !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  #hero .hero-item-image .image-frame-container {
    height: 100% !important;
    min-height: 0 !important;
    max-height: 100% !important;
    aspect-ratio: unset !important;
    flex: 1 1 auto !important;
    width: 100% !important;
    display: flex !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
  }

  #hero .hero-item-image .image-frame-container img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
  }

  #hero .hero-item-ctas {
    margin-top: 0.45rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
  }

  #hero .cta-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.55rem !important;
    height: 42px !important;
    padding: 0 1.35rem !important;
    border-radius: 4px !important;
    font-family: var(--font-heading) !important;
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.01em !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    border: none !important;
  }

  #hero .cta-btn.primary-yellow {
    background-color: #f5b83d !important;
    color: #14100a !important;
  }

  #hero .cta-btn.whatsapp-green {
    background-color: #22c55e !important;
    color: #06220f !important;
  }

  #hero .hero-item-extra {
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
    margin-top: 0.45rem !important;
    width: 100% !important;
  }

  #hero .hero-stats-under-image {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    align-items: center !important;
    width: 100% !important;
    height: 42px !important;
    padding: 0.25rem 0.5rem !important;
    background-color: #140d24 !important;
    border: 1px solid #2d1f47 !important;
    border-radius: 6px !important;
    margin: 0 !important;
  }

  #hero .hero-bottom-bar {
    margin-top: 0.45rem !important;
    padding-top: 0.45rem !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    width: 100% !important;
  }
}

.hero-stats-under-image {
  margin: 0 !important;
  padding: 0.35rem 0.65rem;
  background-color: #140d24;
  border: 1px solid #2d1f47;
  border-radius: var(--radius-sm);
  width: 100%;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  min-height: 42px;
  display: grid;
  align-items: center;
}

.hero-stats-under-image .hero-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
}

.hero-stat-number {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1;
  color: var(--accent-blue);
  font-variant-numeric: tabular-nums;
  margin-bottom: 0.1rem;
}

.hero-stat-label {
  font-size: 0.68rem;
  font-weight: 600;
  color: #9d96ad;
  text-transform: capitalize;
  white-space: nowrap;
  line-height: 1;
}

@media (max-width: 1023px) {
  #hero .hero-item-extra {
    order: 4;
    margin-top: -0.25rem !important;
    margin-bottom: 0.4rem !important;
  }
}

@media (max-width: 640px) {
  .hero-stats-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.45rem;
  }

  .partners-row-wrapper {
    gap: 0.85rem !important;
    min-height: 72px !important;
  }

  .partners-heading {
    font-size: 0.8rem !important;
    max-width: 95px !important;
    white-space: normal !important;
    line-height: 1.15 !important;
  }

  .partner-logo-item {
    height: 64px !important;
  }

  .partner-logo-img,
  .partner-logo-svg {
    height: 60px !important;
    max-height: 60px !important;
    max-width: 120px !important;
  }

  .partner-logo-img.logo-circle,
  .partner-logo-svg.logo-circle {
    width: 60px !important;
    height: 60px !important;
    min-width: 60px !important;
    min-height: 60px !important;
  }

  .partners-marquee-group {
    gap: 2rem !important;
    padding-right: 2rem !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .partners-marquee-track {
    animation: none !important;
    overflow-x: auto;
  }
}

/* ==========================================================================
   Section 2 — Why Choose Us (Stats Fit Only Under Image, Full Viewport Fit)
   ========================================================================== */
@media (min-width: 1024px) {
  #why-us.section-block {
    padding: 1.15rem 2.5rem !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
  }

  #why-us .section-container {
    height: auto !important;
    max-height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
  }

  #why-us .section-hero-layout {
    display: grid !important;
    grid-template-columns: 1.15fr 0.95fr !important;
    grid-template-areas:
      "super   image"
      "head    image"
      "sub     image"
      "bullet  image"
      "ctas    extra" !important;
    column-gap: 2.75rem !important;
    row-gap: 0.35rem !important;
    align-items: stretch !important;
  }

  #why-us .hero-item-super-header {
    align-self: start !important;
    margin-top: 0 !important;
    margin-bottom: 0.25rem !important;
  }

  #why-us .section-headline {
    margin-bottom: 0.35rem !important;
    line-height: 1.15 !important;
  }

  #why-us .section-subheading {
    margin-bottom: 0.45rem !important;
    line-height: 1.35 !important;
  }

  #why-us .hero-item-bullets {
    align-self: end !important;
    margin-bottom: 0 !important;
  }

  #why-us .feature-rows-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.35rem !important;
    margin-bottom: 0 !important;
  }

  #why-us .feature-row {
    padding: 0.42rem 0.75rem !important;
  }

  #why-us .hero-item-ctas {
    margin-top: 0.5rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
  }

  #why-us .hero-item-image {
    grid-area: image !important;
    align-self: stretch !important;
    height: 100% !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    margin: 0 !important;
  }

  #why-us .hero-item-image .image-frame-container {
    height: 100% !important;
    min-height: 0 !important;
    max-height: 100% !important;
    aspect-ratio: unset !important;
    flex: 1 1 auto !important;
    width: 100% !important;
    display: flex !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
  }

  #why-us .hero-item-image .image-frame-container img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
  }

  #why-us .hero-item-extra {
    grid-area: extra !important;
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
    margin-top: 0.5rem !important;
    width: 100% !important;
  }

  #why-us .why-us-stats-panel {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    align-items: center !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 44px !important;
    padding: 0.35rem 0.75rem !important;
    background-color: #140d24 !important;
    border: 1px solid #2d1f47 !important;
    border-radius: 6px !important;
    margin: 0 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35) !important;
  }

  #why-us .why-us-stats-panel .stat-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    line-height: 1.15 !important;
  }

  #why-us .why-us-stats-panel .stat-number {
    font-family: var(--font-heading) !important;
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    color: var(--accent-blue) !important;
    line-height: 1 !important;
    margin-bottom: 0.1rem !important;
  }

  #why-us .why-us-stats-panel .stat-label {
    font-size: 0.68rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    color: #a49cb5 !important;
    white-space: nowrap !important;
  }
}

@media (max-width: 1023px) {
  #why-us .hero-item-extra {
    order: 7;
    margin-top: 0.5rem;
    width: 100%;
  }

  #why-us .why-us-stats-panel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background-color: #140d24;
    border: 1px solid #2d1f47;
    border-radius: 6px;
    width: 100%;
  }

  #why-us .why-us-stats-panel .stat-number {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--accent-blue);
  }

  #why-us .why-us-stats-panel .stat-label {
    font-size: 0.65rem;
    color: #a49cb5;
  }
}

/* ==========================================================================
   Section 3 — Website Development (Stories + Viewport Fitted)
   ========================================================================== */
@media (min-width: 1024px) {
  #web-dev.section-block {
    padding: 0.85rem 2.5rem 0.55rem 2.5rem !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
  }

  #web-dev .section-container {
    height: auto !important;
    max-height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
  }

  #web-dev .section-hero-layout {
    display: grid !important;
    grid-template-columns: 1.05fr 1.05fr !important;
    grid-template-areas:
      "image   super"
      "image   head"
      "image   sub"
      "image   bullet"
      "extra   ctas" !important;
    column-gap: 2.75rem !important;
    row-gap: 0.32rem !important;
    align-items: stretch !important;
  }

  #web-dev .web-dev-image-col {
    grid-area: image !important;
    align-self: stretch !important;
    height: 100% !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    margin: 0 !important;
  }

  #web-dev .web-stories-card {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    justify-content: space-between !important;
  }

  #web-dev .story-image-frame {
    flex: 1 1 auto !important;
    height: 100% !important;
    min-height: 240px !important;
    max-height: clamp(250px, 42vh, 340px) !important;
    aspect-ratio: unset !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    position: relative !important;
  }

  #web-dev .story-img-layer {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
  }

  #web-dev .story-img-bg {
    z-index: 1 !important;
  }

  #web-dev .story-img-fg {
    z-index: 2 !important;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1) !important;
  }

  #web-dev .web-story-caption {
    margin-top: 0.4rem !important;
    margin-bottom: 0 !important;
    min-height: 38px !important;
    font-size: 0.82rem !important;
    line-height: 1.35 !important;
    display: flex !important;
    align-items: center !important;
    transition: opacity 0.45s ease !important;
  }

  #web-dev .web-dev-super {
    grid-area: super !important;
    align-self: start !important;
    margin-top: 0 !important;
    margin-bottom: 0.2rem !important;
  }

  #web-dev .web-dev-super .eyebrow-badge {
    margin-bottom: 0 !important;
    padding: 0.28rem 0.8rem !important;
  }

  #web-dev .web-dev-head {
    grid-area: head !important;
    align-self: start !important;
    font-size: clamp(1.6rem, 2.2vw, 2.15rem) !important;
    margin-top: 0 !important;
    margin-bottom: 0.25rem !important;
    line-height: 1.15 !important;
  }

  #web-dev .web-dev-sub {
    grid-area: sub !important;
    font-size: clamp(0.82rem, 0.95vw, 0.88rem) !important;
    line-height: 1.35 !important;
    margin-bottom: 0.35rem !important;
    max-width: 580px !important;
  }

  /* Compact bullet frames so everything fits comfortably within the viewport */
  #web-dev .web-dev-bullets {
    grid-area: bullet !important;
    align-self: end !important;
    margin-bottom: 0 !important;
  }

  #web-dev .feature-rows-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.25rem !important;
    margin-bottom: 0 !important;
  }

  #web-dev .feature-row {
    display: flex !important;
    align-items: center !important;
    gap: 0.55rem !important;
    padding: 0.3rem 0.75rem !important;
    min-height: 32px !important;
    background-color: var(--bg-card) !important;
    border: 1px solid var(--border-subtle) !important;
    border-radius: var(--radius-sm) !important;
  }

  #web-dev .feature-icon-box {
    width: 22px !important;
    height: 22px !important;
    font-size: 0.9rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
  }

  #web-dev .feature-row-title {
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    line-height: 1.2 !important;
    margin: 0 !important;
  }

  /* Story Buttons & CTA Buttons on the EXACT same horizontal row */
  #web-dev .web-story-buttons-row {
    grid-area: extra !important;
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
    margin-top: 0.45rem !important;
    height: 42px !important;
    min-height: 42px !important;
  }

  #web-dev .web-story-buttons {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.35rem !important;
    align-items: center !important;
    width: 100% !important;
  }

  #web-dev .web-dev-ctas {
    grid-area: ctas !important;
    margin: 0 !important;
    margin-top: 0.45rem !important;
    height: 42px !important;
    min-height: 42px !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
  }

  #web-dev .cta-btn {
    height: 42px !important;
    min-height: 42px !important;
    padding: 0 1.25rem !important;
    font-size: 0.9rem !important;
  }
}

/* Stories Component Styling & Ultra Smooth Transitions */
.web-stories-card {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.story-progress-track-row {
  display: flex;
  align-items: center;
  gap: 5px;
  width: 100%;
  margin-bottom: 0.45rem;
}

.story-seg {
  flex: 1;
  height: 3px;
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.story-fill {
  height: 100%;
  width: 0%;
  background-color: var(--accent-yellow);
  border-radius: 2px;
  transition: width 0.1s linear;
}

.story-seg.completed .story-fill {
  width: 100% !important;
  background-color: var(--accent-purple);
}

.story-image-frame {
  position: relative;
  width: 100%;
  border-radius: 8px !important;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: #12091f;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.story-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.story-image-frame img.story-fade {
  opacity: 0.2;
  transform: scale(0.985);
}

.web-story-caption {
  font-size: 0.82rem !important;
  color: var(--text-highlight) !important;
  line-height: 1.35 !important;
  min-height: 38px;
  display: flex;
  align-items: center;
  transition: opacity 0.35s ease;
}

.web-story-caption.story-fade {
  opacity: 0.15;
}

.web-story-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.web-story-buttons .tag-pill {
  cursor: pointer;
  background-color: #170f26;
  border: 1px solid var(--border-subtle);
  color: #c9c3d6;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 0.32rem 0.6rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  user-select: none;
  white-space: nowrap;
}

.web-story-buttons .tag-pill:hover {
  border-color: rgba(139, 92, 246, 0.6);
  color: #ffffff;
  background-color: #221438;
}

.web-story-buttons .tag-pill.active {
  background-color: var(--accent-purple);
  border-color: var(--accent-purple);
  color: #ffffff;
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.4);
  font-weight: 700;
}

/* ==========================================================================
   Section 4 — Mobile App Development (Follows Mockup, Story Slides)
   ========================================================================== */
@media (min-width: 1024px) {
  #mobile-apps.section-block {
    padding: 0.85rem 2.5rem 0.55rem 2.5rem !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
  }

  #mobile-apps .section-container {
    height: auto !important;
    max-height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
  }

  #mobile-apps .section-hero-layout.mobile-apps-layout {
    display: grid !important;
    grid-template-columns: 1.12fr 0.98fr !important;
    grid-template-areas:
      "head   right"
      "sub    right"
      "bullet right"
      "ctas   right" !important;
    column-gap: 2.75rem !important;
    row-gap: 0.32rem !important;
    align-items: stretch !important;
  }

  #mobile-apps .mobile-apps-head {
    grid-area: head !important;
    align-self: start !important;
    font-size: clamp(1.65rem, 2.3vw, 2.25rem) !important;
    margin-top: 0 !important;
    margin-bottom: 0.25rem !important;
    line-height: 1.15 !important;
  }

  #mobile-apps .mobile-apps-sub {
    grid-area: sub !important;
    font-size: clamp(0.82rem, 0.95vw, 0.88rem) !important;
    line-height: 1.35 !important;
    color: #f5b83d !important;
    margin-bottom: 0.45rem !important;
    max-width: 580px !important;
  }

  #mobile-apps .mobile-apps-bullets {
    grid-area: bullet !important;
    align-self: start !important;
    margin-bottom: 0 !important;
  }

  #mobile-apps .feature-rows-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.35rem !important;
    margin-bottom: 0 !important;
  }

  #mobile-apps .feature-row {
    display: flex !important;
    align-items: center !important;
    gap: 0.65rem !important;
    padding: 0.42rem 0.85rem !important;
    background-color: #170f26 !important;
    border: 1px solid var(--border-subtle) !important;
    border-radius: var(--radius-sm) !important;
  }

  #mobile-apps .feature-icon-box {
    width: 28px !important;
    height: 28px !important;
    font-size: 1rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    background: rgba(139, 92, 246, 0.12) !important;
    border: 1px solid rgba(139, 92, 246, 0.25) !important;
    border-radius: 4px !important;
  }

  #mobile-apps .feature-row-title {
    font-size: 0.86rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    line-height: 1.2 !important;
    margin-bottom: 0.05rem !important;
  }

  #mobile-apps .feature-row-desc {
    font-size: 0.78rem !important;
    color: #a49cb5 !important;
    line-height: 1.25 !important;
  }

  #mobile-apps .mobile-apps-ctas {
    grid-area: ctas !important;
    margin-top: 0.45rem !important;
    height: 42px !important;
    min-height: 42px !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
  }

  #mobile-apps .cta-btn {
    height: 42px !important;
    min-height: 42px !important;
    padding: 0 1.35rem !important;
    font-size: 0.92rem !important;
  }

  /* RIGHT COLUMN: Match Mockup Screenshot */
  #mobile-apps .mobile-apps-right-col {
    grid-area: right !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    min-height: 0 !important;
    justify-content: space-between !important;
    margin: 0 !important;
  }

  #mobile-apps .mobile-apps-super {
    align-self: start !important;
    margin-top: 0 !important;
    margin-bottom: 0.25rem !important;
  }

  #mobile-apps .mobile-apps-super .eyebrow-badge {
    margin-bottom: 0 !important;
    padding: 0.28rem 0.8rem !important;
  }

  #mobile-apps .mobile-story-progress {
    margin-top: 0.15rem !important;
    margin-bottom: 0.35rem !important;
  }

  #mobile-apps .mobile-story-frame {
    flex: 1 1 auto !important;
    height: 100% !important;
    min-height: 180px !important;
    max-height: clamp(200px, 32vh, 265px) !important;
    aspect-ratio: unset !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    position: relative !important;
    margin-bottom: 0.45rem !important;
  }

  #mobile-apps .mobile-story-buttons {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 0.35rem !important;
    width: 100% !important;
    margin-bottom: 0.45rem !important;
  }

  #mobile-apps .mobile-story-buttons .tag-pill {
    font-size: 0.72rem !important;
    padding: 0.35rem 0.25rem !important;
    text-align: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
    border-radius: var(--radius-sm) !important;
    background-color: #170f26 !important;
    border: 1px solid var(--border-subtle) !important;
    color: #c9c3d6 !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all var(--transition-fast) !important;
  }

  #mobile-apps .mobile-story-buttons .tag-pill:hover {
    border-color: rgba(139, 92, 246, 0.6) !important;
    color: #ffffff !important;
    background-color: #221438 !important;
  }

  #mobile-apps .mobile-story-buttons .tag-pill.active {
    background-color: var(--accent-purple) !important;
    border-color: var(--accent-purple) !important;
    color: #ffffff !important;
    box-shadow: 0 0 12px rgba(139, 92, 246, 0.4) !important;
    font-weight: 700 !important;
  }

  #mobile-apps .mobile-callout-box {
    margin-top: 0 !important;
    padding: 0.5rem 0.85rem !important;
    background-color: #170f26 !important;
    border: 1px solid var(--border-subtle) !important;
    border-radius: var(--radius-sm) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
  }

  #mobile-apps .mobile-callout-box .callout-title {
    font-family: var(--font-heading) !important;
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin-bottom: 0.15rem !important;
  }

  #mobile-apps .mobile-callout-box .callout-subtitle {
    font-size: 0.78rem !important;
    color: #a49cb5 !important;
    line-height: 1.3 !important;
  }
}

/* ==========================================================================
   Section 9 — Client Reviews (Auto-scrolling reviews + 3-per-row bigger logos)
   ========================================================================== */
@media (min-width: 1024px) {
  #reviews.section-block {
    padding: 0.85rem 2.5rem 0.55rem 2.5rem !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
  }

  #reviews .section-container {
    height: auto !important;
    max-height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
  }

  #reviews .section-hero-layout.reviews-layout {
    display: grid !important;
    grid-template-columns: 1.12fr 0.98fr !important;
    grid-template-areas:
      "super   logos"
      "head    logos"
      "sub     logos"
      "bullets logos"
      "bottom  bottom" !important;
    column-gap: 2.75rem !important;
    row-gap: 0.32rem !important;
    align-items: stretch !important;
  }

  #reviews .reviews-super {
    grid-area: super !important;
    align-self: start !important;
    margin-top: 0 !important;
    margin-bottom: 0.15rem !important;
  }

  #reviews .reviews-head {
    grid-area: head !important;
    align-self: start !important;
    font-size: clamp(1.6rem, 2.2vw, 2.2rem) !important;
    margin-top: 0 !important;
    margin-bottom: 0.25rem !important;
    line-height: 1.15 !important;
  }

  #reviews .reviews-sub {
    grid-area: sub !important;
    font-size: clamp(0.82rem, 0.95vw, 0.88rem) !important;
    line-height: 1.35 !important;
    color: #f5b83d !important;
    margin-bottom: 0.45rem !important;
    max-width: 580px !important;
  }

  #reviews .reviews-bullets {
    grid-area: bullets !important;
    margin-bottom: 0 !important;
    align-self: stretch !important;
    display: flex !important;
    flex-direction: column !important;
  }

  /* Right Column: Logo showcase stretches downwards to end exactly at the baseline of the second testimonial card */
  #reviews .reviews-logos-col {
    grid-area: logos !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    align-self: stretch !important;
  }

  #reviews .partner-showcase-panel {
    height: 100% !important;
    max-height: none !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    padding: 0.95rem 1.1rem !important;
    background-color: var(--bg-card) !important;
    border: 1px solid var(--border-subtle) !important;
    border-radius: var(--radius-sm) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
  }

  #reviews .reviews-secondary {
    grid-area: bottom !important;
    margin-top: 0.45rem !important;
    width: 100% !important;
  }
}

/* Testimonial Auto-Scrolling Viewport (Displays exactly 2 frames, auto-moves upwards slowly) */
.testimonials-scroll-viewport {
  height: 275px; /* Fits exactly 2 testimonial cards */
  overflow: hidden;
  position: relative;
  border-radius: var(--radius-sm);
  width: 100%;
}

.testimonials-scroll-viewport::before,
.testimonials-scroll-viewport::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 22px;
  z-index: 3;
  pointer-events: none;
}

.testimonials-scroll-viewport::before {
  top: 0;
  background: linear-gradient(to bottom, rgba(12, 6, 23, 0.95), transparent);
}

.testimonials-scroll-viewport::after {
  bottom: 0;
  background: linear-gradient(to top, rgba(12, 6, 23, 0.95), transparent);
}

.testimonials-marquee-track {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  animation: scrollTestimonialsUpward 34s linear infinite;
  will-change: transform;
}

/* Pauses upward scroll on hover so user can easily read any review */
.testimonials-scroll-viewport:hover .testimonials-marquee-track {
  animation-play-state: paused;
}

@keyframes scrollTestimonialsUpward {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}

.testimonial-card {
  padding: 0.85rem 1.15rem;
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  transition: border-color var(--transition-fast);
  flex-shrink: 0;
}

.testimonial-card:hover {
  border-color: rgba(139, 92, 246, 0.4);
}

.star-rating-row {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  color: #f5b83d;
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.testimonial-quote {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-style: italic;
  line-height: 1.4;
  color: #e2dcf0;
  margin-bottom: 0.55rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.avatar-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  flex-shrink: 0;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
}

.author-role {
  font-size: 0.76rem;
  color: #a49cb5;
}

/* Partner Logo Grid: strictly 3 logos per horizontal line, bigger badges */
.partner-badges-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 0.85rem 0.75rem !important;
  align-items: center !important;
  justify-items: center !important;
  width: 100% !important;
}

@media (max-width: 640px) {
  .partner-badges-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.65rem 0.5rem !important;
  }
}

/* Bigger logos, support any image format: .png, .jpeg, .jpg, .webp, .svg */
.partner-badge-circle {
  width: 74px !important;
  height: 74px !important;
  border-radius: 50% !important;
  background-color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 8px !important;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.35) !important;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast) !important;
  overflow: hidden !important;
  user-select: none !important;
  flex-shrink: 0 !important;
}

.partner-badge-circle.dark-badge {
  background-color: #140d22 !important;
  border: 1.5px solid var(--border-subtle) !important;
}

.partner-badge-circle:hover {
  transform: scale(1.08) !important;
  box-shadow: 0 6px 18px rgba(139, 92, 246, 0.35) !important;
}

.partner-badge-circle img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  display: block !important;
}

/* Google Business Panel */
.google-business-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.85rem;
  padding: 0.75rem 1.25rem;
  background-color: #170f26;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  margin-top: 0.75rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  width: 100%;
}

.google-info-left {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.google-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
}

.google-subtext {
  font-size: 0.8rem;
  color: var(--text-body);
}

.google-subtext strong {
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   Section 10 — Contact & Map
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: stretch;
  width: 100%;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1.1fr 1fr;
    gap: 1.5rem;
  }
}

.contact-rows-stack {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.contact-row-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0.95rem;
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  gap: 0.75rem;
  transition: border-color var(--transition-fast);
}

.contact-row-card:hover {
  border-color: rgba(139, 92, 246, 0.4);
}

.contact-meta-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.contact-icon-bubble {
  width: 32px;
  height: 32px;
  border-radius: 0 !important; /* Straight sides */
  background-color: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b9a6f7;
  flex-shrink: 0;
}

.contact-icon-bubble svg {
  width: 16px;
  height: 16px;
}

.contact-info-texts {
  display: flex;
  flex-direction: column;
}

.contact-label-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9d96ad;
  margin-bottom: 0.1rem;
}

.contact-main-value {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
}

.contact-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.45rem 1rem;
  border-radius: 0 !important; /* Straight sides, no circular corners */
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: transform var(--transition-fast), filter var(--transition-fast);
}

.contact-action-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.contact-action-btn svg {
  width: 14px;
  height: 14px;
}

/* Map Frame Container */
.map-frame-container {
  position: relative;
  width: 100%;
  min-height: 270px;
  max-height: clamp(280px, 48vh, 420px);
  height: 100%;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background-color: #12091f;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.map-frame-container iframe {
  width: 100%;
  height: 100%;
  min-height: 240px;
  border: 0;
  filter: invert(90%) hue-rotate(180deg) contrast(1.1);
}

/* Map Overlay */
.map-card-overlay {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: rgba(18, 9, 31, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-subtle);
  border-radius: 2px;
  padding: 8px 12px;
  max-width: 240px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
  z-index: 10;
}

.map-card-title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
}

.map-card-location {
  font-size: 0.72rem;
  color: var(--text-body);
}

.map-card-meta {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  color: #f5b83d;
}

/* Bottom Footer Bar: Full width edge-to-edge, touching bottom of page */
.site-footer {
  width: 100%;
  padding: 0 1.5rem;
  height: 62px;
  min-height: 62px;
  margin: 0;
  border-top: 1px solid var(--border-subtle);
  background-color: #07040d;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 0 !important;
  position: relative;
  z-index: 20;
}

.social-icons-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 2;
}

.social-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 0 !important; /* Straight sides */
  background-color: #170f26;
  border: 1px solid var(--border-subtle);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast), background-color var(--transition-fast);
}

.social-icon-btn:hover {
  transform: translateY(-1px);
  background-color: rgba(139, 92, 246, 0.25);
  color: var(--accent-yellow);
}

.social-icon-btn svg {
  width: 17px;
  height: 17px;
}

.footer-copyright {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--accent-yellow);
  letter-spacing: 0.02em;
  white-space: nowrap;
  z-index: 1;
}

@media (max-width: 640px) {
  .site-footer {
    height: auto !important;
    min-height: 64px !important;
    padding: 0.75rem 1rem !important;
    flex-direction: column-reverse !important;
    justify-content: center !important;
    gap: 0.5rem !important;
  }

  .footer-copyright {
    position: static !important;
    transform: none !important;
    text-align: center !important;
    font-size: 0.84rem !important;
  }
}

/* ==========================================================================
   Section 10 — Contact & Footer (Fits entirely within viewport)
   ========================================================================== */
@media (min-width: 1024px) {
  #contact.section-block {
    padding: 0 !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
  }

  #contact .contact-container {
    flex: 1 1 auto !important;
    width: 100% !important;
    max-width: var(--container-max) !important;
    margin: 0 auto !important;
    padding: 0.85rem 2.5rem 0.35rem 2.5rem !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    height: auto !important;
    min-height: 0 !important;
  }

  #contact .contact-layout {
    display: grid !important;
    grid-template-columns: 1.12fr 0.98fr !important;
    grid-template-areas:
      "super   image"
      "head    image"
      "sub     image"
      "bullets image" !important;
    column-gap: 2.75rem !important;
    row-gap: 0.28rem !important;
    align-items: stretch !important;
  }

  #contact .contact-super {
    grid-area: super !important;
    align-self: start !important;
    margin-top: 0 !important;
    margin-bottom: 0.15rem !important;
  }

  #contact .contact-head {
    grid-area: head !important;
    align-self: start !important;
    font-size: clamp(1.6rem, 2.2vw, 2.2rem) !important;
    margin-top: 0 !important;
    margin-bottom: 0.2rem !important;
    line-height: 1.15 !important;
  }

  #contact .contact-sub {
    grid-area: sub !important;
    font-size: clamp(0.82rem, 0.95vw, 0.88rem) !important;
    line-height: 1.35 !important;
    color: #f5b83d !important;
    margin-bottom: 0.35rem !important;
    max-width: 580px !important;
  }

  #contact .contact-bullets-col {
    grid-area: bullets !important;
    margin-bottom: 0 !important;
    align-self: stretch !important;
  }

  #contact .contact-rows-stack {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.34rem !important;
    margin-bottom: 0 !important;
  }

  #contact .contact-row-card {
    padding: 0.42rem 0.85rem !important;
    min-height: 40px !important;
  }

  #contact .contact-row-card:last-child {
    margin-bottom: 0 !important;
  }

  #contact .contact-icon-bubble {
    width: 28px !important;
    height: 28px !important;
  }

  #contact .contact-icon-bubble svg {
    width: 14px !important;
    height: 14px !important;
  }

  #contact .contact-label-tag {
    font-size: 0.65rem !important;
    margin-bottom: 0.05rem !important;
  }

  #contact .contact-main-value {
    font-size: 0.82rem !important;
    line-height: 1.2 !important;
  }

  #contact .contact-action-btn {
    padding: 0.32rem 0.8rem !important;
    font-size: 0.78rem !important;
  }

  #contact .contact-image-col {
    grid-area: image !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    align-self: stretch !important;
  }

  #contact .map-frame-container {
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
    margin: 0 !important;
  }

  #contact .map-frame-container iframe {
    flex: 1 1 auto !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
  }

  /* Full-width bottom footer touching the bottom of page */
  #contact .site-footer {
    flex: 0 0 auto !important;
    width: 100% !important;
    height: 62px !important;
    min-height: 62px !important;
    padding: 0 2rem !important;
    margin: 0 !important;
    background-color: #07040d !important;
    border-top: 1px solid var(--border-subtle) !important;
    border-radius: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    position: relative !important;
    z-index: 20 !important;
  }

  #contact .social-icons-row {
    display: flex !important;
    align-items: center !important;
    gap: 0.85rem !important;
    z-index: 2 !important;
  }

  #contact .social-icon-btn {
    width: 36px !important;
    height: 36px !important;
    border-radius: 0 !important;
  }

  #contact .social-icon-btn svg {
    width: 16px !important;
    height: 16px !important;
  }

  #contact .footer-copyright {
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    text-align: center !important;
    font-family: var(--font-heading) !important;
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    color: var(--accent-yellow) !important;
    letter-spacing: 0.02em !important;
    white-space: nowrap !important;
    z-index: 1 !important;
  }
}
