/* ============================================
   MF Engenharia e Projetos — folha de estilos
   Paleta: branco / preto / dourado (60/30/10)
   ============================================ */

:root {
  --white: #ffffff;
  --paper: #fafaf8;
  --ink: #0e0e0e;
  --graphite: #1c1c1c;
  --graphite-soft: #2a2a2a;
  --gold: #b08d2b;
  --gold-bright: #c9a227;
  --gold-soft: #e4d4a0;
  --line: #e2ded0;
  --line-dark: #3a3934;
  --text-body: #2c2b27;
  --text-muted: #6b6a63;
  --text-on-dark: #f2f0e8;
  --text-on-dark-muted: #b7b5aa;

  --font-display: "Archivo", "Segoe UI", Arial, sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "Courier New", monospace;

  --container: 1180px;
  --radius: 2px;
  --focus-ring: 3px solid var(--gold-bright);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--white);
  color: var(--text-body);
  line-height: 1.6;
  font-size: 16px;
}

/* --- revelação ao rolar a página --- */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}

html.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* cards empilhados em grade usam só fade: translateY encostaria visualmente
   na linha seguinte da grade enquanto ainda está em transição */
html.js .mv-card[data-reveal],
html.js .stat[data-reveal],
html.js .sector-card[data-reveal],
html.js .service-card[data-reveal],
html.js .portfolio-item[data-reveal],
html.js .testimonial[data-reveal] {
  transform: none;
  transition: opacity 0.6s ease;
}

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

a { color: inherit; text-decoration: none; }

:focus-visible { outline: var(--focus-ring); outline-offset: 2px; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  margin: 0 0 0.5em;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; max-width: 62ch; }

.section {
  padding: 96px 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}

.section-head .kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--gold);
  margin-bottom: 14px;
}

.section-head .kicker::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--gold);
  display: block;
}

.section-head p { color: var(--text-muted); }

.section--dark {
  background: var(--ink);
  color: var(--text-on-dark);
}
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark p { color: var(--text-on-dark-muted); }
.section--dark .section-head .kicker { color: var(--gold-bright); }

.section--paper { background: var(--paper); }

/* --- dimension divider (motivo de desenho técnico) --- */
.dim-divider {
  display: flex;
  align-items: center;
  gap: 0;
  height: 18px;
  margin: 0 auto;
  max-width: var(--container);
  padding: 0 24px;
}
.dim-divider::before,
.dim-divider::after {
  content: "";
  width: 1px;
  height: 18px;
  background: var(--line);
}
.dim-divider span {
  flex: 1;
  height: 1px;
  background: var(--line);
}
.section--dark + .section .dim-divider::before,
.section--dark + .section .dim-divider::after,
.section--dark + .section .dim-divider span { background: var(--line); }

/* ================= HEADER ================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(14, 14, 14, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line-dark);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand img {
  height: 42px;
  width: auto;
}

.brand span {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--white);
  font-size: 1.02rem;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav a {
  color: var(--text-on-dark-muted);
  font-size: 0.92rem;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
  transition: color 0.2s ease;
}
.main-nav a:hover,
.main-nav a:focus-visible { color: var(--white); }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--gold-bright);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.main-nav a:hover::after,
.main-nav a:focus-visible::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 16px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.btn--gold {
  background: var(--gold-bright);
  color: var(--ink);
  border-color: var(--gold-bright);
}
.btn--gold:hover, .btn--gold:focus-visible {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

.btn--outline-dark {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.45);
}
.btn--outline-dark:hover, .btn--outline-dark:focus-visible {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

.btn--outline-light {
  background: transparent;
  color: var(--ink);
  border-color: rgba(14,14,14,0.4);
}
.btn--outline-light:hover, .btn--outline-light:focus-visible {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.btn--sm { padding: 9px 18px; font-size: 0.85rem; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.4);
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle svg { width: 20px; height: 20px; }

/* ================= HERO ================= */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 96px 0 48px;
  background: var(--ink);
  color: var(--text-on-dark);
  overflow: hidden;
}

