/* GlobalMama homepage refinements — scoped to the front page only. */
body.home .gm-global-hero { position: relative; overflow: hidden; }
body.home .gm-global-hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 80% 35%, rgba(31,140,138,.18), transparent 55%); }
body.home .gm-global-hero > .container { position: relative; z-index: 1; }
body.home .gm-global-hero h1 { max-width: 820px; text-wrap: balance; letter-spacing: -.035em; }
body.home .gm-global-hero .gm-hero-subtitle { text-wrap: balance; }
body.home .gm-global-hero p { max-width: 660px; line-height: 1.75; }
body.home .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
body.home .hero-actions .btn { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; text-align: center; }
body.home .gm-hero-visual { box-shadow: 0 28px 65px rgba(0, 10, 28, .19); }
body.home .section-intro h2 { text-wrap: balance; }
body.home .gm-service-tile { display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
body.home .gm-service-tile .gm-service-arrow { margin-top: auto; padding-top: 16px; }
body.home .gm-service-tile:hover, body.home .gm-service-tile:focus-visible { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(16,37,63,.10); }
body.home .gm-region-tile { transition: transform .2s ease, box-shadow .2s ease; }
body.home .gm-region-tile:hover, body.home .gm-region-tile:focus-visible { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(16,37,63,.09); }
body.home .gm-service-tile:focus-visible, body.home .gm-region-tile:focus-visible, body.home .hero-actions a:focus-visible { outline: 3px solid #1f8c8a; outline-offset: 3px; }
body.home .cta-band { box-shadow: 0 20px 48px rgba(16,37,63,.12); }
@media (max-width: 767px) {
  body.home .gm-global-hero h1 { font-size: clamp(2.2rem, 9vw, 3.5rem); line-height: 1.08; }
  body.home .hero-actions { align-items: stretch; }
  body.home .hero-actions .btn { width: 100%; max-width: 100%; }
  body.home .gm-hero-proof { line-height: 1.8; }
  body.home .gm-service-tile:hover, body.home .gm-region-tile:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  body.home .gm-service-tile, body.home .gm-region-tile { transition: none; }
}

/* Mobile: keep the existing floating WhatsApp link, but prevent it from covering CTAs.
   The JS adds classes only to a floating WhatsApp link and its fixed-position wrapper. */
@media (max-width: 767px) {
  body.home .gm-whatsapp-mobile-float {
    position: fixed !important;
    right: max(12px, env(safe-area-inset-right)) !important;
    bottom: max(16px, env(safe-area-inset-bottom)) !important;
    left: auto !important;
    top: auto !important;
    width: 52px !important;
    height: 52px !important;
    min-width: 52px !important;
    min-height: 52px !important;
    max-width: 52px !important;
    max-height: 52px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    z-index: 999 !important;
  }
  body.home a.gm-whatsapp-mobile-link {
    width: 52px !important;
    height: 52px !important;
    min-width: 52px !important;
    min-height: 52px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #168c79 !important;
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"%3E%3Cpath fill="white" d="M16 .8A15.2 15.2 0 0 0 2.9 23.7L.8 31.2l7.7-2A15.2 15.2 0 1 0 16 .8zm0 27.7a12.4 12.4 0 0 1-6.3-1.7l-.5-.3-4.6 1.2 1.2-4.5-.3-.5A12.5 12.5 0 1 1 16 28.5zm6.9-9.3c-.4-.2-2.2-1.1-2.5-1.2-.3-.1-.6-.2-.8.2s-1 1.2-1.2 1.4c-.2.2-.4.3-.8.1-.4-.2-1.6-.6-3-1.9-1.1-1-1.9-2.2-2.1-2.6-.2-.4 0-.6.2-.8l.6-.7.4-.6c.1-.2 0-.5 0-.7l-1.1-2.6c-.3-.7-.6-.6-.8-.6h-.7c-.2 0-.6.1-.9.4-.3.4-1.2 1.2-1.2 2.9s1.3 3.3 1.5 3.5c.2.2 2.6 4 6.3 5.6.9.4 1.6.6 2.1.7.9.3 1.7.2 2.3.1.7-.1 2.2-.9 2.5-1.8.3-.9.3-1.7.2-1.8-.1-.2-.3-.3-.7-.5z"/%3E%3C/svg%3E') !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 27px 27px !important;
    font-size: 0 !important;
    line-height: 0 !important;
    color: transparent !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  body.home a.gm-whatsapp-mobile-link::before,
  body.home a.gm-whatsapp-mobile-link::after { content: none !important; }
  body.home a.gm-whatsapp-mobile-link > * { display: none !important; }
  body.home .hero-actions { padding-bottom: 12px; }
  body.home .gm-global-hero { padding-bottom: 24px; }
}

/* Phase 2: international experience and brand credibility (homepage only). */
body.home .gm-global-credibility{background:#fff}
body.home .gm-credibility-grid{display:grid;grid-template-columns:minmax(250px,.8fr) minmax(0,1.2fr);gap:22px;align-items:stretch}
body.home .gm-experience-highlight{background:#10253f;color:#e6f0f3;border-radius:20px;padding:32px}
body.home .gm-experience-highlight strong{display:block;font-size:clamp(3.2rem,6vw,5rem);line-height:1;color:#fff}
body.home .gm-experience-highlight span{display:block;font-weight:750;font-size:1.08rem;margin:14px 0}
body.home .gm-experience-highlight p{color:#d4e3e9;margin:0}
body.home .gm-experience-markets{background:#f1f2f2;border:1px solid #dce5e8;border-radius:20px;padding:32px}
body.home .gm-experience-markets h3{margin-bottom:20px}
body.home .gm-experience-markets p{margin:0 0 13px}
body.home .gm-experience-note{font-size:.82rem;color:#5b6d76;margin:18px 0 0;max-width:960px}
body.home .gm-advantage-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
body.home .gm-advantage-grid article{background:#fff;border:1px solid #dce5e8;border-radius:16px;padding:27px;box-shadow:0 8px 24px #10253f08}
body.home .gm-advantage-grid article h3{font-size:1.22rem;margin-bottom:12px}
body.home .gm-advantage-grid article p{color:#526570;margin:0}
body.home .gm-advantage-action{margin-top:26px}
@media(max-width:760px){body.home .gm-credibility-grid,body.home .gm-advantage-grid{grid-template-columns:1fr}body.home .gm-experience-highlight,body.home .gm-experience-markets{padding:24px}body.home .gm-advantage-grid article{padding:23px}}
/* Phase 3 — refined rhythm, hierarchy, and factual leadership experience chart */
body.home .section{padding-top:clamp(54px,6vw,78px);padding-bottom:clamp(54px,6vw,78px)}
body.home .section-intro{margin-bottom:28px}
body.home .section-intro h2{font-size:clamp(1.9rem,3.2vw,2.9rem);line-height:1.14}
body.home .section-intro p,body.home .split p{font-size:1.06rem;line-height:1.75}
body.home .gm-global-hero{padding-top:clamp(64px,7vw,92px);padding-bottom:clamp(64px,7vw,92px)}
body.home .gm-global-hero h1{font-size:clamp(2.6rem,4.8vw,4.7rem)}
body.home .gm-service-tile{min-height:245px;padding:25px}
body.home .gm-service-tile p{font-size:.97rem;line-height:1.65}
body.home .gm-region-tile p{font-size:.9rem;line-height:1.6}
