/* =====================================================
   MURPHY'S GARAGE DOOR — WordPress Additional CSS v4
   Navy + White + Gold (buttons/accents only). No red.
   ===================================================== */

/* --- RESET WORDPRESS THEME --- */
html, body { margin-top: 0 !important; padding-top: 0 !important; }

.entry-title, .page-title, h1.entry-title, .wp-block-post-title,
.site-header, header.site-header, .wp-block-template-part,
.wp-block-site-title, .wp-block-navigation, .main-navigation,
.site-branding, nav.site-navigation, [class*="header"] {
  display: none !important;
}

.entry-content, .page-content, .wp-block-post-content,
.wp-block-post-content > *, .entry-content > *,
.wp-block-group, div.wp-block-html {
  padding: 0 !important; margin: 0 !important;
  max-width: 100% !important; width: 100% !important;
}

.site-main, main.site-main, #main,
.wp-site-blocks, .is-root-container {
  padding: 0 !important; margin: 0 !important;
}

/* --- BRAND VARIABLES --- */
:root {
  --mgd-navy:     #1B2A47;
  --mgd-navy-m:   #243460;
  --mgd-navy-d:   #111827;
  --mgd-navy-l:   #2d4275;
  --mgd-gold:     #E8990A;
  --mgd-gold-h:   #cf8808;
  --mgd-white:    #ffffff;
  --mgd-light:    #F5F7FA;
  --mgd-border:   #DDE1EA;
  --mgd-text:     #1B2A47;
  --mgd-muted:    #586174;
  --mgd-blue-mid: #3a5a9b;
  --mgd-fh:       'Barlow Condensed', sans-serif;
  --mgd-fb:       'Lato', sans-serif;
  --mgd-r:        6px;
  --mgd-rl:       10px;
  --mgd-sh:       0 4px 24px rgba(27,42,71,0.10);
  --mgd-shl:      0 8px 40px rgba(27,42,71,0.16);
  --mgd-ease:     0.15s ease;
}

/* --- BASE --- */
.mgd *, .mgd *::before, .mgd *::after { box-sizing: border-box; margin: 0; padding: 0; }
.mgd img    { max-width: 100%; display: block; }
.mgd a      { text-decoration: none; }
.mgd ul     { list-style: none; }
.mgd button { font-family: inherit; cursor: pointer; }
.mgd { font-family: var(--mgd-fb); color: var(--mgd-text); background: var(--mgd-white); line-height: 1.6; }

/* --- LAYOUT --- */
.mgd-wrap    { max-width: 1140px; margin: 0 auto; padding: 0 16px; }
.mgd-section { padding: 56px 16px; }
.mgd-alt     { background: var(--mgd-light); }
.mgd-eyebrow { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mgd-blue-mid); margin-bottom: 8px; }
.mgd-h2      { font-family: var(--mgd-fh); font-size: clamp(26px,5vw,42px); font-weight: 800; color: var(--mgd-navy); line-height: 1.05; letter-spacing: 0.01em; text-transform: uppercase; margin-bottom: 28px; }

/* --- BUTTONS --- */
.mgd-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--mgd-fh); font-weight: 700; font-size: 16px; letter-spacing: 0.07em; text-transform: uppercase; border-radius: var(--mgd-r); padding: 13px 24px; cursor: pointer; transition: background var(--mgd-ease), transform var(--mgd-ease), border-color var(--mgd-ease), color var(--mgd-ease); border: 2px solid transparent; white-space: nowrap; line-height: 1; }
.mgd-btn:active { transform: scale(0.97); }
.mgd-btn svg { width: 16px; height: 16px; fill: currentColor; flex-shrink: 0; }