.hero .container {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

/* --- fundos fotográficos de seção --- */
.has-bg { position: relative; isolation: isolate; overflow: hidden; }
.has-bg > .container { position: relative; z-index: 1; }

.section-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.section-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 14, 14, 0.9), rgba(14, 14, 14, 0.88));
}

.hero-tagline {
  font-family: var(--font-mono);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: var(--gold-bright);
  margin-bottom: 22px;
  letter-spacing: 0.02em;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 18px;
}

.hero h2 {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(1.25rem, 1.9vw, 1.5rem);
  color: var(--text-on-dark-muted);
  max-width: 46ch;
  margin-bottom: 36px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-ctas .btn {
  font-size: 1.05rem;
  padding: 15px 30px;
}

.hero-figure {
  position: relative;
  aspect-ratio: 4 / 3.2;
}

.cad-frame {
  position: relative;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(201, 162, 39, 0.35);
  padding: 14px;
  overflow: hidden;
}

.cad-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hero-figure:hover .cad-frame img,
.portfolio-item:hover .cad-frame img {
  transform: scale(1.06);
}

.hero-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.cad-frame .hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 0;
  transform: scale(1);
  transition: opacity 1.2s ease, transform 6s ease;
}

.cad-frame .hero-slide.is-active {
  opacity: 1;
  z-index: 1;
}

.hero-figure:hover .cad-frame .hero-slide.is-active {
  transform: scale(1.06);
}

@media (prefers-reduced-motion: reduce) {
  .cad-frame .hero-slide { transition: opacity 0.4s ease; }
}

.cad-frame::before, .cad-frame::after,
.cad-frame .corner-tl, .cad-frame .corner-br {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  border: 2px solid var(--gold-bright);
}
.cad-frame::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.cad-frame::after { bottom: -1px; right: -1px; border-left: none; border-top: none; }
.cad-frame .corner-tl { top: -1px; right: -1px; border-left: none; border-bottom: none; }
.cad-frame .corner-br { bottom: -1px; left: -1px; border-right: none; border-top: none; }

/* ================= SOBRE ================= */
.about-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 64px;
  align-items: stretch;
  margin-bottom: 64px;
}

.about-copy {
  display: flex;
  flex-direction: column;
}

.about-copy p { color: var(--text-body); }

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: auto;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.stat { display: flex; flex-direction: column; gap: 6px; }

.stat strong {
  font-family: var(--font-display);
  font-size: 2.1rem;
  color: var(--gold);
  line-height: 1;
}

.stat span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.about-side {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.mv-card {
  background: var(--paper);
  padding: 32px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 3px solid var(--gold-bright);
}

.mv-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.mv-card p { margin: 0; color: var(--text-muted); }

.values-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.5;
}

.values-list .mark {
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  margin-right: 10px;
}

.values-list strong { color: var(--text-body); font-weight: 600; }

/* ================= ÁREAS DE ATUAÇÃO ================= */
.sector-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.sector-card {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  min-width: 0;
}

.sector-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.sector-card:hover img { transform: scale(1.06); }

.sector-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  background: linear-gradient(180deg, rgba(14,14,14,0) 40%, rgba(14,14,14,0.88) 100%);
}

.sector-overlay h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin: 0 0 4px;
  border-left: 3px solid var(--gold-bright);
  padding-left: 10px;
}

.sector-overlay p {
  color: var(--text-on-dark-muted);
  font-size: 0.86rem;
  margin: 0 0 0 13px;
}

