/* =====================================================
   GBP-MAPS-OPTIMIZATION.CSS — RankBoost Agency (2026)
   Growth Services sub-page  |  prefix: .gbp-
   Depends on: master.css, design-system.css, growth-services.css
   Reuses: .gs-cards-grid, .gs-card*, @media (min-width: 768px)  { .gs-cards-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1200px) { .gs-cards-grid { grid-template-columns: repeat(3, 1fr); } }

.gs-card {
  border: 1px solid var(--line); border-radius: var(--r-xl);
  background: var(--surface); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), border-color 220ms;
  box-shadow: var(--shadow-sm);
}
.gs-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(91,71,224,0.2); }
.gs-card-thumb {
  height: 200px; overflow: hidden;
  background: var(--surface-2); position: relative;
}
.gs-card-thumb img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: transform 400ms var(--ease); }
.gs-card:hover .gs-card-thumb img { transform: scale(1.05); }
.gs-card-thumb-icon { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 48px; background: var(--primary-light); }
.gs-card-body { padding: var(--card-pad); flex: 1; display: flex; flex-direction: column; }
.gs-card-tag {
  display: inline-flex; align-items: center;
  padding: 5px 11px; border-radius: 100px;
  background: var(--primary-light); color: var(--primary);
  font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: var(--space-sm); width: fit-content;
}
.gs-card-body h3 { font-size: 19px; font-weight: 800; letter-spacing: -0.015em; margin-bottom: var(--space-sm); }
.gs-card-body p  { font-size: 14px; color: var(--ink-muted); line-height: 1.72; flex: 1; margin-bottom: var(--space-sm); }
.gs-card-link { display: inline-flex; align-items: center; gap: 7px; color: var(--primary); font-size: 13.5px; font-weight: 800; transition: gap 180ms; margin-top: auto; }
.gs-card-link:hover { gap: var(--space-sm); }
.gs-card-link .arrow-icon { width: 16px; height: 16px; }

@media (min-width: 1024px) {  }
/* ─────────────────────────────────────────────────────
   HERO
───────────────────────────────────────────────────── */
.gbp-hero {
  position: relative; overflow: hidden;
  padding-top: 140px; padding-bottom: 80px;
  background: linear-gradient(180deg, #FAFAFD 0%, #ffffff 100%);
  min-height: min(100vh, 820px);
  display: flex; align-items: center;
}
.gbp-hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 10% 20%, rgba(91,71,224,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 92% 16%, rgba(200,255,0,0.16) 0%, transparent 60%);
  pointer-events: none;
}
.gbp-hero-orb {
  position: absolute; border-radius: 999px;
  filter: blur(30px); opacity: 0.5; pointer-events: none; will-change: transform;
}
.gbp-hero-orb--purple { width: 220px; height: 220px; left: 4%; top: 20%; background: rgba(91,71,224,0.2); animation: gbpFloatOrb 7s ease-in-out infinite; }
.gbp-hero-orb--lime   { width: 160px; height: 160px; right: 8%; top: 12%; background: rgba(200,255,0,0.4); animation: gbpFloatOrb 8s ease-in-out infinite reverse; }
@keyframes gbpFloatOrb { 0%,100%{transform:translate(0,0)} 33%{transform:translate(20px,-30px)} 66%{transform:translate(-15px,20px)} }

.gbp-hero-inner {
  display: grid; gap: var(--grid-gap-lg); align-items: center; position: relative; z-index: 1;
}
@media (min-width: 1024px) { .gbp-hero-inner { grid-template-columns: 1fr 460px; } }

.gbp-hero-copy h1 {
  font-size: var(--fs-h1); font-weight: 800;
  line-height: 1.08; letter-spacing: -0.032em; color: var(--ink); margin-top: var(--space-sm);
}
.gbp-hero-copy h1 em { font-style: normal; color: var(--primary); }

/* ─── GBP Dashboard Card ─── */
.gbp-hero-visual { position: relative; }

