/* Shared styles for service pages: mobile nav + full footer */

body.menu-open {
  overflow: hidden;
}

/* Shared service page structure */

.bd-page main,
.ux-page main,
.wd-page main,
.og-page main {
  display: grid;
  gap: 20px;
  margin-top: 18px;
}

.bd-page main section,
.ux-page main section,
.wd-page main section,
.og-page main section {
  border: 1px solid var(--sp-border, rgba(255, 255, 255, 0.12));
  border-radius: 20px;
  background: rgba(19, 15, 34, 0.88);
}

.bd-intro,
.ux-intro,
.wd-intro,
.og-intro {
  padding: 42px 38px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
}

.bd-intro-copy,
.ux-intro-copy,
.wd-intro-copy,
.og-intro-copy {
  display: grid;
  gap: 18px;
}

.bd-intro-copy p,
.ux-intro-copy p,
.wd-intro-copy p,
.og-intro-copy p {
  margin: 0;
  color: var(--sp-ink-soft, rgba(230, 223, 234, 0.85));
  line-height: 1.65;
}

.bd-define,
.bd-process,
.bd-deliverables,
.bd-why,
.bd-final-cta,
.bd-signs,
.ux-define,
.ux-process,
.ux-deliverables,
.ux-why,
.ux-final-cta,
.ux-signs,
.wd-build,
.wd-process,
.wd-deliverables,
.wd-why,
.wd-final-cta,
.wd-signs,
.og-optimize,
.og-process,
.og-deliverables,
.og-why,
.og-final-cta,
.og-signs {
  padding: 38px;
}

.bd-define h2,
.bd-process h2,
.bd-deliverables h2,
.bd-why h2,
.bd-final-cta h2,
.bd-signs h2,
.ux-define h2,
.ux-process h2,
.ux-deliverables h2,
.ux-why h2,
.ux-final-cta h2,
.ux-signs h2,
.wd-build h2,
.wd-process h2,
.wd-deliverables h2,
.wd-why h2,
.wd-final-cta h2,
.wd-signs h2,
.og-optimize h2,
.og-process h2,
.og-deliverables h2,
.og-why h2,
.og-final-cta h2,
.og-signs h2 {
  margin: 0;
  font-family: "The Seasons Bold", serif;
  font-size: 38px;
  line-height: 0.98;
  letter-spacing: -0.01em;
}

.bd-define-grid,
.ux-define-grid,
.wd-build-grid,
.og-optimize-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.bd-process-grid,
.ux-process-grid,
.wd-process-grid,
.og-process-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.bd-deliverables-grid,
.ux-deliverables-grid,
.wd-deliverables-grid,
.og-deliverables-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.bd-signs,
.ux-signs,
.wd-signs,
.og-signs {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 18px;
  align-items: start;
}

.bd-why p,
.ux-why p,
.wd-why p,
.og-why p {
  margin: 12px 0 0;
  max-width: 60ch;
  color: var(--sp-ink-soft, rgba(230, 223, 234, 0.85));
  line-height: 1.65;
}

.service-top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.service-menu-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(21, 20, 38, 0.45);
  backdrop-filter: blur(8px);
  display: none;
  place-content: center;
  gap: 5px;
  cursor: pointer;
}

.service-menu-btn span {
  display: block;
  width: 16px;
  height: 2px;
  background: rgba(235, 225, 238, 0.95);
  transition:
    transform 0.28s ease,
    opacity 0.28s ease;
}

.service-menu-btn.is-open {
  position: relative;
  z-index: 60;
}

.service-menu-btn.is-open span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.service-menu-btn.is-open span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

