/* =================================================================
   [Agent Name] · Singapore Property Site
   Shared design system — based on v1 (clean white / green)
================================================================= */

:root {
  --bg: #FFFFFF;
  --bg-2: #F7F8F7;
  --bg-3: #EEF1EF;
  --ink: #0F1411;
  --ink-soft: #3D4642;
  --ink-mute: #6B7470;
  --line: #E5E8E6;
  --green: #15803D;
  --green-dark: #0F5E2C;
  --green-soft: #E8F3EC;
  --wa: #25D366;
  --gold: #D4A24A;
  --shadow-sm: 0 1px 2px rgba(15, 20, 17, 0.04), 0 1px 4px rgba(15, 20, 17, 0.04);
  --shadow-md: 0 4px 12px rgba(15, 20, 17, 0.06), 0 2px 4px rgba(15, 20, 17, 0.04);
  --shadow-lg: 0 24px 48px -16px rgba(15, 20, 17, 0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--ink); }
body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.ph {
  color: var(--green);
  background: var(--green-soft);
  border-bottom: 1px dashed var(--green);
  padding: 0 3px;
}
.acc { color: var(--green); }
.page { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
@media (max-width: 800px) { .page { padding: 0 20px; } }

/* =================================================================
   TOPBAR / NAV
================================================================= */
.topbar-wrap {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 0; gap: 24px; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 44px; height: 44px;
  border-radius: 12px; background: var(--green); color: white;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 15px;
  letter-spacing: -0.02em; flex-shrink: 0;
}
.brand-info { line-height: 1.2; }
.brand-name { font-weight: 700; font-size: 17px; letter-spacing: -0.01em; color: var(--ink); }
.brand-sub { font-size: 12px; color: var(--ink-mute); margin-top: 2px; }
.nav { display: flex; gap: 24px; align-items: center; }
.nav a {
  font-size: 14px; color: var(--ink-soft); font-weight: 500;
  transition: color .15s; position: relative; padding: 6px 0;
}
.nav a:hover { color: var(--green); }
.nav a.active { color: var(--green); }
.nav a.active::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 2px; background: var(--green); border-radius: 2px;
}
.nav a.nav-cta {
  background: var(--wa); color: white;
  padding: 11px 18px; border-radius: 999px;
  font-weight: 600; font-size: 14px;
  display: inline-flex; align-items: center; gap: 8px;
  transition: all .15s;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.25);
}
.nav a.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(37, 211, 102, 0.32); color: white; background: var(--wa); }
.nav a.nav-cta.active::after { display: none; }
.wa-glyph {
  width: 18px; height: 18px;
  background: white; border-radius: 50%;
  color: var(--wa);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800;
}
@media (max-width: 980px) {
  .nav { display: none; }
  .nav .nav-cta { display: inline-flex; }
  .mobile-cta { display: inline-flex !important; }
}
.mobile-cta { display: none; }

/* =================================================================
   PAGE HERO (smaller than home hero)
================================================================= */
.page-hero {
  padding: 80px 0 64px;
  border-bottom: 1px solid var(--line);
}
.page-hero .crumbs {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--ink-mute); margin-bottom: 24px;
}
.page-hero .crumbs a { color: var(--ink-mute); }
.page-hero .crumbs a:hover { color: var(--green); }
.page-hero .crumbs .sep { color: var(--line); }
.page-hero .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green-soft); color: var(--green-dark);
  padding: 6px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 600; margin-bottom: 18px;
}
.page-hero h1 {
  font-weight: 800;
  font-size: clamp(40px, 5.6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
  max-width: 880px;
}
.page-hero h1 .em { color: var(--green); }
.page-hero .lede {
  font-size: 18px; line-height: 1.65;
  color: var(--ink-soft);
  max-width: 640px;
}

/* =================================================================
   SECTION HEADERS (centered)
================================================================= */
.section { padding: 96px 0; border-top: 1px solid var(--line); }
.section.no-border { border-top: none; }
.section.shaded { background: var(--bg-2); border-color: transparent; }
@media (max-width: 800px) { .section { padding: 72px 0; } }

.section-head {
  text-align: center; max-width: 720px; margin: 0 auto 56px;
}
.section-head .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green-soft); color: var(--green-dark);
  padding: 6px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 600; margin-bottom: 18px;
}
.section-head h2 {
  font-weight: 700;
  font-size: clamp(32px, 4.2vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}
.section-head h2 .em { color: var(--green); }
.section-head p {
  font-size: 17px; color: var(--ink-soft);
  line-height: 1.55; max-width: 560px; margin: 0 auto;
}
.section-head.left { text-align: left; margin-left: 0; max-width: none; }
.section-head.left p { margin-left: 0; }

.section-head-row {
  display: flex; justify-content: space-between; align-items: end;
  gap: 24px; margin-bottom: 48px; flex-wrap: wrap;
}
.section-head-row .left h2 {
  font-weight: 700;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 8px;
}
.section-head-row .left h2 .em { color: var(--green); }
.section-head-row .left .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green-soft); color: var(--green-dark);
  padding: 6px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 600; margin-bottom: 12px;
}
.section-head-row .left p {
  font-size: 15px; color: var(--ink-soft);
  max-width: 480px;
}
.section-head-row .more {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--green);
  padding: 12px 18px; border-radius: 12px;
  border: 1px solid var(--green-soft);
  background: var(--green-soft);
  transition: all .15s;
}
.section-head-row .more:hover { background: var(--green); color: white; border-color: var(--green); }