.mgd-btn-gold  { background: var(--mgd-gold);  color: var(--mgd-navy);  border-color: var(--mgd-gold);  font-weight: 800; }
.mgd-btn-gold:hover  { background: var(--mgd-gold-h); border-color: var(--mgd-gold-h); }
.mgd-btn-wh    { background: transparent; color: var(--mgd-white); border-color: rgba(255,255,255,0.5); }
.mgd-btn-wh:hover    { border-color: var(--mgd-white); background: rgba(255,255,255,0.10); color: var(--mgd-white); }
.mgd-btn-nv    { background: transparent; color: var(--mgd-navy); border-color: var(--mgd-navy); }
.mgd-btn-nv:hover    { background: var(--mgd-navy); color: var(--mgd-white); }
.mgd-btn-navy  { background: var(--mgd-navy); color: var(--mgd-white); border-color: var(--mgd-navy); }
.mgd-btn-navy:hover  { background: var(--mgd-navy-m); border-color: var(--mgd-navy-m); }
.mgd-btn-red   { background: var(--mgd-navy); color: var(--mgd-white); border-color: var(--mgd-navy); }
.mgd-btn-red:hover   { background: var(--mgd-navy-m); border-color: var(--mgd-navy-m); color: var(--mgd-white); }
.mgd-btn-gd    { background: var(--mgd-gold);  color: var(--mgd-navy);  border-color: var(--mgd-gold);  font-weight: 800; }
.mgd-btn-gd:hover    { background: var(--mgd-gold-h); border-color: var(--mgd-gold-h); }
.mgd-btn-lg    { font-size: 18px; padding: 16px 32px; }
.mgd-btn-sm    { font-size: 13px; padding: 9px 16px; }
.mgd-btn-full  { width: 100%; }

/* --- TOPBAR --- */
.topbar { background: var(--mgd-navy); color: rgba(255,255,255,0.82); font-size: 12px; font-weight: 700; letter-spacing: 0.07em; text-align: center; padding: 8px 16px; text-transform: uppercase; border-bottom: 1px solid rgba(255,255,255,0.08); }
.topbar-row { display: flex; justify-content: center; align-items: center; gap: 14px; flex-wrap: wrap; }
.topbar-sep { opacity: 0.3; }
.topbar a { color: var(--mgd-gold); }

/* --- HEADER --- */
.mgd-hdr { background: var(--mgd-navy); position: sticky; top: 0; z-index: 9999; box-shadow: 0 2px 20px rgba(0,0,0,0.22); transition: box-shadow var(--mgd-ease); }
.mgd-hdr-row { display: flex; align-items: center; justify-content: space-between; padding: 11px 16px; gap: 10px; max-width: 1140px; margin: 0 auto; }

.mgd-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.mgd-logo-icon { width: 50px; height: 50px; background: var(--mgd-navy-m); border: 2px solid rgba(255,255,255,0.15); border-radius: var(--mgd-r); display: flex; align-items: center; justify-content: center; flex-shrink: 0; padding: 2px; }
.mgd-logo-icon svg { width: 44px; height: 44px; }
.mgd-logo-name { font-family: var(--mgd-fh); font-size: 20px; font-weight: 800; color: var(--mgd-white); letter-spacing: 0.05em; text-transform: uppercase; display: block; line-height: 1.1; }
.mgd-logo-sub  { font-family: var(--mgd-fh); font-size: 10px; font-weight: 700; color: rgba(255,255,255,0.55); letter-spacing: 0.09em; text-transform: uppercase; display: block; }

.mgd-desk-nav { display: none; align-items: center; gap: 2px; }
.mgd-desk-nav a { font-family: var(--mgd-fh); font-size: 14px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: rgba(255,255,255,0.72); padding: 7px 13px; border-radius: var(--mgd-r); transition: color var(--mgd-ease), background var(--mgd-ease); }
.mgd-desk-nav a:hover     { color: var(--mgd-white); background: rgba(255,255,255,0.09); }
.mgd-desk-nav a.mgd-active { color: var(--mgd-white); background: rgba(255,255,255,0.12); }
.mgd-es-pill { font-family: var(--mgd-fh); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mgd-gold); background: rgba(232,153,10,0.12); border: 1px solid rgba(232,153,10,0.3); border-radius: 100px; padding: 4px 10px; white-space: nowrap; margin-left: 4px; }

.mgd-hdr-right { display: flex; align-items: center; gap: 8px; }
.mgd-ph-link { display: flex; align-items: center; gap: 6px; font-family: var(--mgd-fh); font-size: 18px; font-weight: 700; color: var(--mgd-white); letter-spacing: 0.02em; white-space: nowrap; }
.mgd-ph-link svg { width: 16px; height: 16px; fill: var(--mgd-white); flex-shrink: 0; }