@media (max-width: 720px) {
  .bd-topbar,
  .ux-topbar,
  .wd-topbar,
  .og-topbar {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
  }

  .service-top-actions {
    margin-left: auto;
  }

  .service-menu-btn {
    display: grid;
    flex: 0 0 42px;
  }

  [data-mobile-nav] {
    position: fixed;
    inset: 0;
    z-index: 45;
    padding: 92px 22px 28px;
    margin: 0;
    border-radius: 0;
    border: 0;
    background: linear-gradient(
      180deg,
      rgba(19, 17, 33, 1),
      rgba(10, 10, 24, 1)
    );
    box-shadow: 0 18px 40px rgba(6, 8, 18, 0.55);
    backdrop-filter: blur(16px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 8px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-4%) scale(0.96);
    transform-origin: top center;
    transition:
      opacity 0.28s ease,
      transform 0.32s ease,
      visibility 0s linear 0.32s;
  }

  [data-mobile-nav].is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    transition:
      opacity 0.28s ease,
      transform 0.32s ease,
      visibility 0s;
  }

  [data-mobile-nav] a {
    width: 100%;
    padding: 14px 4px;
    font-size: 28px;
    line-height: 1.05;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  [data-mobile-nav] a:last-child {
    border-bottom: 0;
  }

  .bd-top-cta,
  .ux-top-cta,
  .wd-top-cta,
  .og-top-cta {
    display: none;
  }

  .bd-nav,
  .ux-nav,
  .wd-nav,
  .og-nav {
    order: 3;
    width: 100%;
    justify-content: center;
  }

  .bd-page,
  .ux-page,
  .wd-page,
  .og-page {
    padding: 12px 12px 24px;
  }

  .bd-hero,
  .bd-intro,
  .bd-questions,
  .bd-define,
  .bd-process,
  .bd-deliverables,
  .bd-why,
  .bd-final-cta,
  .bd-signs,
  .ux-hero,
  .ux-intro,
  .ux-questions,
  .ux-define,
  .ux-process,
  .ux-deliverables,
  .ux-why,
  .ux-final-cta,
  .ux-signs,
  .wd-hero,
  .wd-intro,
  .wd-questions,
  .wd-build,
  .wd-process,
  .wd-deliverables,
  .wd-why,
  .wd-final-cta,
  .wd-signs,
  .og-hero,
  .og-intro,
  .og-questions,
  .og-optimize,
  .og-process,
  .og-deliverables,
  .og-why,
  .og-final-cta,
  .og-signs {
    padding: 26px 20px;
  }

  .bd-intro h2,
  .bd-questions h2,
  .bd-define h2,
  .bd-process h2,
  .bd-deliverables h2,
  .bd-why h2,
  .bd-final-cta h2,
  .bd-signs h2,
  .ux-intro h2,
  .ux-questions h2,
  .ux-define h2,
  .ux-process h2,
  .ux-deliverables h2,
  .ux-why h2,
  .ux-final-cta h2,
  .ux-signs h2,
  .wd-intro h2,
  .wd-questions h2,
  .wd-build h2,
  .wd-process h2,
  .wd-deliverables h2,
  .wd-why h2,
  .wd-final-cta h2,
  .wd-signs h2,
  .og-intro h2,
  .og-questions h2,
  .og-optimize h2,
  .og-process h2,
  .og-deliverables h2,
  .og-why h2,
  .og-final-cta h2,
  .og-signs h2 {
    font-size: 33px;
  }

  .bd-define-grid,
  .bd-questions ul,
  .bd-deliverables-grid,
  .bd-process-grid,
  .ux-define-grid,
  .ux-questions ul,
  .ux-deliverables-grid,
  .ux-process-grid,
  .wd-build-grid,
  .wd-questions ul,
  .wd-deliverables-grid,
  .wd-process-grid,
  .og-optimize-grid,
  .og-questions ul,
  .og-deliverables-grid,
  .og-process-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .bd-topbar,
  .ux-topbar,
  .wd-topbar,
  .og-topbar {
    flex-wrap: wrap;
    justify-content: center;
  }

  .bd-intro,
  .ux-intro,
  .wd-intro,
  .og-intro {
    grid-template-columns: 1fr;
  }

  .bd-signs,
  .ux-signs,
  .wd-signs,
  .og-signs {
    grid-template-columns: 1fr;
  }

  .bd-process-grid,
  .ux-process-grid,
  .wd-process-grid,
  .og-process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Shared full footer on service pages */
.site-footer {
  margin-top: 18px;
  background: #0a0818;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  width: 100%;
}

.site-footer .footer-inner {
  padding: 52px 40px 30px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.site-footer .footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
}

.site-footer .footer-logo {
  font-family: "The Seasons Bold", serif;
  font-size: 28px;
  letter-spacing: -0.01em;
  color: var(--sp-ink, #f2eef2);
}

.site-footer .footer-tagline {
  margin: 14px 0 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: color-mix(
    in srgb,
    var(--sp-ink-soft, rgba(219, 211, 228, 0.62)) 82%,
    transparent
  );
  max-width: 26ch;
}

.site-footer .footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.site-footer .footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
  color: rgba(219, 211, 228, 0.7);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition:
    border-color 0.2s,
    color 0.2s;
}

.site-footer .footer-social-link:hover {
  border-color: color-mix(in srgb, var(--sp-accent, #f1934e) 60%, white);
  color: color-mix(in srgb, var(--sp-accent, #f1934e) 94%, white);
}

.site-footer .footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.site-footer .footer-nav-heading {
  margin: 0 0 12px;
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--sp-accent, #f1934e) 88%, white);
}

.site-footer .footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer .footer-nav-col a {
  color: rgba(219, 211, 228, 0.66);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s;
}

.site-footer .footer-nav-col a:hover {
  color: var(--sp-ink, #f2eef2);
}

.site-footer .footer-cta-band {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-footer .footer-cta-band p {
  margin: 0;
  font-family: "The Seasons Bold", serif;
  font-size: 24px;
  letter-spacing: -0.01em;
  line-height: 1;
}

.site-footer .talk-btn {
  border: 1px solid color-mix(in srgb, var(--sp-accent, #f1934e) 48%, white);
  color: #fff7ee;
  background:
    radial-gradient(
      120% 120% at 20% 10%,
      color-mix(in srgb, var(--sp-accent, #f1934e) 36%, transparent),
      rgba(22, 20, 40, 0.7)
    ),
    rgba(24, 22, 43, 0.58);
  height: 42px;
  padding: 0 24px;
  border-radius: 100px;
  font-size: 16px;
  font-family: "The Seasons Bold", serif;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.site-footer .footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-footer .footer-copy {
  margin: 0;
  font-size: 13px;
  color: rgba(219, 211, 228, 0.4);
}

.site-footer .footer-legal {
  display: flex;
  gap: 20px;
}

.site-footer .footer-legal a {
  font-size: 13px;
  color: rgba(219, 211, 228, 0.4);
  text-decoration: none;
  transition: color 0.2s;
}

.site-footer .footer-legal a:hover {
  color: rgba(219, 211, 228, 0.8);
}

@media (max-width: 720px) {
  .site-footer .footer-inner {
    padding: 42px 18px 24px;
    gap: 32px;
  }

  .site-footer .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .site-footer .footer-nav {
    grid-template-columns: 1fr 1fr;
    gap: 24px 14px;
  }

  .site-footer .footer-nav-col:last-child {
    grid-column: 1 / -1;
  }

  .site-footer .footer-cta-band {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}