/* =================================================================
   BUTTONS
================================================================= */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 12px;
  font-size: 15px; font-weight: 600;
  transition: all .15s;
  border: 1px solid transparent; cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.btn-wa { background: var(--wa); color: white; box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2); }
.btn-wa:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(37, 211, 102, 0.28); color: white; }
.btn-line { background: white; color: var(--ink); border-color: var(--line); }
.btn-line:hover { border-color: var(--ink); }
.btn-green { background: var(--green); color: white; box-shadow: 0 4px 12px rgba(21, 128, 61, 0.2); }
.btn-green:hover { transform: translateY(-1px); background: var(--green-dark); color: white; }

/* =================================================================
   PLACEHOLDER ART
================================================================= */
.photo-slot {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(135deg, rgba(15,20,17,0.04) 0 10px, transparent 10px 20px),
    linear-gradient(165deg, var(--bg-2), var(--bg-3));
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 10px;
  color: var(--ink-mute);
  text-align: center; padding: 20px;
}
.ph-icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: white; color: var(--green);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 36px;
  letter-spacing: -0.02em; box-shadow: var(--shadow-sm);
}
.ph-label { font-size: 12px; color: var(--ink-mute); font-weight: 500; }
.ph-label.faded { opacity: 0.6; font-size: 11px; }

/* =================================================================
   CARDS — service, story, listing, district, journal, resource
================================================================= */
.card-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1000px) {
  .card-grid-2 { grid-template-columns: 1fr; }
  .card-grid-3 { grid-template-columns: 1fr 1fr; }
  .card-grid-4 { grid-template-columns: 1fr 1fr; }
  /* Orphan handling on tablet: when a 3-card grid wraps to 2 cols and ends up
     with an odd count, center the trailing card instead of leaving it left-stranded. */
  .card-grid-3 > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: calc(50% - 10px);
    width: 100%;
  }
}
@media (max-width: 640px) {
  .card-grid-3, .card-grid-4 { grid-template-columns: 1fr; }
  /* On phone everything is single-column anyway — reset the orphan-centering. */
  .card-grid-3 > :last-child:nth-child(odd) {
    grid-column: auto;
    justify-self: stretch;
    max-width: none;
  }
}

/* Service cards */
.svc {
  background: white; border: 1px solid var(--line);
  border-radius: 20px; padding: 32px 28px;
  display: flex; flex-direction: column; gap: 14px;
  transition: all .2s; text-decoration: none; color: inherit;
}
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.svc .ic {
  width: 56px; height: 56px; border-radius: 16px;
  background: var(--green-soft); color: var(--green);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 26px; font-weight: 800;
}
.svc h3 { font-weight: 700; font-size: 22px; letter-spacing: -0.015em; color: var(--ink); }
.svc p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.6; }
.svc .arr {
  margin-top: auto; padding-top: 8px;
  font-size: 14px; font-weight: 600; color: var(--green);
  display: inline-flex; align-items: center; gap: 6px;
}

/* Story / testimonial cards */
.story {
  background: white; border: 1px solid var(--line);
  border-radius: 20px; padding: 28px;
  display: flex; flex-direction: column; gap: 18px;
  transition: all .2s;
}
.story:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.story-head { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.story-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--bg-2); border: 2px dashed var(--green);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; color: var(--ink-mute); font-weight: 600;
  flex-shrink: 0; text-align: center; line-height: 1.2;
}
.story-who { flex: 1; }
.story-name { font-weight: 700; font-size: 17px; color: var(--ink); letter-spacing: -0.01em; }
.story-age { font-size: 13px; color: var(--ink-mute); margin-top: 2px; }
.story-stars { color: var(--gold); font-size: 14px; letter-spacing: 2px; }
.story-quote { font-size: 14.5px; line-height: 1.7; color: var(--ink-soft); flex: 1; }
.story-quote-preview {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.story-avatar.story-avatar-img { padding: 0; border: none; }
.story-avatar.story-avatar-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.story-avatar.story-avatar-initial {
  background: var(--green-soft); color: var(--green-dark);
  border: none;
  font-size: 1.1rem; font-weight: 800;
}
a.story { text-decoration: none; color: inherit; }
a.story:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: transparent; }
.story-tag {
  align-self: flex-start;
  background: var(--green-soft); color: var(--green-dark);
  padding: 6px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 600;
}