/* ================= SERVIÇOS ================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
}

.service-card {
  background: var(--white);
  padding: 34px 28px;
  transition: background-color 0.2s ease;
}

.service-card:hover { background: var(--paper); }

.service-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  color: var(--gold);
}
.service-icon svg { width: 100%; height: 100%; }

.service-card h3 { margin-bottom: 8px; color: var(--ink); }
.service-card p { font-size: 0.93rem; color: var(--text-muted); margin: 0; }

/* ================= PORTFÓLIO ================= */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.portfolio-item {
  position: relative;
  cursor: pointer;
  border: 1px solid var(--line-dark);
  background: var(--ink);
  min-width: 0;
}

.portfolio-item .cad-frame {
  border-color: rgba(201,162,39,0.25);
  padding: 8px;
  aspect-ratio: 4/3;
  height: auto;
}

.portfolio-item .cad-frame::before,
.portfolio-item .cad-frame::after,
.portfolio-item .cad-frame .corner-tl,
.portfolio-item .cad-frame .corner-br {
  opacity: 0;
  transition: opacity 0.2s ease;
}

.portfolio-item:hover .cad-frame::before,
.portfolio-item:hover .cad-frame::after,
.portfolio-item:hover .cad-frame .corner-tl,
.portfolio-item:hover .cad-frame .corner-br {
  opacity: 1;
}

.portfolio-caption {
  padding: 14px 4px 4px;
}

.portfolio-caption .sector {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--gold-bright);
  display: block;
  margin-bottom: 4px;
}

.portfolio-caption .title {
  font-size: 0.88rem;
  color: var(--text-on-dark);
  line-height: 1.35;
  display: block;
}

/* lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8,8,8,0.94);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 40px;
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: min(1100px, 92vw);
  max-height: 82vh;
  object-fit: contain;
  border: 1px solid var(--gold-bright);
}
.lightbox-caption {
  position: absolute;
  bottom: 28px;
  left: 0;
  right: 0;
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0 80px;
  text-align: center;
  color: var(--text-on-dark);
  font-size: 0.92rem;
}
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 28px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.4);
  color: var(--white);
  width: 44px;
  height: 44px;
  cursor: pointer;
  font-size: 1.1rem;
}
.lightbox-close:hover { background: rgba(255,255,255,0.1); }

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(14, 14, 14, 0.55);
  border: 1px solid rgba(255,255,255,0.4);
  color: var(--white);
  width: 52px;
  height: 52px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.lightbox-nav svg { width: 24px; height: 24px; }
.lightbox-nav:hover, .lightbox-nav:focus-visible {
  background: var(--gold-bright);
  color: var(--ink);
  border-color: var(--gold-bright);
}
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

@media (max-width: 720px) {
  .lightbox { padding: 20px; }
  .lightbox-nav { width: 44px; height: 44px; }
  .lightbox-prev { left: 6px; }
  .lightbox-next { right: 6px; }
}

/* ================= DEPOIMENTOS ================= */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.testimonial {
  border: 1px solid var(--line-dark);
  background: rgba(14, 14, 14, 0.6);
  backdrop-filter: blur(2px);
  padding: 36px 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.testimonial .quote-mark {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--gold-bright);
  line-height: 1;
  display: block;
  margin-bottom: 12px;
}

.testimonial p.quote {
  color: var(--text-on-dark);
  font-size: 1.02rem;
  margin-bottom: 24px;
}

.testimonial p.quote + p.quote { margin-top: -10px; }

.testimonial--featured { grid-column: 1 / -1; }
.testimonial--featured p.quote { max-width: 88ch; }

/* ================= NOSSOS CLIENTES ================= */
.clients-row {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px 56px;
}

.clients-row li {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 88px;
}

.clients-row img {
  width: auto;
  height: 100%;
  max-width: 230px;
  object-fit: contain;
}

.testimonial .author {
  font-weight: 600;
  color: var(--white);
  font-size: 0.92rem;
  margin-top: auto;
}

.testimonial .role {
  font-size: 0.85rem;
  color: var(--text-on-dark-muted);
}

/* ================= CONTATO ================= */
.contact-wrap {
  max-width: 1040px;
}

