/*
Theme Name: MPD Pro
Theme URI: https://www.mpd.nyc/
Author: iFortte Creative
Author URI: https://www.ifortte.com/
Description: A polished professional WordPress theme for Manhattan Painting & Decorating, Corp. Includes working one-page navigation, request-a-quote and contact forms, lead saving, WBE certification highlights, union contractor credibility, commercial painting services, client experience, and project coordination sections.
Version: 1.2.2
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mpd-pro
Tags: custom-logo, custom-menu, featured-images, one-column, business, portfolio
*/

:root {
  --mpd-ink: #101418;
  --mpd-black: #141414;
  --mpd-navy: #153752;
  --mpd-navy-2: #244b66;
  --mpd-slate: #607180;
  --mpd-muted: #74818d;
  --mpd-cloud: #f4f7f9;
  --mpd-cloud-2: #eef3f6;
  --mpd-paper: #ffffff;
  --mpd-yellow: #fee11a;
  --mpd-gold: #d1b300;
  --mpd-line: rgba(16, 20, 24, .10);
  --mpd-line-strong: rgba(16, 20, 24, .16);
  --mpd-radius-xl: 36px;
  --mpd-radius: 24px;
  --mpd-radius-sm: 15px;
  --mpd-shadow: 0 28px 70px rgba(16, 20, 24, .14);
  --mpd-shadow-soft: 0 16px 44px rgba(16, 20, 24, .08);
  --mpd-container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 132px; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background: #fff;
  color: var(--mpd-ink);
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.home {
  background:
    radial-gradient(circle at 8% 12%, rgba(254,225,26,.10) 0, transparent 20%),
    radial-gradient(circle at 92% 20%, rgba(21,55,82,.08) 0, transparent 24%),
    linear-gradient(180deg, #f8fafc 0%, #eef3f6 42%, #ffffff 100%);
}
body.home .site-main {
  background: transparent;
}
body.home .about-section,
body.home .process-section,
body.home .experience-section {
  background: transparent;
}
body.admin-bar .site-header { top: 32px; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--mpd-gold); }
img { max-width: 100%; height: auto; display: block; }
button, input, textarea, select { font: inherit; }
:focus-visible { outline: 3px solid var(--mpd-yellow); outline-offset: 4px; }
.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important;
}
.screen-reader-text:focus { clip: auto; clip-path: none; height: auto; width: auto; z-index: 100000; background: #fff; color: #000; padding: 12px 16px; }

.mpd-container { width: min(100% - 44px, var(--mpd-container)); margin: 0 auto; }
.mpd-section { padding: 104px 0; position: relative; }
.mpd-section-tight { padding: 74px 0; }
.mpd-section-soft { background: linear-gradient(180deg, var(--mpd-cloud), #fff); }
.mpd-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 16px;
  color: var(--mpd-gold);
  font-weight: 950;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.mpd-eyebrow::before { content: ""; width: 34px; height: 3px; border-radius: 99px; background: currentColor; }
.mpd-eyebrow.light { color: var(--mpd-yellow); }
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 18px;
  line-height: 1.05;
  color: var(--mpd-navy);
  letter-spacing: -.04em;
}
h1 { font-size: clamp(44px, 6vw, 82px); max-width: 880px; }
h2 { font-size: clamp(33px, 4vw, 58px); }
h3 { font-size: clamp(22px, 2.2vw, 32px); }
p { margin: 0 0 18px; color: #2c3b48; }
ul { margin: 0; padding-left: 22px; }
li { margin: 6px 0; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(16,20,24,.08), 0 18px 44px rgba(16,20,24,.06);
}
.topbar { background: var(--mpd-black); color: rgba(255,255,255,.78); font-size: 13px; }
.topbar-wrap { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar-links { display: flex; align-items: center; gap: 18px; white-space: nowrap; }
.topbar a { color: #fff; font-weight: 800; }
.header-wrap { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.site-branding { display: flex; align-items: center; gap: 14px; min-width: 245px; }
.site-branding img { width: 128px; max-height: 62px; object-fit: contain; filter: drop-shadow(0 8px 12px rgba(16,20,24,.08)); }
.brand-copy { display: grid; line-height: 1.05; color: var(--mpd-navy); }
.brand-copy strong { font-size: 15px; letter-spacing: -.02em; }
.brand-copy span { font-size: 13px; color: var(--mpd-muted); font-weight: 750; }
.primary-navigation { display: flex; align-items: center; gap: 12px; }
.primary-navigation ul { list-style: none; padding: 0; margin: 0; display: flex; align-items: center; gap: 3px; }
.primary-navigation li { margin: 0; }
.primary-navigation a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 12px;
  color: var(--mpd-navy);
  font-weight: 950;
  font-size: 13px;
  letter-spacing: .055em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.primary-navigation a:hover,
.primary-navigation a.is-active,
.primary-navigation .current-menu-item > a { background: rgba(254,225,26,.28); color: var(--mpd-black); transform: translateY(-1px); }
.header-phone, .header-cta {
  min-height: 44px;
  padding: 10px 16px !important;
  border-radius: 999px;
  white-space: nowrap;
  font-size: 13px !important;
}
.header-phone { background: #fff; border: 1px solid rgba(21,55,82,.22); box-shadow: none; }
.header-phone:hover { background: var(--mpd-navy); color: #fff !important; }
.header-cta { background: var(--mpd-yellow); color: #121212 !important; box-shadow: 0 13px 24px rgba(209,179,0,.18); }
.header-cta:hover { background: #ffe948 !important; color: #111 !important; }
.nav-toggle { display: none; align-items: center; gap: 7px; border: 0; color: #fff; background: var(--mpd-navy); border-radius: 14px; padding: 11px 14px; font-weight: 950; cursor: pointer; }
.nav-toggle span { width: 17px; height: 2px; background: #fff; display: block; border-radius: 99px; }
.nav-toggle em { font-style: normal; margin-left: 2px; }

/* Buttons */
.mpd-button-row { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.mpd-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 14px 24px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 950;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.mpd-button.primary { background: var(--mpd-yellow); color: #111; box-shadow: 0 18px 36px rgba(209,179,0,.22); }
.mpd-button.dark { background: var(--mpd-black); color: #fff; }
.mpd-button.outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.72); }
.mpd-button.light { background: #fff; color: var(--mpd-navy); border-color: rgba(21,55,82,.16); }
.mpd-button:hover { transform: translateY(-2px); }
.mpd-button.primary:hover { color: #111; background: #ffeb43; }
.mpd-button.dark:hover, .mpd-button.outline:hover { color: #fff; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 86px 0 96px;
  background: linear-gradient(135deg, #101820 0%, #172a38 45%, #284d66 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('assets/images/nyc-finish-lines.svg') center/cover no-repeat;
  opacity: .32;
  mix-blend-mode: screen;
}
.hero::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; right: -170px; top: -210px; background: var(--mpd-yellow); opacity: .18; filter: blur(4px); }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 130px; background: linear-gradient(180deg, transparent, rgba(0,0,0,.18)); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(330px, .72fr); gap: 58px; align-items: center; }
.hero h1 { color: #fff; }
.hero p.lead { color: rgba(255,255,255,.84); font-size: clamp(18px, 2.1vw, 23px); max-width: 790px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0 0; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border-radius: 999px; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.16); color: #fff; font-weight: 850; font-size: 13px; }
.badge::before { content: "✓"; color: var(--mpd-yellow); font-weight: 950; }
.hero-panel { padding: 30px; border-radius: var(--mpd-radius-xl); background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(16px); box-shadow: var(--mpd-shadow); color: #fff; }
.panel-logo { background: #fff; border-radius: 22px; padding: 18px; margin-bottom: 22px; }
.panel-logo img { width: 100%; max-height: 180px; object-fit: contain; }
.hero-panel h2 { color: #fff; font-size: clamp(30px, 3vw, 44px); }
.hero-panel p { color: rgba(255,255,255,.78); }
.mini-list { list-style: none; padding: 0; display: grid; gap: 12px; margin-top: 22px; }
.mini-list li { margin: 0; display: grid; grid-template-columns: 24px 1fr; gap: 10px; color: rgba(255,255,255,.88); font-weight: 780; }
.mini-list li::before { content: "✓"; color: var(--mpd-yellow); font-weight: 950; }

/* Metrics */
.trust-strip { background: #fff; padding: 24px 0; position: relative; z-index: 5; box-shadow: 0 18px 48px rgba(16,20,24,.07); }
.trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.trust-item { background: var(--mpd-black); color: #fff; border-radius: 22px; padding: 24px 24px 22px; min-height: 130px; border-bottom: 7px solid var(--mpd-yellow); }
.trust-item strong { color: var(--mpd-yellow); display: block; font-size: clamp(34px, 4vw, 52px); line-height: 1; letter-spacing: -.05em; }
.trust-item span { display: block; color: rgba(255,255,255,.78); margin-top: 10px; font-weight: 820; line-height: 1.35; }

/* Layout sections */
.section-head { display: grid; grid-template-columns: minmax(0, .92fr) minmax(300px, .68fr); gap: 34px; align-items: end; margin-bottom: 36px; }
.section-head p { font-size: 18px; color: #3f5160; }
.split-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 64px; align-items: center; }
.about-visual { position: relative; }
.about-visual img { width: 100%; border-radius: var(--mpd-radius-xl); box-shadow: var(--mpd-shadow); border: 1px solid rgba(16,20,24,.08); background: #fff; }
.about-callout { position: absolute; left: 28px; right: 28px; bottom: 28px; border-radius: 22px; padding: 20px; background: rgba(20,20,20,.88); color: #fff; backdrop-filter: blur(10px); }
.about-callout strong { display: block; color: var(--mpd-yellow); font-size: 22px; line-height: 1.15; margin-bottom: 6px; }
.about-callout span { color: rgba(255,255,255,.8); font-weight: 750; }
.check-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.check-list.two-col { grid-template-columns: repeat(2, minmax(0,1fr)); }
.check-list li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; margin: 0; color: #263947; font-weight: 820; }
.check-list li::before { content: "✓"; color: var(--mpd-gold); font-weight: 950; }

/* Cards */
.service-grid, .process-grid, .coord-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.service-card, .client-card, .process-card, .coord-card, .contact-card, .form-card, .cert-card {
  background: #fff;
  border: 1px solid var(--mpd-line);
  border-radius: var(--mpd-radius);
  padding: 28px;
  box-shadow: var(--mpd-shadow-soft);
}
.service-card { min-height: 275px; border-top: 7px solid var(--mpd-yellow); transition: transform .2s ease, box-shadow .2s ease; }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--mpd-shadow); }
.service-icon { width: 54px; height: 54px; display: grid; place-items: center; background: var(--mpd-navy); color: var(--mpd-yellow); border-radius: 16px; font-weight: 950; margin-bottom: 18px; }
.service-card h3 { font-size: 27px; }
.service-card p { color: #435564; }
.process-section { background: #fff; }
.process-card { border-left: 6px solid var(--mpd-yellow); min-height: 235px; }
.process-card > span { color: var(--mpd-gold); font-weight: 950; letter-spacing: .14em; display: inline-block; margin-bottom: 18px; }
.process-card p { color: #435564; }

/* Experience */
.experience-section { background: linear-gradient(180deg, #fff, var(--mpd-cloud)); }
.experience-head { display: grid; grid-template-columns: 1fr minmax(260px, 390px); gap: 34px; align-items: end; margin-bottom: 34px; }
.experience-count { background: linear-gradient(135deg, var(--mpd-black), #1b3346); color: #fff; border: 1px solid rgba(254,225,26,.38); border-radius: var(--mpd-radius-xl); padding: 34px; }
.experience-count strong { display: block; color: var(--mpd-yellow); font-size: clamp(62px, 7vw, 90px); line-height: .88; letter-spacing: -.06em; }
.experience-count span { color: rgba(255,255,255,.8); font-weight: 850; }
.client-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.client-card { min-height: 185px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.client-card::after { content: ""; position: absolute; right: -32px; top: -34px; width: 88px; height: 88px; border-radius: 50%; background: rgba(254,225,26,.22); }
.client-mark { width: 42px; height: 42px; display: grid; place-items: center; background: var(--mpd-cloud); border: 1px solid var(--mpd-line); border-radius: 14px; color: var(--mpd-navy); font-weight: 950; margin-bottom: 18px; }
.client-card strong { color: var(--mpd-navy); font-size: 22px; line-height: 1.12; position: relative; z-index: 2; }
.client-card > span:last-child { color: var(--mpd-muted); font-weight: 780; margin-top: 18px; }

/* Certifications */
.dark-section { background: radial-gradient(circle at 82% 20%, rgba(254,225,26,.12), transparent 30%), linear-gradient(135deg, #111, #171717 48%, #0e1820); color: #fff; overflow: hidden; }
.dark-section h2, .dark-section h3 { color: #fff; }
.dark-section p { color: rgba(255,255,255,.78); }
.cert-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 58px; align-items: center; }
.cert-layout-single { grid-template-columns: minmax(0, 920px); }
.cert-layout-single .cert-list { max-width: 760px; }
.cert-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 15px; }
.cert-list li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; margin: 0; color: rgba(255,255,255,.9); font-size: 18px; }
.cert-list li::before { content: "✓"; color: var(--mpd-yellow); font-weight: 950; }
.certificate-frame { background: #fff; border-radius: 30px; padding: 22px; box-shadow: var(--mpd-shadow); transform: rotate(1.3deg); }
.certificate-frame img { border-radius: 12px; border: 1px solid rgba(16,20,24,.10); }
.cert-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; margin-top: 40px; }
.cert-card { border-top: 7px solid var(--mpd-yellow); box-shadow: 0 18px 45px rgba(0,0,0,.18); }
.cert-card strong { display: block; color: var(--mpd-black); text-transform: uppercase; letter-spacing: .10em; font-size: 13px; margin-bottom: 8px; }
.cert-card p { color: var(--mpd-navy); margin: 0; font-weight: 900; line-height: 1.35; }

/* Coordination */
.coord-card { border-top: 7px solid var(--mpd-yellow); min-height: 238px; }
.coord-card h3 { font-size: 27px; }
.coord-card a { text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--mpd-yellow); text-underline-offset: 3px; font-weight: 900; }

/* Quote / Contact / Forms */
.quote-section { background: #fff; }
.quote-panel { display: grid; grid-template-columns: .82fr 1.18fr; gap: 40px; align-items: start; padding: clamp(28px, 5vw, 58px); border-radius: 42px; background: linear-gradient(135deg, var(--mpd-yellow), #fff3a8); box-shadow: var(--mpd-shadow); position: relative; overflow: hidden; }
.quote-panel::after { content: ""; position: absolute; right: -90px; top: -90px; width: 240px; height: 240px; border-radius: 50%; background: rgba(255,255,255,.44); }
.quote-panel > * { position: relative; z-index: 2; }
.quote-panel h2 { color: #111; }
.quote-panel p { color: #332e0f; }
.quote-notes { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 11px; }
.quote-notes li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; font-weight: 820; color: #2f2906; }
.quote-notes li::before { content: "✓"; color: #111; font-weight: 950; }
.form-card.elevated { box-shadow: 0 24px 70px rgba(16,20,24,.18); }
.contact-section { background: linear-gradient(180deg, #fff, var(--mpd-cloud)); }
.contact-wrap { display: grid; grid-template-columns: .88fr 1.12fr; gap: 32px; align-items: stretch; }
.contact-card.dark { background: var(--mpd-black); color: #fff; border: none; position: relative; overflow: hidden; }
.contact-card.dark::before { content: ""; position: absolute; right: -90px; bottom: -110px; width: 310px; height: 310px; background: var(--mpd-yellow); transform: rotate(18deg); opacity: .96; }
.contact-card.dark > * { position: relative; z-index: 2; }
.contact-card.dark h3 { color: var(--mpd-yellow); font-size: 31px; }
.contact-card.dark .mpd-button { margin-top: 24px; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.contact-list li { margin: 0; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.14); }
.contact-list strong { display: block; color: rgba(255,255,255,.66); font-size: 12px; letter-spacing: .10em; text-transform: uppercase; margin-bottom: 4px; }
.contact-list a, .contact-list span { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,.45); text-underline-offset: 3px; }
.mpd-form { display: grid; gap: 16px; margin: 0; }
.mpd-form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.mpd-form label { display: grid; gap: 7px; font-size: 14px; font-weight: 900; color: var(--mpd-navy); }
.mpd-form input, .mpd-form textarea, .mpd-form select { width: 100%; min-height: 52px; border: 1px solid var(--mpd-line-strong); border-radius: 14px; background: #fff; padding: 12px 14px; color: var(--mpd-ink); }
.mpd-form input:focus, .mpd-form textarea:focus, .mpd-form select:focus { border-color: var(--mpd-gold); box-shadow: 0 0 0 4px rgba(254,225,26,.20); outline: none; }
.mpd-form textarea { min-height: 146px; resize: vertical; }
.mpd-form .hp-field { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.mpd-form-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.mpd-form small { color: var(--mpd-muted); font-weight: 680; max-width: 320px; }
.mpd-notice { padding: 14px 16px; border-radius: 15px; font-weight: 850; margin: 0 0 16px; }
.mpd-notice.success { background: #e9f8ee; color: #176534; border: 1px solid rgba(22,101,52,.16); }
.mpd-notice.error { background: #fff0e0; color: #9a3412; border: 1px solid rgba(154,52,18,.18); }

/* Standard pages */
.page-content-section { padding-top: 82px; }
.page-hero { padding: 78px 0; background: linear-gradient(135deg, #fff, #fff8c8); border-bottom: 1px solid var(--mpd-line); }
.page-hero .mpd-container { display: grid; grid-template-columns: 1fr 260px; gap: 38px; align-items: center; }
.page-hero img { width: 230px; justify-self: end; background: #fff; padding: 14px; border-radius: 18px; box-shadow: 0 12px 28px rgba(16,20,24,.08); }
.entry-content { font-size: 17px; }
.entry-content > * { max-width: 860px; }
.entry-content .alignwide, .entry-content .client-grid, .entry-content .service-grid, .entry-content .contact-wrap { max-width: var(--mpd-container); }
.entry-content h2 { margin-top: 40px; }
.entry-content a { text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--mpd-gold); text-underline-offset: 3px; }

/* Footer */
.site-footer { background: var(--mpd-black); color: #fff; padding: 64px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.1fr .75fr .75fr .75fr; gap: 34px; }
.footer-logo { background: #fff; border-radius: 16px; padding: 12px; max-width: 210px; margin-bottom: 18px; }
.site-footer h3 { color: #fff; font-size: 20px; }
.site-footer p, .site-footer a, .site-footer li { color: rgba(255,255,255,.72); }
.site-footer a:hover { color: var(--mpd-yellow); }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: 9px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 42px; padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 18px; color: rgba(255,255,255,.55); font-size: 14px; }

/* Animations */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .62s ease, transform .62s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .mpd-button, .service-card, .primary-navigation a { transition: none; }
}

@media (max-width: 1130px) {
  .brand-copy { display: none; }
  .site-branding { min-width: 150px; }
  .primary-navigation a { padding-left: 10px; padding-right: 10px; }
}
@media (max-width: 1060px) {
  .hero-grid, .split-grid, .cert-layout, .quote-panel, .contact-wrap, .page-hero .mpd-container, .section-head, .experience-head { grid-template-columns: 1fr; }
  .page-hero img { justify-self: start; }
  .service-grid, .coord-grid, .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .client-grid, .cert-grid, .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  body.admin-bar .site-header { top: 46px; }
  html { scroll-padding-top: 94px; }
  .topbar { display: none; }
  .header-wrap { min-height: 78px; }
  .nav-toggle { display: inline-grid; grid-template-columns: 17px auto; align-items: center; }
  .nav-toggle span:nth-child(2), .nav-toggle span:nth-child(3) { grid-column: 1; }
  .nav-toggle em { grid-column: 2; grid-row: 1 / span 3; }
  .primary-navigation { display: none; position: absolute; left: 20px; right: 20px; top: calc(100% + 10px); flex-direction: column; align-items: stretch; background: #fff; border: 1px solid var(--mpd-line); border-radius: 22px; padding: 16px; box-shadow: var(--mpd-shadow); }
  .primary-navigation.is-open { display: flex; }
  .primary-navigation ul { flex-direction: column; align-items: stretch; width: 100%; }
  .primary-navigation a { justify-content: center; width: 100%; }
  .header-phone, .header-cta { width: 100%; }
  .site-branding img { width: 126px; }
  .hero { padding-top: 64px; }
}
@media (max-width: 680px) {
  .mpd-container { width: min(100% - 28px, var(--mpd-container)); }
  .mpd-section { padding: 74px 0; }
  .hero { padding: 56px 0 76px; }
  .hero-panel { padding: 22px; border-radius: 28px; }
  .service-grid, .coord-grid, .process-grid, .client-grid, .cert-grid, .trust-grid, .footer-grid, .mpd-form-row, .check-list.two-col { grid-template-columns: 1fr; }
  .quote-panel { padding: 24px; border-radius: 30px; }
  .trust-item { min-height: auto; }
  .about-callout { position: relative; left: auto; right: auto; bottom: auto; margin-top: -26px; margin-left: 14px; margin-right: 14px; }
}