/* Listing cards */
.listing {
  background: white; border: 1px solid var(--line);
  border-radius: 20px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: all .2s; text-decoration: none; color: inherit;
}
.listing:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.listing-img { aspect-ratio: 4/3; background: var(--bg-2); position: relative; }
.listing-pill {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  padding: 6px 12px; border-radius: 999px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.02em;
  background: white; color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.listing-pill.sale { background: var(--green); color: white; }
.listing-pill.sold { background: var(--ink); color: white; }
.listing-pill.lease { background: var(--gold); color: white; }
.listing-listed {
  position: absolute; bottom: 12px; right: 12px; z-index: 2;
  padding: 4px 10px; border-radius: 999px;
  font-size: 10.5px; font-weight: 600;
  background: rgba(15, 20, 17, 0.72); color: white;
  letter-spacing: 0.02em;
  backdrop-filter: blur(4px);
}
.listing-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 8px; }
.listing-meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-mute); font-weight: 500; }
.listing-meta .district { color: var(--green); font-weight: 700; }
.listing-name { font-weight: 700; font-size: 20px; letter-spacing: -0.01em; line-height: 1.2; color: var(--ink); }
.listing-name .em { color: var(--green); }
.listing-specs { display: flex; justify-content: space-between; align-items: baseline; padding-top: 12px; border-top: 1px solid var(--line); margin-top: 8px; font-size: 13px; color: var(--ink-soft); }
.listing-specs .price { font-weight: 800; font-size: 16px; color: var(--ink); letter-spacing: -0.01em; }

/* District cards */
.district {
  background: white; border: 1px solid var(--line);
  border-radius: 16px; padding: 22px;
  display: flex; flex-direction: column; gap: 10px;
  transition: all .2s; text-decoration: none; color: inherit;
}
.district:hover { border-color: var(--green); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.district .d-num {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--green);
}
.district .d-name { font-weight: 700; font-size: 20px; letter-spacing: -0.015em; color: var(--ink); }
.district .d-sub { font-size: 12px; color: var(--ink-mute); line-height: 1.4; }
.district .d-stats {
  margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 6px;
}
.district .d-stat { display: flex; justify-content: space-between; align-items: baseline; }
.district .d-stat .sl { font-size: 11px; color: var(--ink-mute); font-weight: 500; }
.district .d-stat .sv { font-weight: 700; font-size: 14px; }
.district .d-stat .sv .acc { color: var(--green); }

/* Journal / article cards */
.journal {
  background: white; border: 1px solid var(--line);
  border-radius: 20px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: all .2s; text-decoration: none; color: inherit;
}
.journal:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.journal-img { aspect-ratio: 4/3; background: var(--bg-2); position: relative; }
.journal-img .photo-slot { padding: 14px; }
.journal-img .ph-icon { width: 56px; height: 56px; font-size: 26px; }
.journal-body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.journal-cat {
  display: inline-flex; align-self: flex-start;
  background: var(--green-soft); color: var(--green-dark);
  padding: 4px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 600; margin-bottom: 12px;
}
.journal-title { font-weight: 700; font-size: 20px; line-height: 1.25; letter-spacing: -0.01em; margin-bottom: 10px; transition: color .2s; color: var(--ink); }
.journal:hover .journal-title { color: var(--green); }
.journal-dek { font-size: 14px; color: var(--ink-soft); line-height: 1.6; margin-bottom: 16px; flex: 1; }
.journal-meta { padding-top: 14px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-mute); font-weight: 500; }

/* Resource cards */
.resource {
  background: white; border: 1px solid var(--line);
  border-radius: 16px; padding: 24px;
  display: flex; flex-direction: column;
  transition: all .2s; text-decoration: none; color: inherit;
}
.resource:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); border-color: var(--green); }
.resource .ic {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--green-soft); color: var(--green);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 16px; margin-bottom: 14px;
}
.resource-title { font-weight: 700; font-size: 16px; letter-spacing: -0.01em; margin-bottom: 6px; color: var(--ink); }
.resource-desc { font-size: 13px; color: var(--ink-soft); line-height: 1.55; flex: 1; margin-bottom: 12px; }
.resource-link { font-size: 13px; font-weight: 600; color: var(--green); display: inline-flex; align-items: center; gap: 6px; }