.gbp-map-card {
  background: var(--ink); border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-xl); padding: var(--card-pad); box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.gbp-map-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 55% 45% at 95% 5%, rgba(91,71,224,0.2), transparent 60%);
  pointer-events: none;
}
.gbp-map-header {
  display: flex; align-items: center; gap: var(--space-sm);
  margin-bottom: var(--space-md); position: relative; z-index: 1;
}
.gbp-map-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  animation: gbp-pulse 2.2s ease-in-out infinite;
}
@keyframes gbp-pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(1.4)} }
.gbp-map-title { flex: 1; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.45); }
.gbp-map-badge { padding: 3px 10px; border-radius: 100px; background: rgba(200,255,0,0.12); border: 1px solid rgba(200,255,0,0.22); font-size: 10.5px; font-weight: 800; color: var(--accent); }

.gbp-pack-preview { position: relative; z-index: 1; display: grid; gap: var(--space-sm); margin-bottom: var(--space-md); }
.gbp-pack-row {
  display: flex; align-items: center; gap: var(--grid-gap-sm);
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--r-md); padding: 11px 14px;
}
.gbp-pack-row--highlight { background: rgba(200,255,0,0.07); border-color: rgba(200,255,0,0.2); }
.gbp-pack-rank {
  width: 26px; height: 26px; border-radius: 999px; flex-shrink: 0;
  background: var(--accent); color: #000;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 900;
}
.gbp-rank-grey { background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.5); }
.gbp-pack-info { flex: 1; min-width: 0; }
.gbp-pack-info strong { display: block; font-size: 13px; font-weight: 800; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gbp-pack-info span  { display: block; font-size: 11px; color: rgba(255,255,255,0.45); margin-top: 2px; }
.gbp-pack-label { font-size: 10px; font-weight: 900; background: var(--accent); color: #000; padding: 3px 9px; border-radius: 100px; flex-shrink: 0; }

.gbp-kpi-row {
  display: grid; grid-template-columns: repeat(3,1fr); gap: var(--space-sm);
  position: relative; z-index: 1;
  padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.07);
}
.gbp-kpi { text-align: center; }
.gbp-kpi strong { display: block; font-size: 20px; font-weight: 900; color: var(--accent); line-height: 1; letter-spacing: -0.025em; }
.gbp-kpi span   { display: block; font-size: 10px; font-weight: 600; color: rgba(255,255,255,0.4); margin-top: var(--space-xs); }

/* Floating chips */
.gbp-chip {
  position: absolute; display: flex; align-items: center; gap: var(--space-sm);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 10px 14px;
  box-shadow: var(--shadow-md); font-size: 12.5px; font-weight: 800; color: var(--ink);
  z-index: 4; white-space: nowrap;
}
.gbp-chip-a { top: -16px; left: -12px; animation: gbpFloat 4s ease-in-out infinite; }
.gbp-chip-b { bottom: 60px; right: -16px; animation: gbpFloat 4.5s ease-in-out infinite 0.8s; }
.gbp-chip-c { bottom: -16px; left: 20px; animation: gbpFloat 5s ease-in-out infinite 0.4s; }
@keyframes gbpFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-7px)} }
.gbp-chip-icon {
  width: 28px; height: 28px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; flex-shrink: 0;
}
.gbp-chip-icon--green  { background: var(--primary-light); }
.gbp-chip-icon--amber  { background: #fffbeb; }
.gbp-chip-icon--purple { background: var(--primary-light); }
.gbp-chip strong { display: block; font-size: 14px; font-weight: 900; line-height: 1; }
.gbp-chip span   { display: block; font-size: 10.5px; font-weight: 600; color: var(--ink-faint); margin-top: 2px; }

/* ─────────────────────────────────────────────────────
   WHAT IS GBP
───────────────────────────────────────────────────── */
.gbp-what-section { padding: var(--section-py) 0; }
.gbp-what-grid { display: grid; gap: var(--grid-gap-lg); align-items: center; }
@media (min-width: 1024px) { .gbp-what-grid { grid-template-columns: 1fr 1fr; } }

.gbp-what-visual {
  border-radius: var(--r-xl); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  min-height: 440px; position: relative; background: var(--surface-2);
}
.gbp-what-visual img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.gbp-what-badge {
  position: absolute; bottom: 20px; left: 20px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 14px 18px;
  box-shadow: var(--shadow-md); display: flex; align-items: center; gap: var(--space-sm);
}
.gbp-what-badge-icon {
  width: 34px; height: 34px; border-radius: var(--r-sm);
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 900; flex-shrink: 0;
}
.gbp-what-badge strong { display: block; font-size: 18px; font-weight: 900; color: var(--ink); line-height: 1; }
.gbp-what-badge span   { display: block; font-size: 11.5px; font-weight: 700; color: var(--ink-faint); margin-top: 3px; }

.gbp-impact-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--grid-gap-sm); margin-top: var(--space-lg); }
.gbp-impact-stat {
  border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--surface-2); padding: 16px; text-align: center;
  transition: border-color 180ms, box-shadow 180ms;
}
.gbp-impact-stat:hover { border-color: rgba(91,71,224,0.22); box-shadow: var(--shadow-sm); }
.gbp-impact-stat strong { display: block; font-size: 26px; font-weight: 900; color: var(--primary); line-height: 1; letter-spacing: -0.03em; }
.gbp-impact-stat span   { display: block; font-size: 11.5px; font-weight: 700; color: var(--ink-faint); margin-top: var(--space-xs); line-height: 1.4; }

