/* ============================================================
   URBANCE HERO — Premium cinematic, left-content layout
   ============================================================ */

/* ─────────────────────────────────────────────────────────────
   SECTION
───────────────────────────────────────────────────────────── */
.urbhero {
  position: relative;
  width: 100%;
  height: 850px;
  overflow: hidden;
  background: #08090f;
  /* Sits directly below the fixed navbar */
}

/* ─────────────────────────────────────────────────────────────
   BACKGROUND LAYER
───────────────────────────────────────────────────────────── */
.urbhero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.urbhero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  display: block;
}

/* The overlay: strong dark on left (readable text zone),
   fades to near-transparent on the right (image shows) */
.urbhero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      105deg,
      rgba(10, 18, 60, 0.96)  0%,
      rgba(15, 30, 80, 0.88) 28%,
      rgba(20, 50, 120, 0.55) 50%,
      rgba(30, 60, 140, 0.15) 70%,
      rgba(30, 60, 140, 0.00) 100%
    ),
    /* subtle bottom vignette */
    linear-gradient(
      to top,
      rgba(10, 18, 60, 0.45) 0%,
      transparent 28%
    );
  pointer-events: none;
}

/* ─────────────────────────────────────────────────────────────
   CONTAINER — mirrors the page's standard max-width
───────────────────────────────────────────────────────────── */
.urbhero__container {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  /* Same side padding as every other section on the page */
  padding: 0 clamp(24px, 6vw, 100px);
  padding-top: 72px; /* clears the fixed navbar (~56px pill + 16px gap) */
  max-width: 1400px;
  margin: 0 auto;
  left: 0; right: 0;
}

/* ─────────────────────────────────────────────────────────────
   CONTENT BLOCK — left half only
───────────────────────────────────────────────────────────── */
.urbhero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /* Cap at ~50% of viewport so image breathes on the right */
  max-width: min(560px, 50vw);
  width: 100%;
  gap: 0;
}

/* ─────────────────────────────────────────────────────────────
   LIVE BADGE
───────────────────────────────────────────────────────────── */
.urbhero__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(10, 20, 14, 0.75);
  border: 1px solid rgba(34, 197, 94, 0.45);
  border-radius: 100px;
  padding: 5px 13px 5px 9px;
  font-size: 12px;
  font-weight: 600;
  color: #4ade80;
  letter-spacing: 0.1px;
  margin-bottom: 24px;
}

.urbhero__badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.25);
  animation: urb-pulse 1.8s ease-in-out infinite;
}

@keyframes urb-pulse {
  0%, 100% { box-shadow: 0 0 0 2px rgba(34,197,94,0.25); }
  50%       { box-shadow: 0 0 0 5px rgba(34,197,94,0.08); }
}

/* ─────────────────────────────────────────────────────────────
   HEADLINE
───────────────────────────────────────────────────────────── */
.urbhero__headline {
  font-family: 'Inter Tight', -apple-system, BlinkMacSystemFont, 'SF Pro Display', system-ui, sans-serif;
  font-size: clamp(44px, 4.6vw, 72px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -2.5px;
  color: #ffffff;
  margin: 0 0 18px;
  /* Subtle text shadow to lift it off any edge case */
  text-shadow: 0 2px 32px rgba(0, 0, 0, 0.45);
}

.urbhero__headline-accent {
  color: #2F80ED;
  display: block;
}

/* ─────────────────────────────────────────────────────────────
   SUB
───────────────────────────────────────────────────────────── */
.urbhero__sub {
  font-size: 17px;
  line-height: 1.65;
  color: rgba(210, 225, 255, 0.80);
  margin: 0 0 32px;
  font-weight: 400;
  max-width: 400px;
}

/* ─────────────────────────────────────────────────────────────
   CTA BUTTONS
───────────────────────────────────────────────────────────── */
.urbhero__ctas {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.urbhero__btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #2F80ED;
  color: #fff;
  font-size: 15.5px;
  font-weight: 700;
  padding: 15px 28px;
  border-radius: 12px;
  text-decoration: none;
  letter-spacing: 0.1px;
  transition: background 0.18s, transform 0.15s, box-shadow 0.18s;
  box-shadow: 0 4px 20px rgba(47, 128, 237, 0.48), 0 1px 4px rgba(0,0,0,0.20);
  white-space: nowrap;
}

.urbhero__btn-primary:hover {
  background: #1a6fd4;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(47, 128, 237, 0.58), 0 2px 8px rgba(0,0,0,0.22);
  color: #fff;
  text-decoration: none;
}

.urbhero__btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.09);
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  color: rgba(235, 242, 255, 0.92);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 24px;
  border-radius: 12px;
  text-decoration: none;
  transition: background 0.18s, border-color 0.18s, transform 0.15s;
  white-space: nowrap;
  backdrop-filter: blur(8px);
}