/* =================================================================
   FILTER CHIPS
================================================================= */
.filters {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-bottom: 32px;
  padding: 12px;
  background: var(--bg-2);
  border-radius: 16px;
}
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 18px; border-radius: 10px;
  font-size: 14px; font-weight: 600;
  background: transparent; color: var(--ink-soft);
  border: none; cursor: pointer;
  transition: all .15s;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.chip:hover { background: white; color: var(--ink); }
.chip.active { background: white; color: var(--ink); box-shadow: var(--shadow-sm); }
.chip .count { color: var(--ink-mute); font-weight: 500; font-size: 13px; }
.chip.active .count { color: var(--green); }

/* =================================================================
   GOOGLE BANNER (testimonial header)
================================================================= */
.google-banner {
  background: white; border: 1px solid var(--line);
  border-radius: 20px; padding: 22px 28px;
  margin-bottom: 24px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px; flex-wrap: wrap;
}
.google-banner .gb-l { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.google-banner .gb-rating { font-weight: 800; font-size: 36px; color: var(--ink); letter-spacing: -0.03em; line-height: 1; }
.google-banner .gb-rating .denom { color: var(--ink-mute); font-size: 18px; font-weight: 600; }
.google-banner .gb-stars { color: var(--gold); font-size: 20px; letter-spacing: 3px; }
.google-banner .gb-label { font-size: 13px; color: var(--ink-mute); line-height: 1.4; }
.google-banner .gb-label b { color: var(--ink); font-weight: 700; font-size: 14px; }
.google-banner .gb-link { font-size: 13px; font-weight: 600; color: var(--green-dark); padding: 10px 18px; background: var(--green-soft); border-radius: 999px; transition: all .15s; }
.google-banner .gb-link:hover { background: var(--green); color: white; }

/* =================================================================
   CONNECT / CTA BLOCK
================================================================= */
.connect-card {
  background: linear-gradient(160deg, var(--green-dark), var(--green));
  color: white;
  border-radius: 28px;
  padding: 64px;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px;
  align-items: center;
  position: relative; overflow: hidden;
}
.connect-card::before {
  content: ''; position: absolute;
  bottom: -50%; right: -20%;
  width: 60%; height: 100%;
  background: radial-gradient(circle, rgba(255,255,255,0.18), transparent 65%);
  pointer-events: none;
}
@media (max-width: 900px) { .connect-card { grid-template-columns: 1fr; padding: 40px 28px; border-radius: 20px; } }
.cc-text { position: relative; }
.cc-text h2 {
  font-weight: 800;
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1.05; letter-spacing: -0.025em;
  margin-bottom: 18px;
}
.cc-text p {
  font-size: 17px; line-height: 1.6;
  color: rgba(255,255,255,0.85);
  max-width: 460px;
}
.cc-channels {
  display: flex; flex-direction: column; gap: 12px;
  position: relative;
}
.channel {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 16px; padding: 18px 22px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; color: white;
  transition: all .2s; backdrop-filter: blur(8px);
}
.channel:hover { background: white; color: var(--green-dark); border-color: white; }
.channel:hover .ch-sub { color: rgba(15, 94, 44, 0.7); }
.channel:hover .ch-icon { background: var(--green-dark); color: white; }
.ch-left { display: flex; align-items: center; gap: 14px; flex: 1; min-width: 0; }
.ch-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: white; color: var(--green-dark);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 800;
  flex-shrink: 0; transition: all .2s;
}
.ch-text { line-height: 1.3; min-width: 0; }
.ch-val { font-weight: 700; font-size: 16px; letter-spacing: -0.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ch-sub { font-size: 12px; color: rgba(255,255,255,0.7); margin-top: 3px; transition: color .2s; }
.ch-arr { font-size: 20px; font-weight: 700; flex-shrink: 0; }

/* =================================================================
   FOOTER
================================================================= */
footer {
  background: var(--bg-2);
  padding: 64px 0 32px;
  margin-top: 96px;
}
.f-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
@media (max-width: 800px) { .f-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
.f-brand-row { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.f-brand-name { font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.f-bio { font-size: 14px; color: var(--ink-soft); max-width: 320px; line-height: 1.65; margin-bottom: 20px; }
.f-social { display: flex; gap: 8px; }
.f-social a {
  width: 36px; height: 36px; border-radius: 10px;
  background: white; color: var(--ink-soft);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
  border: 1px solid var(--line);
  transition: all .15s;
}
.f-social a:hover { background: var(--green); color: white; border-color: var(--green); }
.f-col h4 {
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--green); margin-bottom: 16px;
}
.f-col a, .f-col p {
  display: block; color: var(--ink-soft);
  font-size: 14px; padding: 5px 0;
}
.f-col a:hover { color: var(--green); }
.f-base {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--ink-mute);
  flex-wrap: wrap; gap: 12px;
}
.f-base a { color: var(--ink-mute); }
.f-base a:hover { color: var(--green); }
.f-base .links a { margin-left: 20px; }

/* =================================================================
   FORM
================================================================= */
.form-block {
  background: white; border: 1px solid var(--line);
  border-radius: 24px; padding: 44px;
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px;
  align-items: start;
}
@media (max-width: 800px) { .form-block { grid-template-columns: 1fr; padding: 28px; gap: 28px; } }
.form-side h3 { font-weight: 700; font-size: clamp(24px, 3vw, 32px); letter-spacing: -0.02em; margin-bottom: 12px; line-height: 1.2; }
.form-side h3 .em { color: var(--green); }
.form-side p { font-size: 15px; color: var(--ink-soft); line-height: 1.6; max-width: 280px; }
.form-side .form-note { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 12px; color: var(--ink-mute); font-weight: 500; }
.form-side .form-note b { color: var(--green); font-weight: 700; }
.connect-form { display: flex; flex-direction: column; gap: 14px; }
.connect-form label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-mute); margin-bottom: 6px; display: block; }
.connect-form .ff {
  width: 100%; border: 1px solid var(--line);
  border-radius: 10px; padding: 13px 14px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px; color: var(--ink);
  background: var(--bg-2); outline: none;
  transition: border-color .15s, background .15s;
}
.connect-form .ff:focus { border-color: var(--green); background: white; }
.connect-form .ff::placeholder { color: var(--ink-mute); }
.connect-form textarea.ff { resize: vertical; min-height: 80px; font-family: 'Plus Jakarta Sans', sans-serif; }
.connect-form .ff-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 600px) { .connect-form .ff-row { grid-template-columns: 1fr; } }
.connect-form .submit {
  margin-top: 8px;
  background: var(--wa); color: white;
  border: none; border-radius: 12px;
  padding: 15px 22px;
  font-size: 15px; font-weight: 700;
  font-family: 'Plus Jakarta Sans', sans-serif;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
  transition: all .2s;
}
.connect-form .submit:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(37, 211, 102, 0.32); }

