:root {
  color-scheme: dark;
  --bg: #0a0a0b;
  --bg-soft: #111113;
  --panel: rgba(22, 22, 25, .92);
  --panel-strong: #18181b;
  --line: rgba(255, 255, 255, .09);
  --line-bright: rgba(255, 35, 65, .55);
  --text: #f6f6f7;
  --muted: #a3a3ab;
  --accent: #ff2340;
  --accent-strong: #c8102e;
  --accent-soft: rgba(255, 35, 65, .14);
  --success: #2ecc71;
  --warning: #f5b400;
  --danger: #ff4757;
  --shadow: 0 24px 80px rgba(0, 0, 0, .55);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% 8%, rgba(255, 35, 65, .16), transparent 30rem),
    radial-gradient(circle at 90% 12%, rgba(255, 35, 65, .1), transparent 32rem),
    radial-gradient(circle at 50% 92%, rgba(255, 35, 65, .08), transparent 34rem),
    linear-gradient(180deg, #0a0a0b 0%, var(--bg) 58%, #000000 100%);
  background-color: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, .028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .028) 1px, transparent 1px);
  background-size: 56px 56px;
  content: "";
  inset: 0;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .75), transparent 70%);
  pointer-events: none;
  position: fixed;
  z-index: 0;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

.skip-link {
  background: var(--accent);
  border-radius: 999px;
  color: #0a0a0b;
  font-weight: 900;
  left: 1rem;
  padding: .75rem 1rem;
  position: fixed;
  top: -5rem;
  z-index: 100;
}

.skip-link:focus {
  top: 1rem;
}

/* ---------- Header / nav ---------- */

.site-header {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(8, 8, 9, .84);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 255, 255, .04);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  left: 50%;
  max-width: 1220px;
  padding: .75rem .85rem;
  position: sticky;
  top: 1rem;
  transform: translateX(-50%);
  width: calc(100% - 2rem);
  z-index: 20;
}

.brand {
  align-items: center;
  color: var(--text);
  display: inline-flex;
  font-weight: 950;
  gap: .65rem;
  letter-spacing: .06em;
  padding: .4rem .65rem;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand:hover,
.brand:focus-visible {
  text-decoration: none;
}

.brand-mark {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  border-radius: 8px;
  box-shadow: 0 0 0 6px rgba(255, 35, 65, .1), 0 0 26px rgba(255, 35, 65, .65);
  display: inline-flex;
  height: .82rem;
  width: .82rem;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  justify-content: flex-end;
}

.nav-links a {
  align-items: center;
  background: rgba(255, 255, 255, .035);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 999px;
  color: var(--muted);
  display: inline-flex;
  font-size: .84rem;
  font-weight: 850;
  min-height: 2.15rem;
  padding: .45rem .68rem;
  transition: transform .16s ease, border-color .16s ease, background .16s ease, color .16s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(255, 35, 65, .1);
  border-color: var(--line-bright);
  color: var(--text);
  outline: none;
  text-decoration: none;
  transform: translateY(-1px);
}

.nav-links a[aria-current="page"] {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 22px rgba(255, 35, 65, .38);
  color: #0a0a0b;
}

.nav-toggle {
  align-items: center;
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  color: var(--text);
  cursor: pointer;
  display: none;
  font: inherit;
  font-size: .86rem;
  font-weight: 900;
  gap: .55rem;
  min-height: 2.3rem;
  padding: .45rem .7rem;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  background: currentColor;
  border-radius: 999px;
  display: block;
  height: 2px;
  width: 1rem;
}

.nav-toggle-bars {
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  left: 0;
  position: absolute;
}

.nav-toggle-bars::before {
  top: -.35rem;
}

.nav-toggle-bars::after {
  top: .35rem;
}

/* ---------- Layout ---------- */

.shell {
  margin: 0 auto;
  max-width: 1220px;
  padding: clamp(1rem, 3vw, 2rem);
  position: relative;
  z-index: 1;
}

.hero,
.page-hero {
  padding: clamp(2rem, 7vw, 5.5rem) 0 clamp(1.25rem, 4vw, 3rem);
}

.hero-grid {
  display: grid;
  gap: clamp(1rem, 3vw, 1.5rem);
  grid-template-columns: minmax(0, 1.14fr) minmax(300px, .86fr);
}

.hero-copy,
.repair-visual,
.contact-form,
.section,
.panel,
.stat-card,
.gallery-card,
.contact-card,
.offer-card,
.page-hero {
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .02));
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.hero-copy,
.repair-visual,
.page-hero {
  padding: clamp(1.4rem, 5vw, 3rem);
}