.mgd-ham { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 36px; height: 36px; background: none; border: none; padding: 4px; flex-shrink: 0; }
.mgd-ham span { display: block; height: 2px; width: 100%; background: var(--mgd-white); border-radius: 2px; transition: transform 0.22s ease, opacity 0.22s ease; transform-origin: center; }
.mgd-ham.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mgd-ham.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.mgd-ham.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mgd-mob-nav { display: none; background: var(--mgd-navy-m); border-top: 1px solid rgba(255,255,255,0.08); }
.mgd-mob-nav.open { display: block; }
.mgd-mob-nav a { display: block; font-family: var(--mgd-fh); font-size: 18px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: rgba(255,255,255,0.84); padding: 14px 20px; border-bottom: 1px solid rgba(255,255,255,0.06); transition: background var(--mgd-ease); }
.mgd-mob-nav a:last-child  { border-bottom: none; }
.mgd-mob-nav a:hover       { background: rgba(255,255,255,0.07); color: var(--mgd-white); }
.mgd-mob-nav a.mgd-active  { color: var(--mgd-gold); }
.mgd-mob-ph { display: flex !important; align-items: center; gap: 8px; color: var(--mgd-gold) !important; font-size: 19px !important; }
.mgd-mob-ph svg { fill: var(--mgd-gold); width: 17px; height: 17px; }

/* --- HERO --- */
.mgd-hero { background: linear-gradient(150deg, var(--mgd-navy) 0%, var(--mgd-navy-m) 50%, var(--mgd-navy-l) 100%); padding: 60px 16px 72px; text-align: center !important; position: relative; overflow: hidden; }
.mgd-hero::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Crect width='2' height='2' x='29' y='29'/%3E%3C/g%3E%3C/svg%3E") repeat; pointer-events: none; }
.mgd-hero::after  { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 80% 50%, rgba(232,153,10,0.06) 0%, transparent 65%); pointer-events: none; }
.mgd-hero-in { position: relative; z-index: 1; max-width: 1140px; margin: 0 auto; padding: 0 16px; text-align: center !important; }
.mgd-hero-pill { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18); color: rgba(255,255,255,0.85); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 5px 14px; border-radius: 100px; margin-bottom: 20px; }
.mgd-hero h1 { font-family: var(--mgd-fh); font-size: clamp(38px,9vw,76px); font-weight: 800; color: var(--mgd-white); line-height: 1.0; letter-spacing: 0.01em; text-transform: uppercase; margin-bottom: 16px; text-align: center !important; }
.mgd-hero h1 em { font-style: normal; color: var(--mgd-gold); }
.mgd-hero-sub { font-size: clamp(15px,2.5vw,18px); color: rgba(255,255,255,0.72); max-width: 560px; margin: 0 auto 32px; line-height: 1.65; text-align: center !important; }
.mgd-hero-btns { display: flex; flex-direction: column; gap: 12px; align-items: center !important; justify-content: center !important; margin-bottom: 48px; }
.mgd-hero-btns .mgd-btn { width: 100%; max-width: 340px; }
.mgd-stats { display: grid; grid-template-columns: repeat(2,1fr); gap: 13px; max-width: 480px; margin: 0 auto !important; }
.mgd-stat { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--mgd-rl); padding: 16px 12px; text-align: center; }
.mgd-stat-n { font-family: var(--mgd-fh); font-size: 28px; font-weight: 800; color: var(--mgd-gold); display: block; line-height: 1; margin-bottom: 4px; }
.mgd-stat-l { font-size: 11px; color: rgba(255,255,255,0.52); text-transform: uppercase; letter-spacing: 0.06em; }