/* =================================================================
   PRESS LOGO ROW
================================================================= */
.press-head { text-align: center; margin-bottom: 32px; }
.press-head .l { display: inline-flex; align-items: center; gap: 14px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-mute); }
.press-head .l::before, .press-head .l::after { content: ''; width: 48px; height: 1px; background: var(--line); }
.press-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
@media (max-width: 900px) { .press-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .press-grid { grid-template-columns: repeat(2, 1fr); } }
.press-logo {
  background: white; border: 1px solid var(--line);
  border-radius: 14px; padding: 24px 14px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 90px; text-align: center;
  transition: all .2s;
}
.press-logo:hover { border-color: var(--green); transform: translateY(-2px); }
.press-logo .name { font-weight: 800; font-size: 14px; letter-spacing: -0.01em; color: var(--ink); line-height: 1.2; }
.press-logo .small { display: block; font-size: 10px; color: var(--ink-mute); font-weight: 600; margin-top: 4px; text-transform: uppercase; letter-spacing: 0.06em; }

/* =================================================================
   FAQ ACCORDION
================================================================= */
.faq-list {
  display: flex; flex-direction: column; gap: 12px;
  max-width: 880px; margin: 0 auto;
}
.faq {
  background: white; border: 1px solid var(--line);
  border-radius: 16px; overflow: hidden;
  transition: all .2s;
}
.faq[open] { border-color: var(--green); box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer;
  padding: 22px 26px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px;
  font-weight: 700; font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--green-soft); color: var(--green);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 18px; flex-shrink: 0;
  transition: all .2s;
}
.faq[open] summary .ic { background: var(--green); color: white; transform: rotate(45deg); }
.faq-body {
  padding: 0 26px 24px;
  font-size: 15px; line-height: 1.7; color: var(--ink-soft);
}
.faq-body p + p { margin-top: 12px; }
.faq-body strong, .faq-body b { color: var(--ink); font-weight: 700; }

/* =================================================================
   STAT BLOCKS
================================================================= */
.astat {
  background: white; border: 1px solid var(--line);
  border-radius: 16px; padding: 28px 20px;
  text-align: center; transition: all .2s;
}
.astat:hover { border-color: var(--green); transform: translateY(-2px); }
.astat .num {
  font-weight: 800;
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1; letter-spacing: -0.03em; color: var(--ink);
}
.astat .num .acc { color: var(--green); }
.astat .lbl { font-size: 13px; font-weight: 600; color: var(--ink-soft); margin-top: 10px; }
.astat .sub { font-size: 12px; color: var(--ink-mute); margin-top: 4px; }

