/*
Theme Name: Mastercraft Auto
Theme URI: https://mastercraftautoinc.com/
Author: Digital Media Group
Description: Custom WordPress theme for Mastercraft Auto Inc. in Van Nuys, California.
Version: 1.0.1
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: mastercraft-auto
*/

:root {
  --bg-base: #f3f5f7;
  --bg-surface: #ffffff;
  --bg-raised: #111c28;
  --bg-input: #ffffff;
  --bg-dark: #08131f;
  --bg-dark-soft: #111c28;
  --border-subtle: #d7dee5;
  --border-default: #a8b2bc;
  --border-strong: #6e7c8a;
  --border-accent: #e1ad27;
  --text-primary: #111820;
  --text-secondary: #44515e;
  --text-muted: #687582;
  --text-on-dark: #ffffff;
  --text-on-dark-muted: #c4ced8;
  --accent: #e1ad27;
  --accent-hover: #f0c24c;
  --accent-ink: #161104;
  --accent-soft: #fff3d2;
  --brand-red: #b52a2f;
  --positive: #177245;
  --negative: #b4232d;
  --font-ui: Inter, "Segoe UI", Arial, sans-serif;
  --font-display: "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --shadow-sm: 0 4px 16px rgba(8, 19, 31, 0.08);
  --shadow-md: 0 16px 40px rgba(8, 19, 31, 0.16);
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  --sp-8: 32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-20: 80px;
  --shell: 1180px;
  --motion-fast: 120ms ease;
  --motion-normal: 200ms ease-out;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg-dark);
}

body {
  margin: 0;
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.nav-is-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--text-primary);
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--text-secondary);
}

button,
input,
select,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: var(--sp-3);
  left: var(--sp-3);
  z-index: 999;
  padding: var(--sp-3) var(--sp-4);
  transform: translateY(-180%);
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 800;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.mc-shell {
  width: min(calc(100% - 32px), var(--shell));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 30;
  color: var(--text-on-dark);
}

.utility-bar {
  background: var(--bg-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
}

.utility-inner,
.utility-actions,
.nav-inner,
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
}

.utility-inner {
  min-height: 38px;
}

.utility-actions {
  gap: var(--sp-5);
}

.utility-bar a,
.site-footer a {
  color: var(--text-on-dark);
}

.nav-wrap {
  background: rgba(8, 19, 31, 0.98);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  min-height: 86px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.brand img {
  width: 190px;
  max-height: 72px;
  object-fit: contain;
  object-position: left center;
  border-radius: var(--radius-sm);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
}

.primary-nav > a:not(.mc-button) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--text-on-dark);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.primary-nav > a:not(.mc-button):hover {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  min-width: 48px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-on-dark);
  cursor: pointer;
}

.nav-toggle-icon,
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
}

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

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

.nav-toggle-icon::before {
  top: -7px;
}

.nav-toggle-icon::after {
  top: 7px;
}

.site-main {
  min-height: 60vh;
}

.mc-hero {
  position: relative;
  isolation: isolate;
  min-height: 680px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--bg-dark);
  color: var(--text-on-dark);
}

.mc-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--hero-image);
  background-position: center;
  background-size: cover;
}

.mc-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(8, 19, 31, 0.97) 0%, rgba(8, 19, 31, 0.86) 44%, rgba(8, 19, 31, 0.30) 100%);
}

.mc-hero-inner {
  padding-block: var(--sp-20);
}

.mc-hero-copy {
  max-width: 720px;
}

.mc-eyebrow {
  margin: 0 0 var(--sp-4);
  color: var(--accent);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: inherit;
  font-family: var(--font-display);
  font-weight: 850;
  line-height: 1.08;
  text-wrap: balance;
}

h1 {
  margin-bottom: var(--sp-6);
  font-size: clamp(42px, 6vw, 76px);
  letter-spacing: -0.035em;
}

h2 {
  margin-bottom: var(--sp-5);
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: -0.025em;
}

h3 {
  margin-bottom: var(--sp-3);
  font-size: clamp(20px, 2vw, 26px);
}

.mc-hero-lede,
.mc-section-lede {
  max-width: 760px;
  margin: 0 0 var(--sp-8);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.mc-hero-lede {
  color: var(--text-on-dark-muted);
}

.mc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  align-items: center;
}

.mc-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background var(--motion-fast), color var(--motion-fast), transform var(--motion-fast);
}

