/**
 * CP · Find Us on Google — self-contained styles (token-driven, brand-agnostic).
 * Scoped under .cp-find-us. Ported from the `.findus` section on the approved
 * city hub page. The approved page names 'Inter' and 'Poppins' for the map card
 * and rating; the theme only ships Barlow Condensed and Roboto, so those map to
 * the body token rather than pulling two more web fonts.
 */
.cp-find-us {
  --fu-fg: var(--wp--preset--color--text);
  --fu-primary: var(--wp--preset--color--primary);
  --fu-white: var(--wp--preset--color--white);
  --fu-display: var(--wp--preset--font-family--barlow-condensed);
  --fu-body: var(--wp--preset--font-family--roboto);
  --fu-firefly: #0D1B2A;
  --fu-tundora: #444444;
  --fu-border: #E5E3DF;
  --fu-rating-bd: #D9D9D9;
  background: var(--fu-white);
  padding: 72px clamp(24px, 5vw, 80px);
  text-align: center;
}
.cp-find-us .findus__eyebrow {
  font-family: var(--fu-body); font-weight: 700; font-size: 11px; line-height: 24px;
  letter-spacing: 2.5px; text-transform: uppercase; color: var(--fu-primary); margin: 0;
}
.cp-find-us h2 {
  font-family: var(--fu-display); font-weight: 800; font-size: 36px; line-height: 37.8px;
  color: var(--fu-fg); margin: 10px 0 0;
}
.cp-find-us h2 em { font-style: normal; color: var(--fu-primary); }
.cp-find-us .findus__sub {
  font-family: var(--fu-body); font-size: 14px; line-height: 24px; color: var(--fu-fg); margin: 10px 0 0;
}

.cp-find-us .findus__card {
  max-width: 1100px; margin: 32px auto 0; background: var(--fu-white);
  border-radius: 10px; box-shadow: 12px 12px 25px rgba(0, 0, 0, 0.18);
  padding: 58px 24px 36px;
  display: grid; grid-template-columns: minmax(0, 395px) minmax(0, 1fr);
  gap: 64px; align-items: center; text-align: left;
}
.cp-find-us .findus__info { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.cp-find-us .findus__title { font-family: var(--fu-display); font-weight: 700; font-size: 20px; color: var(--fu-fg); margin: 0; }
.cp-find-us .findus__subtitle { font-family: var(--fu-body); font-size: 13px; line-height: 24px; color: var(--fu-fg); margin: 0; }
.cp-find-us .findus__row { margin-top: 18px; display: flex; flex-direction: column; align-items: center; }
.cp-find-us .findus__label {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--fu-body); font-weight: 600; font-size: 14px; line-height: 25.2px; color: var(--fu-firefly);
}
.cp-find-us .findus__icon { display: inline-block; font-size: 13px; line-height: 1; }
.cp-find-us .findus__value { font-family: var(--fu-body); font-size: 14px; line-height: 25.2px; color: var(--fu-tundora); text-align: center; }
.cp-find-us .findus__phone { font-family: var(--fu-body); font-weight: 600; font-size: 14px; line-height: 25.2px; color: var(--fu-primary); text-decoration: none; }
.cp-find-us .findus__phone:hover { text-decoration: underline; }

.cp-find-us .findus__rating {
  margin-top: 18px; background: var(--fu-white); border: 1px solid var(--fu-rating-bd);
  border-radius: 12px; padding: 14px 21px; display: inline-flex; align-items: center; gap: 12px;
}
.cp-find-us .findus__rating-g {
  width: 32px; height: 32px; flex-shrink: 0; border-radius: 50%;
  background: conic-gradient(from -45deg, #EA4335 0deg 90deg, #FBBC05 90deg 180deg, #34A853 180deg 270deg, #4285F4 270deg 360deg);
  display: flex; align-items: center; justify-content: center;
  color: var(--fu-white); font-family: var(--fu-body); font-weight: 700; font-size: 18px; line-height: 1;
}
.cp-find-us .findus__rating-g::after { content: 'G'; color: var(--fu-white); }
.cp-find-us .findus__rating-text { font-family: var(--fu-body); font-weight: 600; font-size: 15px; line-height: 1.1; color: var(--fu-fg); text-align: left; }
.cp-find-us .findus__rating-stars { display: flex; align-items: center; gap: 2px; margin-top: 4px; font-size: 14px; color: var(--fu-primary); }
.cp-find-us .findus__rating-num { color: var(--fu-fg); margin-right: 4px; font-weight: 600; font-size: 13px; }
.cp-find-us .findus__rating-rest { opacity: 0.55; }

.cp-find-us .findus__map {
  width: 100%; min-height: 450px; border-radius: 4px; overflow: hidden; position: relative;
  background: linear-gradient(135deg, #e8eef0 0%, #d6dde0 100%); border: 1px solid var(--fu-border);
}
.cp-find-us .findus__map--embed iframe { display: block; width: 100%; height: 100%; min-height: 450px; border: 0; }
.cp-find-us .findus__map-card {
  position: absolute; top: 12px; left: 12px; background: var(--fu-white); border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); padding: 12px; max-width: 252px;
  display: flex; flex-direction: column; gap: 6px; font-family: var(--fu-body); text-align: left;
}
.cp-find-us .findus__map-card-title { font-weight: 500; font-size: 13.8px; line-height: 20px; color: #1F1F1F; }
.cp-find-us .findus__map-card-addr { font-size: 11.4px; line-height: 16px; color: #5E5E5E; }
.cp-find-us .findus__map-card-rating { display: flex; align-items: center; gap: 4px; font-size: 11.4px; line-height: 16px; color: #5E5E5E; }
.cp-find-us .findus__map-card-rating .star { color: var(--fu-primary); }
.cp-find-us .findus__map-pin { position: absolute; left: 62%; top: 48%; transform: translate(-50%, -100%); }
.cp-find-us .findus__map-pin-dot {
  width: 24px; height: 24px; background: var(--fu-primary); border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg); box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); position: relative;
}
.cp-find-us .findus__map-pin-dot::after {
  content: ''; position: absolute; top: 7px; left: 7px; width: 10px; height: 10px;
  background: var(--fu-white); border-radius: 50%;
}
.cp-find-us .findus__map-pin-label {
  /* Wraps rather than running off the map: the approved page hard-breaks this
     label onto two lines, and the panel clips its overflow. */
  position: absolute; top: 30px; left: 24px; max-width: 180px; background: var(--fu-white);
  padding: 4px 8px; border-radius: 4px; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  font-family: var(--fu-body); font-size: 11px; font-weight: 600; color: #1F1F1F;
}

@media (max-width: 980px) {
  .cp-find-us h2 { font-size: 28px; line-height: 1.15; }
  .cp-find-us .findus__card { grid-template-columns: 1fr; gap: 32px; padding: 32px 20px; }
  .cp-find-us .findus__map, .cp-find-us .findus__map--embed iframe { min-height: 320px; }
}