/* =================================================================
   MOBILE NAV — hamburger + drawer
================================================================= */
.nav-burger {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column;
  align-items: center; justify-content: center;
  gap: 5px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  padding: 0;
  margin-left: auto;
  transition: background .15s, border-color .15s;
  -webkit-tap-highlight-color: transparent;
}
.nav-burger:hover { background: var(--bg-2); }
.nav-burger span {
  display: block;
  width: 18px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-backdrop {
  display: none;
  position: fixed; inset: 0;
  background: rgba(15, 20, 17, 0.4);
  z-index: 60;
  opacity: 0;
  transition: opacity .25s ease;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

@media (max-width: 980px) {
  /* backdrop-filter creates a containing block, which would trap the
     fixed-position .nav drawer inside the topbar. Drop it on mobile. */
  .topbar-wrap { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(255,255,255,0.98); }

  /* Show burger, hide inline nav by default on mobile */
  .nav-burger { display: inline-flex; }

  /* The whole nav becomes a slide-in drawer */
  .nav {
    display: flex !important;
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(86vw, 340px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: white;
    padding: 88px 24px 32px;
    z-index: 70;
    transform: translateX(100%);
    transition: transform .28s cubic-bezier(.4, 0, .2, 1);
    box-shadow: -16px 0 48px rgba(15, 20, 17, 0.12);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .nav a {
    padding: 16px 4px;
    font-size: 16px;
    border-bottom: 1px solid var(--line);
  }
  .nav a.active::after { display: none; }
  .nav a.active { color: var(--green); }
  .nav a.nav-cta {
    margin-top: 20px;
    justify-content: center;
    padding: 14px 18px;
    font-size: 15px;
    border-bottom: none;
  }
  .nav-backdrop { display: block; pointer-events: none; }

  body.nav-open { overflow: hidden; }
  body.nav-open .nav { transform: translateX(0); }
  body.nav-open .nav-backdrop { opacity: 1; pointer-events: auto; }
  body.nav-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .nav-burger span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* =================================================================
   MOBILE — tighter spacing, no wrap topbar, smaller hero etc.
================================================================= */
@media (max-width: 980px) {
  .topbar {
    flex-wrap: nowrap;
    padding: 14px 0;
    gap: 12px;
  }
  .topbar .brand { min-width: 0; flex: 1; }
  .topbar .brand-info { min-width: 0; }
  .topbar .brand-name,
  .topbar .brand-sub { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .brand-mark { width: 40px; height: 40px; border-radius: 10px; font-size: 14px; }
  .brand-name { font-size: 15px; }
  .brand-sub { font-size: 11px; }
}

@media (max-width: 640px) {
  .page { padding: 0 18px; }
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 36px; }
  .section-head-row { margin-bottom: 32px; gap: 14px; }
  .section-head-row .more { padding: 10px 14px; font-size: 13px; }

  /* Buttons should fit comfortably */
  .btn { padding: 13px 18px; font-size: 14.5px; }

  /* Section heads slightly smaller */
  .section-head p { font-size: 15.5px; }

  /* Page hero — reduce vertical pad */
  .page-hero { padding: 48px 0 40px; }
  .page-hero h1 { font-size: clamp(34px, 9vw, 48px); }
  .page-hero .lede { font-size: 16px; }

  /* Cards — softer radius, tighter padding */
  .svc { padding: 26px 22px; border-radius: 16px; }
  .svc h3 { font-size: 19px; }
  .story { padding: 22px; border-radius: 16px; }
  .listing { border-radius: 16px; }
  .listing-body { padding: 18px 20px 20px; }
  .listing-name { font-size: 18px; }
  .journal { border-radius: 16px; }
  .journal-body { padding: 20px 22px 22px; }
  .journal-title { font-size: 18px; }

  /* Google banner */
  .google-banner { padding: 18px 20px; border-radius: 16px; gap: 14px; }
  .google-banner .gb-rating { font-size: 30px; }
  .google-banner .gb-stars { font-size: 17px; letter-spacing: 2px; }
  .google-banner .gb-link { padding: 9px 14px; }

  /* Connect / CTA card */
  .connect-card { padding: 32px 22px; border-radius: 18px; gap: 32px; }
  .cc-text p { font-size: 15.5px; }
  .channel { padding: 14px 16px; border-radius: 12px; }
  .ch-icon { width: 40px; height: 40px; font-size: 16px; }
  .ch-val { font-size: 14.5px; }
  .ch-sub { font-size: 11.5px; }
  .ch-left { gap: 12px; }

  /* Footer — single column, brand spans full width */
  footer { padding: 48px 0 24px; margin-top: 64px; }
  .f-grid { grid-template-columns: 1fr 1fr !important; gap: 28px 24px; margin-bottom: 36px; }
  .f-grid > :first-child { grid-column: 1 / -1; }
  .f-col h4 { margin-bottom: 12px; }
  .f-col a, .f-col p { font-size: 13.5px; padding: 4px 0; }
  .f-base { font-size: 12px; }
  .f-base .links a { margin-left: 0; margin-right: 16px; }

  /* Filters chip bar — let chips wrap nicely */
  .filters { padding: 8px; gap: 6px; border-radius: 12px; }
  .chip { padding: 9px 14px; font-size: 13px; }

  /* FAQ */
  .faq summary { padding: 18px 20px; font-size: 15.5px; gap: 16px; }
  .faq-body { padding: 0 20px 20px; font-size: 14.5px; }

  /* Form */
  .connect-form .ff { padding: 12px 13px; font-size: 15px; } /* 15+ avoids iOS zoom on focus */

  /* Press tiles */
  .press-logo { padding: 18px 10px; min-height: 76px; }
  .press-logo .name { font-size: 13px; }
}

/* Tiny screens — narrow phones */
@media (max-width: 380px) {
  .page { padding: 0 18px; }
  .topbar .brand-sub { display: none; }
  .f-grid { grid-template-columns: 1fr !important; }
}

/* =================================================================
   FLOATING WHATSAPP BUTTON — fixed bottom-right on every page
================================================================= */
.fab-wa {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--wa);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 2px 6px rgba(15, 20, 17, 0.15);
  z-index: 100;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  text-decoration: none;
}
.fab-wa:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.55), 0 4px 8px rgba(15, 20, 17, 0.2);
  color: white;
}
.fab-wa:active { transform: scale(0.96); }
.fab-wa svg { width: 30px; height: 30px; }
@media (max-width: 640px) {
  .fab-wa { width: 52px; height: 52px; bottom: 16px; right: 16px; }
  .fab-wa svg { width: 26px; height: 26px; }
}

/* =================================================================
   BUTTON — standalone variants (work without .btn base class)
================================================================= */
/* Promote btn-wa to self-contained so it works standalone too */
.btn-wa {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 12px;
  font-size: 15px; font-weight: 600; font-family: inherit;
  border: none; cursor: pointer; text-decoration: none; line-height: 1;
  transition: transform .15s, box-shadow .15s;
}
.btn-wa svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green); color: #fff;
  padding: 13px 22px; border-radius: 12px;
  font-size: 15px; font-weight: 600; font-family: inherit;
  border: none; cursor: pointer; text-decoration: none; line-height: 1;
  box-shadow: 0 4px 12px rgba(21,128,61,.2);
  transition: background .15s, transform .15s, box-shadow .15s;
}
.btn-primary:hover { background: var(--green-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(21,128,61,.28); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: rgba(255,255,255,.9);
  padding: 13px 22px; border-radius: 12px;
  font-size: 15px; font-weight: 600; font-family: inherit;
  cursor: pointer; text-decoration: none; line-height: 1;
  border: 1.5px solid rgba(255,255,255,.35);
  transition: border-color .15s, background .15s;
}
.btn-outline:hover { border-color: rgba(255,255,255,.8); background: rgba(255,255,255,.1); }

/* =================================================================
   PAGE HERO — semantic classes used by inner pages
   (.page-hero wraps, these name the inner elements)
================================================================= */
.page-hero-eyebrow {
  font-size: .7rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--green); margin-bottom: 12px;
}
.page-hero-title {
  font-weight: 800;
  font-size: clamp(32px, 6vw, 60px);
  line-height: 1.1; letter-spacing: -.025em;
  margin-bottom: 16px;
}
.page-hero-sub {
  font-size: 1.05rem; line-height: 1.65;
  color: var(--ink-soft); max-width: 600px;
}
@media (max-width: 640px) {
  .page-hero-title { font-size: clamp(28px, 8.5vw, 40px); }
  .page-hero-sub { font-size: .95rem; }
}

