/* BPAG — office locations
   Shared across every page. Self-contained: no dependency on page-level
   custom properties or .container, so it renders identically on the Framer
   homepage and the hand-built service pages. */

/* ============================================================
   FOOTER — office block (sits above the existing copyright row)
   ============================================================ */
.bpagfoot-offices {
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;
  text-align: left;
  padding: 0 0 36px;
  margin-bottom: 32px;
  border-bottom: 1px solid #F0F0F3;
}

.bpagfoot-offices *,
.bpagfoot-offices *::before,
.bpagfoot-offices *::after { box-sizing: border-box; }

.bpagfoot-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.bpagfoot-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 20px;
  margin-bottom: 28px;
}

.bpagfoot-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #3EBD6E;
}

.bpagfoot-eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3EBD6E;
}

.bpagfoot-lede {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #7C7C8A;
  margin: 0;
}

.bpagfoot-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.bpagfoot-office {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.bpagfoot-city {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #1C1C1E;
  text-decoration: none;
  transition: color 0.2s;
}

.bpagfoot-city:hover { color: #3EBD6E; }

.bpagfoot-was {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 140%;
  color: #9A9AA8;
}

.bpagfoot-addr {
  font-size: 13px;
  font-weight: 400;
  line-height: 160%;
  letter-spacing: -0.02em;
  color: #3A3A44;
  font-style: normal;
  margin-top: 2px;
}

.bpagfoot-tel {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  align-self: flex-start;
  margin-top: 4px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #1C1C1E;
  text-decoration: none;
  transition: color 0.2s;
}

.bpagfoot-tel::before {
  content: "";
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.36 1.9.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.9.34 1.85.57 2.81.7A2 2 0 0 1 22 16.92z'/></svg>") no-repeat center / contain;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.36 1.9.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.9.34 1.85.57 2.81.7A2 2 0 0 1 22 16.92z'/></svg>") no-repeat center / contain;
}

.bpagfoot-tel:hover { color: #3EBD6E; }

@media (max-width: 900px) {
  .bpagfoot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
}

@media (max-width: 520px) {
  .bpagfoot-grid { grid-template-columns: 1fr; gap: 24px; }
  .bpagfoot-offices { padding-bottom: 28px; margin-bottom: 24px; }
}

/* ============================================================
   HOMEPAGE — "Find your local office" section
   ============================================================ */
.bpagloc-section {
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;
  background: #F3F3F7;
  padding: 96px 0;
}

.bpagloc-section *,
.bpagloc-section *::before,
.bpagloc-section *::after { box-sizing: border-box; }

.bpagloc-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.bpagloc-head {
  max-width: 700px;
  margin: 0 0 44px;
}

.bpagloc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  background: rgba(62, 189, 110, 0.08);
  border: 1px solid rgba(62, 189, 110, 0.15);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #3EBD6E;
  margin-bottom: 18px;
}

.bpagloc-eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3EBD6E;
}

.bpagloc-h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 500;
  line-height: 108%;
  letter-spacing: -0.05em;
  color: #1C1C1E;
  margin: 0 0 16px;
}

.bpagloc-sub {
  font-size: 18px;
  font-weight: 400;
  line-height: 150%;
  letter-spacing: -0.02em;
  color: #3A3A44;
  margin: 0;
  text-wrap: pretty;
}

.bpagloc-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.bpagloc-card {
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border: 1px solid #E5E5EA;
  border-radius: 14px;
  padding: 28px;
  min-width: 0;
  transition: box-shadow 0.3s, transform 0.3s;
}

.bpagloc-card:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
  transform: translateY(-2px);
}

.bpagloc-state {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9A9AA8;
  margin-bottom: 10px;
}

.bpagloc-city {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 120%;
  color: #1C1C1E;
  margin: 0 0 10px;
}

.bpagloc-was {
  font-size: 13px;
  font-weight: 500;
  line-height: 145%;
  letter-spacing: -0.02em;
  color: #7C7C8A;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid #F0F0F3;
}

.bpagloc-addr {
  font-size: 14px;
  font-weight: 400;
  line-height: 160%;
  letter-spacing: -0.02em;
  color: #3A3A44;
  font-style: normal;
  margin-bottom: 18px;
}

.bpagloc-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  align-items: flex-start;
}

.bpagloc-tel {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #1C1C1E;
  text-decoration: none;
  transition: color 0.2s;
}

.bpagloc-tel:hover { color: #3EBD6E; }

.bpagloc-link {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #3EBD6E;
  text-decoration: none;
  transition: opacity 0.2s;
}

.bpagloc-link:hover { opacity: 0.7; }

@media (max-width: 1024px) {
  .bpagloc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .bpagloc-section { padding: 64px 0; }
  .bpagloc-inner { padding: 0 20px; }
  .bpagloc-grid { grid-template-columns: 1fr; }
  .bpagloc-card { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .bpagloc-card { transition: none; }
}