.mc-button:hover {
  transform: translateY(-1px);
  background: var(--accent-hover);
  color: var(--accent-ink);
}

.mc-button-small {
  min-height: 42px;
  padding: 10px 16px;
}

.mc-button-ghost {
  border-color: rgba(255, 255, 255, 0.62);
  background: transparent;
  color: var(--text-on-dark);
}

.mc-button-ghost:hover {
  border-color: var(--accent);
  background: rgba(225, 173, 39, 0.12);
  color: var(--text-on-dark);
}

.mc-trust-strip {
  position: relative;
  z-index: 2;
  margin-top: -42px;
}

.mc-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.mc-stat {
  min-height: 118px;
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--border-subtle);
}

.mc-stat:last-child {
  border-right: 0;
}

.mc-stat strong {
  color: var(--bg-dark);
  font-family: var(--font-display);
  font-size: 30px;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.mc-stat span {
  margin-top: var(--sp-2);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 700;
}

.mc-section {
  padding-block: var(--sp-20);
  background: var(--bg-base);
}

.mc-page-hero {
  min-height: 560px;
}

.mc-section-white {
  background: var(--bg-surface);
}

.mc-section-dark {
  position: relative;
  background: var(--bg-dark);
  color: var(--text-on-dark);
}

.mc-section-dark .mc-section-lede,
.mc-section-dark p:not(.mc-eyebrow),
.mc-section-dark li {
  color: var(--text-on-dark-muted);
}

.mc-section-dark .mc-card,
.mc-section-dark .mc-step {
  border-color: rgba(215, 222, 229, 0.18);
  background: var(--bg-dark-soft);
  color: var(--text-on-dark);
}

.mc-section-dark .mc-card p,
.mc-section-dark .mc-step p {
  color: var(--text-on-dark-muted);
}

.mc-section-accent {
  background: var(--accent-soft);
}

.mc-section-header {
  max-width: 820px;
  margin-bottom: var(--sp-10);
}

.mc-prose {
  max-width: 880px;
}

.mc-prose-narrow {
  max-width: 720px;
}

.mc-grid-2,
.mc-grid-3,
.mc-grid-4,
.mc-gallery-grid,
.mc-contact-grid,
.mc-process-grid {
  display: grid;
  gap: var(--sp-6);
}

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

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

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

.mc-card,
.mc-service-card,
.mc-step,
.mc-faq-item,
.mc-form-panel,
.mc-contact-panel {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
}

.mc-card,
.mc-service-card,
.mc-step,
.mc-contact-panel {
  padding: var(--sp-8);
}

.mc-service-card {
  position: relative;
  overflow: hidden;
}

.mc-service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 56px;
  height: 4px;
  background: var(--brand-red);
}

.mc-service-card p,
.mc-card p,
.mc-step p {
  color: var(--text-secondary);
}

.mc-text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--text-primary);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 3px;
}

.mc-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.86fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.mc-split-reverse .mc-split-media {
  order: -1;
}

.mc-split-media img,
.mc-gallery-card img,
.mc-project-sequence img {
  width: 100%;
  border-radius: var(--radius-md);
  object-fit: cover;
}

.mc-split-media img {
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-md);
}

.mc-check-list,
.mc-detail-list,
.mc-footer-list,
.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mc-check-list {
  display: grid;
  gap: var(--sp-3);
}

.mc-check-list li {
  position: relative;
  padding-left: 30px;
}

.mc-check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48em;
  width: 14px;
  height: 8px;
  border-left: 3px solid var(--accent);
  border-bottom: 3px solid var(--accent);
  transform: rotate(-45deg);
}

.mc-process-grid {
  counter-reset: repair-step;
}

.mc-step {
  position: relative;
  padding-top: 68px;
  counter-increment: repair-step;
}

.mc-step::before {
  content: counter(repair-step, decimal-leading-zero);
  position: absolute;
  top: var(--sp-6);
  left: var(--sp-8);
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 850;
  line-height: 1;
}

.mc-gallery-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.mc-gallery-card {
  grid-column: span 4;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
}

.mc-gallery-card.wide {
  grid-column: span 8;
}

.mc-gallery-card img {
  aspect-ratio: 4 / 3;
  border-radius: 0;
}

.mc-gallery-card.wide img {
  aspect-ratio: 16 / 9;
}

.mc-gallery-caption {
  padding: var(--sp-5);
}

.mc-gallery-caption h3,
.mc-gallery-caption p {
  margin-bottom: var(--sp-2);
}