.eyebrow,
.tag,
.service-pill {
  align-items: center;
  background: var(--accent-soft);
  border: 1px solid rgba(255, 35, 65, .3);
  border-radius: 999px;
  color: var(--accent);
  display: inline-flex;
  font-size: .75rem;
  font-weight: 900;
  gap: .35rem;
  letter-spacing: .08em;
  padding: .38rem .62rem;
  text-transform: uppercase;
  width: fit-content;
}

.tag.success {
  background: rgba(46, 204, 113, .1);
  border-color: rgba(46, 204, 113, .3);
  color: var(--success);
}

.tag.warning {
  background: rgba(245, 180, 0, .1);
  border-color: rgba(245, 180, 0, .28);
  color: var(--warning);
}

.tag.locked {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .16);
  color: var(--muted);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(2.75rem, 7vw, 5.9rem);
  letter-spacing: -.07em;
  line-height: .94;
  margin-bottom: 1.1rem;
}

h1 em,
.accent-text {
  color: var(--accent);
  font-style: normal;
}

h2 {
  font-size: clamp(1.65rem, 4vw, 3rem);
  letter-spacing: -.045em;
  line-height: 1;
  margin-bottom: .9rem;
}

h3 {
  font-size: 1.12rem;
  letter-spacing: -.015em;
  line-height: 1.16;
  margin-bottom: .45rem;
}

p,
li {
  color: var(--muted);
}

p {
  font-size: 1rem;
  line-height: 1.68;
  margin-bottom: 0;
  max-width: 72ch;
}

.lead {
  font-size: clamp(1.1rem, 2vw, 1.38rem);
}

.hero-actions,
.button-row,
.quote-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.5rem;
}

/* ---------- Buttons ---------- */

.button {
  align-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 2.85rem;
  padding: .78rem 1.15rem;
  position: relative;
  transition: filter .16s ease, transform .16s ease, box-shadow .16s ease;
}

.button:hover,
.button:focus-visible {
  box-shadow: 0 0 28px rgba(255, 35, 65, .45);
  filter: brightness(1.08);
  outline: none;
  text-decoration: none;
  transform: translateY(-2px);
}

.button-secondary {
  background: rgba(255, 255, 255, .055);
  border-color: var(--line);
  color: var(--text);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 35, 65, .12);
  border-color: var(--line-bright);
  box-shadow: 0 0 22px rgba(255, 35, 65, .22);
}

.button-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, .18);
  color: var(--muted);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 1.5rem;
}

.hero-proof span {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 999px;
  color: var(--muted);
  font-size: .86rem;
  font-weight: 850;
  padding: .45rem .7rem;
}

/* ---------- Repair-lab hero visual ---------- */

.repair-visual {
  align-self: stretch;
  overflow: hidden;
  position: relative;
}

.repair-visual::before {
  background: radial-gradient(circle, rgba(255, 35, 65, .28), transparent 68%);
  content: "";
  filter: blur(12px);
  height: 18rem;
  position: absolute;
  right: -5rem;
  top: -4rem;
  width: 18rem;
}

