/* ==========================================================================
   Mobile Mechanic Near Me — Online Directory
   Floating glass header, cinematic hero, navy title bands, curved section
   edges, two-tone pricing, display typography, motion.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@600;700;800&family=Mulish:ital,wght@0,400;0,600;0,700;0,800;1,400&family=Oswald:wght@500&display=swap');

:root {
  --blue:        #14A0DE;
  --blue-dark:   #0E86BC;
  --blue-deep:   #0B6F9E;
  --blue-tint:   #E6F5FC;
  --blue-glow:   #7FD4FF;
  --navy:        #203A72;
  --navy-deep:   #16295A;
  --ink:         #14213D;
  --text:        #2A3441;
  --muted:       #5F6B7A;
  --line:        #E3E8EE;
  --offwhite:    #F5F7FA;
  --white:       #FFFFFF;
  --gold:        #F5B301;
  --text-muted:  var(--muted);

  --font:         'Mulish', 'Nunito Sans', 'Segoe UI', Arial, sans-serif;
  --font-display: 'Plus Jakarta Sans', 'Mulish', 'Segoe UI', Arial, sans-serif;
  --fw-body: 400; --fw-semi: 600; --fw-bold: 700; --fw-heavy: 800;

  --container: 1040px;
  --header-h: 76px;
  --header-gap: 14px;
  --header-offset: calc(var(--header-h) + var(--header-gap));

  --r-sm: 8px; --r: 14px; --r-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(16,24,40,.05), 0 2px 6px rgba(16,24,40,.06);
  --shadow:    0 10px 30px rgba(16,24,40,.10);
  --shadow-lg: 0 26px 60px rgba(16,24,40,.16);
  --shadow-blue: 0 10px 24px rgba(20,160,222,.32);
  --ease: cubic-bezier(.2,.7,.2,1);

  --pin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.3 7 13 7 13s7-7.7 7-13a7 7 0 0 0-7-7zm0 9.5a2.5 2.5 0 1 1 0-5 2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E");
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; color-scheme: light; }
/* dropdown lists stay dark-on-white even when the phone is in dark mode */
select option { background: #FFFFFF; color: #1B2433; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  animation: pageIn .5s ease both;
}
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }
img { max-width: 100%; height: auto; display: block; border: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: var(--fw-heavy);
  margin: 0;
  line-height: 1.15;
  color: var(--ink);
  letter-spacing: -0.025em;
  text-wrap: balance;
}
p { margin: 0 0 1em; text-wrap: pretty; }
/* no single words stranded on the last line of a heading or button */
.btn, button, .section-title, .tag, label { text-wrap: balance; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: rgba(20,160,222,.25); }
:focus-visible { outline: 3px solid rgba(20,160,222,.5); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.rule {
  width: 56px; height: 5px; border-radius: 3px;
  background: linear-gradient(90deg, var(--navy), var(--blue));
  margin-bottom: 18px;
}
.rule--white { background: linear-gradient(90deg, #fff, rgba(255,255,255,.55)); }
.rule--center { margin-left: auto; margin-right: auto; }

/* Scroll-reveal (JS adds .reveal, then .in) */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; }
}

/* ==========================================================================
   Floating glass header
   ========================================================================== */
.site-header {
  position: sticky;
  top: var(--header-gap);
  z-index: 100;
  height: var(--header-h);
  width: calc(100% - var(--header-gap) * 2);
  max-width: 1360px;
  margin: var(--header-gap) auto 0;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(16px) saturate(170%);
  -webkit-backdrop-filter: blur(16px) saturate(170%);
  border: 1px solid rgba(20,33,61,.08);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(16,24,40,.10);
  transition: box-shadow .3s ease, background-color .3s ease;
}
.site-header.is-scrolled { background: rgba(255,255,255,.96); box-shadow: 0 18px 44px rgba(16,24,40,.16); }
.header-inner { height: 100%; padding: 0 20px 0 18px; display: flex; align-items: center; gap: 22px; }

.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo img { width: 38px; height: 47px; object-fit: contain; transition: transform .35s var(--ease); }
.logo:hover img { transform: translateY(-3px) rotate(-4deg); }
.logo-text { font-family: var(--font-display); font-size: 15.5px; font-weight: var(--fw-heavy); line-height: 1.3; letter-spacing: -0.01em; color: var(--navy); white-space: nowrap; }
.logo-text .accent { color: var(--blue); }
.logo-text .sub { display: block; color: var(--ink); font-size: 13.5px; font-weight: var(--fw-bold); letter-spacing: .02em; }

.main-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.main-nav > a, .main-nav > .has-sub > a {
  position: relative; display: block;
  font-size: 14.5px; font-weight: var(--fw-bold); color: var(--ink);
  padding: 9px 13px; border-radius: 999px; white-space: nowrap;
  transition: color .15s ease, background-color .15s ease;
}
.main-nav > a:hover, .main-nav > .has-sub > a:hover { color: var(--blue-dark); background: var(--blue-tint); }
.main-nav > a.active, .main-nav > .has-sub > a.active { color: var(--blue-dark); background: var(--blue-tint); }

.has-sub { position: relative; }
.has-sub > .submenu {
  position: absolute; top: calc(100% + 8px); left: 50%;
  transform: translate(-50%, 8px);
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-lg); min-width: 160px; padding: 6px;
  opacity: 0; visibility: hidden;
  transition: opacity .18s ease, transform .18s var(--ease);
}
.has-sub:hover > .submenu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.submenu a { display: block; padding: 10px 14px; font-size: 14px; font-weight: var(--fw-semi); border-radius: 9px; }
.submenu a:hover { background: var(--blue-tint); color: var(--blue-dark); }

.btn-login {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px 0 15px;
  font-size: 15px; font-weight: var(--fw-bold); color: var(--white);
  background: var(--ink); border: 1.5px solid var(--ink); border-radius: 999px;
  flex-shrink: 0;
  transition: background-color .2s ease, transform .2s var(--ease), box-shadow .2s ease;
}
.btn-login svg { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }
.btn-login:hover { background: var(--navy); border-color: var(--navy); transform: translateY(-1px); box-shadow: 0 10px 22px rgba(20,33,61,.25); }

.nav-toggle { display: none; margin-left: auto; background: none; border: 0; font-size: 26px; line-height: 1; padding: 6px 10px; color: var(--ink); border-radius: 10px; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 30px;
  font-family: var(--font-display); font-size: 15px; font-weight: var(--fw-bold); letter-spacing: .01em;
  border: 0; border-radius: 999px; text-align: center; white-space: nowrap;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s var(--ease), box-shadow .2s ease;
}
.btn:active { transform: translateY(0) scale(.98); }
.btn--blue  { background: var(--blue); color: var(--white); box-shadow: var(--shadow-blue); }
.btn--blue:hover  { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 16px 32px rgba(20,160,222,.38); }
.btn--light { background: var(--white); color: var(--ink); box-shadow: var(--shadow); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); color: var(--blue-dark); }
.btn--outline { background: transparent; color: var(--ink); border: 2px solid var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--white); transform: translateY(-2px); }
.btn--wide  { min-width: 240px; }
/* arrow on the primary calls to action */
.section-actions .btn::after, .cta-band .btn::after, .why__body + .btn::after, .pricing-card .btn::after {
  content: '\2192'; font-size: 18px; line-height: 1; transition: transform .2s var(--ease);
}
.section-actions .btn:hover::after, .cta-band .btn:hover::after, .why__body + .btn:hover::after, .pricing-card .btn:hover::after { transform: translateX(4px); }

/* ==========================================================================
   Hero — full height, photo slides up behind the floating header
   ========================================================================== */
