/* ========================================
   GOOGLE PROFILE PAGE — coded Google Business Profile (sharp text)
   replaces images/google-profile-hero-generated-tall.png
   ======================================== */

.gbpx {
  width: 100%;
  max-width: 36rem;
  margin-left: auto;
  background: #ffffff;
  border: 1px solid #e3e8f1;
  border-radius: 1.6rem;
  box-shadow: 0 24px 56px rgba(15, 23, 42, 0.12);
  overflow: hidden;
  font-family: Roboto, Arial, 'Inter', sans-serif;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #3c4043;
  -webkit-font-smoothing: antialiased;
}

.gbpx__label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  background: #f8fafc;
  border-bottom: 1px solid #e8eaed;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2563eb;
}

.gbpx__g {
  font-size: 0.95rem;
  background: conic-gradient(from -45deg, #ea4335 0 25%, #4285f4 0 50%, #34a853 0 75%, #fbbc05 0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.gbpx__photos {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 3px;
  height: 170px;
  overflow: hidden; /* photos can never spill onto the business name */
}

.gbpx__photos img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: 100%;
  object-fit: cover;
}

.gbpx__photos img:first-child { grid-row: 1 / span 2; }
.gbpx__photos img:nth-child(2) { object-position: 90% 40%; }
.gbpx__photos img:nth-child(3) { object-position: 10% 80%; }

.gbpx__head {
  padding: 16px 20px 6px;
}

.gbpx__name {
  margin: 0 0 4px;
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1.2;
  color: #202124;
}

.gbpx__rating {
  margin: 0 0 3px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: #70757a;
}

.gbpx__rating b { font-weight: 500; color: #3c4043; }
.gbpx__stars { color: #fbbc04; letter-spacing: 1px; }

.gbpx__type { margin: 0; font-size: 0.86rem; color: #70757a; }

.gbpx__tabs {
  display: flex;
  gap: 4px;
  margin-top: 10px;
  padding: 0 20px;
  border-bottom: 1px solid #e8eaed;
  font-size: 0.85rem;
  font-weight: 500;
  color: #5f6368;
}

.gbpx__tabs span { padding: 9px 10px 10px; }
.gbpx__tabs .is-active { color: #1a73e8; box-shadow: inset 0 -3px 0 #1a73e8; }

.gbpx__actions {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 0;
  padding: 14px 12px 12px;
  list-style: none;
  border-bottom: 1px solid #e8eaed;
}

.gbpx__actions li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  font-weight: 500;
  color: #1a73e8;
}

.gbpx__actions i {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #dadce0;
  font-size: 0.95rem;
  color: #1a73e8;
}

.gbpx__actions li:first-child i { background: #1a73e8; border-color: #1a73e8; color: #ffffff; }

.gbpx__details {
  margin: 0;
  padding: 10px 20px;
  list-style: none;
  border-bottom: 1px solid #e8eaed;
}

.gbpx__details li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 4px 0;
  font-size: 0.84rem;
  color: #3c4043;
}

.gbpx__details i { width: 18px; margin-top: 3px; text-align: center; color: #1a73e8; }
.gbpx__open { color: #188038; font-weight: 500; }
.gbpx__link { color: #1a73e8; }

.gbpx__reviews { padding: 12px 20px 18px; }

.gbpx__reviews-title {
  margin: 0 0 10px;
  font-size: 1rem;
  font-weight: 500;
  color: #202124;
}

.gbpx__review { margin: 0; padding: 10px 0; }
.gbpx__review + .gbpx__review { border-top: 1px solid #f1f3f4; }

.gbpx__review-head { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }

.gbpx__avatar {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 500;
  color: #ffffff;
}

.gbpx__avatar--teal { background: #00897b; }
.gbpx__avatar--purple { background: #7b1fa2; }

.gbpx__reviewer { display: block; font-size: 0.86rem; font-weight: 500; font-style: normal; color: #202124; }
.gbpx__reviewer-meta { display: block; font-size: 0.72rem; color: #70757a; }
.gbpx__review-stars { margin: 0 0 3px; font-size: 0.76rem; color: #70757a; }
.gbpx__review-text { margin: 0; font-size: 0.84rem; color: #3c4043; }

.gbpx__owner {
  margin: 8px 0 0;
  padding: 8px 12px;
  background: #f1f3f4;
  border-radius: 8px;
  font-size: 0.78rem;
}

.gbpx__owner b { display: block; font-weight: 500; color: #202124; }

@media (min-width: 768px) and (max-width: 1023px) {
  .gbpx { margin: 0 auto; }
}

@media (max-width: 767px) {
  .gbpx { margin: 0 auto; border-radius: 1.25rem; }
  .gbpx__photos { height: 150px; }
  .gbpx__name { font-size: 1.25rem; }
  .gbpx__head, .gbpx__details, .gbpx__reviews { padding-left: 16px; padding-right: 16px; }
  .gbpx__tabs { padding: 0 10px; font-size: 0.8rem; }
  .gbpx__tabs span { padding: 9px 7px 10px; }
  .gbpx__actions { padding: 12px 6px; }
  .gbpx__actions i { width: 36px; height: 36px; }
  .gbpx__actions li { font-size: 0.68rem; }
}

/* ========================================
   HOW IT WORKS — varied icon colors per step
   ======================================== */
.gp-how-step .gp-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  font-weight: 800;
  font-size: 1.5rem;
}

.gp-how-step--blue .gp-step-num { background: #eff6ff; color: #1d4ed8; }
.gp-how-step--blue .gp-card-icon {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12) 0%, rgba(96, 165, 250, 0.24) 100%);
  color: #2563eb;
}

.gp-how-step--amber .gp-step-num { background: #fffbeb; color: #b45309; }
.gp-how-step--amber .gp-card-icon {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.14) 0%, rgba(251, 191, 36, 0.28) 100%);
  color: #d97706;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.75), 0 12px 26px rgba(245, 158, 11, 0.12);
}

.gp-how-step--green .gp-step-num { background: #ecfdf5; color: #047857; }
.gp-how-step--green .gp-card-icon {
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.12) 0%, rgba(52, 211, 153, 0.26) 100%);
  color: #059669;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.75), 0 12px 26px rgba(5, 150, 105, 0.12);
}

.gp-how-step--blue { border-top: 4px solid #3b82f6; }
.gp-how-step--amber { border-top: 4px solid #f59e0b; }
.gp-how-step--green { border-top: 4px solid #10b981; }