.urbhero__btn-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.40);
  color: #fff;
  transform: translateY(-2px);
  text-decoration: none;
}

/* ─────────────────────────────────────────────────────────────
   TRUST CHIPS
───────────────────────────────────────────────────────────── */
.urbhero__chips {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.urbhero__chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 100px;
  padding: 5px 12px 5px 9px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(215, 230, 255, 0.80);
  white-space: nowrap;
  backdrop-filter: blur(8px);
}

.urbhero__chip svg {
  flex-shrink: 0;
  stroke: rgba(165, 200, 255, 0.75);
}

/* ─────────────────────────────────────────────────────────────
   SOCIAL PROOF ROW
───────────────────────────────────────────────────────────── */
.urbhero__proof {
  display: flex;
  align-items: center;
  gap: 12px;
}

.urbhero__avatars {
  display: flex;
  flex-direction: row-reverse;
}

.urbhero__av {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.30);
  margin-left: -9px;
  display: block;
  flex-shrink: 0;
}

.urbhero__av:last-child {
  margin-left: 0;
}

.urbhero__proof-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.urbhero__stars {
  font-size: 13px;
  color: #fbbf24;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.urbhero__stars strong {
  color: #fff;
  font-size: 13px;
  letter-spacing: 0;
}

.urbhero__proof-label {
  font-size: 11.5px;
  color: rgba(200, 218, 255, 0.55);
  font-weight: 500;
}

