.desktop-nav,
.desktop-only {
  display: none;
}

.menu-toggle {
  display: inline-flex;
}

.container {
  width: min(100% - 28px, var(--container));
  max-width: 100%;
}

.section {
  padding: 76px 0;
}

.hero {
  padding-top: 34px;
}

.header-inner {
  min-height: 72px;
}

.mobile-menu {
  position: relative;
}

.mobile-menu-inner {
  padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px));
}

.brand-copy small {
  display: none;
}

.hero-grid,
.compact-grid,
.service-grid,
.process-grid,
.result-layout,
.result-grid,
.contact-box {
  grid-template-columns: 1fr;
}

.hero-grid {
  gap: 28px;
}

h1 {
  max-width: none;
  width: 100%;
  font-size: clamp(2.28rem, 10.7vw, 3.55rem);
  line-height: 0.97;
}

.hero-copy h1 {
  text-align: left;
  text-align-last: left;
  overflow-wrap: anywhere;
}

.hero-eyebrow {
  display: grid;
  gap: 0.28rem;
  white-space: normal;
  font-size: clamp(0.62rem, 2.7vw, 0.72rem);
  letter-spacing: 0.08em;
  line-height: 1.22;
  overflow-wrap: normal;
}

.hero-eyebrow span {
  display: block;
  white-space: nowrap;
}

.hero-text {
  font-size: 1rem;
  line-height: 1.8;
}

.hero-actions {
  display: grid;
  gap: 12px;
  margin-top: 26px;
  margin-bottom: 6px;
}

.hero-actions .button,
.contact-form .button {
  width: 100%;
}

.hero-benefits {
  margin-top: 24px;
  display: none;
}

.hero-benefits-label {
  display: none;
  margin-top: 44px;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.92;
}

.surface-card,
.compact-card {
  padding: 24px 22px;
  border-radius: 24px;
  max-width: 100%;
}

.hero-stack {
  margin-top: 52px;
  gap: 16px;
}

.hero-stack h2,
.section-head h2,
.result-copy h2,
.about-copy h2,
.contact-copy h2 {
  font-size: clamp(2rem, 9vw, 3rem);
  line-height: 1.02;
}

.section-head {
  margin-bottom: 30px;
}

.section-head p:last-child,
.hero-text,
.contact-copy p,
.result-copy p,
.about-copy p {
  text-wrap: pretty;
}

.compact-grid,
.service-grid,
.process-grid,
.result-grid,
.faq-list {
  gap: 16px;
}

.compact-card,
.service-card,
.process-card,
.result-card {
  min-height: 0;
}

.service-card,
.process-card,
.result-card {
  display: grid;
  align-content: start;
  gap: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}

.service-card h3,
.process-card h3,
.result-card strong {
  margin-top: 14px;
}

.service-card ul {
  margin-top: 16px;
}

.service-cta {
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 18px;
  padding: 22px 20px;
}

.service-cta .button {
  width: 100%;
}

.result-actions .button {
  width: 100%;
}

.about-box {
  gap: 0;
  padding: 0;
  overflow: hidden;
}

.about-photo-placeholder {
  width: 100%;
  min-height: 0;
  border-radius: 0;
  padding: 0;
}

.about-copy {
  width: 100%;
  padding: 18px 18px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.about-photo {
  aspect-ratio: 1 / 1;
}

.social-panel {
  flex-direction: column;
  align-items: center;
  max-width: 240px;
  padding: 0;
}

.social-links {
  width: auto;
  justify-content: center;
}

.social-section {
  padding-top: 4px;
  padding-bottom: 4px;
}

.social-link {
  width: 48px;
  height: 48px;
}

.contact-box {
  padding: 18px;
  gap: 18px;
}

.cta-box {
  grid-template-columns: 1fr;
  padding: 20px 18px;
}

.cta-actions {
  display: grid;
  gap: 12px;
}

.cta-actions .button {
  width: 100%;
}

.field input,
.field textarea {
  font-size: 16px;
}

.field textarea {
  min-height: 140px;
}

.faq-question {
  padding: 20px 18px;
}

.faq-answer p {
  padding: 0 18px 20px;
}

.footer-inner {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-inner p {
  width: 100%;
  text-align: center;
}

.footer-links {
  width: 100%;
  justify-content: center;
  text-align: center;
}

.faq-wrap .section-head h2 {
  max-width: 15ch;
  margin-inline: auto;
  text-align: center;
}

.space-scene::before {
  opacity: 0.22;
}

.shooting-star {
  display: none;
}

@media (max-width: 680px) {
  .compact-section {
    padding-top: 8px;
  }

  .hero-benefits {
    gap: 12px;
  }

  .hero-benefits li,
  .check-list li,
  .service-card li {
    padding-left: 16px;
  }

  .hero-benefits-label {
    font-size: 0.68rem;
    letter-spacing: 0.07em;
  }

  .service-card p,
  .process-card p,
  .result-card p {
    line-height: 1.72;
  }
}

@media (max-width: 420px) {
  h1 {
    max-width: none;
    font-size: clamp(2.05rem, 10.4vw, 3rem);
  }

  .eyebrow,
  .card-label,
  .service-number {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
  }

  .hero-eyebrow {
    font-size: clamp(0.58rem, 2.5vw, 0.67rem);
    letter-spacing: 0.07em;
  }

  .social-link {
    width: 46px;
    height: 46px;
  }

  .social-link svg {
    width: 18px;
    height: 18px;
  }

  .surface-card,
  .compact-card {
    padding: 20px 18px;
  }

  .about-box {
    padding: 0;
  }

}
