/* ============================================================
   FIND US — brand-tinted map with a pulsing AMDB pin + address card.
   Map on the left, card on the right; stacked on phones.
   ============================================================ */
.location {
  --loc-cream: #fbf8f2;
  --loc-gold: #d9a83e;
  --loc-gold-text: #8a6418;
  padding: clamp(40px, 5vw, 80px) 0;
  background: var(--loc-cream);
  scroll-margin-top: 74px;
}
.location__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: stretch;
}

/* ---------- Map ---------- */
.location__map {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid rgba(185, 138, 46, .22);
  border-radius: 24px;
  background: #efe7d6;
  box-shadow: 0 18px 44px rgba(60, 44, 12, .12);
  isolation: isolate;
}
.location__map-link { position: absolute; inset: 0; display: block; }
.location__map-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;          /* the office is the image centre, so it stays centred */
  /* warm, quiet cartography that matches the Legacy palette */
  filter: grayscale(1) sepia(.35) saturate(1.3) contrast(.92) brightness(1.04);
}
.location__credit {
  position: absolute;
  z-index: 3;
  right: 10px;
  bottom: 8px;
  margin: 0;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .8);
  color: #5a5f64;
  font-size: 11px;
}
.location__credit a { color: inherit; text-decoration: underline; }
/* vignette so the pin reads first */
.location__map::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(ellipse at center, rgba(251, 248, 242, 0) 35%, rgba(251, 248, 242, .55) 100%);
  pointer-events: none;
}
/* The map image is centred on the office, so the pin sits dead-centre. */
.location__rings,
.location__pin { position: absolute; left: 50%; top: 50%; z-index: 2; pointer-events: none; }
.location__rings { width: 0; height: 0; }
.location__rings i {
  position: absolute;
  left: -90px;
  top: -90px;
  width: 180px;
  height: 180px;
  border: 2px solid var(--loc-gold);
  border-radius: 50%;
  opacity: 0;
  animation: locPulse 3.6s cubic-bezier(.2, .6, .3, 1) infinite;
}
.location__rings i:nth-child(2) { animation-delay: 1.2s; }
.location__rings i:nth-child(3) { animation-delay: 2.4s; }
@keyframes locPulse {
  0% { transform: scale(.15); opacity: .9; }
  100% { transform: scale(1.6); opacity: 0; }
}
.location__pin { width: 48px; height: 60px; transform: translate(-50%, -100%); filter: drop-shadow(0 8px 12px rgba(40, 28, 6, .35)); }
.location__pin svg { display: block; width: 100%; height: 100%; }
.location__pin path:first-child { fill: #16191c; stroke: var(--loc-gold); stroke-width: 2; }
.location__pin .location__bolt { fill: var(--loc-gold); }
.location__open {
  position: absolute;
  z-index: 3;
  left: 16px;
  bottom: 16px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .12);
  color: #16191c;
  font-size: 13px;
  font-weight: 600;
}
.location__open:hover { background: #fff; }

/* ---------- Card ---------- */
.location__card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(26px, 3vw, 44px);
  border: 1px solid rgba(185, 138, 46, .18);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(60, 44, 12, .08);
}
.location__eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 14px;
  color: var(--loc-gold-text);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
}
.location__eyebrow span { width: 48px; height: 3px; border-radius: 2px; background: var(--loc-gold); }
.location__card h2 { margin: 0 0 18px; font-size: clamp(28px, 2.6vw, 40px); font-weight: 800; line-height: 1.1; letter-spacing: -.035em; }
.location__card address { margin: 0 0 22px; font-style: normal; font-size: 16.5px; line-height: 1.6; color: #3f454b; }
.location__card address strong { display: block; color: #16191c; font-size: 17.5px; }
.location__facts { display: grid; gap: 12px; margin: 0 0 26px; }
.location__facts div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding-top: 12px; border-top: 1px solid #eee7da; }
.location__facts dt { color: #6b6255; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.location__facts dd { margin: 0; color: #22262a; font-size: 15px; }
.location__facts a { color: #16191c; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.location__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Google review ---------- */
.location__review {
  display: grid;
  grid-template-columns: 116px 1fr;
  align-items: center;
  gap: 18px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid #eee7da;
}
.location__qr { width: 116px; height: 116px; border: 1px solid #eee7da; border-radius: 14px; background: #fff; padding: 6px; }
.location__review-title { margin: 0 0 4px; font-size: 17px; font-weight: 700; color: #16191c; }
.location__review-text { margin: 0 0 12px; font-size: 14px; line-height: 1.5; color: #5a6066; }
.location__review-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid #e2c77f;
  border-radius: 999px;
  background: #fdf3dc;
  color: #6f4f10;
  font-size: 14px;
  font-weight: 600;
  transition: background .2s, border-color .2s;
}
.location__review-btn svg { width: 16px; height: 16px; fill: #d9a83e; stroke: #b07f24; stroke-width: 1; stroke-linejoin: round; }
.location__review-btn:hover { background: #fbe8bd; border-color: #d9a83e; }
.location__review-phone { display: none; }

@media (max-width: 900px) {
  .location__inner { grid-template-columns: 1fr; }
  .location__map { min-height: 300px; aspect-ratio: 4 / 3; }
}
@media (max-width: 560px) {
  .location__map { min-height: 260px; border-radius: 18px; }
  .location__open { top: 12px; bottom: auto; left: 12px; }
  .location__card { border-radius: 18px; }
  .location__facts div { grid-template-columns: 1fr; gap: 2px; }
  .location__actions .btn { flex: 1 1 100%; }
  /* on a phone you can't scan your own screen — show the button, not the code */
  .location__review { grid-template-columns: 1fr; }
  .location__qr { display: none; }
  .location__review-desk { display: none; }
  .location__review-phone { display: inline; }
  .location__review-btn { justify-content: center; width: 100%; padding-block: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .location__rings { display: none; }
}