/* --- SERVICE STRIP --- */
.mgd-strip { background: var(--mgd-navy-m); border-top: 1px solid rgba(255,255,255,0.06); border-bottom: 1px solid rgba(255,255,255,0.06); overflow-x: auto; -webkit-overflow-scrolling: touch; }
.mgd-strip-row { display: flex; min-width: max-content; padding: 0 8px; }
.mgd-chip { display: flex; align-items: center; gap: 7px; padding: 13px 18px; color: rgba(255,255,255,0.80); font-family: var(--mgd-fh); font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap; border-right: 1px solid rgba(255,255,255,0.10); flex-shrink: 0; }
.mgd-chip:last-child { border-right: none; }
.mgd-chip svg { width: 14px; height: 14px; fill: rgba(255,255,255,0.60); flex-shrink: 0; }

/* --- WHY GRID --- */
.mgd-why-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.mgd-why-card { background: var(--mgd-white); border: 1px solid var(--mgd-border); border-top: 3px solid var(--mgd-navy); border-radius: var(--mgd-rl); padding: 22px 20px; display: flex; gap: 16px; align-items: flex-start; transition: box-shadow var(--mgd-ease), transform var(--mgd-ease); }
.mgd-why-card:hover { box-shadow: var(--mgd-sh); transform: translateY(-2px); }
.mgd-why-icon { width: 46px; height: 46px; background: var(--mgd-navy); border-radius: var(--mgd-r); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mgd-why-icon svg { width: 24px; height: 24px; fill: var(--mgd-white); }
.mgd-why-card h3 { font-family: var(--mgd-fh); font-size: 18px; font-weight: 700; color: var(--mgd-navy); text-transform: uppercase; margin-bottom: 5px; }
.mgd-why-card p  { font-size: 14px; color: var(--mgd-muted); line-height: 1.6; }

/* --- SERVICE PREVIEW CARDS --- */
.mgd-svc-preview { display: grid; grid-template-columns: 1fr; gap: 14px; }
.mgd-svc-card { background: var(--mgd-white); border: 1px solid var(--mgd-border); border-left: 4px solid var(--mgd-navy); border-radius: var(--mgd-rl); padding: 18px 16px; display: flex; gap: 14px; align-items: flex-start; transition: box-shadow var(--mgd-ease), transform var(--mgd-ease); }
.mgd-svc-card:hover { box-shadow: var(--mgd-sh); transform: translateY(-1px); }
.mgd-svc-card.mgd-svc-emrg { border-left-color: var(--mgd-blue-mid); }
.mgd-svc-icon { width: 40px; height: 40px; background: rgba(27,42,71,0.07); border-radius: var(--mgd-r); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mgd-svc-icon svg    { width: 20px; height: 20px; fill: var(--mgd-navy); }
.mgd-svc-icon-nv     { background: rgba(27,42,71,0.07) !important; }
.mgd-svc-icon-nv svg { fill: var(--mgd-navy) !important; }
.mgd-svc-card h3 { font-family: var(--mgd-fh); font-size: 17px; font-weight: 700; color: var(--mgd-navy); text-transform: uppercase; margin-bottom: 3px; }
.mgd-svc-card p  { font-size: 13px; color: var(--mgd-muted); line-height: 1.55; }

/* --- CTA BAND --- */
.mgd-cta-band { background: var(--mgd-navy); padding: 64px 16px; text-align: center; }
.mgd-cta-band h2 { font-family: var(--mgd-fh); font-size: clamp(26px,5vw,48px); font-weight: 800; color: var(--mgd-white); text-transform: uppercase; line-height: 1.05; margin-bottom: 10px; }
.mgd-cta-band p  { font-size: 16px; color: rgba(255,255,255,0.62); margin-bottom: 24px; max-width: 440px; margin-left: auto; margin-right: auto; }
.mgd-cta-num { font-family: var(--mgd-fh); font-size: clamp(32px,6vw,58px); font-weight: 800; color: var(--mgd-white); display: block; letter-spacing: 0.02em; margin-bottom: 28px; line-height: 1; }
.mgd-cta-acts { display: flex; flex-direction: column; gap: 12px; align-items: center; }
.mgd-cta-acts .mgd-btn { width: 100%; max-width: 300px; }

/* --- REVIEW PLATFORMS --- */
.mgd-plat-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.mgd-plat-card { background: var(--mgd-white); border: 1px solid var(--mgd-border); border-radius: var(--mgd-rl); padding: 28px 22px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; transition: box-shadow var(--mgd-ease), transform var(--mgd-ease); }
.mgd-plat-card:hover { box-shadow: var(--mgd-shl); transform: translateY(-2px); }
.mgd-plat-icon { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 900; flex-shrink: 0; }
.mgd-plat-nd   { background: #edf7f0; color: #00b746; }
.mgd-plat-fb   { background: #eef2ff; color: #1877F2; }
.mgd-plat-name { font-family: var(--mgd-fh); font-size: 21px; font-weight: 800; color: var(--mgd-navy); text-transform: uppercase; }
.mgd-plat-desc { font-size: 13px; color: var(--mgd-muted); line-height: 1.6; }
.mgd-rev-callout { background: var(--mgd-navy); border-radius: var(--mgd-rl); padding: 28px 20px; text-align: center; margin-top: 24px; }
.mgd-rev-callout p { font-size: 16px; color: rgba(255,255,255,0.75); margin-bottom: 16px; line-height: 1.6; }
.mgd-rev-callout strong { color: var(--mgd-gold); }

/* --- PAGE HERO --- */
.mgd-page-hero { background: linear-gradient(135deg, var(--mgd-navy) 0%, var(--mgd-navy-m) 100%); padding: 56px 16px 56px; text-align: center; margin-bottom: 0; }
.mgd-page-hero h1 { font-family: var(--mgd-fh); font-size: clamp(32px,7vw,62px); font-weight: 800; color: var(--mgd-white); text-transform: uppercase; line-height: 1.05; margin-bottom: 12px; }
.mgd-page-hero h1 em { font-style: normal; color: var(--mgd-gold); }
.mgd-page-hero p  { font-size: 16px; color: rgba(255,255,255,0.68); max-width: 520px; margin: 0 auto; line-height: 1.6; }

/* --- FULL SERVICE BLOCKS --- */
.mgd-svc-full { display: grid; grid-template-columns: 1fr; gap: 20px; }
.mgd-svc-block { background: var(--mgd-white); border: 1px solid var(--mgd-border); border-radius: var(--mgd-rl); overflow: hidden; box-shadow: var(--mgd-sh); transition: box-shadow var(--mgd-ease), transform var(--mgd-ease); }
.mgd-svc-block:hover { box-shadow: var(--mgd-shl); transform: translateY(-2px); }
.mgd-svc-block-head { background: var(--mgd-navy); padding: 18px 22px; display: flex; align-items: center; gap: 14px; }
.mgd-svc-block-icon { width: 42px; height: 42px; background: rgba(255,255,255,0.10); border-radius: var(--mgd-r); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mgd-svc-block-icon svg { width: 22px; height: 22px; fill: var(--mgd-white); }
.mgd-svc-block-head h2 { font-family: var(--mgd-fh); font-size: 20px; font-weight: 800; color: var(--mgd-white); text-transform: uppercase; line-height: 1; margin: 0; }
.mgd-svc-tag { margin-left: auto; font-family: var(--mgd-fh); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mgd-gold); background: rgba(232,153,10,0.15); border: 1px solid rgba(232,153,10,0.3); border-radius: 100px; padding: 3px 10px; white-space: nowrap; flex-shrink: 0; }
.mgd-svc-block-body { padding: 22px; }
.mgd-svc-block-body p  { font-size: 15px; color: var(--mgd-muted); line-height: 1.7; margin-bottom: 16px; }
.mgd-svc-block-body ul { margin-bottom: 18px; }
.mgd-svc-block-body ul li { font-size: 14px; color: var(--mgd-muted); padding: 6px 0 6px 22px; position: relative; border-bottom: 1px solid var(--mgd-border); }
.mgd-svc-block-body ul li:last-child { border-bottom: none; }
.mgd-svc-block-body ul li::before { content: '✓'; position: absolute; left: 0; color: var(--mgd-navy); font-weight: 800; }
.mgd-price-callout { display: flex; align-items: center; justify-content: space-between; background: var(--mgd-light); border: 1px solid var(--mgd-border); border-radius: var(--mgd-r); padding: 14px 18px; gap: 12px; }
.mgd-pr-label { font-size: 12px; color: var(--mgd-muted); text-transform: uppercase; letter-spacing: 0.06em; display: block; margin-bottom: 2px; }
.mgd-pr-val   { font-family: var(--mgd-fh); font-size: 26px; font-weight: 800; color: var(--mgd-navy); line-height: 1; }
.mgd-svc-emergency .mgd-svc-block-head { background: var(--mgd-navy-m); }
.mgd-pricing-note { background: rgba(27,42,71,0.04); border: 1px solid var(--mgd-border); border-left: 3px solid var(--mgd-navy); border-radius: var(--mgd-r); padding: 16px 18px; font-size: 14px; color: var(--mgd-muted); line-height: 1.7; margin-top: 12px; }
.mgd-pricing-note strong { color: var(--mgd-navy); }

/* --- CONTACT PAGE --- */
.mgd-contact-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}
.mgd-contact-info { padding-top: 0; }
.mgd-contact-info h2 { font-family: var(--mgd-fh); font-size: 26px; font-weight: 800; color: var(--mgd-navy); text-transform: uppercase; margin-bottom: 20px; line-height: 1.1; }
.mgd-info-row  { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
.mgd-info-icon { width: 40px; height: 40px; background: rgba(27,42,71,0.07); border-radius: var(--mgd-r); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mgd-info-icon svg { width: 19px; height: 19px; fill: var(--mgd-navy); }
.mgd-info-lbl  { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mgd-muted); display: block; margin-bottom: 2px; }
.mgd-info-val  { font-size: 15px; font-weight: 700; color: var(--mgd-navy); display: block; }
.mgd-info-val a      { color: var(--mgd-navy); }
.mgd-info-val a:hover { color: var(--mgd-blue-mid); }
.mgd-info-note { font-size: 13px; color: var(--mgd-muted); display: block; margin-top: 2px; }
.mgd-area-list { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 6px; }
.mgd-area-tag  { background: var(--mgd-light); border: 1px solid var(--mgd-border); border-radius: 100px; padding: 4px 12px; font-size: 12px; font-weight: 600; color: var(--mgd-muted); }
.mgd-es-box { padding: 14px 16px; background: rgba(232,153,10,0.07); border: 1px solid rgba(232,153,10,0.2); border-radius: var(--mgd-r); margin-top: 8px; }
.mgd-es-box p:first-child { font-size: 15px; font-weight: 700; color: var(--mgd-navy); }
.mgd-es-box p:last-child  { font-size: 13px; color: var(--mgd-muted); margin-top: 3px; }
.mgd-social-row { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.mgd-social-btn { display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px; border-radius: var(--mgd-r); font-family: var(--mgd-fh); font-size: 13px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; transition: opacity var(--mgd-ease); border: none; cursor: pointer; }
.mgd-social-btn:hover { opacity: 0.85; }
.mgd-social-nd { background: #00b746; color: white; }
.mgd-social-fb { background: #1877F2; color: white; }

.mgd-form-card { background: var(--mgd-white); border: 1px solid var(--mgd-border); border-radius: var(--mgd-rl); padding: 28px 22px; box-shadow: var(--mgd-shl); }
.mgd-form-card h2  { font-family: var(--mgd-fh); font-size: 22px; font-weight: 800; text-transform: uppercase; color: var(--mgd-navy); margin-bottom: 6px; }
.mgd-form-note { font-size: 13px; color: var(--mgd-muted); margin-bottom: 20px; line-height: 1.5; }

/* Form fields */
.mgd-field { margin-bottom: 13px; }
.mgd-field label { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--mgd-navy); margin-bottom: 4px; }
.mgd-field input,
.mgd-field select,
.mgd-field textarea { width: 100%; border: 1.5px solid var(--mgd-border); border-radius: var(--mgd-r); padding: 12px 13px; font-family: var(--mgd-fb); font-size: 15px; color: var(--mgd-text); background: var(--mgd-light); outline: none; transition: border-color var(--mgd-ease), background var(--mgd-ease); -webkit-appearance: none; appearance: none; box-sizing: border-box; }
.mgd-field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23586174' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-color: var(--mgd-light); padding-right: 34px; }
.mgd-field input:focus,
.mgd-field select:focus,
.mgd-field textarea:focus { border-color: var(--mgd-navy); background: var(--mgd-white); box-shadow: 0 0 0 3px rgba(27,42,71,0.06); }
.mgd-field textarea { min-height: 88px; resize: vertical; }
.mgd-req { color: #c0311e; }
.mgd-form-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* --- CALENDLY SECTION --- */
.mgd-cal-wrap { display: grid; grid-template-columns: 1fr; gap: 32px; }
.mgd-cal-text h2 { font-family: var(--mgd-fh); font-size: clamp(24px,4vw,38px); font-weight: 800; color: var(--mgd-navy); text-transform: uppercase; line-height: 1.05; margin-bottom: 12px; }
.mgd-cal-text p  { font-size: 15px; color: var(--mgd-muted); line-height: 1.65; margin-bottom: 16px; }
.mgd-cal-steps   { display: flex; flex-direction: column; gap: 11px; margin-bottom: 18px; }
.mgd-cal-step    { display: flex; align-items: center; gap: 12px; }
.mgd-step-num    { width: 30px; height: 30px; background: var(--mgd-navy); border-radius: 50%; color: white; font-family: var(--mgd-fh); font-size: 15px; font-weight: 800; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.mgd-cal-step span { font-size: 14px; color: var(--mgd-muted); }
.mgd-cal-box { background: var(--mgd-white); border: 1px solid var(--mgd-border); border-radius: var(--mgd-rl); padding: 36px 24px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.mgd-cal-icon    { font-size: 40px; margin-bottom: 12px; }
.mgd-cal-box h3  { font-family: var(--mgd-fh); font-size: 22px; font-weight: 800; color: var(--mgd-navy); text-transform: uppercase; margin-bottom: 8px; }
.mgd-cal-box p   { font-size: 14px; color: var(--mgd-muted); margin-bottom: 20px; line-height: 1.5; max-width: 280px; }

/* --- FOOTER --- */
.mgd-footer    { background: var(--mgd-navy-d); padding: 48px 16px 28px; }
.mgd-foot-wrap { max-width: 1140px; margin: 0 auto; }
.mgd-foot-top  { display: grid; grid-template-columns: 1fr; gap: 28px; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,0.07); margin-bottom: 22px; }
.mgd-foot-brand { font-family: var(--mgd-fh); font-size: 22px; font-weight: 800; color: var(--mgd-white); text-transform: uppercase; margin-bottom: 3px; }
.mgd-foot-sub   { font-family: var(--mgd-fh); font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.45); letter-spacing: 0.09em; text-transform: uppercase; margin-bottom: 12px; }
.mgd-foot-tag   { font-size: 13px; color: rgba(255,255,255,0.38); margin-bottom: 14px; line-height: 1.6; }
.mgd-badge-row  { display: flex; gap: 7px; flex-wrap: wrap; }
.mgd-badge      { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.10); color: rgba(255,255,255,0.55); font-size: 11px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; padding: 4px 10px; border-radius: 100px; }
.mgd-badge-es   { color: var(--mgd-gold); border-color: rgba(232,153,10,0.3); }
.mgd-foot-col h4 { font-family: var(--mgd-fh); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.40); margin-bottom: 12px; }
.mgd-foot-col li { margin-bottom: 8px; }
.mgd-foot-col a  { font-size: 13px; color: rgba(255,255,255,0.58); transition: color var(--mgd-ease); }
.mgd-foot-col a:hover { color: var(--mgd-white); }
.mgd-foot-bot    { display: flex; flex-direction: column; gap: 8px; text-align: center; }
.mgd-foot-bot p  { font-size: 12px; color: rgba(255,255,255,0.25); }
.mgd-foot-links  { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.mgd-foot-links a { font-size: 12px; color: rgba(255,255,255,0.28); transition: color var(--mgd-ease); }
.mgd-foot-links a:hover { color: rgba(255,255,255,0.65); }

/* --- MOBILE STICKY CTA --- */
.mgd-sticky-cta { position: fixed; bottom: 0; left: 0; right: 0; background: var(--mgd-navy); border-top: 1px solid rgba(255,255,255,0.10); padding: 10px 14px; display: flex; gap: 8px; z-index: 9997; box-shadow: 0 -4px 20px rgba(0,0,0,0.28); }
.mgd-sticky-cta .mgd-btn { flex: 1; font-size: 14px; padding: 12px 8px; }

/* =====================================================
   RESPONSIVE — TABLET 600px+
   ===================================================== */
@media (min-width: 600px) {
  .mgd-section        { padding: 64px 24px; }
  .mgd-hero           { padding: 64px 24px 72px; }
  .mgd-hero-btns      { flex-direction: row; }
  .mgd-hero-btns .mgd-btn { width: auto; max-width: none; }
  .mgd-stats          { grid-template-columns: repeat(4,1fr); max-width: 680px; }
  .mgd-why-grid       { grid-template-columns: repeat(2,1fr); }
  .mgd-svc-preview    { grid-template-columns: repeat(2,1fr); }
  .mgd-svc-full       { grid-template-columns: repeat(2,1fr); }
  .mgd-plat-grid      { grid-template-columns: repeat(2,1fr); }
  .mgd-cta-acts       { flex-direction: row; justify-content: center; }
  .mgd-cta-acts .mgd-btn { width: auto; max-width: none; }
  .mgd-foot-top       { grid-template-columns: 1fr 1fr; }
  .mgd-form-row2      { grid-template-columns: 1fr 1fr; gap: 12px; }
  .mgd-sticky-cta     { display: none; }
}

/* =====================================================
   RESPONSIVE — DESKTOP 900px+
   ===================================================== */
@media (min-width: 900px) {
  .mgd-section        { padding: 80px 24px; }
  .mgd-hero           { padding: 88px 24px 100px; }
  .mgd-desk-nav       { display: flex; }
  .mgd-ham            { display: none; }
  .mgd-why-grid       { grid-template-columns: repeat(4,1fr); }
  .mgd-svc-preview    { grid-template-columns: repeat(3,1fr); }
  .mgd-svc-full       { grid-template-columns: repeat(3,1fr); }
  .mgd-svc-emergency  { grid-column: 1 / -1; }
  .mgd-contact-wrap   { grid-template-columns: 1fr 1.5fr; gap: 52px; align-items: start; }
  .mgd-cal-wrap       { grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: start; }
  .mgd-foot-top       { grid-template-columns: 2fr 1fr 1fr; }
  .mgd-foot-bot       { flex-direction: row; justify-content: space-between; text-align: left; }
  .mgd-hdr-row        { padding: 11px 24px; }
  .mgd-strip-row      { min-width: auto; }
  .mgd-strip          { overflow-x: visible; }
  .mgd-sticky-cta     { display: none; }
  .mgd-form-row2      { grid-template-columns: 1fr 1fr; gap: 12px; }
}

/* Mobile form stacks to 1 col */
@media (max-width: 599px) {
  .mgd-form-row2 { grid-template-columns: 1fr !important; }
}
/* Fix contact left column top alignment */
.mgd-contact-wrap > *:first-child {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

.mgd-contact-wrap {
  align-items: start !important;
}

#mgd-contact-section .mgd-wrap {
  padding-top: 0 !important;
}

#mgd-contact-section {
  padding-top: 48px !important;
}

.mgd-contact-info h2 {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
/* Remove white gap above contact section */
.mgd-page-hero + * {
  margin-top: 0 !important;
}

#mgd-contact-section {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

#mgd-contact-section .mgd-wrap {
  padding-top: 48px !important;
}
.wp-block-html {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.wp-block-html + .wp-block-html {
  margin-top: 0 !important;
}

.is-root-container > * {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
/* Kill WordPress auto-inserted br tags */
.mgd br {
  display: none !important;
}
/* Remove gap between hero and service strip */
.mgd-hero {
  margin-bottom: 0 !important;
}

.mgd-strip {
  margin-top: 0 !important;
}
.mgd-hero {
  margin-bottom: 0 !important;
  padding-bottom: 48px !important;
}