/* FLYMAR Contact Map Candidate 003 — isolated, opt-in Google Maps iframe. */
.contact-map { min-width:0; }
.contact-map-tabs { display:flex; gap:8px; margin-bottom:12px; }
.contact-map-tab {
  flex:1; min-width:0; min-height:44px; padding:10px 14px;
  border:1px solid #d2e1f3; border-radius:9px;
  background:transparent; color:#fff; cursor:pointer;
  font:600 15px/1.35 'IBM Plex Sans','IBM Plex Sans Thai',sans-serif;
}
.contact-map-tab[aria-pressed="true"] { color:#173b67; background:#fff; border-color:#fff; }
.contact-map-tab:hover:not([aria-pressed="true"]) { background:#ffffff22; }
.contact-map-tab:focus-visible, .contact-map-load:focus-visible,
.contact-map figcaption a:focus-visible { outline:3px solid #fff; outline-offset:3px; }
.contact-map-view {
  position:relative; min-width:0; width:100%; aspect-ratio:1086/392;
  min-height:280px; overflow:hidden; background:#e4edf6; border-radius:16px;
}
.contact-map-poster { position:relative; width:100%; height:100%; min-height:280px; }
.contact-map-poster img { display:block; width:100%; height:100%; object-fit:cover; }
.contact-map-poster::after {
  content:""; position:absolute; inset:0;
  background:linear-gradient(90deg,rgba(12,35,59,.91),rgba(12,35,59,.72) 54%,rgba(12,35,59,.22));
  pointer-events:none;
}
.contact-map-prompt {
  position:absolute; z-index:1; left:clamp(18px,4%,38px); right:clamp(18px,4%,38px);
  top:50%; transform:translateY(-50%); max-width:430px; color:#fff;
}
.contact-map-prompt h3 { margin:0 0 8px; font-size:clamp(19px,1.8vw,27px); line-height:1.3; font-weight:600; }
.contact-map-prompt p { margin:0 0 14px; font-size:clamp(13px,1.15vw,17px); line-height:1.45; }
.contact-map-load {
  min-height:44px; border:0; border-radius:9px; padding:10px 17px;
  background:#fff; color:#14385e; cursor:pointer;
  font:600 15px/1.3 'IBM Plex Sans','IBM Plex Sans Thai',sans-serif;
}
.contact-map-load:hover { background:#e7f3ff; }
.contact-map-frame-host { position:absolute; inset:0; background:#e7edf2; }
.contact-map-frame-host iframe { display:block; width:100%; height:100%; border:0; }
.contact-map-poster[hidden], .contact-map-frame-host[hidden], .contact-map [hidden] { display:none!important; }
.contact-map figcaption {
  display:flex; gap:8px 20px; flex-wrap:wrap; align-items:center;
  justify-content:space-between; margin-top:8px; text-align:left;
  font-size:12px; line-height:1.5;
}
.contact-map figcaption a { color:#fff; text-decoration:underline; text-underline-offset:3px; }
.contact-map:not([data-map-enhanced="true"]) .contact-map-tabs,
.contact-map:not([data-map-enhanced="true"]) .contact-map-prompt { display:none; }
@media(max-width:700px){
  .contact-map-view{aspect-ratio:auto;height:350px;min-height:350px;border-radius:10px;}
  .contact-map-poster{min-height:350px;}
  .contact-map-poster::after{background:linear-gradient(0deg,rgba(12,35,59,.9),rgba(12,35,59,.57));}
  .contact-map-prompt{left:22px;right:22px;max-width:none;top:auto;bottom:18px;transform:none;}
  .contact-map-prompt h3{font-size:21px;}
  .contact-map-prompt p{font-size:14px;}
  .contact-map-tabs{gap:6px;}
  .contact-map-tab{padding:10px 8px;font-size:14px;}
}
@media(prefers-reduced-motion:reduce){.contact-map *, .contact-map *::before, .contact-map *::after{transition:none!important;}}

/* Privacy disclosure sits within the existing opt-in map overlay. */
.contact-map-privacy{margin:0 0 10px!important;font-size:12px!important;line-height:1.45!important;color:#fff;max-width:460px}
.contact-map-privacy a{color:#fff;text-decoration:underline;text-underline-offset:2px}
@media(max-width:700px){.contact-map-privacy{font-size:12px!important;line-height:1.36!important}}