/* =================================================================
   CONNECT CTA BLOCK — inner-element classes (districts, journal, contact)
================================================================= */
.connect-section { padding: 0 0 80px; }
@media (max-width: 640px) { .connect-section { padding-bottom: 56px; } }

.connect-body { position: relative; z-index: 1; }
.connect-eyebrow {
  font-size: .7rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.65); margin-bottom: 10px;
}
.connect-title {
  font-weight: 800;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.1; letter-spacing: -.025em;
  color: #fff; margin-bottom: 14px;
}
.connect-sub {
  font-size: .95rem; line-height: 1.65;
  color: rgba(255,255,255,.75); max-width: 480px;
  margin-bottom: 28px;
}
.connect-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.connect-art {
  display: flex; align-items: center; justify-content: center;
  opacity: .8;
}
@media (max-width: 640px) { .connect-art { display: none; } }
@media (max-width: 480px) {
  .connect-actions { flex-direction: column; }
  .connect-actions a { justify-content: center; }
}

/* =================================================================
   FOOTER — dark simplified variant (inner pages)
================================================================= */
.footer {
  background: var(--ink);
  padding: 48px 0 28px;
}
.footer-inner {
  display: flex; flex-direction: column; gap: 24px;
}
.footer-brand { display: flex; flex-direction: column; gap: 8px; }
.footer-tagline {
  font-size: .78rem; color: rgba(255,255,255,.45); font-weight: 500;
}
.footer-nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer-nav a {
  font-size: .85rem; color: rgba(255,255,255,.6);
  font-weight: 500; padding: 4px 0; transition: color .15s;
}
.footer-nav a:hover { color: rgba(255,255,255,.9); }
.footer-copy {
  font-size: .75rem; color: rgba(255,255,255,.3);
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.1);
}

