/* ==========================================================
   Google Maps First Rank SEO - HERO VISUAL ONLY
   ----------------------------------------------------------
   Loaded ONLY by google-maps-first-rank-seo.php.

   This is NOT the full google-maps-seo.css file. It contains
   only the exact rules the hero markup uses (copied verbatim,
   byte-for-byte, from google-maps-seo.css) so the hero renders
   identically to the reference page without pulling in any of
   that file's other ~140 unrelated rules (.grs-frame,
   .grs-terminal, .grs-check-*, etc.) that this page never uses
   and that could otherwise collide with assets/css/seo-visuals.css.

   Every selector below is copied from assets/css/google-maps-seo.css.
   ========================================================== */

@keyframes grsFloatA { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes grsRise   { 0% { transform: translateY(16px); opacity: 0; } 100% { transform: translateY(0); opacity: 1; } }

/* ---- shared visual outer wrapper ---- */
.grs-visual {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 100%;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-sizing: border-box;
}

/* ---- map scene with pins + business list ---- */
.grs-map-scene {
  width: 100%;
  max-width: 560px;
  border-radius: 1.1rem;
  overflow: hidden;
  border: 1px solid #E6ECF5;
  box-shadow: 0 12px 30px -14px rgba(17, 24, 39, .1);
  background: #fff;
  animation: grsFloatA 6s ease-in-out infinite;
}

.grs-map-canvas {
  position: relative;
  height: clamp(170px, 26vw, 230px);
  background: #EAF0FB;
  overflow: hidden;
}

.grs-map-search {
  position: absolute;
  top: .6rem;
  left: .6rem;
  right: .6rem;
  display: flex;
  align-items: center;
  gap: .4rem;
  background: #fff;
  border-radius: 9999px;
  padding: .5rem .8rem;
  box-shadow: 0 8px 20px -10px rgba(17, 24, 39, .25);
  z-index: 2;
}

.grs-map-search span { font: 600 12px/1 'Inter', sans-serif; color: #475569; }

.grs-map-pin {
  position: absolute;
  transform: translate(-50%, -100%);
  animation: grsFloatA 3.2s ease-in-out infinite;
}

.grs-map-pin-dot {
  width: 28px;
  height: 28px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px -4px rgba(0, 0, 0, .35);
}

.grs-map-pin-dot i { transform: rotate(45deg); width: 14px; height: 14px; color: #fff; }

.grs-map-list { padding: 1rem 1.2rem 1.3rem; }

.grs-biz-row {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .7rem .85rem;
  border-radius: .8rem;
  margin-bottom: .55rem;
  animation: grsRise .5s ease-out both;
}

.grs-biz-row.is-top      { background: rgba(16, 185, 129, .08); border: 1px solid rgba(16, 185, 129, .25); }
.grs-biz-row:not(.is-top) { background: #FAFBFF; }

.grs-biz-rank {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: .5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font: 800 11px/1 'Inter', monospace;
  color: #fff;
}

.grs-biz-name { font: 700 14px/1.2 'Inter', sans-serif; color: #111827; }
.grs-biz-meta { font: 600 12px/1.3 'Inter', sans-serif; color: #475569; margin-top: .15rem; }
.grs-stars    { color: #F59E0B; font-size: 11px; letter-spacing: 1px; }

/* ---- responsive (copied verbatim) ---- */
@media (max-width: 480px) {
  .grs-visual     { min-height: 240px; padding: .85rem; }
  .grs-map-canvas { height: 150px; }
}

@media (prefers-reduced-motion: reduce) {
  .grs-visual * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}

/* ==========================================================
   STAT BAND - trust proof strip below the hero
   ----------------------------------------------------------
   Four counters (Clients / 1st Page Rank / 1st Rank Results /
   Years of Experience), driven by the site's existing
   .vf-counter engine already loaded via ranking-service.js.
   No new JS required.

   Kept deliberately tight -a proof strip, not a section. On
   luxury/SaaS sites (Stripe, Linear, Vercel) this pattern runs
   ~110-150px tall on desktop; it should read in one glance
   while scrolling, not stop the scroll.
   ========================================================== */

.stat-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 160% at 12% -20%, rgba(106, 88, 228, .32), transparent 55%),
    radial-gradient(110% 150% at 92% 130%, rgba(40, 168, 217, .24), transparent 55%),
    linear-gradient(160deg, #0B0F19 0%, #0E1220 55%, #0A0D17 100%);
}

.stat-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(85% 100% at 50% 50%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(85% 100% at 50% 50%, #000 40%, transparent 100%);
  pointer-events: none;
}

.stat-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat-cell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .85rem;
  text-align: left;
  padding: 1.9rem 1rem;
  opacity: 0;
  transform: translate3d(0, 10px, 0);
  transition: opacity .6s cubic-bezier(.2, .8, .2, 1), transform .6s cubic-bezier(.2, .8, .2, 1);
}

.stat-cell.is-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.stat-cell + .stat-cell::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22%;
  bottom: 22%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .14), transparent);
}

.stat-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(106, 88, 228, .22), rgba(40, 168, 217, .14));
  border: 1px solid rgba(255, 255, 255, .14);
  color: #C9C3FF;
}

.stat-icon svg { width: 1.05rem; height: 1.05rem; }

.stat-text { min-width: 0; }

.stat-value {
  display: flex;
  align-items: baseline;
  gap: .15rem;
  font-family: 'Outfit', 'Inter', sans-serif;
  font-weight: 800;
  font-size: clamp(1.5rem, 2.2vw, 1.85rem);
  line-height: 1;
  letter-spacing: -.01em;
  background: linear-gradient(135deg, #FFFFFF 0%, #E4E1FF 55%, #B9C6FF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-value .vf-counter { -webkit-background-clip: text; background-clip: text; color: transparent; }

.stat-label {
  margin-top: .2rem;
  font-family: 'Inter', ui-monospace, monospace;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(226, 229, 245, .58);
  white-space: nowrap;
}

@media (max-width: 1023px) {
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-cell + .stat-cell::before { display: none; }
  .stat-cell:nth-child(odd)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 22%;
    bottom: 22%;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .14), transparent);
  }
  .stat-cell:nth-child(1),
  .stat-cell:nth-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }
}

@media (max-width: 639px) {
  /* Two-up, not one-per-row -a single column of four full-width rows is
     what made this section tall on phones. Two columns keeps it compact. */
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-cell {
    flex-direction: column;
    text-align: center;
    gap: .55rem;
    padding: 1.4rem .6rem;
  }
  .stat-icon { width: 2rem; height: 2rem; }
  .stat-icon svg { width: .9rem; height: .9rem; }
  .stat-value { font-size: 1.3rem; justify-content: center; }
  .stat-label { font-size: 0.625rem; white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  .stat-cell { transition: none; opacity: 1; transform: none; }
}

/* ==========================================================
   HERO - full viewport height, responsive
   ========================================================== */
.hero-screen {
  min-height: 100svh;
  display: flex;
  align-items: center;
}

@media (max-width: 1023px) {
  .hero-screen {
    min-height: auto;
    padding-top: clamp(2.5rem, 8vw, 4rem);
    padding-bottom: clamp(2.5rem, 8vw, 4rem);
  }
}

@supports not (min-height: 100svh) {
  .hero-screen { min-height: 100vh; }
}