.hero {
  position: relative;
  min-height: clamp(660px, 96vh, 920px);
  margin-top: calc(-1 * var(--header-offset));
  padding-top: var(--header-offset);
  background: var(--navy-deep);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.06);
  animation: kenburns 26s ease-out forwards;
}
@keyframes kenburns { from { transform: scale(1.06) translateY(0); } to { transform: scale(1.16) translateY(-2%); } }
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(900px 480px at 50% 42%, rgba(20,160,222,.18), transparent 70%),
    linear-gradient(180deg, rgba(10,18,40,.62) 0%, rgba(10,18,40,.32) 40%, rgba(10,18,40,.62) 100%);
}
.hero-inner {
  position: relative; z-index: 2;
  width: 100%; max-width: 780px; padding: 0 24px;
  margin-top: -72px;
  text-align: center;
}
.hero h1, .hero .hero-line {
  font-family: var(--font-display);
  font-size: 56px; font-weight: var(--fw-heavy);
  color: var(--white); line-height: 1.08; letter-spacing: -0.035em; margin: 0;
  text-shadow: 0 4px 34px rgba(0,0,0,.45);
}
.hero .hero-line {
  background: linear-gradient(90deg, var(--blue-glow), var(--blue));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 4px 24px rgba(0,0,0,.45));
}
.hero-search {
  margin: 38px auto 0;
  display: flex; align-items: center;
  height: 66px; max-width: 660px; padding: 6px 6px 6px 26px;
  border-radius: 999px; background: var(--white);
  box-shadow: 0 24px 60px rgba(0,0,0,.42), 0 0 0 1px rgba(255,255,255,.35);
  transition: box-shadow .2s ease, transform .2s var(--ease);
}
.hero-search:focus-within { box-shadow: 0 24px 60px rgba(0,0,0,.42), 0 0 0 5px rgba(20,160,222,.4); transform: translateY(-1px); }
.hero-search input { flex: 1; min-width: 0; align-self: stretch; border: 0; padding: 0 12px 0 0; font-family: var(--font); font-size: 17px; color: var(--text); background: transparent; }
.hero-search input::placeholder { color: #8A94A0; }
.hero-search input:focus { outline: 0; }
.hero-search button {
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--blue); border: 0; display: grid; place-items: center;
  box-shadow: var(--shadow-blue);
  transition: background-color .2s ease, transform .2s var(--ease);
}
.hero-search button:hover { background: var(--blue-dark); transform: scale(1.05); }
.hero-search button svg { width: 21px; height: 21px; stroke: var(--white); fill: none; stroke-width: 2.6; stroke-linecap: round; }
/* scroll cue */
.hero-inner::after {
  content: ''; display: block; width: 14px; height: 14px; margin: 56px auto 0;
  border-right: 2px solid rgba(255,255,255,.7); border-bottom: 2px solid rgba(255,255,255,.7);
  transform: rotate(45deg); animation: bob 1.9s ease-in-out infinite;
}
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(45deg); opacity: .55; } 50% { transform: translateY(8px) rotate(45deg); opacity: 1; } }
.hero-curve { position: absolute; left: 0; bottom: -1px; width: 100%; height: 200px; z-index: 3; display: block; }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { position: relative; padding: 110px 0; }
.section--light {
  background-color: var(--offwhite);
  background-image: radial-gradient(rgba(20,160,222,.16) 1.2px, transparent 1.2px);
  background-size: 24px 24px;
}
.section--blue {
  isolation: isolate; overflow: hidden;
  background-color: var(--blue);
  background-image:
    radial-gradient(1000px 420px at 10% 0%, rgba(255,255,255,.18), transparent 62%),
    linear-gradient(160deg, #18A6E4 0%, #1197D6 60%, #0E86BC 100%);
  color: var(--white);
}
.section--blue::before {
  content: ''; position: absolute; z-index: -1;
  right: -110px; top: -60px; width: 540px; height: 540px;
  background: var(--pin) no-repeat center / contain;
  opacity: .07; transform: rotate(-12deg); pointer-events: none;
}
/* two blue bands back to back (blog + featured post) share one flat fill so there is no seam */
.cta-band + .section--blue { background-color: #1197D6; background-image: radial-gradient(1000px 420px at 10% 0%, rgba(255,255,255,.18), transparent 62%); }
.section--blue + .section--blue { padding-top: 16px; background-color: #1197D6; background-image: none; }
.section--blue + .section--blue::before { display: none; }
/* the first blue band gets a curved underside, echoing the hero */
.section--light + .section--blue { border-bottom-left-radius: 50% 70px; border-bottom-right-radius: 50% 70px; padding-bottom: 130px; }

.section-title { font-size: 40px; margin-bottom: 22px; }
.section--blue .section-title { color: var(--white); }

/* Interior title band */
.page-header {
  position: relative; overflow: hidden;
  margin-top: calc(-1 * var(--header-offset));
  padding: calc(var(--header-offset) + 74px) 0 84px;
  background: linear-gradient(118deg, var(--navy-deep) 0%, var(--navy) 45%, var(--blue) 140%);
  color: var(--white);
  border-bottom-left-radius: 50% 56px; border-bottom-right-radius: 50% 56px;
}
.page-header::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.12) 1.2px, transparent 1.2px);
  background-size: 26px 26px; pointer-events: none;
}
.page-header::after {
  content: ''; position: absolute; right: -80px; top: -40px; width: 380px; height: 380px;
  background: var(--pin) no-repeat center / contain; opacity: .08; transform: rotate(-10deg); pointer-events: none;
}
.page-header .container { position: relative; }
.page-header h1 { font-size: 48px; color: var(--white); margin-bottom: 12px; }
.page-header p { color: rgba(255,255,255,.82); font-size: 17px; margin: 0; max-width: 640px; }
.section--pull { margin-top: -62px; padding-top: 0; z-index: 2; }

/* ==========================================================================
   Who Are We / Why list
   ========================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split__body p { font-size: 17px; line-height: 1.8; margin: 0; }
.split__body .section-title { margin-bottom: 18px; }
.split > div:first-child { position: relative; }
.split > div > img { border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
/* Why-list photo gets the brand pin as a floating badge */
.section:not(.section--light) .split > div:first-child::after {
  content: ''; position: absolute; left: -22px; bottom: -22px; width: 84px; height: 84px; border-radius: 50%;
  background: var(--white) url('../images/logo-icon.png') no-repeat center / 40px auto;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}
.framed { position: relative; padding: 26px 0 0; }
.framed::before {
  content: ''; position: absolute; top: 0; left: -8px; width: 74%; height: 100%;
  background: linear-gradient(160deg, var(--blue), var(--blue-dark));
  border-radius: 26px; transform: rotate(-3deg); z-index: 1;
}
/* nudged right over the blue frame, and narrowed by the same amount so it never
   reaches past the page edge (it did on 1024px tablets) */
.framed img { position: relative; z-index: 2; width: calc(100% - 30px); margin-left: 30px; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); object-fit: cover; }

.why__title { font-size: 20px; color: var(--blue-dark); margin-bottom: 12px; letter-spacing: -0.01em; }
.why__sub   { font-size: 40px; margin-bottom: 18px; }
.why__body  { font-size: 17px; line-height: 1.8; margin-bottom: 30px; }

/* ==========================================================================
   Listing cards + empty state
   ========================================================================== */
.listing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

/* Directory card: picture band, then name, place, summary and two actions.
   The name link stretches over the whole card; Call sits above it. */
.lcard {
  position: relative; display: flex; flex-direction: column; min-width: 0;
  background: var(--white); color: var(--text); text-align: left;
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 1px 2px rgba(16,24,40,.06), 0 8px 24px rgba(16,24,40,.08);
  transition: transform .35s var(--ease), box-shadow .35s ease;
  isolation: isolate;
}
.lcard:hover { transform: translateY(-6px); box-shadow: 0 2px 4px rgba(16,24,40,.06), 0 28px 56px rgba(16,24,40,.18); }
.lcard:focus-within { box-shadow: 0 0 0 3px rgba(20,160,222,.45), 0 20px 44px rgba(16,24,40,.16); }

