/* Mobile reference layouts only. Desktop/tablet content remains in place. */
.maintego-home .mobile-reference { display: none; }
@media (max-width: 767px) {
  .maintego-home :is(#services, #landlords, #tenants, #faq, .service-area-section) {
    --mobile-hex: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 357 387'%3E%3Cpath fill='white' d='M149 9Q178.5 -9 208 9L326 79Q357 97 357 132V255Q357 290 326 308L208 378Q178.5 396 149 378L31 308Q0 290 0 255V132Q0 97 31 79Z'/%3E%3C/svg%3E");
    --mobile-ink: #0b1739;
  }
  .maintego-home .mobile-reference { display: block; }
  .maintego-home :is(#services, #landlords, #tenants, #faq, .service-area-section) .section-kicker { font-size: 10px; line-height: 1.4; letter-spacing: .12em; color: #087a3d; }
  .maintego-home :is(#landlords, #tenants) > div:not(.mobile-reference) { display: none; }
  .maintego-home :is(#landlords, #tenants) > .mobile-audience-layout { width: 100%; max-width: 520px; margin: 0 auto; padding: 0 24px; }
  .maintego-home .mobile-audience-layout h2 { margin-top: 7px; color: var(--mobile-ink); font-size: clamp(24px, 6.4vw, 30px); font-weight: 800; line-height: 1.08; letter-spacing: -.04em; }
  .maintego-home .mobile-section-description { margin-top: 8px; color: #526174; font-size: 14px; line-height: 1.5; }
  .maintego-home .mobile-hex-icon { display: grid; flex: 0 0 auto; width: 44px; height: 48px; place-items: center; background: #e7f7ef; color: #098749; mask: var(--mobile-hex) center / 100% 100% no-repeat; }
  .maintego-home .mobile-hex-icon svg { width: 24px; height: 24px; }
  .maintego-home .mobile-reference .mobile-reference-button { display: flex; width: fit-content; min-width: 168px; min-height: 44px; align-items: center; justify-content: center; gap: 12px; margin: 20px auto 0; padding: 11px 20px; border: 1px solid #07863e; border-radius: 7px; background: #07863e; color: #fff; font-size: 13px; font-weight: 700; line-height: 1.4; text-align: center; }
  .maintego-home .mobile-reference-button:hover { background: #066b32; }

  .maintego-home #services > div { padding-left: 24px; padding-right: 24px; }
  .maintego-home #services .mobile-services-showcase { max-width: 472px; margin: 0 auto; }
  .maintego-home #services .mobile-services-showcase header { text-align: left; }
  .maintego-home #services .mobile-services-showcase h2 { margin-top: 6px; font-size: clamp(25px, 7vw, 31px); line-height: 1.08; letter-spacing: -.035em; }
  .maintego-home #services .mobile-service-feature { margin-top: 12px; min-height: 0; border: 0; border-radius: 0 0 9px 9px; background: transparent; overflow: hidden; }
  .maintego-home #services .mobile-service-feature-image {
    display: block; width: 100%; height: auto; aspect-ratio: 1.65; object-fit: cover; object-position: 50% 35%;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath fill='white' d='M44 2Q50 -1 56 2L94 23Q100 26 100 33V100H0V33Q0 26 6 23Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  }
  .maintego-home #services .mobile-service-feature-content { padding: 16px 20px 8px; color: #fff; background: linear-gradient(120deg, #0b1e42, #061a39); }
  .maintego-home #services .mobile-service-feature-head { display: block; }
  .maintego-home #services .mobile-service-feature-head > .mobile-service-icon { display: none; }
  .maintego-home #services .mobile-service-feature-head .text-green-700 { color: #a9bdca; font-size: 9px; letter-spacing: .13em; }
  .maintego-home #services .mobile-service-feature-head h3 { color: #fff; font-size: 21px; }
  .maintego-home #services .mobile-service-feature-content p { margin-top: 8px; color: #e1e9f1; font-size: 14px; line-height: 1.4; }
  .maintego-home #services .mobile-service-learn { min-height: 44px; justify-content: flex-start; margin: 0; padding: 6px 0; border: 0; border-radius: 0; background: transparent; color: #fff; font-size: 12px; box-shadow: none; }
  .maintego-home #services .mobile-services-grid { gap: 7px; margin-top: 10px; }
  .maintego-home #services .mobile-service-card { display: grid; grid-template-columns: 38px minmax(0, 1fr); align-items: start; gap: 9px; min-height: 88px; padding: 11px 8px; border: 1px solid #e4ece8; border-radius: 10px; box-shadow: 0 1px 4px rgb(11 23 57 / 3%); }
  .maintego-home #services .mobile-service-card .mobile-service-icon { width: 38px; height: 42px; border-radius: 0; background: #e7f7ef; color: #098749; mask: var(--mobile-hex) center / 100% 100% no-repeat; }
  .maintego-home #services .mobile-service-card h3 { font-size: 11px; line-height: 1.3; letter-spacing: -.02em; }
  .maintego-home #services .mobile-service-card-summary { display: block; margin-top: 5px; }
  .maintego-home #services .mobile-service-card p { display: block; overflow: visible; font-size: 11px; line-height: 1.4; -webkit-line-clamp: unset; }
  .maintego-home #services .mobile-service-card-arrow { display: none; }
  .maintego-home #services .mobile-services-all { min-height: 44px; margin-top: 12px; border-radius: 7px; font-size: 13px; }

  .maintego-home #landlords .mobile-landlord-photo { display: block; width: 84%; max-width: 310px; height: auto; aspect-ratio: 357 / 387; object-fit: cover; object-position: center; margin: 10px auto 0; mask: var(--mobile-hex) center / 100% 100% no-repeat; }
  .maintego-home #landlords .mobile-owner-benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; margin: 0; padding: 0; list-style: none; }
  .maintego-home #landlords .mobile-owner-benefits li { display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: center; gap: 8px; color: #24344b; font-size: 12px; line-height: 1.4; }
  .maintego-home #landlords .mobile-owner-benefits .mobile-hex-icon { width: 40px; height: 44px; }
  .maintego-home #tenants .mobile-tenant-photo-panel { position: relative; isolation: isolate; margin-top: 18px; }
  .maintego-home #tenants .mobile-tenant-photo-panel::before { content: ''; position: absolute; z-index: -1; right: -16px; top: 14px; width: 100px; height: 126px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 126'%3E%3Cpath d='M5 24 50 2 95 24V100L50 124 5 100Z' fill='none' stroke='%236bc892' stroke-width='1'/%3E%3C/svg%3E") center / contain no-repeat; }
  .maintego-home #tenants .mobile-tenant-photo-panel > img { display: block; width: 100%; height: auto; aspect-ratio: 1.5; object-fit: cover; object-position: right center; border-radius: 10px; }
  .maintego-home #tenants .mobile-tenant-benefits { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: -20px 0 0; padding: 12px 5px; list-style: none; border: 1px solid #eff3f0; border-radius: 10px; background: #fff; box-shadow: 0 4px 12px rgb(11 23 57 / 6%); }
  .maintego-home #tenants .mobile-tenant-benefits li { display: flex; flex-direction: column; align-items: center; gap: 5px; min-width: 0; padding: 0 6px; border-left: 1px solid #e7ece9; color: #526174; font-size: 11px; line-height: 1.3; text-align: center; }
  .maintego-home #tenants .mobile-tenant-benefits li:first-child { border-left: 0; }
  .maintego-home #tenants .mobile-tenant-benefits .mobile-hex-icon { width: 32px; height: 35px; }
  .maintego-home #tenants .mobile-tenant-benefits svg { width: 20px; height: 20px; }
  .maintego-home .audience-section-transition::before { height: 1px; clip-path: none; background: #eaf3ed; }
  .maintego-home .audience-section-transition span { visibility: hidden; }

  .maintego-home #faq { overflow: clip; }
  .maintego-home #faq .faq-layout { position: relative; display: grid; grid-template-columns: minmax(0, .4fr) minmax(0, .6fr); align-items: center; gap: 24px 16px; }
  .maintego-home #faq .faq-layout::before { content: ''; position: absolute; z-index: 0; top: -16px; left: -32px; right: -32px; height: 280px; border-radius: 24px 24px 0 0; background: linear-gradient(110deg, #effcf6, #f3fcf8); pointer-events: none; }
  .maintego-home #faq .faq-copy { display: contents; }
  .maintego-home #faq .faq-media-frame { position: relative; z-index: 1; width: calc(100% + 30px); height: auto; aspect-ratio: 357 / 387; margin-left: -30px; border-radius: 0; mask: var(--mobile-hex) center / 100% 100% no-repeat; }
  .maintego-home #faq .faq-media-frame img { object-position: 42% center; }
  .maintego-home #faq .faq-intro-copy { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; min-height: 250px; padding: 8px 0 14px; }
  .maintego-home #faq h2 { margin-top: 8px; font-size: clamp(22px, 5.8vw, 30px); line-height: 1.07; letter-spacing: -.04em; }
  .maintego-home #faq h2 > span { display: inline; }
  .maintego-home #faq h2 > span + span::before { content: ' '; }
  .maintego-home #faq .mobile-faq-description { margin-top: 10px; color: #576684; font-size: 13px; line-height: 1.45; }
  .maintego-home #faq .faq-list { display: none; }
  .maintego-home #faq .mobile-faq-list { position: relative; grid-column: 1 / -1; display: grid; gap: 8px; }
  .maintego-home #faq .mobile-faq-list details { border: 1px solid #e1e7ed; border-radius: 10px; background: #fff; }
  .maintego-home #faq .mobile-faq-list details[open] { border-color: transparent; background: #effbf5; }
  .maintego-home #faq .mobile-faq-list summary { display: flex; min-height: 48px; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; list-style: none; cursor: pointer; color: #0b1739; font-size: 14px; font-weight: 500; line-height: 1.4; }
  .maintego-home #faq .mobile-faq-list summary::-webkit-details-marker { display: none; }
  .maintego-home #faq .mobile-faq-list summary > span { position: relative; width: 14px; height: 14px; flex: 0 0 14px; color: #07934a; }
  .maintego-home #faq .mobile-faq-list summary > span::before, .maintego-home #faq .mobile-faq-list summary > span::after { content: ''; position: absolute; top: 6px; left: 0; width: 14px; height: 2px; border-radius: 2px; background: currentColor; }
  .maintego-home #faq .mobile-faq-list summary > span::after { transform: rotate(90deg); }
  .maintego-home #faq .mobile-faq-list details[open] summary > span::after { display: none; }
  .maintego-home #faq .mobile-faq-list details p { padding: 0 14px 14px; color: #576684; font-size: 13px; line-height: 1.5; }
  .maintego-home #faq .mobile-faq-list details[open] summary { padding-bottom: 6px; }

  .maintego-home .service-area-section { overflow: clip; background: #effbf5; }
  .maintego-home .service-area-section .service-area-layout { grid-template-columns: minmax(0, .56fr) minmax(0, .44fr); gap: 24px 12px; align-items: start; }
  .maintego-home .service-area-section .service-area-copy { display: none; }
  .maintego-home .service-area-section .mobile-area-copy { position: relative; z-index: 1; padding-top: 10px; }
  .maintego-home .service-area-section .mobile-area-copy h2 { margin-top: 8px; font-size: clamp(24px, 6.3vw, 30px); font-weight: 800; line-height: 1.1; letter-spacing: -.04em; }
  .maintego-home .service-area-section .mobile-area-copy p { margin-top: 10px; color: #576684; font-size: 14px; line-height: 1.45; }
  .maintego-home .service-area-section .service-area-map-frame { width: calc(100% + 40px); border: 0; border-radius: 0; background: transparent; overflow: visible; align-self: center; }
  .maintego-home .service-area-section .service-area-map-inner { height: auto; aspect-ratio: 357 / 387; mask: var(--mobile-hex) center / 100% 100% no-repeat; }
  .maintego-home .service-area-section .service-area-map-inner:focus-within { mask: none; }
  .maintego-home .service-area-section .mobile-area-cta { position: relative; z-index: 1; display: grid; grid-column: 1 / -1; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; padding: 18px; border-radius: 14px; background: #fff; box-shadow: 0 5px 20px rgb(8 122 61 / 4%); }
  .maintego-home .service-area-section .mobile-area-cta h3 { color: #0b1739; font-size: 17px; line-height: 1.15; font-weight: 800; letter-spacing: -.03em; }
  .maintego-home .service-area-section .mobile-area-cta p { margin-top: 6px; color: #576684; font-size: 13px; line-height: 1.45; }
  .maintego-home .service-area-section .mobile-area-cta .mobile-reference-button { grid-column: 1 / -1; margin: 0 0 0 auto; }
  .maintego-home .service-area-section::after { content: ''; position: absolute; right: 0; bottom: 0; left: 0; height: 28px; opacity: .7; pointer-events: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='28'%3E%3Cpath d='M10 1 19 6V16L10 21 1 16V6Z' fill='%23bddfc9' stroke='white'/%3E%3Cpath d='M30 7 39 12V22L30 27 21 22V12Z' fill='%2399cba9' stroke='white'/%3E%3C/svg%3E") left bottom repeat-x; }
}
@media (max-width: 359px) {
  .maintego-home #services > div, .maintego-home :is(#landlords, #tenants) > .mobile-audience-layout { padding-left: 18px; padding-right: 18px; }
  .maintego-home #services .mobile-service-card { grid-template-columns: 30px minmax(0, 1fr); gap: 6px; padding: 10px 6px; }
  .maintego-home #services .mobile-service-card .mobile-service-icon { width: 30px; height: 34px; }
  .maintego-home #services .mobile-service-card h3, .maintego-home #services .mobile-service-card p { font-size: 10.5px; }
  .maintego-home #faq .faq-layout { grid-template-columns: minmax(0, .36fr) minmax(0, .64fr); gap: 24px 12px; }
  .maintego-home #faq .faq-intro-copy { min-height: 270px; }
  .maintego-home #faq .faq-layout::before { height: 300px; }
}
@media (min-width: 540px) and (max-width: 767px) {
  .maintego-home #faq .faq-intro-copy { min-height: 290px; }
  .maintego-home #faq .faq-layout::before { height: 320px; }
  .maintego-home #faq .mobile-faq-description { font-size: 16px; }
  .maintego-home #faq .faq-media-frame { max-width: 260px; }
  .maintego-home .service-area-section .mobile-area-cta { grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; }
  .maintego-home .service-area-section .mobile-area-cta .mobile-reference-button { grid-column: auto; }
}
