/* ===================================================================
   GREAT LOCAL PROS — REDESIGN 2026-05-25 (PM)
   Modern polish, mobile-first hamburger, responsive comparison cards,
   bigger typography, refined shadows, hero mockup, floating mobile CTA.
   Loads AFTER directory.css to override.
   =================================================================== */

/* ---------- Design tokens (refined) ---------- */
:root {
  --shadow-sm: 0 1px 2px rgba(15,30,60,.04), 0 1px 3px rgba(15,30,60,.06);
  --shadow-md: 0 2px 4px rgba(15,30,60,.04), 0 8px 16px rgba(15,30,60,.06);
  --shadow-lg: 0 8px 16px rgba(15,30,60,.06), 0 24px 48px rgba(15,30,60,.08);
  --shadow-xl: 0 16px 32px rgba(15,30,60,.08), 0 32px 80px rgba(15,30,60,.12);
  --radius-lg: 18px;
  --radius-xl: 24px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ---------- Refined base ---------- */
body { font-feature-settings: "ss01", "ss02"; }
.wrap { max-width: 1200px; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 18px; } }

/* ---------- Sticky header with backdrop blur ---------- */
.site-header {
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(230,234,240,.7);
}
.nav { padding: 12px 0; }
.brand .wm-1, .brand .wm-2 { color: var(--ink); font-weight: 800; }
.brand .brand-mark { width: 30px; height: 30px; }
.nav-links { gap: 28px; }
.nav-links a { font-size: 14.5px; }

/* ---------- HAMBURGER MENU (mobile) ---------- */
.nav-toggle {
  display: none; background: transparent; border: 0; padding: 8px;
  cursor: pointer; color: var(--ink); border-radius: 8px;
}
.nav-toggle svg { width: 26px; height: 26px; }
.nav-toggle:hover { background: var(--brand-soft); }
.nav-toggle:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.mobile-drawer {
  display: none; position: fixed; top: 0; right: 0; width: 88%; max-width: 340px;
  height: 100vh; height: 100dvh; background: #fff; z-index: 100;
  box-shadow: -16px 0 48px rgba(0,0,0,.18);
  transform: translateX(100%); transition: transform .25s var(--ease);
  padding: 20px 24px 32px; overflow-y: auto;
  display: flex; flex-direction: column; gap: 4px;
}
.mobile-drawer-overlay {
  display: none; position: fixed; inset: 0; background: rgba(15,22,38,.55);
  z-index: 99; opacity: 0; transition: opacity .2s var(--ease);
}
.mobile-drawer-close {
  align-self: flex-end; background: transparent; border: 0; padding: 8px;
  cursor: pointer; color: var(--muted); margin: -8px -8px 8px 0;
}
.mobile-drawer-close svg { width: 24px; height: 24px; }
.mobile-drawer a {
  display: block; padding: 14px 12px; color: var(--ink); font-weight: 600;
  font-size: 17px; border-radius: 10px; border-bottom: 1px solid var(--line);
}
.mobile-drawer a:last-of-type { border-bottom: 0; }
.mobile-drawer a:hover { background: var(--brand-soft); color: var(--brand); text-decoration: none; }
.mobile-drawer .btn { margin-top: 18px; padding: 14px 18px; text-align: center; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
}

/* ---------- HERO upgrade ---------- */
.hero-home {
  padding: 56px 0 64px;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(45,106,79,.10) 0%, transparent 60%),
    radial-gradient(800px 400px at -10% 60%, rgba(242,169,59,.06) 0%, transparent 50%),
    linear-gradient(180deg, #fff 0%, #f4f7fc 100%);
  position: relative; overflow: hidden;
}
.hero-home .wrap {
  display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center;
}
.hero-home .meta {
  font-size: 12.5px; padding: 6px 14px; border: 1px solid rgba(45,106,79,.18);
  background: rgba(45,106,79,.08); font-weight: 700;
}
.hero-home h1 {
  font-size: clamp(34px, 5.4vw, 64px) !important;
  line-height: 1.04; letter-spacing: -.025em;
  margin-bottom: 18px; font-weight: 800;
}
.hero-home h1 .hl {
  background: linear-gradient(120deg, var(--brand) 0%, #4a9d7a 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  border-bottom: 0; padding: 0;
}
.hero-home .lede {
  font-size: clamp(17px, 2vw, 21px) !important; max-width: 580px;
  color: var(--ink-2); line-height: 1.55;
}
.hero-home .search-bar {
  border-radius: 14px; box-shadow: var(--shadow-lg);
  border-color: rgba(230,234,240,.8); padding: 6px;
}
.hero-home .search-bar input { font-size: 16.5px; padding: 16px 18px; }
.hero-home .search-bar .btn-primary {
  padding: 14px 26px; font-size: 15.5px; border-radius: 10px; font-weight: 700;
}
.hero-home .search-helper { font-size: 13.5px; color: var(--muted); margin-top: 10px; }
.hero-home .chip { transition: all .15s var(--ease); }
.hero-home .chip:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }

