/*
Theme Name: Montes Group
Theme URI: https://montesgroupusa.com
Author: Montes Group
Description: Custom editable block theme for Montes Group HVAC and insulation services.
Version: 3.7.0
Requires at least: 6.6
Requires PHP: 7.4
Text Domain: montes-group
*/

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Montserrat:wght@700;800&display=swap');

:root {
  --mg-navy: #071c3f;
  --mg-navy-soft: #0f2f5f;
  --mg-teal: #0e9b86;
  --mg-teal-dark: #087a6b;
  --mg-blue: #1687d5;
  --mg-red: #e94b3c;
  --mg-white: #ffffff;
  --mg-ice: #f2f7f8;
  --mg-text: #1e2b3a;
  --mg-muted: #627182;
  --mg-line: #dce7eb;
  --mg-radius: 22px;
  --mg-shadow: 0 18px 55px rgba(7, 28, 63, .12);
}

html { scroll-behavior: smooth; }
body { overflow-x: hidden; margin: 0; color: var(--mg-text); background: linear-gradient(135deg, #f7fbfa 0%, #edf7f5 48%, #deefeb 100%); font-family: Manrope, Arial, sans-serif; }
a { transition: color .2s ease, background .2s ease, transform .2s ease; }
.wp-site-blocks { padding: 0; }
.mg-shell { width: min(1860px, calc(100% - clamp(32px, 5vw, 96px))); max-width: 1860px !important; margin-inline: auto; }
#services, #about, #work, #areas, #quote, #contact { scroll-margin-top: 108px; }

.mg-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(7,28,63,.08); background: rgba(255,255,255,.96); backdrop-filter: blur(14px); }
.mg-header .mg-shell { min-height: 88px; }
.mg-brand img { width: 54px !important; height: 54px !important; object-fit: contain; border-radius: 50%; }
.mg-brand a, .mg-footer-brand-copy a { color: inherit; text-decoration: none; }
.mg-brand-copy { gap: 1px !important; }
.mg-brand-name { margin: 0 !important; font-family: Montserrat, sans-serif; font-size: 18px; font-weight: 800; letter-spacing: .055em; line-height: 1.1; text-transform: uppercase; color: var(--mg-navy); }
.mg-brand-legal { margin: 0 !important; color: #7c8998; font-size: 9px; line-height: 1.2; }
.mg-nav a { color: var(--mg-navy); font-size: 14px; font-weight: 700; text-decoration: none; }
.mg-nav a:hover { color: var(--mg-teal); }
.mg-nav-cta a { border-radius: 999px !important; background: var(--mg-teal-dark) !important; padding: 14px 23px !important; color: white !important; }
.mg-mobile-menu { display: none; position: relative; }
.mg-mobile-menu summary { list-style: none; border: 1px solid rgba(7,28,63,.16); border-radius: 999px; padding: 10px 17px; color: var(--mg-navy); background: white; cursor: pointer; font-size: 14px; font-weight: 800; }
.mg-mobile-menu summary::-webkit-details-marker { display: none; }
.mg-mobile-menu[open] summary { color: white; background: var(--mg-navy); }
.mg-mobile-menu nav { position: absolute; top: calc(100% + 13px); right: 0; box-sizing: border-box; width: min(290px, calc(100vw - 36px)); overflow: hidden; border: 1px solid rgba(7,28,63,.10); border-radius: 18px; padding: 10px; background: white; box-shadow: 0 22px 55px rgba(7,28,63,.18); }
.mg-mobile-menu nav a { display: block; border-radius: 11px; padding: 13px 15px; color: var(--mg-navy); font-size: 14px; font-weight: 750; text-decoration: none; }
.mg-mobile-menu nav a:hover, .mg-mobile-menu nav a:focus-visible { color: var(--mg-teal-dark); background: #edf7f5; }
.mg-mobile-menu nav .mg-mobile-call { margin-top: 7px; color: white; background: var(--mg-teal-dark); text-align: center; }
.mg-mobile-menu nav .mg-mobile-call:hover, .mg-mobile-menu nav .mg-mobile-call:focus-visible { color: white; background: var(--mg-navy); }

.mg-hero { position: relative; overflow: hidden; padding: 0; border-bottom: 1px solid rgba(7,28,63,.08); background: linear-gradient(90deg, #f7fbfa 0%, #edf7f5 52%, #deefeb 52%, #d2e8e4 100%); }
.mg-hero-grid { position: relative; z-index: 1; display: grid !important; grid-template-columns: minmax(0, 52%) minmax(0, 48%); min-height: clamp(620px, 36vw, 750px); gap: 0 !important; align-items: stretch !important; }
.mg-hero-grid > .wp-block-column { min-width: 0; width: auto; }
.mg-hero-content { display: flex; box-sizing: border-box; min-width: 0; flex-direction: column; justify-content: center; padding: 66px clamp(42px, 4.2vw, 84px) 66px clamp(10px, 1.5vw, 28px); }
.mg-eyebrow { margin-bottom: 16px !important; color: var(--mg-teal); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.mg-hero-title { max-width: 100%; margin: 0 !important; color: var(--mg-navy); font-family: Montserrat, sans-serif; font-size: clamp(52px, 4.35vw, 88px) !important; font-weight: 800 !important; letter-spacing: -.055em; line-height: .99 !important; overflow-wrap: normal; word-break: normal; }
.mg-title-line { display: block; white-space: nowrap; }
.mg-hero-title mark { color: var(--mg-teal); background: transparent; }
.mg-hero-copy { max-width: 720px; margin-top: 30px !important; color: var(--mg-muted); font-size: clamp(17px, 1.2vw, 22px); line-height: 1.65; }
.mg-hero-buttons { margin-top: 34px; }
.mg-button-primary a, .mg-button-light a { border-radius: 999px !important; padding: 16px 24px !important; font-weight: 800; }
.mg-button-primary a { background: var(--mg-navy) !important; color: white !important; }
.mg-button-primary a:hover { background: var(--mg-teal) !important; transform: translateY(-2px); }
.mg-button-secondary a { border: 1px solid var(--mg-navy) !important; border-radius: 999px !important; padding: 15px 24px !important; color: var(--mg-navy) !important; background: transparent !important; font-weight: 800; }
.mg-hero-visual { position: relative; display: flex; min-width: 0; overflow: hidden; align-items: center; justify-content: center; border-left: 1px solid rgba(7,28,63,.08); background: radial-gradient(circle at 24% 18%, rgba(14,155,134,.24) 0%, rgba(14,155,134,0) 38%), radial-gradient(circle at 86% 82%, rgba(7,28,63,.20) 0%, rgba(7,28,63,0) 43%), linear-gradient(135deg, #cee8e6 0%, #e8f4f2 44%, #b9dcd7 100%); box-shadow: inset 28px 0 58px rgba(7,28,63,.05); }
.mg-hero-visual::before, .mg-hero-visual::after { content: ''; position: absolute; z-index: 3; width: 72px; height: 72px; border-radius: 50%; box-shadow: 0 14px 28px rgba(7,28,63,.13); }
.mg-hero-visual::before { left: clamp(26px, 4.5vw, 92px); bottom: 22%; background: #1768e8; }
.mg-hero-visual::after { right: clamp(30px, 5vw, 104px); top: 18%; background: #ef0d14; }
.mg-hero-logo { display: flex; width: 100%; height: 100%; margin: 0 !important; align-items: center; justify-content: center; }
.mg-hero-logo img { position: relative; z-index: 2; width: min(730px, 84%) !important; height: auto; max-height: 86%; border-radius: 28px; object-fit: contain; mix-blend-mode: multiply; filter: contrast(1.03) drop-shadow(0 26px 38px rgba(7,28,63,.16)); }
.mg-contact-line { margin-top: 23px !important; color: var(--mg-navy); font-size: 14px; font-weight: 700; }
.mg-contact-line a { color: inherit; text-decoration: none; }

.mg-trust { padding: 26px 0; background: var(--mg-navy); color: white; }
.mg-trust .wp-block-column { padding: 7px 20px; border-right: 1px solid rgba(255,255,255,.16); }
.mg-trust .wp-block-column:last-child { border-right: 0; }
.mg-trust strong { display: block; font-size: 16px; }
.mg-trust p { margin: 4px 0 0; color: rgba(255,255,255,.66); font-size: 12px; }

.mg-section { padding: clamp(78px, 8vw, 124px) 0; }
.mg-section-soft { background: linear-gradient(135deg, #f3f9f7 0%, #e8f4f1 52%, #dceeea 100%); }
#services { background: linear-gradient(135deg, #f7fbfa 0%, #edf7f5 48%, #deefeb 100%); }
.mg-section-heading { max-width: 720px; margin-bottom: 46px; }
.mg-section-heading h2, .mg-about h2, .mg-cta h2 { margin: 0; color: var(--mg-navy); font-family: Montserrat, sans-serif; font-size: clamp(34px, 4.5vw, 54px); line-height: 1.08; }
.mg-section-heading > p:last-child { color: var(--mg-muted); font-size: 17px; line-height: 1.65; }

.mg-service-grid { width: 100%; max-width: none !important; gap: 20px; }
.mg-service-card { height: 100%; box-sizing: border-box; padding: 30px; border: 1px solid var(--mg-line); border-radius: var(--mg-radius); background: white; box-shadow: 0 8px 28px rgba(7,28,63,.06); transition: transform .25s ease, box-shadow .25s ease; }
.mg-service-card:hover { transform: translateY(-6px); box-shadow: var(--mg-shadow); }
.mg-service-icon { display: grid; width: 48px; height: 48px; margin-bottom: 24px !important; place-items: center; border-radius: 14px; background: #e8f6f4; color: var(--mg-teal); font-size: 24px; font-weight: 800; }
.mg-service-card h3 { margin: 0 0 12px; color: var(--mg-navy); font-family: Montserrat, sans-serif; font-size: 23px; }
.mg-service-card p { color: var(--mg-muted); line-height: 1.65; }
.mg-service-card a { color: var(--mg-teal-dark); font-weight: 800; text-decoration: none; }
.mg-service-card.is-cooling .mg-service-icon { color: var(--mg-blue); background: #e8f4fc; }
.mg-service-card.is-heating .mg-service-icon { color: var(--mg-red); background: #fcecea; }

.mg-about { background: linear-gradient(135deg, #f3f9f7 0%, #e8f4f1 52%, #dceeea 100%); }
.mg-about-layout { display: grid !important; grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr); gap: clamp(48px, 5.5vw, 104px) !important; }
.mg-about-layout > .wp-block-column { min-width: 0; width: auto; }
.mg-about-copy { box-sizing: border-box; min-width: 0; padding-right: clamp(0px, 2vw, 34px); }
.mg-about .mg-eyebrow { color: #687587; font-size: 16px; letter-spacing: .18em; }
.mg-about h2 { max-width: 100%; color: var(--mg-navy); font-size: clamp(38px, 3.35vw, 66px); letter-spacing: -.04em; line-height: 1.08; overflow-wrap: normal; word-break: normal; }
.mg-about-title-line { display: block; white-space: nowrap; }
.mg-about-copy > p:not(.mg-eyebrow):not(.mg-text-link) { max-width: 800px; color: var(--mg-muted); font-size: clamp(17px, 1.4vw, 22px); line-height: 1.65; }
.mg-about-logo { display: flex; min-height: 590px; overflow: hidden; align-items: center; justify-content: center; border-radius: 24px; background: radial-gradient(circle at 50% 45%, #14416a 0%, #09284f 58%, #051a38 100%); box-shadow: 0 20px 55px rgba(7,28,63,.12); }
.mg-about-logo figure { display: flex; width: 100%; margin: 0 !important; align-items: center; justify-content: center; }
.mg-about-logo img { width: min(570px, 82%) !important; aspect-ratio: 1; border-radius: 50%; clip-path: circle(48.4% at 50% 50%); object-fit: cover; filter: drop-shadow(0 22px 32px rgba(0,0,0,.20)); }
.mg-checks { margin-top: 30px !important; padding: 0; list-style: none; }
.mg-checks li { position: relative; margin-bottom: 18px; padding-left: 34px; color: var(--mg-navy); font-size: 16px; font-weight: 700; }
.mg-checks li::before { content: '✓'; position: absolute; left: 0; color: var(--mg-teal-dark); font-size: 20px; font-weight: 800; }
.mg-text-link { margin-top: 30px !important; }
.mg-text-link a { color: var(--mg-teal-dark); font-weight: 800; text-decoration: none; }

.mg-work { background: linear-gradient(135deg, #071c3f 0%, #0a3155 58%, #087a72 100%); color: white; }
.mg-work-layout { display: grid !important; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); gap: clamp(44px, 6vw, 110px) !important; align-items: center !important; }
.mg-work-layout > .wp-block-column { min-width: 0; width: auto; }
.mg-work .mg-eyebrow { color: #78ded0; }
.mg-work h2 { max-width: 760px; margin: 0; color: white; font-family: Montserrat, sans-serif; font-size: clamp(38px, 4.5vw, 64px); letter-spacing: -.04em; line-height: 1.06; }
.mg-work-copy { max-width: 820px; color: rgba(255,255,255,.76); font-size: clamp(17px, 1.25vw, 21px); line-height: 1.7; }
.mg-work-status { box-sizing: border-box; padding: clamp(30px, 3.5vw, 52px); border: 1px solid rgba(255,255,255,.18); border-radius: 24px; background: rgba(255,255,255,.10); box-shadow: 0 22px 54px rgba(0,0,0,.14); backdrop-filter: blur(10px); }
.mg-work-status strong { display: block; margin-bottom: 12px; color: white; font-family: Montserrat, sans-serif; font-size: clamp(22px, 2vw, 30px); }
.mg-work-status p { margin-bottom: 26px; color: rgba(255,255,255,.74); line-height: 1.65; }
.mg-work-status a { display: inline-flex; border-radius: 999px; padding: 14px 20px; color: var(--mg-navy); background: white; font-weight: 800; text-decoration: none; }
.mg-work-status a:hover { color: white; background: var(--mg-teal); transform: translateY(-2px); }
.mg-project-placeholders { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: clamp(42px, 5vw, 72px); }
.mg-project-placeholder { position: relative; display: flex; box-sizing: border-box; min-height: 300px; overflow: hidden; flex-direction: column; justify-content: flex-end; padding: 30px; border: 1px solid rgba(255,255,255,.16); border-radius: 22px; background: radial-gradient(circle at 76% 22%, rgba(69,205,188,.34), transparent 32%), radial-gradient(circle at 20% 75%, rgba(33,126,209,.28), transparent 38%), linear-gradient(145deg, #0c315d, #082343 62%, #071c3f); box-shadow: 0 18px 46px rgba(0,0,0,.16); }
.mg-project-placeholder::before { content: ''; position: absolute; top: 28px; right: 28px; width: 54px; height: 54px; border: 1px solid rgba(255,255,255,.24); border-radius: 50%; background: rgba(255,255,255,.08); }
.mg-project-placeholder span { position: relative; z-index: 1; margin-bottom: 8px; color: #7ee1d4; font-size: 12px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.mg-project-placeholder strong { position: relative; z-index: 1; max-width: 240px; color: white; font-family: Montserrat, sans-serif; font-size: clamp(22px, 2vw, 29px); line-height: 1.14; }

.mg-quote-section { background: linear-gradient(135deg, #eef8f6 0%, #e2f2ef 52%, #d6ebe7 100%); }
.mg-quote-heading { margin-inline: auto; text-align: center; }
.mg-quote-card { box-sizing: border-box; width: min(1120px, 100%); margin-inline: auto; padding: clamp(28px, 4.5vw, 60px); border: 1px solid rgba(7,28,63,.10); border-radius: 26px; background: white; box-shadow: 0 22px 60px rgba(7,28,63,.10); }
.mg-quote-form { margin: 0; }
.mg-quote-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.mg-field { display: flex; min-width: 0; flex-direction: column; gap: 9px; color: var(--mg-navy); font-size: 13px; font-weight: 800; }
.mg-field b, .mg-consent b { color: var(--mg-red); }
.mg-field input, .mg-field select, .mg-field textarea { box-sizing: border-box; width: 100%; min-height: 54px; border: 1px solid #cbdadd; border-radius: 12px; padding: 13px 15px; outline: none; color: var(--mg-text); background: #fbfdfd; font: inherit; font-size: 15px; font-weight: 500; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.mg-field textarea { min-height: 150px; resize: vertical; line-height: 1.55; }
.mg-field input:focus, .mg-field select:focus, .mg-field textarea:focus { border-color: var(--mg-teal); background: white; box-shadow: 0 0 0 4px rgba(14,155,134,.12); }
.mg-field-wide { grid-column: 1 / -1; }
.mg-consent { display: flex; margin-top: 24px; align-items: flex-start; gap: 11px; color: var(--mg-muted); font-size: 13px; line-height: 1.5; }
.mg-consent input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--mg-teal-dark); }
.mg-form-submit { margin-top: 26px; border: 0; border-radius: 999px; padding: 16px 26px; color: white; background: var(--mg-navy); cursor: pointer; font: inherit; font-size: 15px; font-weight: 800; transition: background .2s ease, transform .2s ease; }
.mg-form-submit:hover { background: var(--mg-teal-dark); transform: translateY(-2px); }
.mg-form-help { display: inline-block; margin: 0 0 0 18px; color: var(--mg-muted); font-size: 13px; }
.mg-form-help a { color: var(--mg-teal-dark); font-weight: 800; text-decoration: none; }
.mg-form-notice { display: flex; margin-bottom: 28px; flex-direction: column; gap: 5px; border-radius: 13px; padding: 17px 19px; font-size: 14px; }
.mg-form-notice.is-success { border: 1px solid #9bd6ca; color: #075e52; background: #eaf8f5; }
.mg-form-notice.is-error { border: 1px solid #efb5ae; color: #8f2f26; background: #fff0ee; }
.mg-form-notice a { color: inherit; font-weight: 800; }
.mg-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.mg-area { position: relative; text-align: center; background: linear-gradient(135deg, #f7fbfa 0%, #eaf5f2 52%, #d8ece8 100%); }
.mg-area::before { content: ''; position: absolute; top: 0; left: 50%; width: min(1860px, calc(100% - clamp(32px, 5vw, 96px))); height: 8px; border-radius: 999px; background: var(--mg-navy); transform: translateX(-50%); }
.mg-area .mg-section-heading { margin-inline: auto; }
.mg-area-tags { justify-content: center; }
.mg-area-tags p { margin: 0 !important; padding: 11px 17px; border: 1px solid var(--mg-line); border-radius: 999px; background: white; color: var(--mg-navy); font-size: 13px; font-weight: 700; }

.mg-cta { box-sizing: border-box; width: min(1900px, calc(100% - 72px)); margin: 76px auto 68px; padding: clamp(60px, 6vw, 94px) clamp(44px, 5vw, 92px); border-radius: 0 0 28px 28px; background: linear-gradient(112deg, #071f4a 0%, #064369 58%, #087f83 100%); color: white; box-shadow: 0 20px 55px rgba(7,28,63,.10); }
.mg-cta > .mg-shell { width: 100%; }
.mg-cta h2 { color: white; }
.mg-cta h2 { max-width: 900px; font-size: clamp(42px, 4.4vw, 68px); letter-spacing: -.035em; }
.mg-cta p { color: rgba(255,255,255,.76); font-size: 17px; }
.mg-cta-actions { display: flex; flex-direction: column; align-items: stretch; }
.mg-cta-actions .wp-block-buttons { width: 100%; }
.mg-cta-actions .wp-block-button { width: 100%; }
.mg-cta-actions a { box-sizing: border-box; width: 100%; text-align: center; }
.mg-button-light a { background: white !important; color: var(--mg-navy) !important; }
.mg-button-outline a { border: 1px solid rgba(255,255,255,.7) !important; border-radius: 999px !important; padding: 15px 24px !important; color: white !important; background: transparent !important; font-weight: 800; }
.mg-cta .mg-button-light a, .mg-cta .mg-button-outline a { min-height: 60px; border-radius: 12px !important; display: flex; align-items: center; justify-content: center; }

.mg-footer { padding: 32px 0 24px; border-top: 1px solid rgba(7,28,63,.10); background: linear-gradient(135deg, #f7fbfa 0%, #edf7f5 55%, #e2f1ed 100%); color: var(--mg-navy); }
.mg-footer img { width: 62px !important; height: 62px !important; border-radius: 50%; }
.mg-footer strong { font-family: Montserrat, sans-serif; font-size: 17px; letter-spacing: .04em; text-transform: uppercase; }
.mg-footer p, .mg-footer a { color: #657387; font-size: 13px; line-height: 1.8; text-decoration: none; }
.mg-footer a:hover { color: var(--mg-teal-dark); }
.mg-footer-brand-copy { gap: 0 !important; }
.mg-footer-brand-copy p { margin: 0 !important; }
.mg-footer-brand-copy p:first-child { color: var(--mg-navy); }
.mg-footer-legal { color: #7b8797 !important; font-size: 11px !important; }
.mg-footer-line { margin-top: 30px; padding-top: 18px; border-top: 1px solid #e8eef1; }
.mg-footer .mg-shell > .wp-block-columns, .mg-footer .mg-shell > .mg-footer-line { width: 100%; max-width: none !important; }

@media (max-width: 1024px) {
  .mg-header .mg-shell { min-height: 72px; }
  .mg-hero { background: linear-gradient(180deg, #f7fbfa 0%, #edf7f5 52%, #deefeb 52%, #d2e8e4 100%); }
  .mg-hero-grid { grid-template-columns: minmax(0, 1fr); min-height: auto; }
  .mg-hero-content { padding: 70px 14px 54px; }
  .mg-hero-title { max-width: 850px; font-size: clamp(54px, 8.5vw, 82px) !important; }
  .mg-hero-copy { max-width: 760px; }
  .mg-hero-visual { min-height: 590px; border-top: 1px solid rgba(7,28,63,.06); border-left: 0; }
  .mg-hero-visual::before { left: 28px; bottom: 20%; }
  .mg-hero-visual::after { right: 34px; top: 16%; }
  .mg-trust .wp-block-columns { display: grid; grid-template-columns: repeat(2, 1fr); }
  .mg-trust .wp-block-column { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .mg-service-grid { display: grid !important; grid-template-columns: 1fr 1fr; }
  .mg-about-layout { grid-template-columns: minmax(0, 1fr); }
  .mg-work-layout { grid-template-columns: minmax(0, 1fr); }
  .mg-about-logo { min-height: 560px; }
  .mg-about-copy { padding: 10px 0 0; }
  .mg-about h2 { max-width: 760px; font-size: clamp(44px, 7vw, 64px); }
  .mg-about-title-line { white-space: normal; }
  .mg-cta { width: min(100% - 36px, 1900px); border-radius: 24px; }
}

@media (max-width: 780px) {
  .mg-nav { display: none !important; }
  .mg-mobile-menu { display: block; }
  .mg-shell { width: min(100% - 36px, 1860px); }
  .mg-project-placeholders { grid-template-columns: 1fr; }
  .mg-project-placeholder { min-height: 250px; }
  .mg-quote-grid { grid-template-columns: 1fr; }
  .mg-field-wide { grid-column: auto; }
}

@media (max-width: 600px) {
  .mg-shell { width: min(100% - 28px, 1860px); }
  .mg-brand-name { font-size: 14px; }
  .mg-brand-legal { display: none; }
  .mg-service-grid { grid-template-columns: 1fr; }
  .mg-trust .wp-block-columns { grid-template-columns: 1fr 1fr; }
  .mg-hero-content { padding-top: 54px; }
  .mg-hero-title { font-size: clamp(40px, 11.5vw, 56px) !important; letter-spacing: -.06em; }
  .mg-title-line { white-space: nowrap; }
  .mg-hero-visual { min-height: 380px; }
  .mg-hero-visual::before, .mg-hero-visual::after { width: 50px; height: 50px; }
  .mg-hero-visual::before { left: 12px; bottom: 20%; }
  .mg-hero-visual::after { right: 14px; top: 14%; }
  .mg-about-logo { min-height: 360px; }
  .mg-about h2 { font-size: clamp(36px, 10vw, 46px); }
  .mg-cta { width: calc(100% - 28px); margin-block: 52px; padding: 48px 24px; }
  .mg-hero-buttons, .mg-cta .wp-block-buttons { align-items: stretch; flex-direction: column; }
  .mg-hero-buttons .wp-block-button, .mg-cta .wp-block-button { width: 100%; }
  .mg-hero-buttons a, .mg-cta .wp-block-button a { box-sizing: border-box; width: 100%; text-align: center; }
  .mg-contact-line { line-height: 1.8; }
  .mg-quote-card { padding: 24px 18px; border-radius: 18px; }
  .mg-form-submit { width: 100%; }
  .mg-form-help { display: block; margin: 15px 0 0; text-align: center; }
}

@media (max-width: 360px) {
  .mg-hero-title { font-size: 36px !important; }
  .mg-about h2 { font-size: 34px; }
}