.lcard__media {
  position: relative; height: 172px; overflow: hidden; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 45%, var(--blue) 120%);
}
.lcard--t1 .lcard__media { background: linear-gradient(135deg, #0B4F7A 0%, var(--blue-deep) 50%, var(--blue) 115%); }
.lcard--t2 .lcard__media { background: linear-gradient(135deg, var(--ink) 0%, #23407E 55%, #2D6FB5 120%); }
/* soft pin pattern and a light sweep on the gradient panels */
.lcard__media::before {
  content: ''; position: absolute; inset: 0; opacity: .035; pointer-events: none;
  background: var(--pin) 0 0 / 54px 54px repeat;
}
.lcard__media::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 90% at 85% 0%, rgba(127,212,255,.35), transparent 55%), linear-gradient(180deg, transparent 55%, rgba(10,20,45,.35));
}
.lcard__mono {
  position: relative; z-index: 1; display: grid; place-items: center;
  width: 84px; height: 84px; border-radius: 50%;
  font-family: var(--font-display); font-size: 30px; font-weight: var(--fw-heavy); letter-spacing: .02em; color: var(--white);
  background: rgba(255,255,255,.12); border: 1.5px solid rgba(255,255,255,.35);
  box-shadow: 0 10px 30px rgba(0,0,0,.18), inset 0 0 0 6px rgba(255,255,255,.06);
  backdrop-filter: blur(4px);
  transition: transform .45s var(--ease);
}
.lcard:hover .lcard__mono { transform: scale(1.06); }
/* photos: shown whole (logos are never cropped) over a blurred copy of themselves */
.lcard__media--photo { background: var(--ink); }
.lcard__media--photo::before { display: none; }
.lcard__photo-bg { position: absolute; inset: -20px; background-size: cover; background-position: center; filter: blur(18px) saturate(1.2); opacity: .75; transform: scale(1.1); }
.lcard__photo { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; transition: transform .6s var(--ease); }
.lcard:hover .lcard__photo { transform: scale(1.04); }

.lcard__cat, .lcard__new {
  position: absolute; top: 14px; z-index: 2;
  font-size: 11.5px; font-weight: var(--fw-bold); letter-spacing: .02em; line-height: 1; white-space: nowrap;
  padding: 7px 11px; border-radius: 999px;
}
.lcard__cat { left: 14px; color: var(--white); background: rgba(10,20,45,.42); border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(8px); }
.lcard__new { right: 14px; color: var(--ink); background: var(--white); box-shadow: 0 4px 12px rgba(0,0,0,.15); }

.lcard__body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 20px; }
.lcard__name { font-size: 18.5px; line-height: 1.25; margin: 0 0 8px; letter-spacing: -0.02em; }
.lcard__hit { color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lcard__hit::after { content: ''; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.lcard__hit:focus-visible { outline: 0; }
.lcard__where { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 0 0 12px; font-size: 13.5px; font-weight: var(--fw-semi); color: var(--muted); }
.lcard__place, .lcard__mobile { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.lcard__place svg { width: 15px; height: 15px; flex-shrink: 0; }
.lcard__mobile { color: var(--blue-dark); }
.lcard__mobile svg { width: 16px; height: 16px; flex-shrink: 0; }
/* the box must not stretch: a taller box would show lines past the "…" */
.lcard__desc { margin: 0 0 18px; font-size: 14.5px; line-height: 1.6; color: var(--muted); max-height: 4.8em; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; text-wrap: pretty; }

.lcard__foot { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.lcard__call {
  position: relative; z-index: 2; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 42px; padding: 0 16px; border-radius: 999px;
  font-family: var(--font-display); font-size: 14px; font-weight: var(--fw-bold); color: var(--white);
  background: var(--blue); box-shadow: 0 6px 16px rgba(20,160,222,.32);
  transition: background-color .2s ease, transform .2s var(--ease);
}
.lcard__call svg { width: 15px; height: 15px; }
.lcard__call:hover { background: var(--blue-dark); transform: translateY(-1px); }
.lcard__go { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-display); font-size: 14px; font-weight: var(--fw-bold); color: var(--navy); }
.lcard__arrow { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--blue-tint); color: var(--blue-dark); transition: transform .25s var(--ease), background-color .2s ease, color .2s ease; }
.lcard:hover .lcard__arrow { transform: translateX(3px); background: var(--navy); color: var(--white); }
.lcard__foot:not(:has(.lcard__call)) .lcard__go { margin-left: 0; }
@media (prefers-reduced-motion: reduce) {
  .lcard, .lcard__photo, .lcard__mono, .lcard__arrow { transition: none; }
  .lcard:hover, .lcard:hover .lcard__photo, .lcard:hover .lcard__mono { transform: none; }
}
.section-actions { text-align: center; margin-top: 44px; }

.no-results { text-align: center; padding: 50px 0; font-size: 16px; color: var(--muted); }
.listing-grid .no-results, .listing-grid .empty { grid-column: 1 / -1; }
.empty {
  position: relative; text-align: center; padding: 64px 24px;
  background: var(--white); border-radius: var(--r-lg); color: var(--text);
  box-shadow: var(--shadow); overflow: hidden;
}
.empty::before { content: ''; position: absolute; inset: 0; background: radial-gradient(420px 200px at 50% 0%, var(--blue-tint), transparent 70%); pointer-events: none; }
.empty svg { position: relative; width: 52px; height: 52px; margin: 0 auto 16px; display: block; animation: floaty 3.2s ease-in-out infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.empty__title { position: relative; font-family: var(--font-display); font-size: 20px; font-weight: var(--fw-heavy); color: var(--ink); margin: 0 0 8px; }
.empty__hint { position: relative; font-size: 15px; color: var(--muted); margin: 0; }
.empty__hint a { color: var(--blue-dark); font-weight: var(--fw-bold); text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   Pricing — two-tone card
   ========================================================================== */
.pricing-card {
  display: grid; grid-template-columns: 340px 1fr;
  max-width: 900px; margin: 0 auto;
  background: var(--white); color: var(--text);
  border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-lg);
  text-align: left;
}
.pricing-card__hero {
  position: relative; overflow: hidden;
  padding: 52px 38px;
  background: linear-gradient(165deg, var(--navy-deep) 0%, var(--navy) 55%, var(--blue-dark) 130%);
  color: var(--white);
  display: flex; flex-direction: column; justify-content: center;
}
.pricing-card__hero::before { content: ''; position: absolute; right: -70px; bottom: -70px; width: 260px; height: 260px; background: var(--pin) no-repeat center / contain; opacity: .10; transform: rotate(-12deg); }
.pricing-card__hero > * { position: relative; }
.pricing-card__hero h3 { font-size: 13px; font-weight: var(--fw-bold); letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.82); margin-bottom: 20px; }
.pricing-card__price { font-family: var(--font-display); font-size: 78px; font-weight: var(--fw-heavy); line-height: .95; letter-spacing: -0.04em; color: var(--white); }
.pricing-card__period { font-size: 16px; color: rgba(255,255,255,.78); margin-top: 12px; }
.pricing-card__body { padding: 48px 44px 44px; }
.pricing-card__desc { font-size: 17px; line-height: 1.7; margin: 0 0 26px; }
.pricing-card .btn { width: 100%; height: 56px; font-size: 16px; }
.pricing-card__features { margin: 30px 0 0; font-size: 15.5px; }
.pricing-card__features li { position: relative; padding-left: 34px; margin-bottom: 12px; }
.pricing-card__features li::before {
  content: '\2713'; position: absolute; left: 0; top: 0;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--blue-tint); color: var(--blue-dark);
  font-size: 12px; font-weight: 900; display: grid; place-items: center;
}
.pricing-card__note { margin: 24px 0 0; font-size: 13px; color: var(--muted); }

/* ==========================================================================
   Search CTA band
   ========================================================================== */
.cta-band { position: relative; min-height: 600px; display: flex; align-items: center; overflow: hidden; }
.cta-band__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-band::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,33,61,.62) 0%, rgba(20,33,61,.2) 55%, rgba(20,33,61,0) 100%); }
.cta-band .container { position: relative; z-index: 2; }
.cta-band__panel {
  max-width: 480px; padding: 48px 42px;
  background: rgba(255,255,255,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.6);
}
.cta-band__panel h2 { font-size: 32px; margin-bottom: 28px; line-height: 1.2; }

