.gm-projects-page { background: #f5f6fa; padding-bottom: 64px; }
.gm-projects-heading { padding: 64px 7vw 28px; color: #060647; }
.gm-projects-heading > span, .gm-map-eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .14em; }
.gm-projects-heading h1 { font-size: clamp(40px, 6vw, 80px); margin: 12px 0; }
.gm-projects-content { margin: 0 auto 32px; padding: 0 7vw; max-width: 1400px; }
.gm-project-map { display: grid; grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 80px); max-width: 1400px; padding: 40px 6vw; margin: auto; color: #060647; }
.gm-project-map__intro { padding-top: 38px; }
.gm-project-map h2 { font-size: clamp(30px, 3.2vw, 50px); line-height: 1.1; margin: 18px 0 24px; }
.gm-project-map h2::after { content: ''; display: block; width: 80px; height: 5px; background: #f3c620; margin-top: 24px; }
.gm-project-map__intro > p { line-height: 1.7; }
.gm-map-count { font-size: 13px; font-weight: 800; text-transform: uppercase; }
.gm-map-list { display: grid; gap: 8px; max-height: 390px; overflow-y: auto; padding: 4px; }
.gm-map-list__item { display: grid; gap: 6px; width: 100%; text-align: left; padding: 15px 18px; border: 1px solid #d8dce8; border-radius: 6px; color: #060647; background: white; cursor: pointer; font: inherit; }
.gm-map-list__item span { font-size: 13px; color: #58607b; }
.gm-map-list__item:hover, .gm-map-list__item[aria-expanded="true"] { border-color: #b69308; background: #fff8dc; }
.gm-map-canvas { position: relative; min-width: 0; border-radius: 20px; background: radial-gradient(ellipse at 50% 40%, #e3e9f4, #f5f6fa 75%); }
.gm-map-surface { position: relative; width: 100%; aspect-ratio: 560 / 780; }
.gm-peru-outline { display: block; width: 100%; height: 100%; overflow: visible; }
.gm-peru-outline path { fill: #111a58; stroke: #52649b; stroke-width: 1.4; stroke-linejoin: round; }
.gm-map-pin { position: absolute; width: 36px; height: 36px; padding: 0; transform: translate(-50%, -50%); border: 0; background: transparent; cursor: pointer; border-radius: 50%; z-index: 2; }
.gm-map-pin span { position: absolute; inset: 12px; border-radius: 50%; background: #ffcf20; box-shadow: 0 0 0 2px #060647; pointer-events: none; }
.gm-map-pin::before { content: ''; position: absolute; inset: 7px; border: 2px solid #ffcf20; border-radius: 50%; animation: gm-map-pulse 2.4s ease-out infinite; pointer-events: none; }
.gm-map-pin:hover, .gm-map-pin[aria-expanded="true"] { z-index: 3; }
.gm-map-pin[aria-expanded="true"] span { background: white; }
@keyframes gm-map-pulse { from { transform: scale(.6); opacity: .9; } to { transform: scale(1.7); opacity: 0; } }
.gm-map-country-label { position: absolute; left: 8%; bottom: 12%; font-size: 12px; letter-spacing: .3em; color: #697491; pointer-events: none; }
.gm-map-popup { position: absolute; z-index: 5; width: min(320px, calc(100% - 24px)); max-height: 480px; overflow-y: auto; background: white; border-radius: 10px; box-shadow: 0 16px 55px #06064740; border: 1px solid #d8dce8; }
.gm-map-popup[hidden] { display: none; }
.gm-map-popup__image { display: block; width: 100%; height: 180px; object-fit: cover; }
.gm-map-popup__body { padding: 24px; }
.gm-map-popup__region { display: block; color: #646c85; font-size: 12px; padding-right: 26px; }
.gm-map-popup h3 { color: #060647; font-size: 23px; margin: 8px 0 12px; }
.gm-map-popup p { font-size: 14px; line-height: 1.65; margin: 0 0 12px; overflow-wrap: anywhere; }
.gm-map-close { position: absolute; z-index: 1; top: 8px; right: 8px; width: 36px; height: 36px; padding: 0; border: 1px solid #d8dce8; border-radius: 50%; font-size: 26px; background: white; color: #060647; cursor: pointer; }
.gm-project-map button:focus-visible { outline: 3px solid #2181d7; outline-offset: 3px; }
@media (max-width: 760px) {
  .gm-projects-heading { padding-top: 36px; }
  .gm-project-map { grid-template-columns: 1fr; padding: 12px 6vw 32px; gap: 20px; }
  .gm-project-map__intro { padding-top: 0; }
  .gm-map-list { max-height: 220px; }
  .gm-map-canvas { max-width: 500px; width: 100%; margin: auto; }
  .gm-map-popup { position: relative; left: auto !important; top: auto !important; width: 100%; max-height: none; margin-top: 12px; }
}
@media (prefers-reduced-motion: reduce) { .gm-map-pin::before { animation: none; opacity: .65; } }