.section-head--center {
  max-width: 100%;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.section-head--center .kicker { justify-content: center; }
.section-head--center p { margin-left: auto; margin-right: auto; }

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 24px;
}

.contact-list--grid {
  grid-template-columns: repeat(3, auto);
  justify-content: space-between;
  gap: 36px 48px;
}

.contact-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-list .icon {
  width: 22px;
  height: 22px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-list .icon svg { width: 100%; height: 100%; }

.contact-list h3 { font-size: 0.95rem; margin-bottom: 2px; }
.contact-list p { margin: 0; color: var(--text-muted); font-size: 0.94rem; }
.contact-list a.value { overflow-wrap: break-word; }
.contact-list a.value:hover { color: var(--gold); }

.social-row {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}

.social-row--center { justify-content: center; margin-top: 44px; }

.social-link {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.social-link:hover, .social-link:focus-visible {
  background: var(--ink);
  color: var(--gold-bright);
  border-color: var(--ink);
}
.social-link svg { width: 20px; height: 20px; }

/* ================= FOOTER ================= */
.site-footer {
  background: var(--ink);
  color: var(--text-on-dark-muted);
  border-top: 1px solid var(--line-dark);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 88px 24px 56px;
}

.footer-col h3 {
  color: var(--white);
  font-size: 0.92rem;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.footer-links a {
  color: var(--text-on-dark-muted);
  font-size: 0.92rem;
  transition: color 0.2s ease;
}
.footer-links a:hover, .footer-links a:focus-visible { color: var(--gold-bright); }

.footer-links span {
  color: var(--text-on-dark-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.footer-brand-col .social-row { margin-top: 28px; }

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.25;
  margin-bottom: 16px;
}
.footer-brand img { height: 40px; }

.footer-tagline {
  color: var(--gold-bright);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  margin: 0;
}

.footer-brand-col .social-link {
  border-color: var(--line-dark);
  color: var(--text-on-dark-muted);
}
.footer-brand-col .social-link:hover {
  background: var(--gold-bright);
  color: var(--ink);
  border-color: var(--gold-bright);
}

.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding: 24px;
  text-align: center;
}

.site-footer small { font-size: 0.82rem; }

/* ================= WHATSAPP FLUTUANTE ================= */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  background: #25D366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1500;
  box-shadow: 0 4px 14px rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.2);
}
.whatsapp-float svg { width: 30px; height: 30px; }
.whatsapp-float:hover { background: #1ebe5a; }

/* ================= RESPONSIVO ================= */
@media (max-width: 960px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-figure { order: -1; max-width: 480px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-side { flex-direction: row; flex-wrap: wrap; }
  .mv-card { flex: 1 1 240px; border-left: none; border-top: 3px solid var(--gold-bright); }
  .mv-card:last-child { flex-basis: 100%; }
  .contact-list--grid { grid-template-columns: repeat(2, 1fr); }
  .sector-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand-col { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .main-nav, .header-actions .btn--outline-dark { display: none; }
  .nav-toggle { display: flex; }
  .site-header.nav-open .main-nav {
    display: flex;
    position: absolute;
    top: 76px;
    left: 0; right: 0;
    background: var(--ink);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--line-dark);
  }
  .hero { padding: 112px 0 56px; }
  .services-grid, .portfolio-grid, .sector-grid { grid-template-columns: 1fr; }
  .clients-row { gap: 32px 40px; }
  .clients-row li { height: 68px; }
  .clients-row img { max-width: 170px; }
  .about-side { flex-direction: column; flex-wrap: nowrap; }
  .mv-card, .mv-card:last-child { flex: 1 1 auto; }
  .mv-card { border-left: 3px solid var(--gold-bright); border-top: none; }
  .stat-row { grid-template-columns: 1fr; gap: 16px; }
  .contact-list--grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; padding: 64px 24px 40px; gap: 40px; }
  .footer-brand-col { grid-column: auto; }
  .section { padding: 72px 0; }
}