/* ─────────────────────────────────────────────────────
   WHY LOCAL VISIBILITY — dark section
───────────────────────────────────────────────────── */
.gbp-why-section {
  padding: var(--section-py) 0;
  background: var(--ink); position: relative; overflow: hidden;
}
.gbp-why-section::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 55% at 90% 20%, rgba(91,71,224,0.16), transparent 60%),
    radial-gradient(ellipse 35% 45% at 8%  80%, rgba(200,255,0,0.06),  transparent 60%);
  pointer-events: none;
}
.gbp-why-grid {
  display: grid; gap: var(--space-md); position: relative; z-index: 1;
}
@media (min-width: 640px)  { .gbp-why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .gbp-why-grid { grid-template-columns: repeat(3, 1fr); } }

.gbp-why-card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--r-lg); padding: var(--card-pad);
  transition: background 200ms, border-color 200ms, transform 200ms;
}
.gbp-why-card:hover { background: rgba(255,255,255,0.09); border-color: rgba(200,255,0,0.2); transform: translateY(-3px); }
.gbp-why-icon { font-size: 28px; margin-bottom: var(--space-sm); display: block; }
.gbp-why-card h3 { font-size: 16px; font-weight: 800; color: #fff; letter-spacing: -0.01em; margin-bottom: var(--space-xs); }
.gbp-why-card p  { font-size: 13.5px; color: rgba(255,255,255,0.52); line-height: 1.7; margin: 0; }

/* ─────────────────────────────────────────────────────
   FEATURED SERVICE CARD
───────────────────────────────────────────────────── */
.gbp-featured-card {
  grid-column: 1 / -1;
  border: 1.5px solid rgba(91,71,224,0.2); border-radius: var(--r-xl);
  background: var(--surface); overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: box-shadow 220ms, border-color 220ms;
}
.gbp-featured-card:hover { box-shadow: var(--shadow-lg); border-color: rgba(91,71,224,0.32); }
@media (min-width: 1200px) { .gbp-featured-card { grid-column: span 1; } }
.gbp-featured-body {
  padding: 36px; display: flex; flex-direction: column;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--surface) 100%);
}
.gbp-featured-body h3 { font-size: clamp(19px, 2vw, 24px); font-weight: 800; letter-spacing: -0.02em; margin: var(--space-sm) 0 12px; }
.gbp-featured-body p  { font-size: 14px; color: var(--ink-muted); line-height: 1.75; flex: 1; margin-bottom: var(--space-md); }

/* ─────────────────────────────────────────────────────
   CHALLENGES SECTION
───────────────────────────────────────────────────── */
.gbp-solve-section {
  padding: var(--section-py) 0;
  background: var(--surface-2);
}
.gbp-solve-grid { display: grid; gap: var(--space-md); }
@media (min-width: 640px)  { .gbp-solve-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .gbp-solve-grid { grid-template-columns: repeat(4, 1fr); } }

