/* ==========================================================
   Clickzix Tech - spacing.css
   One consistent vertical rhythm for ALL pages (loaded last).
   Change the two numbers below to make every section tighter/looser:
     mobile  = 2rem  (32px)      desktop = 2.5rem (40px)
   ========================================================== */

/* section padding (home, about, career, service, industry pages) */
.sec,
.svc-sec,
.why-sec,
.sol-sec,
.seg-sec,
.jr-sec,
section[class*="lg:py-16"]:not(.sec) {
  padding-top: 2rem;
  padding-bottom: 2rem;
}
@media (min-width: 1024px) {
  .sec,
  .svc-sec,
  .why-sec,
  .sol-sec,
  .seg-sec,
  .jr-sec,
  section[class*="lg:py-16"]:not(.sec) {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }
}

/* gap between the text and the picture inside a section */
.svc-grid,
.why-grid {
  gap: 1.75rem;
}
@media (min-width: 1024px) {
  .svc-grid,
  .why-grid {
    gap: 3rem;
  }
}

/* gap between a section heading and its content */
.head,
.sol-head {
  margin-bottom: 1.75rem;
}

/* no extra empty strip above the footer */
main > section:last-child {
  margin-bottom: 0;
}

/* CTA bands / content strips that use Tailwind py-10 lg:py-12 */
main > section[class*="lg:py-12"],
body > section[class*="lg:py-12"] {
  padding-top: 2rem;
  padding-bottom: 2rem;
}
@media (min-width: 1024px) {
  main > section[class*="lg:py-12"],
  body > section[class*="lg:py-12"] {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }
}

/* ---- mobile fixes (all service pages) ---- */
main { overflow-x: clip; }
@media (max-width: 1023px) {
  [class$="-hero-in"] { gap: 22px !important; padding-top: 22px !important; padding-bottom: 36px !important; }
}

/* hero content must never stay invisible/empty on phones (no waiting for scroll-reveal) */
@media (max-width: 1023px) {
  [class$="-hero-in"] [data-r], [class$="-hero-in"] [data-r].vd-in {
    opacity: 1 !important; translate: none !important; scale: 1 !important; transform: none; transition: none !important;
  }
}

/* phones: drop the big hero picture block so there is no empty gap under the buttons */
@media (max-width: 767px) {
  [class$="-hero-in"] > [class*="-visual"] { display: none !important; }
  [class$="-hero-in"] { padding-bottom: 28px !important; }
}

/* ===== audit fixes ===== */
/* floating "spark" dots must never take space (they were pushing CTA boxes ~300px taller) */
[class*="-spark"] { position: absolute !important; }

/* industry pages: CTA band lost its side padding (text touched the screen edge) */
.cta-band .cta-grid { padding-left: 1rem; padding-right: 1rem; }
@media (max-width: 767px) {
  .cta-band .cta-grid { padding-top: 40px; padding-bottom: 40px; gap: 24px; }
  .cta-art { max-width: 250px; }
  .cta-art .core .material-symbols-outlined { font-size: 56px; }
}

/* video editing page: compact sections on phones */
@media (max-width: 1023px) {
  .vd-sec { padding: 26px 0; }
  .vd-head { margin-bottom: 18px; }
  .vd-split { gap: 20px; }
  .vd-pic { padding: 8px 6px; }
  .vd-fmts { gap: 16px; }
  .vd-fmt .im.v { width: 104px; }
  .vd-fmt .im.s { width: 150px; }
  .vd-fmt .im.h { width: 100%; max-width: 340px; }
  .vd-fmt b { font-size: 15px; margin-top: 8px; }
  .vd-steps { grid-template-columns: 1fr 1fr; gap: 12px; }
  .vd-st { padding: 16px 12px; }
  .vd-st .n { width: 46px; height: 46px; }
  .vd-st h3 { font-size: 16px; }
  .vd-st p { font-size: 13px; line-height: 1.5; }
}
@media (max-width: 480px) { .vd-fmt:last-child { flex-basis: 100%; display: flex; flex-direction: column; align-items: center; } }

/* gallery card whose screenshot is missing: show a soft gradient instead of a blank white box */
.wk-shot.noimg { background: linear-gradient(135deg, #ede9fe, #c7d2fe) !important; }