/* Hero visual — stacked browser cards */
.hero-visual { position: relative; min-height: 380px; }
.hero-visual .card-stack {
  position: relative; width: 100%; max-width: 460px; margin: 0 auto;
}
.hero-visual .browser-card {
  background: #fff; border-radius: 14px; box-shadow: var(--shadow-xl);
  border: 1px solid var(--line); overflow: hidden;
}
.hero-visual .browser-bar {
  display: flex; align-items: center; gap: 8px; padding: 11px 14px;
  background: linear-gradient(180deg, #fafbfc, #f3f5f9); border-bottom: 1px solid var(--line);
}
.hero-visual .browser-dots { display: flex; gap: 5px; }
.hero-visual .browser-dots span { width: 9px; height: 9px; border-radius: 50%; }
.hero-visual .browser-dots span:nth-child(1) { background: #ff6157; }
.hero-visual .browser-dots span:nth-child(2) { background: #ffbd2e; }
.hero-visual .browser-dots span:nth-child(3) { background: #27c93f; }
.hero-visual .browser-url {
  flex: 1; font-size: 11.5px; color: var(--muted); padding: 4px 10px;
  background: #fff; border-radius: 5px; border: 1px solid var(--line);
  font-family: ui-monospace,Menlo,monospace;
}
.hero-visual .browser-body { padding: 16px 18px; }
.hero-visual .bb-title { font-size: 17px; font-weight: 700; margin: 4px 0 10px; color: var(--ink); }
.hero-visual .bb-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0; border-top: 1px solid var(--line); font-size: 13px;
}
.hero-visual .bb-row strong { color: var(--ink); font-weight: 600; }
.hero-visual .bb-row .ph { color: var(--brand); font-weight: 700; font-size: 12.5px; }
.hero-visual .bb-pill {
  display: inline-block; padding: 3px 8px; background: var(--brand-soft);
  color: var(--brand); border-radius: 999px; font-size: 10.5px; font-weight: 700;
  margin-bottom: 8px;
}
.hero-visual .card-back {
  position: absolute; top: -22px; right: -14px; width: 78%;
  transform: rotate(4deg); opacity: .55; z-index: 0; filter: blur(.5px);
}
.hero-visual .card-front { position: relative; z-index: 1; }
.hero-visual .floating-badge {
  position: absolute; bottom: -16px; left: -16px; background: #1a2233; color: #fff;
  padding: 10px 16px; border-radius: 12px; font-size: 13px; font-weight: 700;
  box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 8px;
  z-index: 2;
}
.hero-visual .floating-badge .dot { width: 8px; height: 8px; background: #27c93f; border-radius: 50%; box-shadow: 0 0 0 4px rgba(39,201,63,.2); animation: pulse 2s infinite; }
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(39,201,63,.4); }
  50% { box-shadow: 0 0 0 6px rgba(39,201,63,.0); }
}
@media (max-width: 900px) {
  .hero-home .wrap { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual { min-height: 320px; max-width: 420px; margin: 0 auto; }
}

/* ---------- TRUST STRIP — bigger numbers ---------- */
.trust-strip { padding: 24px 0; }
.trust-strip .wrap { gap: 18px; }
.ts-item strong { font-size: 28px; font-weight: 800; letter-spacing: -.5px; }
.ts-item span { font-size: 11.5px; letter-spacing: .8px; opacity: .9; }
@media (max-width: 720px) {
  .trust-strip { padding: 20px 0; }
  .trust-strip .wrap { grid-template-columns: repeat(3, 1fr) !important; }
  .ts-item:nth-child(4), .ts-item:nth-child(5) { grid-column: auto; }
  .ts-item:nth-child(4) { grid-column: 1 / 3; }
  .ts-item:nth-child(5) { grid-column: 3 / 4; }
  .ts-item strong { font-size: 22px; }
  .ts-item span { font-size: 10.5px; }
}

/* ---------- SECTIONS rhythm ---------- */
section { padding: 72px 0; }
section h2 {
  font-size: clamp(26px, 3.6vw, 38px) !important; letter-spacing: -.02em;
  line-height: 1.15; margin-bottom: 12px;
}
section .sec-lede { font-size: 17.5px; line-height: 1.6; max-width: 700px; }
@media (max-width: 720px) { section { padding: 56px 0; } }

/* ---------- PREVIEW band cards ---------- */
.preview-band { padding: 72px 0; background: #fff; }
.preview-grid { gap: 20px; }
.city-preview {
  padding: 24px 22px; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); transition: all .2s var(--ease);
}
.city-preview:hover {
  box-shadow: var(--shadow-lg); border-color: var(--brand); transform: translateY(-4px);
}
.city-preview.live {
  background: linear-gradient(165deg, var(--brand-soft) 0%, #fff 70%);
  border: 1px solid rgba(45,106,79,.25);
}
.city-preview h3 { font-size: 19px; margin: 10px 0 8px; line-height: 1.25; }
.cp-desc { font-size: 13.5px; line-height: 1.6; min-height: 60px; }
.cp-badge { font-size: 10.5px; padding: 5px 11px; letter-spacing: .5px; }
.cp-cta { font-size: 14px; }

/* ---------- HOW 2-COL cards (refined) ---------- */
.how-2col { background: linear-gradient(180deg, #f6f8fb 0%, #eef2f7 100%); }
.how-card {
  padding: 32px 30px; border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  border: 1px solid var(--line); transition: all .2s var(--ease);
}
.how-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.how-card h3 { font-size: 24px !important; line-height: 1.22; margin: 14px 0 18px !important; letter-spacing: -.015em; }
.how-card ol { padding-left: 24px; font-size: 16px; }
.how-card ol li { padding: 6px 0; }
.how-tag { font-size: 11.5px; padding: 5px 11px; letter-spacing: .6px; }

/* ---------- VS-4 — responsive cards on mobile ---------- */
.vs-4 { background: #fff; }
.vs-table-4 { font-size: 15px; }
.vs-table-4 thead th { padding: 16px 14px; font-size: 14.5px; }
.vs-table-4 thead th.us { font-size: 15px; }
.vs-table-4 tbody td { padding: 14px 14px; font-size: 14.5px; }
.vs-table-4 td.us { font-weight: 600; }
.vs-foot { font-size: 15px; margin-top: 22px; padding: 16px 20px; background: #f6f8fb; border-radius: 10px; border-left: 4px solid var(--brand); }
.vs-foot strong { color: var(--brand); }

/* mobile vs cards — hidden by default, shown <760 */
.vs-cards { display: none; }
@media (max-width: 760px) {
  .vs-4-wrap { display: none; }
  .vs-cards {
    display: grid; gap: 16px; margin-top: 22px;
  }
  .vs-card-row {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm); overflow: hidden;
  }
  .vs-card-row .vs-feat {
    padding: 12px 18px; background: linear-gradient(180deg, #f6f8fb, #eef2f7);
    font-weight: 700; color: var(--ink); border-bottom: 1px solid var(--line);
  }
  .vs-card-row .vs-comp { display: grid; grid-template-columns: 1.2fr 1fr; }
  .vs-card-row .vs-comp > div { padding: 14px 18px; font-size: 14px; }
  .vs-card-row .vs-comp .us-cell {
    background: var(--brand-soft); color: var(--ink); font-weight: 600;
    border-right: 1px solid var(--line);
  }
  .vs-card-row .vs-comp .them-cell { color: var(--ink-2); font-size: 13.5px; line-height: 1.45; }
  .vs-card-row .vs-comp .label {
    font-size: 10.5px; font-weight: 700; color: var(--muted);
    text-transform: uppercase; letter-spacing: .6px; margin-bottom: 4px; display: block;
  }
  .vs-card-row .vs-comp .us-cell .label { color: var(--brand); }
}

/* ---------- TRUST BLOCK (promises) ---------- */
.trust-block { padding: 72px 0; background: linear-gradient(180deg, #fff 0%, #f4f7fc 100%); }
.trust-card { padding: 30px 28px; box-shadow: var(--shadow-md); border-radius: var(--radius-lg); }
.trust-card h3 { font-size: 20px !important; }
.trust-card ol { font-size: 15.5px; }
.trust-method { padding: 30px 30px; box-shadow: var(--shadow-md); border-radius: var(--radius-lg); }
.trust-method h3 { font-size: 20px; }
.trust-method-grid h4 { font-size: 16.5px; }
.trust-foot { font-size: 15.5px; padding: 20px 24px; border-radius: var(--radius-lg); }

/* ---------- FOMO band ---------- */
.fomo-band {
  background:
    radial-gradient(800px 400px at 80% 100%, rgba(255,209,102,.15) 0%, transparent 60%),
    linear-gradient(135deg, #134333 0%, #1d4d3a 50%, #2d6a4f 100%);
  padding: 72px 0;
}
.fomo-band h2 { font-size: clamp(28px, 4vw, 42px) !important; }
.fomo-flag { padding: 6px 14px; font-size: 11.5px; letter-spacing: .7px; }
.fomo-bullets li { font-size: 16px; padding: 8px 0; }
.fomo-num strong { font-size: 44px; }
.fomo-num span { font-size: 11.5px; }

/* ---------- BENEFITS ---------- */
.benefits { background: #fff; padding: 80px 0; }
.benefit-grid { gap: 16px; }
.benefit-item {
  padding: 24px; background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  transition: all .2s var(--ease);
}
.benefit-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--brand); }
.benefit-item h4 { font-size: 16.5px; margin-bottom: 10px; font-weight: 700; }
.benefit-item p { font-size: 14.5px; line-height: 1.6; }

/* ---------- OWNER CTA (refined) ---------- */
.owner-cta {
  background:
    radial-gradient(600px 300px at 0% 100%, rgba(242,169,59,.15) 0%, transparent 60%),
    linear-gradient(135deg, #0e2645 0%, #1a3a6e 100%);
  padding: 48px; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg);
}
.owner-cta h2 { font-size: clamp(26px, 3.4vw, 34px) !important; }
.owner-cta p { font-size: 16.5px; line-height: 1.6; }

/* ---------- STORY ---------- */
.story { padding: 80px 0; background: linear-gradient(180deg, #f4f7fc 0%, #fff 100%); }
.story h2 { font-size: clamp(28px, 4vw, 40px) !important; }
.story p { font-size: 18px; line-height: 1.7; }
.story .meta { font-size: 12.5px; padding: 6px 14px; }

/* ---------- POPULAR CATEGORIES ---------- */
.cat-card { padding: 26px 24px; }
.cat-card h3 { font-size: 18.5px; }
.cat-card p { font-size: 14px; }
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

/* ---------- STATES GRID ---------- */
.city-list a {
  padding: 10px 12px; background: transparent; border-radius: 8px;
  transition: all .15s var(--ease);
}
.city-list a:hover { background: var(--brand-soft); color: var(--brand); text-decoration: none; }
.city-list a strong { display: block; font-size: 15px; }
.city-list a .pop { font-size: 12px; margin-left: 0; }

/* ---------- FAQ refined ---------- */
.faq { padding: 72px 0; background: #fff; }
.faq details { box-shadow: var(--shadow-sm); border-radius: var(--radius-lg); margin-bottom: 12px; transition: all .15s var(--ease); }
.faq details:hover { box-shadow: var(--shadow-md); }
.faq summary { padding: 20px 24px; font-size: 16.5px; }
.faq summary::after { font-size: 26px; line-height: 1; }
.faq .ans { padding: 0 24px 22px; font-size: 15.5px; line-height: 1.7; }

/* ---------- FLOATING MOBILE CTA ---------- */
.floating-cta {
  display: none; position: fixed; bottom: 18px; right: 18px; z-index: 60;
  background: var(--brand); color: #fff; padding: 14px 22px;
  border-radius: 999px; font-weight: 700; font-size: 15px;
  box-shadow: 0 8px 24px rgba(45,106,79,.4), 0 2px 6px rgba(45,106,79,.3);
  text-decoration: none; display: none; gap: 8px; align-items: center;
  transform: translateY(120%); transition: transform .25s var(--ease);
}
.floating-cta:hover { background: var(--brand-2); color: #fff; text-decoration: none; }
.floating-cta .arrow { font-size: 18px; line-height: 1; }
@media (max-width: 760px) {
  .floating-cta { display: inline-flex; }
}

/* ---------- FOOTER refined ---------- */
.site-footer {
  background:
    radial-gradient(1000px 500px at 80% 0%, rgba(45,106,79,.18) 0%, transparent 60%),
    linear-gradient(180deg, #0b1320 0%, #0f1626 100%);
  padding: 56px 0 32px;
}
.site-footer h5 { font-size: 12px; letter-spacing: .12em; opacity: .8; }
.foot-grid a { font-size: 13.5px; }
.foot-bottom { font-size: 12.5px; padding-top: 24px; opacity: .85; }

/* ---------- Subtle scroll-in animation ---------- */
@media (prefers-reduced-motion: no-preference) {
  .city-preview, .how-card, .benefit-item, .cat-card, .trust-card, .vs-card-row {
    opacity: 0; transform: translateY(12px);
    animation: fadeUp .5s var(--ease) forwards;
  }
  @keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
  .city-preview:nth-child(1) { animation-delay: 0s; }
  .city-preview:nth-child(2) { animation-delay: .06s; }
  .city-preview:nth-child(3) { animation-delay: .12s; }
  .city-preview:nth-child(4) { animation-delay: .18s; }
  .how-card:nth-child(1) { animation-delay: 0s; }
  .how-card:nth-child(2) { animation-delay: .08s; }
  .benefit-item:nth-child(n) { animation-duration: .4s; }
}

/* ---------- Focus visibility (accessibility) ---------- */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px;
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; top: -40px; left: 12px; background: var(--brand);
  color: #fff; padding: 10px 16px; border-radius: 6px; z-index: 200;
  font-weight: 600;
}
.skip-link:focus { top: 12px; }