/* =================================================================
   FAQ — <details>/<summary> variant (contact page)
   (services page uses the older .faq / .faq-body variant)
================================================================= */
.faq-item {
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: 14px; overflow: hidden;
  transition: border-color .18s, box-shadow .18s;
}
.faq-item[open] { border-color: var(--green); box-shadow: var(--shadow-sm); }
.faq-question {
  list-style: none; cursor: pointer;
  padding: 20px 24px;
  display: flex; justify-content: space-between;
  align-items: center; gap: 16px;
  font-weight: 700; font-size: .95rem; color: var(--ink);
  -webkit-tap-highlight-color: transparent; user-select: none;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-chevron {
  width: 20px; height: 20px; flex-shrink: 0;
  color: var(--ink-mute); transition: transform .22s ease;
}
.faq-item[open] .faq-chevron { transform: rotate(180deg); color: var(--green); }
.faq-answer {
  padding: 0 24px 20px;
  font-size: .9rem; line-height: 1.7; color: var(--ink-soft);
}
.faq-answer p + p { margin-top: 10px; }
@media (max-width: 640px) {
  .faq-question { padding: 16px 18px; font-size: .88rem; gap: 12px; }
  .faq-answer { padding: 0 18px 18px; }
}

/* =================================================================
   SAMSUNG Z FLIP & NARROW PHONES (≤ 390px)
   Z Flip 5 unfolded: ~390 × 844 CSS pixels
================================================================= */
@media (max-width: 390px) {
  /* Tighter page gutter */
  .page { padding: 0 15px; }

  /* Brand */
  .brand-mark { width: 36px; height: 36px; border-radius: 9px; }
  .brand-name { font-size: 14px; }

  /* Page hero */
  .page-hero { padding: 36px 0 28px; }
  .page-hero-title,
  .page-hero h1 { font-size: 28px; }
  .page-hero-sub,
  .page-hero .lede { font-size: .88rem; }

  /* Section spacing */
  .section { padding: 44px 0; }
  .section-head { margin-bottom: 28px; }
  .section-head h2 { font-size: 26px; }
  .section-head-row .left h2 { font-size: 24px; }
  .section-head p { font-size: 14.5px; }

  /* Buttons */
  .btn,
  .btn-primary,
  .btn-outline,
  .btn-wa { padding: 11px 18px; font-size: 14px; border-radius: 10px; }

  /* Connect card */
  .connect-card { padding: 26px 16px; border-radius: 16px; gap: 22px; }
  .connect-title { font-size: 24px; }
  .connect-sub { font-size: .88rem; margin-bottom: 20px; }

  /* Chips */
  .chip { padding: 8px 12px; font-size: .78rem; border-radius: 8px; }
  .filters { padding: 6px; gap: 4px; }

  /* FAQ */
  .faq summary { padding: 14px 16px; font-size: 14px; gap: 12px; }
  .faq-body { padding: 0 16px 16px; font-size: 14px; }
  .faq-question { padding: 14px 16px; font-size: .85rem; }
  .faq-answer { padding: 0 16px 16px; font-size: .85rem; }

  /* Stats */
  .astat { padding: 22px 14px; border-radius: 12px; }
  .astat .num { font-size: 30px; }

  /* Cards */
  .svc { padding: 22px 18px; border-radius: 14px; }
  .svc h3 { font-size: 18px; }
  .story { padding: 18px; border-radius: 14px; }
  .listing-body { padding: 14px 16px 16px; }
  .listing-name { font-size: 16px; }

  /* Google banner */
  .google-banner { flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px; }
  .google-banner .gb-rating { font-size: 28px; }
  .google-banner .gb-stars { font-size: 15px; }

  /* Channel cards in connect */
  .channel { padding: 12px 14px; }
  .ch-val { font-size: 14px; }

  /* Footer */
  footer { padding: 40px 0 20px; margin-top: 48px; }
  .f-grid { grid-template-columns: 1fr !important; gap: 24px; }
  .f-col a, .f-col p { font-size: 13px; }
  .footer-nav a { font-size: .78rem; }
}