.scan-frame {
  background:
    linear-gradient(135deg, rgba(255, 35, 65, .16), transparent 40%),
    linear-gradient(180deg, #17181c, #08090a);
  border: 1px solid rgba(255, 35, 65, .25);
  border-radius: 28px;
  display: grid;
  gap: 1rem;
  min-height: 100%;
  overflow: hidden;
  padding: 1rem;
  position: relative;
}

.device-outline {
  aspect-ratio: 1.05;
  background:
    repeating-linear-gradient(0deg, rgba(255, 35, 65, .07) 0 1px, transparent 1px 26px),
    linear-gradient(180deg, #121215, #060607);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 26px;
  min-height: 18rem;
  overflow: hidden;
  position: relative;
}

.device-outline::before {
  background: linear-gradient(135deg, transparent 40%, rgba(255, 35, 65, .35), transparent 60%);
  content: "";
  inset: -40%;
  position: absolute;
}

.phone-silhouette {
  background: linear-gradient(180deg, #202024, #0c0c0e);
  border: 2px solid rgba(255, 35, 65, .4);
  border-radius: 22px;
  box-shadow: 0 0 40px rgba(255, 35, 65, .25), inset 0 0 0 6px #08090a;
  height: 12.5rem;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 6.4rem;
}

.phone-silhouette::before {
  background: rgba(255, 35, 65, .5);
  border-radius: 999px;
  content: "";
  height: .3rem;
  left: 50%;
  position: absolute;
  top: .55rem;
  transform: translateX(-50%);
  width: 1.6rem;
}

.scan-line {
  animation: scan-move 3.2s ease-in-out infinite;
  background: linear-gradient(180deg, transparent, rgba(255, 35, 65, .85), transparent);
  height: 2px;
  left: 8%;
  position: absolute;
  right: 8%;
  top: 12%;
}

@keyframes scan-move {
  0%, 100% { top: 12%; opacity: .2; }
  50% { top: 84%; opacity: 1; }
}

.repair-panel {
  position: relative;
  z-index: 1;
}

.metric-line {
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  color: var(--muted);
  display: flex;
  gap: .75rem;
  justify-content: space-between;
  padding: .65rem 0;
}

.metric-line:last-child {
  border-bottom: 0;
}

.metric-line strong {
  color: var(--text);
}

.metric-line span {
  color: var(--accent);
  font-style: normal;
  font-weight: 850;
}

/* ---------- Grids ---------- */

.stats-grid,
.service-grid,
.card-grid,
.gallery-grid,
.contact-grid,
.process-grid,
.offer-grid {
  display: grid;
  gap: 1rem;
}

.stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 1rem;
}

.stat-card,
.panel,
.gallery-card,
.contact-card,
.contact-form,
.offer-card {
  padding: 1.2rem;
}

.stat-value {
  color: var(--accent);
  display: block;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 950;
  line-height: 1;
  margin-bottom: .75rem;
}

.stat-card h2 {
  font-size: 1rem;
  letter-spacing: 0;
  margin-bottom: .45rem;
}

.section {
  margin-top: 1rem;
  padding: clamp(1.4rem, 4vw, 2.35rem);
}

.section-heading {
  margin-bottom: 1.4rem;
  max-width: 860px;
}

.split-heading {
  align-items: end;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  max-width: none;
}

.service-grid,
.card-grid,
.process-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-grid,
.contact-grid,
.offer-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.panel.accent,
.gallery-card.featured,
.contact-card.featured,
.contact-form.featured,
.offer-card.featured {
  border-color: var(--line-bright);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 35, 65, .18);
}

.panel h3,
.gallery-card h3,
.contact-card h3,
.offer-card h3 {
  margin-top: .8rem;
}

.check-list {
  display: grid;
  gap: .65rem;
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.check-list li {
  background: rgba(0, 0, 0, .22);
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 14px;
  padding: .72rem .75rem;
}

.check-list li::before {
  color: var(--accent);
  content: "✓";
  font-weight: 950;
  margin-right: .55rem;
}

.proof-box {
  background: #0c0c0e;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 14px;
  color: #f0dde0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .86rem;
  margin-top: .85rem;
  padding: .85rem;
}

/* ---------- Process / how-it-works timeline ---------- */

.process-grid .panel {
  position: relative;
}

.step-number {
  align-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 1rem;
  font-weight: 950;
  height: 2.4rem;
  justify-content: center;
  margin-bottom: .9rem;
  width: 2.4rem;
}

/* ---------- Before / after gallery ---------- */

.photo-pair {
  display: grid;
  gap: .75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 1rem;
}

.photo-frame {
  background:
    linear-gradient(135deg, rgba(255, 35, 65, .14), transparent 45%),
    linear-gradient(180deg, #141417, #08090a);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 18px;
  min-height: 10rem;
  overflow: hidden;
  padding: .8rem;
  position: relative;
}

.photo-frame.after {
  background:
    linear-gradient(135deg, rgba(46, 204, 113, .12), transparent 45%),
    linear-gradient(180deg, #141417, #08090a);
}

.photo-frame::before {
  background:
    linear-gradient(150deg, transparent 0 46%, rgba(255, 255, 255, .16) 47% 48%, transparent 49% 100%),
    radial-gradient(circle at 72% 28%, rgba(255, 35, 65, .3), transparent 1.4rem);
  border: 2px solid rgba(255, 255, 255, .14);
  border-radius: 22px;
  content: "";
  inset: 2rem .9rem 1rem;
  position: absolute;
}

.photo-frame.after::before {
  background:
    linear-gradient(150deg, transparent 0 46%, rgba(255, 255, 255, .16) 47% 48%, transparent 49% 100%),
    radial-gradient(circle at 72% 28%, rgba(46, 204, 113, .28), transparent 1.4rem);
}

.photo-frame span {
  color: var(--text);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  position: relative;
  text-transform: uppercase;
  z-index: 1;
}

.detail-list {
  display: grid;
  gap: .65rem;
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.detail-list li {
  background: rgba(0, 0, 0, .22);
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 14px;
  padding: .72rem .75rem;
}

.detail-list strong {
  color: var(--text);
}

/* ---------- Quote / CTA box ---------- */

.quote-box {
  background: linear-gradient(135deg, rgba(255, 35, 65, .26), rgba(255, 35, 65, .06));
  border: 1px solid var(--line-bright);
  border-radius: 24px;
  margin-top: 1rem;
  padding: clamp(1.2rem, 4vw, 2rem);
}

/* ---------- Game Z teaser ---------- */

.gamez-card {
  align-items: center;
  background:
    repeating-linear-gradient(135deg, rgba(255, 35, 65, .06) 0 12px, transparent 12px 24px),
    linear-gradient(180deg, #141417, #08090a);
  border: 1px dashed rgba(255, 35, 65, .35);
  border-radius: 24px;
  display: grid;
  gap: .5rem;
  padding: clamp(1.6rem, 5vw, 2.6rem);
  text-align: center;
}

.gamez-card .hero-actions {
  justify-content: center;
}

.gamez-lock {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .12em;
  margin: 0 auto;
  padding: .5rem .9rem;
  text-transform: uppercase;
  width: fit-content;
}

/* ---------- Forms ---------- */

.contact-form {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-row {
  display: grid;
  gap: .4rem;
}

.form-row-full {
  grid-column: 1 / -1;
}

.form-section-title {
  border-top: 1px solid rgba(255, 255, 255, .08);
  color: var(--text);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .1em;
  margin-top: .5rem;
  padding-top: 1.1rem;
  text-transform: uppercase;
}

.form-row-full:first-child .form-section-title,
.form-section-title:first-child {
  border-top: 0;
  margin-top: 0;
  padding-top: 0;
}

label {
  color: var(--text);
  font-size: .86rem;
  font-weight: 900;
}

.field-hint {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 600;
}

input,
select,
textarea {
  background: rgba(0, 0, 0, .28);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 16px;
  color: var(--text);
  font: inherit;
  min-height: 3rem;
  padding: .85rem .9rem;
  width: 100%;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 35, 65, .16);
  outline: none;
}

/* radio / choice chips */

.choice-group {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}

.choice-chip {
  position: relative;
}

.choice-chip input {
  clip: rect(0 0 0 0);
  height: 1px;
  min-height: 0;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

.choice-chip label {
  background: rgba(0, 0, 0, .26);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  display: inline-flex;
  font-size: .86rem;
  font-weight: 800;
  padding: .6rem 1rem;
  transition: border-color .14s ease, background .14s ease, color .14s ease;
}

.choice-chip input:checked + label {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--text);
}

.choice-chip input:focus-visible + label {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* file upload */

.upload-grid {
  display: grid;
  gap: .85rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.upload-field {
  display: grid;
  gap: .4rem;
}

.upload-drop {
  align-items: center;
  background: rgba(0, 0, 0, .26);
  border: 1px dashed rgba(255, 255, 255, .2);
  border-radius: 16px;
  color: var(--muted);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  justify-content: center;
  min-height: 8rem;
  overflow: hidden;
  padding: .9rem;
  position: relative;
  text-align: center;
  transition: border-color .16s ease, background .16s ease;
}

.upload-drop:hover,
.upload-drop:focus-within {
  background: rgba(255, 35, 65, .07);
  border-color: var(--accent);
}

.upload-drop input[type="file"] {
  cursor: pointer;
  inset: 0;
  min-height: 0;
  opacity: 0;
  position: absolute;
}

.upload-drop .upload-icon {
  color: var(--accent);
  font-size: 1.5rem;
  font-weight: 900;
}

.upload-drop .upload-label {
  font-size: .82rem;
  font-weight: 800;
}

.upload-drop img.upload-preview {
  border-radius: 12px;
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

.upload-drop.has-image .upload-icon,
.upload-drop.has-image .upload-label {
  display: none;
}

.upload-note {
  color: var(--muted);
  font-size: .82rem;
}

.form-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.form-status {
  color: var(--muted);
  font-size: .94rem;
}

.form-status.is-success {
  color: var(--success);
}

.form-status.is-error {
  color: var(--danger);
}

.consent-note {
  color: var(--muted);
  font-size: .82rem;
  margin-top: .25rem !important;
}

.button[aria-busy="true"] {
  cursor: progress;
  opacity: .76;
}

/* ---------- Scroll-reveal animation ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .scan-line {
    animation: none;
  }
}

/* ---------- Footer ---------- */

.site-footer {
  color: var(--muted);
  margin: 0 auto;
  max-width: 1220px;
  padding: 2rem clamp(1rem, 3vw, 2rem) 3rem;
  position: relative;
  text-align: center;
  z-index: 1;
}

.site-footer p {
  margin: 0 auto;
}

.footer-links {
  margin-top: .6rem !important;
}

.footer-links a {
  color: var(--muted);
  font-weight: 850;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--accent);
}

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .hero-grid,
  .stats-grid,
  .service-grid,
  .card-grid,
  .gallery-grid,
  .contact-grid,
  .process-grid,
  .offer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-copy,
  .repair-visual {
    grid-column: 1 / -1;
  }

  .upload-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header {
    align-items: stretch;
    border-radius: 24px;
    display: grid;
    grid-template-columns: 1fr auto;
    margin: .5rem auto 0;
    position: static;
    transform: none;
    width: calc(100% - 1rem);
  }

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

  .nav-links {
    display: none;
    grid-column: 1 / -1;
    justify-content: flex-start;
    padding-top: .4rem;
    width: 100%;
  }

  .site-header.nav-open .nav-links {
    display: flex;
  }

  .hero-grid,
  .stats-grid,
  .service-grid,
  .card-grid,
  .gallery-grid,
  .contact-grid,
  .process-grid,
  .offer-grid,
  .contact-form,
  .photo-pair,
  .upload-grid {
    grid-template-columns: 1fr;
  }

  .form-row-full {
    grid-column: auto;
  }

  .split-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .shell {
    padding: .75rem;
  }

  .hero-copy,
  .repair-visual,
  .section,
  .panel,
  .stat-card,
  .gallery-card,
  .contact-card,
  .contact-form,
  .offer-card,
  .page-hero {
    border-radius: 20px;
  }

  h1 {
    font-size: clamp(2.45rem, 15vw, 4rem);
  }
}