/* ==========================================================================
   Blog cards (home) — now with the post artwork
   ========================================================================== */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.blog-card {
  background: var(--white); color: var(--text);
  border-radius: var(--r); overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s ease;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.blog-card__media { display: block; overflow: hidden; }
.blog-card__media img { width: 100%; height: 176px; object-fit: cover; transition: transform .6s var(--ease); }
.blog-card:hover .blog-card__media img { transform: scale(1.06); }
.blog-card > :not(.blog-card__media) { margin-left: 24px; margin-right: 24px; }
.blog-card__title { font-size: 18px; line-height: 1.3; margin-top: 22px; margin-bottom: 12px; }
.blog-card__title a { transition: color .15s ease; }
.blog-card__title a:hover { color: var(--blue-dark); }
.blog-card__excerpt { font-size: 14.5px; line-height: 1.65; color: var(--muted); flex: 1; margin-bottom: 18px; }
.blog-card__foot { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; font-size: 12.5px; color: var(--muted); margin-bottom: 24px; }
.blog-card__foot img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.blog-card__foot > span:first-of-type { font-weight: var(--fw-bold); color: var(--ink); }
.blog-card__stats { margin-left: auto; white-space: nowrap; }

/* Featured guest post */
.feature { display: grid; grid-template-columns: 460px 1fr; align-items: stretch; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--white); }
.feature__img { width: 100%; height: 100%; min-height: 345px; object-fit: contain; background: #030303; }
.feature__panel { color: var(--text); padding: 46px 44px; display: flex; flex-direction: column; justify-content: center; }
.feature__panel h3 { font-size: 26px; margin-bottom: 14px; line-height: 1.25; }
.feature__panel h3 a:hover { color: var(--blue-dark); }
.feature__panel p { font-size: 15.5px; line-height: 1.7; color: var(--muted); }
.tag { display: inline-block; font-size: 12px; font-weight: var(--fw-bold); letter-spacing: .04em; color: var(--blue-dark); background: var(--blue-tint); border-radius: 999px; padding: 6px 13px; margin-bottom: 18px; align-self: flex-start; }

/* ==========================================================================
   Reviews
   ========================================================================== */
.reviews { text-align: center; }
.reviews .container { display: flex; flex-direction: column; align-items: center; }
.reviews .section-title { margin-bottom: 8px; }
.reviews__sub { font-size: 18px; font-weight: var(--fw-semi); color: var(--muted); margin-bottom: 26px; }
.reviews .btn { margin-top: 30px; }

/* review slider: one at a time, rotates on its own (js/main.js) */
.slider { position: relative; width: 100%; max-width: 860px; padding: 0 66px; }
.slider__viewport { overflow: hidden; padding: 12px; }
.slider__track { display: flex; gap: 24px; transition: transform .7s var(--ease); }
.slider__track > .review { flex: 0 0 100%; }
.slider .review:hover { transform: none; box-shadow: var(--shadow-sm); }
.slider__btn {
  position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow-sm); cursor: pointer;
  display: grid; place-items: center; transition: background .2s ease, border-color .2s ease;
}
.slider__btn:hover { background: var(--blue); border-color: var(--blue); }
.slider__btn svg { width: 22px; height: 22px; fill: none; stroke: var(--navy); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.slider__btn:hover svg { stroke: var(--white); }
.slider__btn--prev { left: 0; }
.slider__btn--next { right: 0; }
.slider__dots { display: flex; justify-content: center; gap: 0; margin-top: 8px; }
/* each dot has a finger-sized hit area; the visible dot is drawn inside it */
.slider__dots button { display: grid; place-items: center; width: 26px; height: 32px; padding: 0; border: 0; background: none; cursor: pointer; transition: width .3s var(--ease); }
.slider__dots button::before { content: ''; width: 10px; height: 10px; border-radius: 999px; background: var(--line); transition: width .3s var(--ease), background .3s ease; }
.slider__dots button[aria-current="true"] { width: 40px; }
.slider__dots button[aria-current="true"]::before { width: 28px; background: var(--blue); }
@media (prefers-reduced-motion: reduce) { .slider__track { transition: none; } }
.review {
  position: relative; display: grid; grid-template-columns: 112px 1fr; gap: 24px; align-items: start; text-align: left;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px 30px 30px;
  box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s ease;
}
.review:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.review::before { content: '\201C'; position: absolute; top: 4px; right: 24px; font-family: Georgia, serif; font-size: 120px; line-height: 1; color: var(--blue-tint); pointer-events: none; }
.review img { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 4px var(--white), 0 0 0 7px var(--blue-tint); }
.review__stars { color: var(--gold); font-size: 19px; letter-spacing: 2px; margin-bottom: 2px; }
.review__rating { font-size: 12px; color: var(--muted); margin-bottom: 12px; }
.review__title { font-size: 19px; margin-bottom: 10px; }
.review__text { font-size: 15.5px; line-height: 1.7; margin-bottom: 14px; }
.review__name { font-size: 14px; font-weight: var(--fw-bold); color: var(--ink); }
.review__name::before { content: '\2014 '; color: var(--blue); }

/* ==========================================================================
   Directory
   ========================================================================== */
.dir-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.page-header .dir-head h1 { margin: 0; }
.filters {
  position: relative; overflow: hidden;
  background: var(--white); border-radius: 22px;
  box-shadow: 0 2px 4px rgba(16,24,40,.04), 0 30px 70px rgba(16,24,40,.16);
  padding: 28px 30px 22px; margin-bottom: 42px;
}
.filters::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: linear-gradient(90deg, var(--navy), var(--blue));
}
.filters__head { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.filters__icon { width: 64px; height: auto; flex-shrink: 0; }
.filters h2 { font-size: 22px; margin: 0 0 4px; }
.filters__sub { margin: 0; font-size: 14.5px; color: var(--muted); }
.filters__row { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 14px; }
.filters__field { min-width: 0; }
.filters label { display: block; font-size: 12px; font-weight: var(--fw-bold); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.filters__search { position: relative; }
.filters__search svg { position: absolute; left: 15px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); fill: none; stroke: var(--muted); stroke-width: 2.2; stroke-linecap: round; pointer-events: none; }
.filters__search input,
.filters select {
  width: 100%; height: 52px; font-family: var(--font); font-size: 15.5px; color: var(--text);
  border: 1.5px solid var(--line); border-radius: 14px; background-color: var(--offwhite);
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.filters__search input { padding: 0 14px 0 44px; }
.filters__search input::placeholder { color: #8A94A0; }
.filters select {
  padding: 0 42px 0 15px; appearance: none; -webkit-appearance: none; cursor: pointer;
  background: var(--offwhite) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235F6B7A' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 15px center;
}
.filters__search input:hover, .filters select:hover { border-color: #C9D2DC; }
.filters__search input:focus, .filters select:focus { outline: 0; border-color: var(--blue); background-color: var(--white); box-shadow: 0 0 0 4px rgba(20,160,222,.16); }
.filters__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; margin-top: 14px; }
.filters__count { font-size: 14px; font-weight: var(--fw-bold); color: var(--ink); }
.filters__clear { border: 0; background: none; padding: 10px 2px; font-size: 14px; font-weight: var(--fw-bold); color: var(--blue-dark); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.filters__clear:hover { color: var(--navy); }

/* ==========================================================================
   Listing detail
   ========================================================================== */

/* ==========================================================================
   Long-form pages
   ========================================================================== */
.article { padding: 72px 0 110px; }
.article .container { max-width: 820px; }
.article h1 { font-size: 36px; margin-bottom: 26px; }
.article h2 { font-size: 26px; margin: 42px 0 14px; }
.article h3 { font-size: 20px; margin: 30px 0 10px; }
.article p, .article li { font-size: 17.5px; line-height: 1.8; }
.article ul { list-style: disc; padding-left: 24px; margin-bottom: 24px; }
.article li { margin-bottom: 10px; padding-left: 4px; }
.article li::marker { color: var(--blue); }
.article strong { font-weight: var(--fw-heavy); color: var(--ink); }
.article a { color: var(--blue-dark); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.article a:hover { color: var(--blue-deep); }
.article--18 p, .article--18 li { font-size: 18px; }
.article--16 p, .article--16 li { font-size: 16.5px; }
.article--14 p, .article--14 li { font-size: 15.5px; }
.article .lbl { font-family: var(--font-display); font-weight: var(--fw-heavy); color: var(--ink); font-size: 19px; margin: 34px 0 10px; letter-spacing: -0.01em; }
.article .lbl + .lbl { margin-top: 12px; }
.article__meta { font-size: 13px; color: var(--muted); margin-bottom: 26px; }
.article__hero { width: 100%; max-height: 420px; object-fit: cover; border-radius: var(--r-lg); margin-bottom: 30px; }

/* ==========================================================================
   FAQ — numbered cards
   ========================================================================== */
body { counter-reset: faq; }
.faq-item { counter-increment: faq; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 14px; box-shadow: var(--shadow-sm); transition: border-color .2s ease, box-shadow .2s ease, transform .2s var(--ease); }
.faq-item:hover { border-color: #C9D2DC; transform: translateY(-1px); }
.faq-item.active { border-color: rgba(20,160,222,.55); box-shadow: 0 0 0 4px rgba(20,160,222,.10), var(--shadow); }
.faq-question { width: 100%; background: none; border: 0; text-align: left; padding: 22px 64px 22px 24px; font-family: var(--font-display); font-size: 17px; font-weight: var(--fw-bold); color: var(--ink); position: relative; border-radius: var(--r); display: flex; align-items: center; gap: 16px; }
.faq-question::before { content: counter(faq, decimal-leading-zero); flex-shrink: 0; font-size: 13px; font-weight: var(--fw-heavy); color: var(--blue); letter-spacing: .04em; }
.faq-question::after { content: ''; position: absolute; right: 28px; top: 50%; width: 10px; height: 10px; border-right: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue); transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease); }
.faq-item.active .faq-question::after { transform: translateY(-30%) rotate(225deg); }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .34s var(--ease); }
.faq-answer > p { overflow: hidden; margin: 0; padding: 0 24px 0 62px; font-size: 16px; line-height: 1.75; color: var(--text); }
.faq-item.active .faq-answer { grid-template-rows: 1fr; }
.faq-item.active .faq-answer > p { padding-bottom: 24px; }
.faq-answer a { color: var(--blue-dark); text-decoration: underline; text-underline-offset: 2px; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.contact-info h2 { font-size: 24px; line-height: 1.4; margin-bottom: 22px; }
.contact-info__title span { display: block; }
.contact-info__dba { font-family: var(--font); font-size: 12px; font-weight: var(--fw-bold); color: var(--blue-dark); letter-spacing: .18em; text-transform: uppercase; margin: 8px 0; }
.contact-info a { color: var(--blue-dark); text-decoration: underline; text-underline-offset: 3px; }
.contact-info p { font-size: 16.5px; }
.contact-social { display: flex; gap: 14px; margin-top: 26px; }
.contact-social img { width: 30px; height: 30px; transition: transform .2s var(--ease); }
.contact-social a:hover img { transform: translateY(-3px) scale(1.06); }
.contact-form { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 36px 34px; box-shadow: var(--shadow-lg); }
.contact-form .field { margin-bottom: 18px; }
.contact-form label { display: block; font-size: 13px; font-weight: var(--fw-bold); color: var(--ink); margin-bottom: 7px; }
.contact-form input, .contact-form textarea { width: 100%; font-family: var(--font); font-size: 16px; padding: 13px 15px; border: 1px solid var(--line); border-radius: 10px; background: #FBFCFD; color: var(--text); transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease; }
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form input:hover, .contact-form textarea:hover { border-color: #C9D2DC; }
.contact-form input:focus, .contact-form textarea:focus { outline: 0; background: var(--white); border-color: var(--blue); box-shadow: 0 0 0 4px rgba(20,160,222,.18); }
.contact-form .btn { width: 100%; margin-top: 6px; }
.form-success { padding: 30px 0; font-family: var(--font-display); font-size: 20px; font-weight: var(--fw-heavy); color: var(--ink); text-align: center; }

/* ==========================================================================
   Simple pages
   ========================================================================== */
.placeholder { text-align: center; max-width: 640px; margin: 0 auto; padding: 110px 24px 130px; }
.placeholder h2 { font-size: 30px; margin-bottom: 14px; }
.placeholder p { font-size: 16.5px; color: var(--muted); margin-bottom: 30px; }
.app-title { font-size: 72px; line-height: 1.05; margin-bottom: 40px; background: linear-gradient(90deg, var(--navy), var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.notice { text-align: center; padding: 140px 24px 190px; }
.notice h2 { font-size: 26px; margin-bottom: 14px; }
.notice p { font-size: 16px; color: var(--muted); margin: 0; }

/* Sitemap */
.sitemap-page { margin-top: calc(-1 * var(--header-offset)); padding: calc(var(--header-offset) + 1px) 0 80px; background: var(--offwhite); background-image: radial-gradient(rgba(20,160,222,.14) 1.2px, transparent 1.2px); background-size: 24px 24px; }
.sitemap-title { font-size: 96px; text-align: center; margin: 60px 0 44px; line-height: 1; background: linear-gradient(90deg, var(--navy), var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sitemap-list { width: 340px; max-width: 100%; margin: 0 auto; }
.sitemap-list a { display: flex; align-items: baseline; gap: 14px; font-family: 'Oswald', var(--font); font-weight: 500; text-transform: uppercase; font-size: 35px; line-height: 1; color: var(--ink); padding: 0 0 23px; transition: color .15s ease, transform .2s var(--ease); }
.sitemap-list a::before { content: '\2714'; color: var(--blue); flex-shrink: 0; }
.sitemap-list a:hover { color: var(--blue-dark); transform: translateX(8px); }

/* Auth (behaviour untouched, styled to match) */
.auth { max-width: 420px; margin: 0 auto; padding: 80px 24px 120px; text-align: center; }
.auth h1 { font-size: 44px; margin-bottom: 22px; }
.auth__switch { font-size: 16px; color: var(--muted); margin-bottom: 30px; }
.auth__switch a { color: var(--blue-dark); text-decoration: underline; text-underline-offset: 2px; font-weight: var(--fw-semi); }
.auth__btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 50px; font-size: 15px; font-weight: var(--fw-semi); margin-bottom: 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink); transition: border-color .15s ease, transform .15s var(--ease); }
.auth__btn:hover { border-color: var(--ink); transform: translateY(-1px); }
.auth__btn--fb { background: #1877F2; border-color: #1877F2; color: var(--white); }
.auth__btn--fb:hover { background: #1461C8; border-color: #1461C8; }
.auth__or { font-size: 14px; margin: 18px 0; color: var(--muted); }
.auth__btn--primary { background: var(--blue); border-color: var(--blue); color: var(--white); }
.auth__btn--primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.auth__steps { text-align: left; margin: 0 auto 28px; padding-left: 22px; font-size: 15px; color: var(--text); line-height: 1.9; }

/* Forms: spam trap, human check, errors */
.hp-field { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ts-check { margin: 4px 0 16px; min-height: 65px; }
.ts-check[hidden] { display: none; }
.form-error { margin: 0 0 14px; padding: 10px 14px; border-radius: 10px; background: #FDECEC; color: #A61B1B; font-size: 14px; }
.form-error[hidden] { display: none; }

/* Report a listing */
.report-form { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); text-align: left; }
.report-form[hidden] { display: none; }
.report-form h3 { font-size: 17px; margin-bottom: 12px; }
.report-form label { display: block; font-size: 13px; font-weight: var(--fw-bold); color: var(--ink); margin: 10px 0 6px; }
.report-form select, .report-form textarea, .report-form input[type="email"] { width: 100%; font-family: var(--font); font-size: 15px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #FBFCFD; color: var(--text); }
.report-form .btn { margin-top: 6px; }

/* Listings on a city page */
.city__listings { margin-top: 48px; }

/* /mobile-mechanic/: every city with a listing */
.city-index__lede { font-size: 17px; color: var(--muted); margin: 0 0 28px; max-width: 640px; }
.city-index { columns: 3 240px; column-gap: 32px; }
.city-index__state { break-inside: avoid; margin: 0 0 26px; }
.city-index__state h2 { font-size: 19px; color: var(--navy); margin: 0 0 10px; }
.city-index__state ul { list-style: none; margin: 0; padding: 0; }
.city-index__state li { padding: 5px 0; font-size: 15px; }
.city-index__state a { color: var(--blue-dark); font-weight: var(--fw-semi); }
.city-index__state span { color: var(--muted); font-size: 13px; }

/* A listing's link to its city page */
.listing-city-link { margin: 6px 0 0; }
.listing-city-link a { color: var(--blue-dark); font-weight: var(--fw-semi); text-decoration: underline; text-underline-offset: 2px; }

/* Groups feed */
.feed { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; padding: 56px 0 110px; }
.feed h1 { font-size: 26px; margin-bottom: 8px; }
.feed__sub { font-size: 16px; color: var(--muted); margin-bottom: 26px; }
.feed__empty { border: 1px dashed var(--line); border-radius: var(--r); background: var(--white); padding: 60px 30px; text-align: center; }
.feed__empty h2 { font-size: 22px; margin-bottom: 10px; }
.feed__empty p { font-size: 15px; color: var(--muted); margin: 0; }
.feed__aside { background: var(--offwhite); border-radius: var(--r); padding: 24px; }
.feed__aside h3 { font-size: 15px; margin-bottom: 10px; }
.feed__aside p { font-size: 14.5px; color: var(--muted); margin: 0; }

/* ==========================================================================
   Search
   ========================================================================== */
.search-form {
  display: flex; align-items: center; height: 62px; max-width: 680px; margin: 0 auto 40px; padding: 5px 5px 5px 24px;
  border-radius: 999px; background: var(--white); box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  position: relative; z-index: 2;
  transition: box-shadow .15s ease, border-color .15s ease;
}
.search-form:focus-within { border-color: var(--blue); box-shadow: var(--shadow-lg), 0 0 0 4px rgba(20,160,222,.18); }
.search-form input { flex: 1; min-width: 0; align-self: stretch; border: 0; padding: 0 12px 0 0; font-family: var(--font); font-size: 17px; color: var(--text); background: transparent; }
.search-form input:focus { outline: 0; }
.search-form button { width: 50px; height: 50px; border-radius: 50%; border: 0; background: var(--blue); display: grid; place-items: center; box-shadow: var(--shadow-blue); transition: background-color .15s ease, transform .15s var(--ease); }
.search-form button:hover { background: var(--blue-dark); transform: scale(1.05); }
.search-form button svg { width: 20px; height: 20px; stroke: var(--white); fill: none; stroke-width: 2.6; stroke-linecap: round; }
.search-tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.search-tabs button { background: none; border: 0; padding: 12px 16px; white-space: nowrap; font-family: var(--font-display); font-size: 15px; font-weight: var(--fw-bold); color: var(--muted); border-bottom: 2.5px solid transparent; margin-bottom: -1px; border-radius: 0; transition: color .15s ease, border-color .15s ease; }
.search-tabs button:hover { color: var(--ink); }
.search-tabs button.active { color: var(--blue-dark); border-bottom-color: var(--blue); }
.search-count { font-size: 14.5px; color: var(--muted); margin-bottom: 26px; }
.search-group { font-size: 22px; margin: 10px 0 14px; }
.search-group[hidden], .search-row[hidden] { display: none; }
.search-row { display: flex; gap: 22px; align-items: flex-start; padding: 16px; margin-bottom: 12px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); transition: transform .2s var(--ease), box-shadow .2s ease, border-color .2s ease; }
.search-row:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #C9D2DC; }
.search-row img { width: 118px; height: 80px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.search-row h3 { font-size: 17px; margin-bottom: 6px; }
.search-row p { font-size: 14.5px; margin: 0; color: var(--muted); }
.search-section { margin-bottom: 30px; }

/* ==========================================================================
   City landing pages
   ========================================================================== */
.city { background: var(--offwhite); padding: 0 0 90px; }
.city__head { padding: 56px 0 10px; }
.city__kicker { font-size: 22px; color: var(--muted); }
.city__name { font-family: var(--font-display); font-size: 40px; font-weight: var(--fw-heavy); color: var(--ink); letter-spacing: -0.025em; }
.city__type { font-size: 22px; font-weight: var(--fw-bold); text-align: center; margin: 26px 0 30px; color: var(--blue-dark); }
.city__lede { text-align: center; font-size: 22px; line-height: 1.5; }
.city__lede .city__name { display: block; font-size: 30px; margin: 10px 0; }
.city__pins { display: flex; align-items: center; justify-content: center; gap: 40px; }
.city__pins img { width: 72px; height: 70px; }
.city__body { font-size: 20px; line-height: 1.65; text-align: center; max-width: 820px; margin: 0 auto 18px; }
.city__img { width: 641px; max-width: 100%; margin: 44px auto; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.city__tagline { font-size: 13px; font-weight: var(--fw-bold); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); text-align: center; margin-top: 30px; }

/* ==========================================================================
   Blog index
   ========================================================================== */
.blog-shell { max-width: var(--container); margin: 0 auto 80px; padding: 0 24px; }
.page-header + .blog-shell { margin-top: -30px; position: relative; z-index: 2; }
.blog-tabs { display: flex; align-items: center; gap: 8px; padding: 34px 0 28px; }
.page-header + .blog-shell .blog-tabs { padding-top: 0; }
.blog-tabs a { font-size: 14px; font-weight: var(--fw-bold); color: var(--ink); padding: 10px 18px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: color .15s ease, background-color .15s ease, border-color .15s ease, transform .15s var(--ease); }
.blog-tabs a:hover { transform: translateY(-1px); color: var(--blue-dark); }
.blog-tabs a.active { color: var(--white); background: var(--blue); border-color: var(--blue); box-shadow: var(--shadow-blue); }
.blog-list { display: flex; flex-direction: column; gap: 30px; }
.blog-row { display: grid; grid-template-columns: 420px 1fr; align-items: stretch; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s ease; }
.blog-row:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.blog-row > a { display: block; overflow: hidden; }
.blog-row__img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; transition: transform .6s var(--ease); }
.blog-row:hover .blog-row__img { transform: scale(1.04); }
.blog-row > div { padding: 32px 36px 30px; display: flex; flex-direction: column; }
.blog-row__byline { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; font-size: 12.5px; color: var(--muted); margin-bottom: 14px; }
.blog-row__byline img { width: 30px; height: 30px; border-radius: 50%; }
.blog-row__byline > span:first-of-type { font-weight: var(--fw-bold); color: var(--ink); }
.blog-row h2 { font-size: 28px; line-height: 1.2; margin-bottom: 14px; }
.blog-row h2 a:hover { color: var(--blue-dark); }
.blog-row p { font-size: 16px; line-height: 1.65; color: var(--muted); flex: 1; }
.blog-row__stats { font-size: 12.5px; color: var(--muted); display: flex; gap: 20px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
/* the newest post reads as the lead story */
.blog-list .blog-row:first-child { grid-template-columns: 1fr 1fr; }
.blog-list .blog-row:first-child h2 { font-size: 34px; }
.blog-list .blog-row:first-child .blog-row__img { min-height: 360px; }

/* ==========================================================================
   Blog post
   ========================================================================== */
.post { max-width: 780px; margin: 0 auto; padding: 14px 24px 100px; }
.post__byline { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.post__byline img { width: 34px; height: 34px; border-radius: 50%; }
.post__byline > span:first-of-type { font-weight: var(--fw-bold); color: var(--ink); }
.post h1 { font-size: 46px; line-height: 1.12; margin-bottom: 18px; }
.post__updated { font-size: 13.5px; color: var(--muted); margin-bottom: 40px; }
.post p { font-size: 18.5px; line-height: 1.75; margin-bottom: 24px; }
.post__updated + p::first-letter { font-family: var(--font-display); font-weight: var(--fw-heavy); font-size: 4.2em; line-height: .82; float: left; padding: 8px 12px 0 0; color: var(--navy); }
.post h2 { font-size: 26px; margin: 40px 0 14px; }
.post ul { list-style: disc; padding-left: 24px; margin-bottom: 24px; }
.post li { font-size: 18.5px; line-height: 1.7; margin-bottom: 10px; }
.post li::marker { color: var(--blue); }
.post a { color: var(--blue-dark); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.post a.btn { text-decoration: none; color: var(--white); }
.post img { margin: 34px auto; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.post .post__byline img { margin: 0; border-radius: 50%; box-shadow: none; }
.post__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.post__pair img { margin: 34px 0 0; width: 100%; height: 100%; object-fit: cover; }
.post__phone { text-align: center; font-family: var(--font-display); font-size: 30px; font-weight: var(--fw-heavy); margin: 30px 0; }
.post__phone a { text-decoration: none; color: var(--ink); }
.post__phone a:hover { color: var(--blue-dark); }
.post__cta { text-align: center; margin: 28px 0 44px; }
.post__tags { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 24px; }
.post__tags a { font-size: 13px; font-weight: var(--fw-semi); color: var(--muted); text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 6px 13px; transition: color .15s ease, border-color .15s ease, background-color .15s ease; }
.post__tags a:hover { color: var(--blue-dark); border-color: var(--blue); background: var(--blue-tint); }
.post__stats { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--muted); padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 28px 0 44px; }
.post__related h3 { display: flex; align-items: baseline; justify-content: space-between; font-size: 24px; margin-bottom: 22px; }
.post .post__related-all { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; font-family: var(--font); font-size: 14px; font-weight: var(--fw-bold); color: var(--blue-dark); text-decoration: none; }
.post .post__related-all:hover { text-decoration: underline; }
.post__related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post__related-grid .blog-card { min-height: 0; padding: 0 0 20px; border: 1px solid var(--line); box-shadow: none; }
.post__related-grid .blog-card > a { display: block; overflow: hidden; }
.post__related-grid .blog-card img { margin: 0 0 14px !important; border-radius: 0; box-shadow: none; transition: transform .6s var(--ease); }
.post__related-grid .blog-card:hover img { transform: scale(1.05); }
.post__related-grid .blog-card > :not(a) { margin-left: 16px; margin-right: 16px; }
.post__related-grid .blog-card__title { font-size: 15.5px; margin-top: 0; }
.post__related-grid .blog-card__title a { text-decoration: none; color: var(--ink); }
.post__related-grid .blog-card__foot { margin-bottom: 0; }

/* reading progress + back-to-top (created by main.js) */
.read-progress { position: fixed; top: 0; left: 0; height: 4px; width: 0; z-index: 200; background: linear-gradient(90deg, var(--navy), var(--blue)); transition: width .1s linear; }
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 150;
  width: 48px; height: 48px; border-radius: 50%; border: 0;
  background: var(--ink); color: var(--white); display: grid; place-items: center;
  box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity .25s ease, transform .25s var(--ease), visibility .25s, background-color .2s ease;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--blue-dark); }
.to-top svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

/* ==========================================================================
   Listing page
   ========================================================================== */
.lp-hero {
  position: relative; overflow: hidden; color: var(--white);
  margin-top: calc(-1 * var(--header-offset));
  padding: calc(var(--header-offset) + 30px) 0 132px;
  background:
    radial-gradient(900px 420px at 88% -10%, rgba(20,160,222,.55), transparent 60%),
    radial-gradient(700px 380px at -10% 110%, rgba(127,212,255,.18), transparent 60%),
    linear-gradient(120deg, var(--ink) 0%, var(--navy-deep) 40%, var(--navy) 75%, #1C5C9C 100%);
}
.lp-hero::before {
  content: ''; position: absolute; inset: 0; opacity: .025; pointer-events: none;
  background: var(--pin) 0 0 / 58px 58px repeat;
}
.lp-hero > .container { position: relative; }
.lp-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 13.5px; font-weight: var(--fw-semi); color: rgba(255,255,255,.6); }
.lp-crumbs a { color: rgba(255,255,255,.78); padding: 6px 0; transition: color .15s ease; }
.lp-crumbs a:hover { color: var(--white); }
.lp-hero__main { display: grid; grid-template-columns: 176px minmax(0, 1fr); gap: 36px; align-items: center; margin-top: 26px; }

.lp-tile {
  position: relative; width: 176px; height: 176px; border-radius: 32px; overflow: hidden;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #2A4E93, var(--blue));
  box-shadow: 0 0 0 5px rgba(255,255,255,.12), 0 24px 60px rgba(0,0,0,.35);
}
.lp-tile--t1 { background: linear-gradient(135deg, #0B4F7A, var(--blue)); }
.lp-tile--t2 { background: linear-gradient(135deg, #23407E, #2D6FB5); }
.lp-tile__mono { font-family: var(--font-display); font-size: 58px; font-weight: var(--fw-heavy); letter-spacing: .02em; color: var(--white); text-shadow: 0 6px 20px rgba(0,0,0,.25); }
.lp-tile__bg { position: absolute; inset: -20px; background-size: cover; background-position: center; filter: blur(16px) saturate(1.2); opacity: .8; }
.lp-tile__img { position: relative; width: 100%; height: 100%; object-fit: contain; }

.lp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.lp-chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px;
  font-size: 13px; font-weight: var(--fw-bold); line-height: 1; white-space: nowrap;
  color: var(--white); background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.24); backdrop-filter: blur(8px);
}
.lp-chip svg { width: 15px; height: 15px; }
.lp-chip--solid { color: var(--ink); background: var(--white); border-color: var(--white); }
.lp-chip--new { color: var(--ink); background: var(--blue-glow); border-color: var(--blue-glow); }
.lp-hero h1 { margin: 16px 0 10px; font-size: 48px; line-height: 1.08; letter-spacing: -0.035em; color: var(--white); }
.lp-hero__place { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 17px; font-weight: var(--fw-semi); color: rgba(255,255,255,.82); }
.lp-hero__place svg { width: 19px; height: 19px; color: var(--blue-glow); }

.lp-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.lp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 52px; padding: 0 22px; border-radius: 999px; border: 1.5px solid transparent;
  font-family: var(--font-display); font-size: 15px; font-weight: var(--fw-bold); white-space: nowrap; cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s var(--ease), box-shadow .2s ease;
}
.lp-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.lp-btn:hover { transform: translateY(-2px); }
.lp-btn--call { color: var(--white); background: var(--blue); box-shadow: 0 12px 28px rgba(20,160,222,.42); }
.lp-btn--call:hover { background: var(--blue-dark); }
.lp-btn--ghost { color: var(--white); background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.3); }
.lp-btn--ghost:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.5); }
.lp-btn--soft { color: var(--navy); background: var(--blue-tint); }
.lp-btn--block { width: 100%; }

.lp-body { position: relative; z-index: 2; margin-top: -84px; padding-bottom: 64px; }
.lp-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.lp-card, .lp-area, .lp-contact {
  background: var(--white); border-radius: 24px;
  box-shadow: 0 1px 2px rgba(16,24,40,.05), 0 22px 54px rgba(16,24,40,.12);
}
.lp-card { padding: 34px 36px 36px; }
.lp-card__title { font-size: 25px; margin: 0 0 16px; }
.lp-about p { font-size: 17px; line-height: 1.8; color: var(--text); margin: 0 0 14px; }
.lp-about p:last-child { margin-bottom: 0; }
.lp-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.lp-fact {
  display: grid; grid-template-columns: 42px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 12px; align-items: center;
  padding: 14px 16px; border-radius: 16px; background: var(--offwhite); border: 1px solid var(--line);
}
.lp-fact__ico { grid-row: 1 / 3; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--white); color: var(--blue-dark); box-shadow: var(--shadow-sm); }
.lp-fact__ico svg { width: 20px; height: 20px; }
.lp-fact__k { align-self: end; font-size: 11.5px; font-weight: var(--fw-bold); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.lp-fact__v { align-self: start; font-size: 15.5px; font-weight: var(--fw-bold); color: var(--ink); overflow-wrap: anywhere; }

.lp-area { display: grid; grid-template-columns: 230px minmax(0, 1fr); overflow: hidden; margin-top: 24px; }
.lp-area__map {
  position: relative; min-height: 210px; display: grid; place-items: center; overflow: hidden;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.07) 0 1px, transparent 1px 28px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.07) 0 1px, transparent 1px 28px),
    linear-gradient(160deg, #16295A, #1C5C9C);
}
.lp-area__map::before { content: ''; position: absolute; left: -10%; right: -10%; top: 58%; height: 10px; background: rgba(255,255,255,.12); transform: rotate(-14deg); }
.lp-area__map::after { content: ''; position: absolute; top: -10%; bottom: -10%; left: 38%; width: 8px; background: rgba(255,255,255,.1); transform: rotate(18deg); }
.lp-area__ring { position: absolute; width: 90px; height: 90px; border-radius: 50%; border: 2px solid rgba(127,212,255,.6); animation: lp-pulse 2.8s ease-out infinite; }
.lp-area__ring--2 { animation-delay: 1.4s; }
@keyframes lp-pulse { from { transform: scale(.5); opacity: 1; } to { transform: scale(2.2); opacity: 0; } }
.lp-area__pin { position: relative; z-index: 1; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--white); color: var(--blue); box-shadow: 0 12px 30px rgba(0,0,0,.35); }
.lp-area__pin svg { width: 26px; height: 26px; }
.lp-area__text { padding: 28px 30px; }
.lp-area__k { display: block; font-size: 12px; font-weight: var(--fw-bold); letter-spacing: .1em; text-transform: uppercase; color: var(--blue-dark); margin-bottom: 8px; }
.lp-area__title { font-size: 21px; margin: 0 0 8px; }
.lp-area__sub { font-size: 15px; color: var(--muted); margin: 0 0 10px; }
.lp-area__links { display: flex; flex-wrap: wrap; gap: 0 22px; }
.lp-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-family: var(--font-display); font-size: 14.5px; font-weight: var(--fw-bold); color: var(--blue-dark); }
.lp-link svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.lp-link:hover { color: var(--navy); }
.lp-link:hover svg { transform: translateX(3px); }

.lp-side { position: sticky; top: calc(var(--header-offset) + 18px); }
.lp-contact { padding: 26px 24px 22px; border-top: 4px solid var(--blue); }
.lp-contact__title { font-size: 20px; margin: 0 0 16px; }
.lp-rows { margin-top: 10px; }
.lp-row { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.lp-row:last-child { border-bottom: 0; }
.lp-row__ico { display: grid; place-items: center; flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px; background: var(--blue-tint); color: var(--blue-dark); transition: background-color .2s ease, color .2s ease; }
.lp-row__ico svg { width: 19px; height: 19px; }
.lp-row__txt { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.lp-row__k { font-size: 11.5px; font-weight: var(--fw-bold); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.lp-row__v { font-size: 15.5px; font-weight: var(--fw-bold); color: var(--ink); overflow-wrap: anywhere; }
.lp-row__ext { color: #A3ADBA; }
.lp-row__ext svg { width: 16px; height: 16px; }
.lp-row:hover .lp-row__ico { background: var(--blue); color: var(--white); }
.lp-row:hover .lp-row__v { color: var(--blue-dark); }
.lp-social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.lp-social__btn { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), border-color .2s ease; }
.lp-social__btn img { width: 22px; height: 22px; }
.lp-social__btn:hover { transform: translateY(-3px); border-color: var(--blue); }
.lp-contact__tip { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0 0; padding: 12px 14px; border-radius: 14px; background: var(--blue-tint); font-size: 13.5px; line-height: 1.5; color: var(--navy); }
.lp-contact__tip svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 1px; color: var(--blue-dark); }
.lp-contact .report-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 14px; padding: 8px 0; border: 0; background: none; cursor: pointer; font-family: var(--font); font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.lp-contact .report-link svg { width: 14px; height: 14px; }
.lp-contact .report-link:hover { color: var(--ink); }

.lp-more { padding: 6px 0 80px; }
.lp-more__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.lp-more__head h2 { font-size: 30px; margin: 0; }

.lp-cta { padding: 0 0 80px; }
.lp-cta__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 36px 40px; border-radius: 26px; color: var(--white);
  background: radial-gradient(500px 240px at 100% 0%, rgba(127,212,255,.35), transparent 60%), linear-gradient(120deg, var(--navy-deep), var(--navy) 60%, var(--blue-deep));
  box-shadow: 0 24px 60px rgba(22,41,90,.28);
}
.lp-cta h2 { color: var(--white); font-size: 26px; margin: 0 0 6px; }
.lp-cta p { margin: 0; color: rgba(255,255,255,.8); font-size: 16px; }

.lp-bar { display: none; }
@media (prefers-reduced-motion: reduce) {
  .lp-area__ring { animation: none; opacity: .5; }
  .lp-btn:hover, .lp-social__btn:hover { transform: none; }
}
@media (max-width: 1000px) {
  .lp-grid { grid-template-columns: minmax(0, 1fr); }
  .lp-side { position: static; }
}
@media (max-width: 760px) {
  .lp-hero { padding-bottom: 112px; }
  .lp-hero__main { grid-template-columns: 1fr; gap: 20px; margin-top: 18px; }
  .lp-tile { width: 112px; height: 112px; border-radius: 26px; }
  .lp-tile__mono { font-size: 40px; }
  .lp-hero h1 { font-size: 32px; margin-top: 14px; }
  .lp-hero__place { font-size: 15.5px; }
  /* Call on its own row; Website and Directions share the next, with Share as
     a round icon at the end so nothing is left alone on a line */
  .lp-actions { gap: 10px; }
  .lp-actions .lp-btn { flex: 1 1 0; min-width: 0; padding: 0 14px; }
  .lp-actions .lp-btn--call { flex-basis: 100%; }
  .lp-actions .lp-btn--icon { flex: 0 0 52px; padding: 0; }
  .lp-actions .lp-btn--icon .lp-btn__lbl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .lp-card { padding: 26px 22px 24px; }
  .lp-card__title { font-size: 22px; }
  .lp-about p { font-size: 16.5px; }
  .lp-area { grid-template-columns: 1fr; }
  .lp-area__map { min-height: 150px; }
  .lp-area__text { padding: 22px 22px 14px; }
  .lp-more__head h2 { font-size: 24px; }
  .lp-cta__inner { padding: 28px 24px; }
  .lp-cta h2 { font-size: 22px; }
  .lp-cta .btn { width: 100%; }
  /* sticky call bar along the bottom of the phone screen */
  .lp-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.94); backdrop-filter: blur(12px);
    border-top: 1px solid var(--line); box-shadow: 0 -10px 30px rgba(16,24,40,.12);
    transform: translateY(110%); transition: transform .3s var(--ease);
  }
  /* slides up once the big Call button has scrolled out of view */
  .lp-bar.is-shown { transform: none; }
  .lp-bar .lp-btn { height: 50px; }
  .lp-bar .lp-btn:only-child { grid-column: 1 / -1; }
  body:has(.lp-bar) { padding-bottom: 76px; }
  body:has(.lp-bar) .to-top { bottom: 88px; }
}
@media (max-width: 400px) {
  .lp-facts { grid-template-columns: 1fr; }
  .lp-hero h1 { font-size: 28px; }
  .lp-chips { gap: 6px; }
  .lp-chip { font-size: 11.5px; padding: 6px 9px; gap: 5px; }
  .lp-chip svg { width: 13px; height: 13px; }
  .lp-actions .lp-btn { font-size: 14px; gap: 7px; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { position: relative; background: linear-gradient(180deg, var(--white), var(--offwhite)); padding: 20px 0 44px; text-align: center; }
.footer-rule { width: 100%; max-width: var(--container); height: 1px; background: var(--line); margin: 0 auto 48px; }
.footer-logo { width: 340px; max-width: 100%; height: auto; margin: 0 auto 30px; }
.footer-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.footer-nav a { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 22px; background: var(--blue); color: var(--white); font-family: var(--font-display); font-size: 15px; font-weight: var(--fw-bold); border-radius: 999px; border: 1px solid var(--blue); box-shadow: 0 6px 16px rgba(20,160,222,.22); transition: background-color .15s ease, border-color .15s ease, transform .15s var(--ease), color .15s ease; }
.footer-nav a:hover { background: var(--blue-dark); border-color: var(--blue-dark); transform: translateY(-2px); }
.footer-nav a.active { background: var(--white); color: var(--ink); border-color: var(--ink); box-shadow: none; }
.footer-legal { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.footer-legal a { padding: 4px 14px; position: relative; transition: color .15s ease; }
.footer-legal a:hover { color: var(--blue-dark); }
.footer-legal a + a::before { content: ''; position: absolute; left: 0; top: 50%; width: 1px; height: 12px; background: #CBD3DC; transform: translateY(-50%); }
.footer-bottom { font-size: 12.5px; color: var(--muted); }
.footer-sep { margin: 0 6px; }
.footer-bottom a { color: var(--ink); font-weight: var(--fw-semi); }
.footer-bottom a:hover { color: var(--blue-dark); text-decoration: underline; text-underline-offset: 2px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .listing-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .feature { grid-template-columns: 1fr; }
  .feature__img { max-height: 360px; min-height: 0; }
  .blog-row, .blog-list .blog-row:first-child { grid-template-columns: 340px 1fr; }
  .blog-list .blog-row:first-child h2 { font-size: 28px; }
  .pricing-card { grid-template-columns: 300px 1fr; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; --header-gap: 10px; }
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    background: var(--white); border: 1px solid var(--line); border-radius: 18px;
    flex-direction: column; align-items: stretch; gap: 2px; padding: 8px;
    box-shadow: var(--shadow-lg); display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav > a, .main-nav > .has-sub > a { padding: 13px 16px; border-radius: 12px; }
  .has-sub > .submenu { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; padding: 0 0 0 12px; }
  .submenu a { padding: 11px 16px; font-size: 13.5px; }
  .btn-login { margin-left: auto; height: 40px; padding: 0 14px 0 11px; font-size: 14px; }
  .btn-login svg { width: 16px; height: 16px; }

  .hero { min-height: 640px; }
  .hero-inner { margin-top: -30px; }
  .hero h1, .hero .hero-line { font-size: 36px; }
  .hero-search { height: 58px; padding-left: 20px; }
  .hero-search button { width: 46px; height: 46px; }
  .hero-curve { height: 110px; }
  .hero-inner::after { margin-top: 40px; }

  .section { padding: 70px 0; }
  .section--light + .section--blue { padding-bottom: 90px; border-bottom-left-radius: 50% 36px; border-bottom-right-radius: 50% 36px; }
  .section-title { font-size: 30px; }
  .page-header { padding: calc(var(--header-offset) + 44px) 0 60px; border-bottom-left-radius: 50% 30px; border-bottom-right-radius: 50% 30px; }
  .page-header h1 { font-size: 32px; }
  .section--pull { margin-top: -40px; }
  .split, .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .split > div:first-child { order: 0; }
  .framed img { margin-left: 16px; width: calc(100% - 16px); }
  .why__sub { font-size: 30px; }
  .slider { padding: 0; }
  .slider__btn { display: none; }
  .filters { padding: 22px 18px 16px; }
  .filters__row { grid-template-columns: 1fr 1fr; }
  .filters__field--search { grid-column: 1 / -1; }
  .filters__icon { width: 48px; }
  .filters h2 { font-size: 19px; }
  .filters__sub { font-size: 13.5px; }
  .pricing-card, .blog-row, .blog-list .blog-row:first-child { grid-template-columns: 1fr; }
  .pricing-card__hero { padding: 40px 32px; align-items: flex-start; }
  .pricing-card__price { font-size: 64px; }
  .pricing-card__body { padding: 34px 28px 32px; }
  .blog-row__img, .blog-list .blog-row:first-child .blog-row__img { min-height: 0; height: 230px; }
  .blog-row h2, .blog-list .blog-row:first-child h2 { font-size: 24px; }
  .blog-row > div { padding: 26px 24px 24px; }
  .feed { grid-template-columns: 1fr; }
  .post h1 { font-size: 32px; }
  .post p, .post li { font-size: 17px; }
  .post__related-grid { grid-template-columns: 1fr; }
  .sitemap-title { font-size: 52px; }
  .sitemap-list a { font-size: 24px; }
  .city__lede, .city__body { font-size: 18px; }
  .city__name { font-size: 30px; }
  .city__pins img { width: 52px; height: 51px; }
  .city__pins { gap: 16px; }
  .app-title { font-size: 46px; }
  .cta-band { min-height: 520px; }
  .cta-band__panel { padding: 36px 28px; }
  .cta-band__panel h2 { font-size: 26px; }
}

@media (max-width: 600px) {
  .header-inner { padding: 0 12px 0 12px; gap: 10px; }
  .logo { gap: 9px; flex-shrink: 1; min-width: 0; }
  .logo img { width: 32px; height: 40px; }
  .logo-text { font-size: 14px; }
  .logo-text .sub { font-size: 12px; }
  .nav-toggle { padding: 6px; margin-left: auto; width: 42px; height: 42px; }
  /* icon-only on phones, so the full name fits; the words stay for screen readers */
  .btn-login { margin-left: 0; width: 42px; height: 42px; padding: 0; gap: 0; font-size: 0; justify-content: center; border-radius: 50%; flex-shrink: 0; }
  .btn-login svg { width: 18px; height: 18px; }
  .container, .blog-shell { padding-left: 18px; padding-right: 18px; }
  .hero h1, .hero .hero-line { font-size: 30px; }
  .listing-grid, .blog-grid { grid-template-columns: 1fr; }
  .footer-logo { width: 260px; }
  .footer-nav a { font-size: 14px; height: 40px; padding: 0 16px; }
  .footer-legal a { padding: 4px 9px; }
  .post__pair { grid-template-columns: 1fr; }
  .search-row { flex-direction: column; gap: 12px; }
  .search-row img { width: 100%; height: 160px; }
  .review { grid-template-columns: 1fr; text-align: center; }
  .review img { margin: 0 auto; }
  .review::before { display: none; }
  .article h1 { font-size: 28px; }
  .page-header h1 { font-size: 28px; }
  .contact-form { padding: 26px 20px; }
  .section:not(.section--light) .split > div:first-child::after { left: -8px; bottom: -14px; width: 64px; height: 64px; background-size: 30px auto; }
  .to-top { right: 14px; bottom: 14px; width: 44px; height: 44px; }
}

/* ==========================================================================
   Phone polish
   ========================================================================== */
@media (max-width: 900px) {
  /* 16px stops iPhones zooming the page when a field is tapped */
  input, select, textarea { font-size: 16px !important; }
}
@media (max-width: 600px) {
  /* footer buttons: an even two-column grid instead of a ragged 3 + 2 */
  .footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 340px; margin-left: auto; margin-right: auto; }
  .footer-nav a { padding: 0 12px; height: 44px; }
  .footer-nav a:last-child:nth-child(odd) { grid-column: 1 / -1; }
  /* legal links: spaced text links, no dividers left dangling at a line start */
  .footer-legal { gap: 2px 18px; max-width: 320px; margin-left: auto; margin-right: auto; }
  .footer-legal a { padding: 10px 2px; }
  .footer-legal a + a::before { display: none; }
  .footer-bottom { display: flex; flex-direction: column; align-items: center; gap: 4px; line-height: 1.5; }
  .footer-bottom a { padding: 6px 0; }
  .footer-sep { display: none; }
  /* blog tags read as one quiet line of text rather than a stack of pills */
  /* the page already has side padding; doubling it squeezed posts on phones */
  .post { padding-left: 0; padding-right: 0; padding-bottom: 60px; }
  .post__tags { display: block; padding-top: 20px; font-size: 13.5px; line-height: 2; color: var(--muted); }
  .post__tags::before { content: 'Tagged: '; font-weight: var(--fw-bold); color: var(--ink); }
  .post__tags a { display: inline; border: 0; padding: 0; border-radius: 0; font-size: 13.5px; background: none; }
  .post__tags a + a::before { content: ' \00B7  '; color: #B5BEC9; }
  .post__stats { padding: 18px 0; }
  .search-tabs { overflow-x: auto; scrollbar-width: none; }
  .search-tabs::-webkit-scrollbar { display: none; }
  .search-tabs button { padding: 12px 12px; font-size: 14.5px; }
  .feature__panel { padding: 26px 22px 24px; }
  .feature__panel h3 { font-size: 21px; }
  /* long button labels wrap inside a rounded box instead of running off screen */
  .btn { white-space: normal; height: auto; min-height: 52px; padding: 12px 24px; line-height: 1.3; max-width: 100%; }
  /* long email addresses and web addresses break instead of widening the page */
  .contact-info p, .contact-info a, .article a, .post a { overflow-wrap: anywhere; }
  .contact-info, .contact-form { min-width: 0; }
  /* city page: one pin above the intro instead of two squeezing it into a column */
  .city__pins { flex-direction: column; gap: 8px; }
  .city__pins img:last-child { display: none; }
  .city__pins img { width: 44px; height: 43px; }
}
@media (max-width: 1100px) {
  /* blog cards narrow here: the author (always "Online Directory") goes so the
     date, reading time and views share one line */
  .blog-card__foot img, .blog-card__foot > span:first-of-type { display: none; }
}
@media (max-width: 380px) {
  /* smallest phones: tighter header so the name, menu and log-in all fit */
  .header-inner { padding: 0 10px; gap: 6px; }
  .logo { gap: 7px; }
  .logo img { width: 26px; height: 33px; }
  .logo-text { font-size: 12.5px; letter-spacing: -0.015em; }
  .logo-text .sub { font-size: 11px; }
  .nav-toggle { width: 38px; height: 38px; font-size: 23px; padding: 0; }
  .btn-login { width: 38px; height: 38px; }
  .btn-login svg { width: 16px; height: 16px; }
}
@media (max-width: 400px) {
  /* bylines: drop the avatar and the author (always "Online Directory") so the
     date, reading time and views stay on one tidy line */
  .blog-row__byline > span:first-of-type, .blog-card__foot > span:first-of-type { display: none; }
  .post h1 { font-size: 27px; line-height: 1.15; }
  .post h2 { font-size: 22px; }
  .post__byline { font-size: 13px; gap: 4px 10px; }
  .post__byline img, .post__byline > span:first-of-type { display: none; }
  .post__cta .btn { font-size: 14px; padding: 12px 18px; letter-spacing: 0; }
  .sitemap-list a { font-size: 22px; }
  .post__updated + p::first-letter { font-size: 3.2em; padding: 6px 8px 0 0; }
  .page-header h1 { font-size: 26px; }
  .section-title { font-size: 26px; }
  /* bylines: drop the avatar so the meta stays on one tidy line */
  .blog-row__byline img, .blog-card__foot img { display: none; }
  .blog-row__byline, .blog-card__foot { gap: 4px 10px; }
  .blog-card__foot, .blog-row__byline { font-size: 12px; }
}