/* ─────────────────────────────────────────────────────────────
   MOBILE  ≤ 768px  — cinematic full-screen poster
   Inspired by Airbnb / Apple — bottom-aligned glass card
───────────────────────────────────────────────────────────── */
@media (max-width: 768px) {

  /* ═══════════════════════════════════════════════════════════
     MOBILE HERO — Full-bleed immersive poster
     Layout: badge+headline at top · sub+CTA+proof at bottom
  ═══════════════════════════════════════════════════════════ */

  .urbhero {
    height: 100svh;
    min-height: 660px;
    max-height: 920px;
    display: block;
    position: relative;
    overflow: hidden;
  }

  /* Background image fills screen */
  .urbhero__bg {
    position: absolute;
    inset: 0;
    height: 100%;
  }

  .urbhero__img {
    object-position: 60% center;
    transform: scale(1.02); /* slight scale to avoid edge crop on notched phones */
  }

  /* ── Scrim: cinematic vignette ────────────────────────────
     Top-left tint keeps headline crisp.
     Bottom zone darkens for CTA legibility.
     Subtle left edge helps text pop on busy photos.          */
  .urbhero__overlay {
    background:
      /* Top band — headline area */
      linear-gradient(
        160deg,
        rgba(6, 10, 26, 0.88) 0%,
        rgba(6, 10, 26, 0.62) 28%,
        rgba(6, 10, 26, 0.08) 52%,
        transparent 64%
      ),
      /* Bottom band — CTA zone + sub text area */
      linear-gradient(
        to top,
        rgba(5, 7, 18, 0.99) 0%,
        rgba(6, 10, 26, 0.96) 18%,
        rgba(6, 10, 26, 0.82) 34%,
        rgba(6, 10, 26, 0.55) 48%,
        transparent 62%
      ),
      /* Left edge vignette — text contrast aid */
      linear-gradient(
        to right,
        rgba(6, 10, 26, 0.40) 0%,
        transparent 50%
      );
  }

  /* ── Full-screen column layout ────────────────────────── */
  .urbhero__container {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: stretch;
    padding: 0;
    margin: 0;
    max-width: 100%;
    left: 0; right: 0;
  }

  .urbhero__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    width: 100%;
    max-width: 100%;
    height: 100%;
    justify-content: space-between;
    padding: 0 24px;
    padding-top: max(72px, env(safe-area-inset-top, 60px));
    padding-bottom: max(36px, env(safe-area-inset-bottom, 28px));
    gap: 0;
    box-sizing: border-box;
  }

  /* ── Top zone: badge + headline ───────────────────────── */
  .urbhero__top-group {
    display: flex;
    flex-direction: column;
    gap: 0;
    flex-shrink: 0;
  }

  /* Live badge — compact pill */
  .urbhero__badge {
    position: relative;
    align-self: flex-start;
    margin: 0 0 16px 0;
    padding: 6px 13px 6px 10px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.3px;
    background: rgba(5, 7, 18, 0.55);
    border: 1px solid rgba(34, 197, 94, 0.45);
    border-radius: 100px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.30), inset 0 1px 0 rgba(255,255,255,0.06);
    z-index: 5;
  }

  /* Headline — large, tight, impactful */
  .urbhero__headline {
    font-family: 'Inter Tight', -apple-system, 'SF Pro Display', system-ui, sans-serif;
    font-size: 56px;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.06;
    color: #ffffff;
    margin: 0;
    text-shadow:
      0 2px 24px rgba(0, 0, 0, 0.65),
      0 1px 4px rgba(0, 0, 0, 0.40);
    align-self: flex-start;
  }

  /* Accent — vivid electric blue with glow halo */
  .urbhero__headline-accent {
    color: #60b4ff;
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: #60b4ff;
    background-clip: unset;
    text-shadow:
      0 0 40px rgba(96, 180, 255, 0.65),
      0 0 12px rgba(96, 180, 255, 0.35),
      0 2px 16px rgba(0, 0, 0, 0.50);
  }

  /* ── Bottom zone: sub + CTA card + proof ──────────────── */
  .urbhero__bottom-group {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    flex-shrink: 0;
  }

  /* Subheadline — readable, warm-white */
  .urbhero__sub {
    display: block;
    font-size: 15.5px;
    line-height: 1.62;
    color: rgba(245, 250, 255, 0.97);
    margin: 0 0 22px 0;
    max-width: min(330px, 86%);
    font-weight: 500;
    letter-spacing: 0.01em;
    text-shadow:
      0 1px 0 rgba(0, 0, 0, 0.80),
      0 2px 12px rgba(0, 0, 0, 0.90),
      0 4px 28px rgba(0, 0, 0, 0.70);
  }

  /* ── CTA buttons — stacked, full-width ─────────────────── */
  .urbhero__ctas {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 100%;
    margin: 0 0 20px 0;
    padding: 16px;
    background: rgba(8, 10, 24, 0.45);
    backdrop-filter: blur(28px) saturate(160%);
    -webkit-backdrop-filter: blur(28px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 20px;
    box-shadow:
      0 8px 32px rgba(0, 0, 0, 0.35),
      inset 0 1px 0 rgba(255, 255, 255, 0.07);
    box-sizing: border-box;
  }

  .urbhero__ctas::before {
    display: none;
    content: none;
  }

  /* Primary CTA — bold, blue, glowing */
  .urbhero__btn-primary {
    width: 100%;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    padding: 17px 24px;
    border-radius: 13px;
    margin-bottom: 0;
    background: linear-gradient(135deg, #3b8ef0 0%, #2563eb 100%);
    box-shadow:
      0 4px 24px rgba(47, 128, 237, 0.55),
      0 1px 4px rgba(0, 0, 0, 0.30),
      inset 0 1px 0 rgba(255, 255, 255, 0.18);
    letter-spacing: 0.15px;
    color: #ffffff;
    border: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
  }

  .urbhero__btn-primary:active {
    transform: scale(0.98);
    box-shadow:
      0 2px 12px rgba(47, 128, 237, 0.45),
      0 1px 3px rgba(0, 0, 0, 0.30);
  }

  /* Secondary CTA — ghost, frosted */
  .urbhero__btn-secondary {
    width: 100%;
    justify-content: center;
    font-size: 14.5px;
    font-weight: 600;
    padding: 13px 20px;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: rgba(210, 226, 255, 0.88);
    margin-bottom: 0;
    letter-spacing: 0.1px;
    transition: background 0.15s ease;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .urbhero__btn-secondary:active {
    background: rgba(255, 255, 255, 0.12);
  }

  /* ── Proof bar — avatars + rating ─────────────────────── */
  .urbhero__proof {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-start;
    border-top: none;
    padding-top: 0;
    margin-bottom: 0;
  }

  .urbhero__avatars {
    display: flex;
    flex-direction: row;
  }

  .urbhero__av {
    width: 28px;
    height: 28px;
    margin-left: -8px;
    border: 1.5px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
  }

  .urbhero__avatars .urbhero__av:first-child {
    margin-left: 0;
  }

  .urbhero__proof-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
  }

  .urbhero__stars {
    font-size: 11.5px;
    letter-spacing: 0.5px;
    color: #fbbf24;
    line-height: 1.2;
  }

  .urbhero__stars strong {
    color: #fff;
    font-weight: 700;
  }

  .urbhero__proof-label {
    font-size: 10.5px;
    color: rgba(200, 218, 255, 0.52);
    font-weight: 500;
    letter-spacing: 0.2px;
    line-height: 1.2;
  }

  /* ── Trust chips — hidden on mobile (clutter) ──────────── */
  .urbhero__chips {
    display: none;
  }

  /* Hide desktop break */
  .urbhero__br-desk { display: none; }

}

/* ─────────────────────────────────────────────────────────────
   TABLET  769px – 1100px
───────────────────────────────────────────────────────────── */
@media (min-width: 769px) and (max-width: 1100px) {

  .urbhero {
    height: 750px;
  }

  .urbhero__content {
    max-width: min(480px, 52vw);
  }

  .urbhero__headline {
    font-size: 52px;
    letter-spacing: -2px;
  }
}

/* ─────────────────────────────────────────────────────────────
   LEGACY CLASS KILL-SWITCH
   (old hgc-*, h-*, hero-new etc. from previous iterations)
───────────────────────────────────────────────────────────── */
.hero-new, .hero-card-new, .hero-glass-card, .hero-content,
.hero-content-inner, .hero-container-new, .hero-bg-image,
.hgc-live-row, .hgc-headline, .hgc-sub, .hgc-ctas,
.hgc-btn-primary, .hgc-btn-ghost, .hgc-rule, .hgc-footer-row,
.hgc-proof, .hgc-avatars, .hgc-av, .hgc-proof-text,
.hgc-stars, .hgc-chips, .hgc-chip,
.hero-badge-new, .hero-headline-new, .hero-sub-new,
.hero-ctas-new, .hero-btn-primary, .hero-btn-secondary,
.hero-proof-new, .hero-trust-strip-new,
.hgc-top, .hgc-mid, .hgc-bottom,
.h-badge, .h-headline, .h-sub, .h-ctas,
.h-btn-primary, .h-btn-ghost, .h-proof, .h-avatars,
.h-av, .h-proof-text, .h-stars, .h-proof-label { display: none !important; }