.mc-gallery-caption p {
  color: var(--text-secondary);
}

.mc-stage {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding-inline: var(--sp-3);
  border: 1px solid var(--border-default);
  border-radius: 999px;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.mc-project {
  margin-top: var(--sp-12);
}

.mc-project:first-child {
  margin-top: 0;
}

.mc-project-header {
  max-width: 800px;
  margin-bottom: var(--sp-6);
}

.mc-project-sequence {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-4);
}

.mc-project-sequence figure {
  margin: 0;
}

.mc-project-sequence img {
  aspect-ratio: 4 / 3;
}

.mc-project-sequence figcaption {
  padding-top: var(--sp-2);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 700;
}

.mc-faq-list {
  display: grid;
  gap: var(--sp-3);
}

.mc-faq-item {
  overflow: clip;
}

.mc-faq-item summary {
  min-height: 54px;
  padding: var(--sp-4) var(--sp-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

.mc-faq-item summary::-webkit-details-marker {
  display: none;
}

.mc-faq-item summary::after {
  content: "+";
  color: var(--accent-ink);
  font-size: 24px;
  line-height: 1;
}

.mc-faq-item[open] summary {
  background: var(--accent-soft);
}

.mc-faq-item[open] summary::after {
  content: "−";
}

.mc-faq-answer {
  padding: var(--sp-5) var(--sp-6) var(--sp-6);
  color: var(--text-secondary);
}

.mc-faq-answer p:last-child {
  margin-bottom: 0;
}

.mc-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(32px, 7vw, 72px);
  border-radius: var(--radius-lg);
  background: var(--bg-dark-soft);
  color: var(--text-on-dark);
}

.mc-cta::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 38%;
  height: 8px;
  background: var(--brand-red);
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
}

.mc-cta p {
  max-width: 720px;
  color: var(--text-on-dark-muted);
}

.mc-contact-grid {
  align-items: start;
}

.mc-contact-panel h2,
.mc-form-panel h2 {
  font-size: 32px;
}

.mc-contact-list {
  display: grid;
  gap: var(--sp-5);
  margin: var(--sp-6) 0 0;
}

.mc-contact-list dt {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mc-contact-list dd {
  margin: var(--sp-1) 0 0;
  color: var(--text-primary);
  font-size: 18px;
  font-weight: 700;
}

.mc-form-panel {
  padding: var(--sp-8);
  box-shadow: var(--shadow-sm);
}

.mc-form {
  display: grid;
  gap: var(--sp-5);
}

.mc-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-4);
}

.mc-field {
  display: grid;
  gap: var(--sp-2);
}

.mc-field label,
.mc-fieldset legend {
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 800;
}

.mc-required {
  color: var(--negative);
}

.mc-input,
.mc-select,
.mc-textarea,
.mc-file {
  width: 100%;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  background: var(--bg-input);
  color: var(--text-primary);
}

.mc-input,
.mc-select {
  min-height: 48px;
  padding: 0 var(--sp-3);
}

.mc-textarea {
  min-height: 150px;
  padding: var(--sp-3);
  resize: vertical;
}

.mc-file {
  min-height: 48px;
  padding: 10px;
}

.mc-input:focus,
.mc-select:focus,
.mc-textarea:focus,
.mc-file:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
  outline: none;
}

.mc-hint {
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
}

.mc-fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.mc-checkbox {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: var(--sp-3);
  align-items: start;
  color: var(--text-secondary);
}

.mc-checkbox input {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  accent-color: var(--accent);
}

.mc-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.mc-alert {
  margin-bottom: var(--sp-6);
  padding: var(--sp-4) var(--sp-5);
  border: 1px solid var(--border-default);
  border-left-width: 5px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
}

.mc-alert-success {
  border-left-color: var(--positive);
}

.mc-alert-error {
  border-left-color: var(--negative);
}

.mc-map-shell {
  min-height: 360px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, var(--bg-dark), var(--bg-dark-soft));
  color: var(--text-on-dark);
}

.mc-map-placeholder {
  max-width: 560px;
  padding: var(--sp-8);
  text-align: center;
}

.mc-map-placeholder p {
  color: var(--text-on-dark-muted);
}

.mc-map-shell iframe {
  width: 100%;
  min-height: 420px;
  border: 0;
}

.mc-legal-nav {
  padding: var(--sp-5);
  border-left: 4px solid var(--accent);
  background: var(--accent-soft);
}