.gbp-solve-item {
  display: grid; grid-template-columns: 44px 1fr; gap: var(--space-md); align-items: start;
  padding: var(--card-pad-sm); background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); box-shadow: var(--shadow-sm);
  transition: transform 180ms, border-color 180ms, box-shadow 180ms;
}
.gbp-solve-item:hover { transform: translateX(4px); border-color: rgba(91,71,224,0.22); box-shadow: var(--shadow-md); }
.gbp-solve-icon {
  width: 40px; height: 40px; border-radius: var(--r-sm);
  background: var(--primary-light); display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.gbp-solve-item h3 { font-size: 14.5px; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 5px; }
.gbp-solve-item p  { font-size: 13px; color: var(--ink-muted); line-height: 1.65; margin: 0; }

/* ─────────────────────────────────────────────────────
   PROCESS
───────────────────────────────────────────────────── */
.gbp-process-section { padding: var(--section-py) 0; }
.gbp-process-track { display: grid; gap: 0; margin-top: var(--heading-gap); position: relative; }
@media (min-width: 768px)  { .gbp-process-track { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) {
  .gbp-process-track { grid-template-columns: repeat(7, 1fr); }
  .gbp-process-track::before {
    content: ''; display: block; position: absolute;
    top: 27px; left: calc(100% / 14); right: calc(100% / 14);
    height: 2px;
    background: linear-gradient(90deg, var(--primary) 0%, rgba(91,71,224,0.15) 100%);
    z-index: 0;
  }
}
.gbp-process-step { padding: var(--card-pad) 12px; position: relative; z-index: 1; text-align: center; transition: transform 200ms; }
.gbp-process-step:hover { transform: translateY(-3px); }
.gbp-process-bubble {
  width: 54px; height: 54px; border-radius: 999px;
  background: var(--primary); color: #fff;
  font-size: 14px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  border: 3px solid var(--surface); box-shadow: 0 0 0 3px var(--primary), var(--shadow-primary);
  transition: transform 200ms, box-shadow 200ms;
}
.gbp-process-step:hover .gbp-process-bubble { transform: scale(1.1); box-shadow: 0 0 0 3px var(--primary), var(--shadow-primary-lg); }
.gbp-process-step h3 { font-size: 13px; font-weight: 800; color: var(--ink); letter-spacing: -0.01em; margin-bottom: var(--space-xs); }
.gbp-process-step p  { font-size: 12px; color: var(--ink-muted); line-height: 1.6; margin: 0; }

/* ─────────────────────────────────────────────────────
   RANKING FACTORS
───────────────────────────────────────────────────── */
.gbp-factors-grid { display: grid; gap: var(--space-md); }
@media (min-width: 640px)  { .gbp-factors-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .gbp-factors-grid { grid-template-columns: repeat(4, 1fr); } }

.gbp-factor-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-xl); padding: var(--card-pad);
  box-shadow: var(--shadow-sm);
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), border-color 220ms;
}
.gbp-factor-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(91,71,224,0.2); }
.gbp-factor-icon { font-size: 26px; margin-bottom: var(--space-sm); display: block; }
.gbp-factor-card h3 { font-size: 15px; font-weight: 800; letter-spacing: -0.01em; margin-bottom: var(--space-xs); }
.gbp-factor-card p  { font-size: 13px; color: var(--ink-muted); line-height: 1.68; margin: 0; }

/* ─────────────────────────────────────────────────────
   INDUSTRIES
───────────────────────────────────────────────────── */
.gbp-industries-grid { display: grid; gap: var(--space-sm); }
@media (min-width: 480px) { .gbp-industries-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .gbp-industries-grid { grid-template-columns: repeat(5, 1fr); } }

.gbp-industry-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: var(--card-pad) 16px;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: var(--space-sm); box-shadow: var(--shadow-sm);
  transition: transform 180ms, border-color 180ms, box-shadow 180ms, background 180ms;
}
.gbp-industry-card:hover { transform: translateY(-3px); border-color: rgba(91,71,224,0.22); box-shadow: var(--shadow-md); background: var(--primary-light); }
.gbp-industry-icon { font-size: 26px; }
.gbp-industry-card h3 { font-size: 14px; font-weight: 800; color: var(--ink); line-height: 1.3; }

