/* tagawa-adaptive: shared mobile/tablet safety net */
html { overflow-x: clip; }
body { overflow-x: clip; }
img { max-width: 100%; }
.wrap { max-width: 100%; }
.form-shell,
.lead-form-inner,
.phero-stage,
.ahero-stage,
.jobs-panel,
.metal-viz { min-width: 0; max-width: 100%; }
.form-intro,
.form-fields,
.phero-media,
.phero-copy,
.ahero-copy { min-width: 0; }

@media (max-width: 980px) {
  .top-inner { flex-wrap: nowrap !important; gap: 10px; }
  .menu-btn { margin-left: auto; }
  .top-actions { margin-left: 0 !important; }
  .top-phone { display: none !important; }
  .logo { height: 34px; width: auto; }
  .nav.open { z-index: 60; }
  .form-shell,
  .lead-form-inner,
  .jobs-panel { grid-template-columns: 1fr !important; }
  .form-intro { border-right: 0 !important; }
  .field-row { grid-template-columns: 1fr !important; }
  .phero-stage { grid-template-columns: 1fr !important; min-height: 0 !important; }
  .phero-media { min-height: min(52vw, 360px); }
  .cat-grid,
  .proj-grid,
  .lines-grid,
  .svc-grid,
  .sec-grid,
  .grid,
  .why-grid { grid-template-columns: 1fr 1fr !important; }
  .foot-grid { grid-template-columns: 1fr 1fr !important; }
}

@media (max-width: 640px) {
  .wrap { width: calc(100% - 28px) !important; }
  .top-phone { display: none !important; }
  .phero-stage,
  .intro-grid,
  .feat-grid,
  .imp-grid,
  .term-grid,
  .gal-grid,
  .form-shell,
  .lead-form-inner,
  .foot-grid,
  .offer-row,
  .diff-grid,
  .svc-grid,
  .flow-track,
  .field-row,
  .form-mini,
  .grid,
  .why-grid,
  .sec-grid,
  .facts-layout,
  .guide-grid,
  .about-grid,
  .cat-grid,
  .lines-grid,
  .proj-grid,
  .stats-row,
  .task-grid,
  .jobs-panel,
  .metal-viz { grid-template-columns: 1fr !important; }
  .ahero-stage { min-height: min(58vw, 340px) !important; }
  .phero-media { min-height: 260px; }
  .phero-copy { padding: 22px 18px 24px; }
  .phero-copy h1 { font-size: clamp(20px, 6vw, 28px); }
  .price-legal { white-space: normal !important; }
  .spec-table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .crumbs { font-size: 11px; }
  .form-intro,
  .form-fields,
  .lead-panel { padding-left: 18px; padding-right: 18px; }
  .job { grid-template-columns: auto 1fr !important; }
  .job-tag { grid-column: 2; justify-self: start; }
}

@media (max-width: 720px) {
  .price-legal { white-space: normal !important; }
  .reveal.from-left,
  .reveal.from-right { transform: translateY(28px) !important; }
  .reveal.from-left.in,
  .reveal.from-right.in { transform: none !important; }
}

/* AI / catalog visual disclaimer in footer — full content width */
.foot-ai-note {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 10px;
  line-height: 1.45;
  letter-spacing: 0.01em;
  width: 100%;
  max-width: none;
  color: inherit;
  opacity: 0.42;
}
footer .foot-ai-note { grid-column: 1 / -1; }
@media (max-width: 640px) {
  .foot-ai-note { font-size: 9px; }
}