.mc-legal-nav ul {
  margin-bottom: 0;
}

.site-footer {
  background: var(--bg-dark);
  color: var(--text-on-dark-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 1fr;
  gap: var(--sp-12);
  padding-block: var(--sp-16);
}

.footer-grid h2 {
  color: var(--text-on-dark);
  font-family: var(--font-ui);
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-brand img {
  width: 220px;
  margin-bottom: var(--sp-5);
  border-radius: var(--radius-sm);
}

.footer-links {
  display: grid;
  gap: var(--sp-2);
}

.footer-links a,
.footer-bottom a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
}

.site-footer address {
  font-style: normal;
}

.footer-business-name {
  display: block;
  margin-bottom: var(--sp-2);
  color: var(--text-on-dark);
  font-family: var(--font-ui);
  font-weight: 700;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom-inner {
  min-height: 72px;
  font-size: 13px;
}

.footer-bottom-inner p {
  margin: 0;
}

.footer-bottom nav {
  display: flex;
  gap: var(--sp-5);
}

@media (max-width: 1020px) {
  .primary-nav {
    gap: var(--sp-3);
  }

  .primary-nav > a:not(.mc-button) {
    font-size: 13px;
  }

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

@media (max-width: 959px) {
  .utility-inner > span:first-child,
  .utility-actions > span {
    display: none;
  }

  .utility-inner {
    justify-content: flex-end;
  }

  .nav-inner {
    min-height: 78px;
  }

  .brand img {
    width: 164px;
    max-height: 64px;
  }

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

  .nav-toggle-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    padding: var(--sp-4);
    flex-direction: column;
    align-items: stretch;
    gap: var(--sp-1);
    background: var(--bg-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow-md);
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav > a:not(.mc-button) {
    min-height: 48px;
    padding-inline: var(--sp-3);
  }

  .mc-hero {
    min-height: 620px;
  }

  .mc-hero::after {
    background: linear-gradient(90deg, rgba(8, 19, 31, 0.97) 0%, rgba(8, 19, 31, 0.82) 70%, rgba(8, 19, 31, 0.64) 100%);
  }

  .mc-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .mc-stat:nth-child(2) {
    border-right: 0;
  }

  .mc-stat:nth-child(-n + 2) {
    border-bottom: 1px solid var(--border-subtle);
  }

  .mc-split,
  .mc-contact-grid {
    grid-template-columns: 1fr;
  }

  .mc-split-reverse .mc-split-media {
    order: 0;
  }

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

  .mc-gallery-card,
  .mc-gallery-card.wide {
    grid-column: span 6;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 639px) {
  .mc-shell {
    width: min(calc(100% - 24px), var(--shell));
  }

  .utility-bar {
    font-size: 12px;
  }

  h1 {
    font-size: clamp(38px, 13vw, 54px);
  }

  h2 {
    font-size: 32px;
  }

  .mc-hero {
    min-height: 660px;
  }

  .mc-hero::before {
    background-position: 65% center;
  }

  .mc-hero::after {
    background: linear-gradient(180deg, rgba(8, 19, 31, 0.74) 0%, rgba(8, 19, 31, 0.93) 58%, rgba(8, 19, 31, 1) 100%);
  }

  .mc-hero-inner {
    align-self: end;
    padding-block: var(--sp-16);
  }

  .mc-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .mc-button {
    width: 100%;
  }

  .mc-trust-strip {
    margin-top: 0;
  }

  .mc-stats,
  .mc-grid-2,
  .mc-grid-3,
  .mc-grid-4,
  .mc-process-grid,
  .mc-form-row,
  .mc-project-sequence {
    grid-template-columns: 1fr;
  }

  .mc-stat {
    min-height: 96px;
    border-right: 0;
    border-bottom: 1px solid var(--border-subtle);
  }

  .mc-stat:last-child {
    border-bottom: 0;
  }

  .mc-section {
    padding-block: var(--sp-16);
  }

  .mc-card,
  .mc-service-card,
  .mc-step,
  .mc-contact-panel,
  .mc-form-panel {
    padding: var(--sp-6);
  }

  .mc-gallery-card,
  .mc-gallery-card.wide {
    grid-column: 1 / -1;
  }

  .mc-gallery-card.wide img {
    aspect-ratio: 4 / 3;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom-inner {
    padding-block: var(--sp-5);
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-bottom nav {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
