/* ===========================================================
   City landing page styles — Get Fit With Vilmy
   Shared across /hialeah, /miami-gardens, /palm-springs-north,
   /opa-locka, /country-club, /hialeah-gardens, /miramar
   =========================================================== */

*, *::before, *::after { box-sizing: border-box; }

:root {
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Instrument Serif', Georgia, serif;
  --bg: #f3f2ec;
  --bg-soft: #ecebe4;
  --card-cream: #fbfaf4;
  --card-dark: #111111;
  --green: #c5e866;
  --green-bright: #d4f378;
  --green-ink: #7a9c2f;
  --text: #111111;
  --text-muted: #5a5a55;
  --text-dim: #858580;
  --border: #e3e1d8;
  --border-strong: #d2d0c4;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --ease: cubic-bezier(0.33, 1, 0.68, 1);
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
h1 em, h2 em, h3 em { font-style: italic; color: var(--green-ink); }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.narrow { max-width: 820px; margin-left: auto; margin-right: auto; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(243, 242, 236, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.7rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.logo em { font-style: italic; }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a {
  font-size: 0.95rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--green); color: #111; }
.btn-primary:hover { background: var(--green-bright); transform: translateY(-1px); }
.btn-dark { background: #111; color: #fff; }
.btn-dark:hover { background: #000; }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover { border-color: var(--text); }
.btn-lg { padding: 16px 32px; font-size: 1rem; }

/* Hero */
.city-hero {
  padding: 72px 0 56px;
  position: relative;
  overflow: hidden;
}
.city-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(197, 232, 102, 0.32), transparent 50%),
    radial-gradient(circle at 85% 85%, rgba(197, 232, 102, 0.15), transparent 45%);
  pointer-events: none;
}
.city-hero > * { position: relative; }
.breadcrumb {
  display: flex;
  gap: 6px;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb span { color: var(--text-dim); }
.city-hero .eyebrow {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--green-ink);
  font-size: 1.2rem;
  margin-bottom: 12px;
}
.city-hero h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  margin: 0 0 18px;
  max-width: 900px;
}
.city-hero .lede {
  font-size: 1.18rem;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 0 30px;
  line-height: 1.55;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}
.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--card-cream);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.hero-chip svg { color: var(--green-ink); flex: none; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* Section scaffolding */
.section-pad { padding: 72px 0; }
.section-pad.tight { padding: 56px 0; }
.section-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 44px;
}
.section-eyebrow {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--green-ink);
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.section-title {
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  margin: 0 0 14px;
}
.section-sub {
  font-size: 1.08rem;
  color: var(--text-muted);
  margin: 0;
}

/* Prose */
.prose { max-width: 760px; margin: 0 auto; }
.prose p { font-size: 1.08rem; line-height: 1.72; color: var(--text); }
.prose p + p { margin-top: 20px; }
.prose a { color: var(--green-ink); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: #5e7a22; }
.prose strong { font-weight: 600; }

/* Route / drive card */
.route-card {
  background: var(--card-cream);
  border: 1px solid var(--border);
  border-left: 4px solid var(--green);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  margin: 30px auto;
  max-width: 760px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
.route-card .pin-big {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green);
  color: #111;
  display: grid;
  place-items: center;
  flex: none;
}
.route-card h4 { margin: 0 0 4px; font-size: 1.15rem; }
.route-card p { margin: 0; font-size: 0.98rem; color: var(--text-muted); }

/* Neighborhoods / landmarks grid */
.neighborhoods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  max-width: 760px;
  margin: 24px auto 0;
}
.hood {
  background: var(--card-cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 0.94rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}
.hood::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-ink);
  flex: none;
}

/* Formats mini-grid */
.formats-mini {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 1000px;
  margin: 0 auto;
}
.fmt {
  background: var(--card-cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
}
.fmt.fmt-green { background: var(--green); border-color: var(--green); }
.fmt.fmt-dark { background: var(--card-dark); color: #fff; border-color: var(--card-dark); }
.fmt.fmt-dark p { color: rgba(255,255,255,0.75); }
.fmt h3 { font-size: 1.5rem; margin: 0 0 10px; }
.fmt p { margin: 0 0 18px; font-size: 0.98rem; color: var(--text-muted); line-height: 1.55; }
.fmt .price {
  font-family: var(--font-display);
  font-size: 1.4rem;
  display: block;
  margin-bottom: 4px;
}
.fmt .price-meta { font-size: 0.82rem; color: var(--text-dim); display: block; margin-bottom: 16px; }
.fmt.fmt-dark .price-meta { color: rgba(255,255,255,0.55); }

/* Why section */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  max-width: 1100px;
  margin: 0 auto;
}
.why-card {
  background: var(--card-cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}
.why-card .why-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--green);
  color: #111;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.why-card h4 { font-size: 1.25rem; margin: 0 0 8px; }
.why-card p { margin: 0; font-size: 0.96rem; color: var(--text-muted); line-height: 1.55; }

/* FAQ */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item {
  background: var(--card-cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  margin-bottom: 12px;
}
.faq-item[open] { border-color: var(--border-strong); }
.faq-q {
  font-family: var(--font-display);
  font-size: 1.22rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--green-ink);
  flex: none;
}
.faq-item[open] .faq-q::after { content: '−'; }
.faq-a {
  padding-top: 14px;
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.65;
}
.faq-a a { color: var(--green-ink); text-decoration: underline; text-underline-offset: 3px; }

/* Other areas */
.other-areas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  max-width: 1100px;
  margin: 0 auto;
}
.area-link {
  background: var(--card-cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.2s var(--ease);
}
.area-link:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  background: #fff;
}
.area-link .pin {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--green);
  color: #111;
  display: grid;
  place-items: center;
  flex: none;
}
.area-link strong {
  display: block;
  font-weight: 500;
  font-size: 0.98rem;
}
.area-link span {
  display: block;
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* CTA */
.cta-block {
  max-width: 900px;
  margin: 0 auto;
  padding: 52px 40px;
  background: var(--card-dark);
  color: #fff;
  border-radius: var(--radius-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(197, 232, 102, 0.16), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(197, 232, 102, 0.08), transparent 50%);
}
.cta-block > * { position: relative; }
.cta-block .eyebrow {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--green);
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.cta-block h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 0 0 14px; }
.cta-block p { color: rgba(255,255,255,0.78); max-width: 580px; margin: 0 auto 26px; font-size: 1.05rem; }

/* Testimonials */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.testi {
  padding: 28px 26px;
  background: var(--card-cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.stars { color: var(--green-ink); letter-spacing: 2px; font-size: 1rem; }
.testi-quote {
  font-family: var(--font-display);
  font-size: 1.18rem;
  line-height: 1.4;
  margin: 0;
  flex: 1;
}
.testi-person {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.testi-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--green);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  color: #111;
  flex: none;
  font-size: 1.15rem;
}
.testi-name { font-weight: 500; font-size: 0.94rem; }
.testi-meta { font-size: 0.8rem; color: var(--text-dim); }

/* Footer */
footer {
  background: var(--bg-soft);
  padding: 48px 0 32px;
  border-top: 1px solid var(--border);
  margin-top: 60px;
}
.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.foot a { color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.foot a:hover { color: var(--text); }
.foot-links { display: flex; gap: 20px; flex-wrap: wrap; }

/* Responsive */
@media (max-width: 860px) {
  .formats-mini { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .city-hero { padding: 48px 0 40px; }
  .cta-block { padding: 36px 24px; }
  .route-card { flex-direction: column; gap: 12px; }
}