/* ─────────────────────────────────────────────────────
   WHY CHOOSE
───────────────────────────────────────────────────── */
.gbp-choose-section { padding: var(--section-py) 0; background: var(--surface-2); }
.gbp-choose-layout  { display: grid; gap: var(--grid-gap-lg); align-items: center; }
@media (min-width: 1024px) { .gbp-choose-layout { grid-template-columns: 1fr 1fr; } }

.gbp-choose-visual {
  border-radius: var(--r-xl); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  min-height: 440px; position: relative; background: var(--surface-2);
}
.gbp-choose-visual img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.gbp-choose-stats {
  position: absolute; bottom: 20px; left: 20px; right: 20px;
  display: grid; grid-template-columns: repeat(3,1fr); gap: var(--space-sm);
}
.gbp-choose-stat {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 12px; text-align: center; box-shadow: var(--shadow-sm);
}
.gbp-choose-stat strong { display: block; font-size: 20px; font-weight: 900; color: var(--primary); line-height: 1; letter-spacing: -0.025em; }
.gbp-choose-stat span   { display: block; font-size: 10.5px; font-weight: 700; color: var(--ink-faint); margin-top: var(--space-xs); line-height: 1.3; }

.gbp-choose-pillars { display: grid; gap: var(--grid-gap-sm); }
.gbp-choose-pillar {
  display: grid; grid-template-columns: 44px 1fr; gap: var(--space-md); align-items: start;
  padding: 18px 22px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); box-shadow: var(--shadow-sm);
  transition: transform 180ms, border-color 180ms, box-shadow 180ms;
}
.gbp-choose-pillar:hover { transform: translateX(5px); border-color: rgba(91,71,224,0.22); box-shadow: var(--shadow-md); }
.gbp-choose-icon {
  width: 40px; height: 40px; border-radius: var(--r-sm);
  background: var(--primary-light); display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.gbp-choose-pillar h3 { font-size: 15px; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 5px; }
.gbp-choose-pillar p  { font-size: 13px; color: var(--ink-muted); line-height: 1.65; margin: 0; }

/* ─────────────────────────────────────────────────────
   FAQ LAYOUT
───────────────────────────────────────────────────── */
.gbp-faq-layout { display: grid; gap: var(--grid-gap-lg); align-items: start; }
@media (min-width: 1024px) { .gbp-faq-layout { grid-template-columns: 300px 1fr; } }

.gbp-faq-sidebar {
  background: var(--primary-light); border: 1px solid rgba(91,71,224,0.15);
  border-radius: var(--r-xl); padding: var(--card-pad);
  position: sticky; top: 100px;
}
.gbp-faq-sidebar h3 { font-size: 18px; font-weight: 800; letter-spacing: -0.015em; color: var(--ink); margin-bottom: var(--space-sm); }
.gbp-faq-sidebar p  { font-size: 14px; color: var(--ink-muted); line-height: 1.72; margin-bottom: var(--space-md); }
.gbp-faq-trust { display: grid; gap: var(--space-sm); margin-top: var(--space-md); }
.gbp-faq-trust-row {
  display: flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 700; color: var(--ink-muted);
}
.gbp-faq-trust-row::before {
  content: '✓'; display: inline-flex; width: 20px; height: 20px;
  align-items: center; justify-content: center; border-radius: 999px;
  background: var(--accent); color: #000; font-size: 11px; font-weight: 900; flex-shrink: 0;
}

/* ─────────────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────────────── */
@media (max-width: 1023px) {
  .gbp-chip-a, .gbp-chip-b, .gbp-chip-c { display: none; }
  .gbp-hero { min-height: auto; padding-bottom: 60px; }
}
@media (max-width: 767px) {
  .gbp-hero { padding-top: 120px; }
  .gbp-hero-copy h1 { font-size: 32px; }
  .gbp-impact-stats { grid-template-columns: 1fr; }
  .gbp-choose-stats { grid-template-columns: 1fr 1fr; }
  .gbp-process-track { grid-template-columns: repeat(2, 1fr); }
  .gbp-faq-sidebar { position: static; }
}
@media (max-width: 479px) {
  .gbp-process-track { grid-template-columns: 1fr; }
  .gbp-industries-grid { grid-template-columns: 1fr 1fr; }
}
