/* Hive City Pages — shared design system (v1.0.0)
   Design language matched to the hivecapitalrentals.com homepage
   (the site's polish benchmark): Inter-first type, 900-weight tight
   headlines, pill buttons, cream/paper surfaces, deep green + gold.
   Dashboard tokens (#0d2b1f family) harmonize as the deep-green end
   of the same palette. One stylesheet serves every city page;
   content lives in per-page files under content/ keyed by page ID. */

.hcp {
  --hcp-ink: #111814;
  --hcp-green: #173820;
  --hcp-green-deep: #0d2b1f;
  --hcp-gold: #dda43b;
  --hcp-gold-2: #f2c15f;
  --hcp-gold-deep: #7a5518;
  --hcp-cream: #f7f6f2;
  --hcp-paper: #ffffff;
  --hcp-body: #4e5851;
  --hcp-muted: #69716b;
  --hcp-line: #dde1dc;
  --hcp-radius: 24px;
  --hcp-shadow: 0 12px 32px rgba(17, 24, 20, .08);
  --hcp-font: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-family: var(--hcp-font);
  color: var(--hcp-ink);
  font-size: 17px;
  line-height: 1.65;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 0 12px;
}
.hcp *, .hcp *::before, .hcp *::after { box-sizing: border-box; }
.hcp img { max-width: 100%; }
.hcp h1, .hcp h2, .hcp h3 { color: var(--hcp-ink); margin: 0; }
.hcp h2 {
  font-size: clamp(32px, 3.8vw, 48px); font-weight: 900;
  letter-spacing: -.045em; line-height: 1.05;
}
.hcp h3 { letter-spacing: -.02em; }
.hcp p { margin: 0; }
.hcp a { color: var(--hcp-gold-deep); }

.hcp-eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 900; letter-spacing: .16em;
  text-transform: uppercase; color: var(--hcp-gold-deep);
  margin: 0 0 18px;
}
.hcp-eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--hcp-gold); flex: none; }
.hcp-eyebrow-light { color: var(--hcp-gold-2); }

/* ---------- Buttons (homepage pill style) ---------- */
.hcp-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 30px; }
.hcp-btns-center { justify-content: center; }
.hcp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  background: var(--hcp-ink); color: #fff !important;
  border: 1px solid var(--hcp-ink);
  font-size: 14.5px; font-weight: 800; line-height: 1;
  text-decoration: none !important;
  box-shadow: 0 12px 28px rgba(17, 24, 20, .14);
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.hcp-btn:hover { transform: translateY(-2px); background: var(--hcp-green); border-color: var(--hcp-green); box-shadow: 0 16px 34px rgba(17, 24, 20, .2); }
.hcp-btn-ghost {
  background: rgba(255, 255, 255, .75); color: var(--hcp-ink) !important;
  border-color: var(--hcp-line); box-shadow: none;
}
.hcp-btn-ghost:hover { background: #fff; border-color: var(--hcp-line); }
.hcp-btn-gold { background: var(--hcp-gold); border-color: var(--hcp-gold); color: var(--hcp-ink) !important; }
.hcp-btn-gold:hover { background: var(--hcp-gold-2); border-color: var(--hcp-gold-2); }
.hcp-btn-outline {
  background: transparent; color: #fff !important;
  border-color: rgba(255, 255, 255, .85); box-shadow: none;
}
.hcp-btn-outline:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }

/* ---------- Hero (homepage light editorial treatment) ---------- */
.hcp-hero {
  position: relative; overflow: hidden;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(221, 164, 59, .10), transparent 34%),
    radial-gradient(circle at 76% 16%, rgba(23, 56, 32, .10), transparent 30%),
    var(--hcp-cream);
  display: grid; grid-template-columns: 1.02fr .98fr;
  align-items: center; gap: 56px;
  padding: 54px 48px;
}
.hcp-hero::before {
  content: ""; position: absolute; inset: 0; opacity: .28; pointer-events: none;
  background-image:
    linear-gradient(rgba(17, 24, 20, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 24, 20, .035) 1px, transparent 1px);
  background-size: 42px 42px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 90%);
  mask-image: linear-gradient(to bottom, #000, transparent 90%);
}
.hcp-hero-txt { position: relative; z-index: 1; }
.hcp-hero h1 {
  font-size: clamp(42px, 4.6vw, 64px); font-weight: 900;
  letter-spacing: -.055em; line-height: 1.0; max-width: 12em;
}
.hcp-hero-sub { margin-top: 24px; font-size: 19px; line-height: 1.65; color: var(--hcp-body); max-width: 34em; }
.hcp-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hcp-badge {
  padding: 9px 13px; border: 1px solid rgba(17, 24, 20, .11); border-radius: 999px;
  background: rgba(255, 255, 255, .62); color: #39433d;
  font-size: 12px; font-weight: 800;
}
.hcp-hero-cap { margin-top: 18px; font-size: 14px; color: var(--hcp-muted); }
.hcp-hero-cap strong { color: var(--hcp-ink); }
.hcp-hero-vis { position: relative; z-index: 1; }
.hcp-hero-photo {
  display: block; width: 100%; height: auto;
  border-radius: 30px; box-shadow: 0 28px 70px rgba(17, 24, 20, .16);
}
.hcp-float {
  position: absolute; left: -14px; bottom: 22px;
  display: flex; align-items: center; gap: 12px;
  background: rgba(255, 255, 255, .94); border: 1px solid var(--hcp-line);
  border-radius: 18px; padding: 10px 18px 10px 10px;
  box-shadow: 0 18px 40px rgba(17, 24, 20, .18);
}
.hcp-float img { width: 82px; height: 76px; object-fit: cover; border-radius: 12px; display: block; }
.hcp-float span { display: flex; flex-direction: column; line-height: 1.3; }
.hcp-float strong { font-size: 14.5px; color: var(--hcp-ink); }
.hcp-float small { font-size: 12.5px; color: var(--hcp-muted); font-weight: 600; }

/* ---------- Sections ---------- */
.hcp-sec { padding: 76px 0 8px; }
.hcp-lead { color: var(--hcp-muted); font-size: 17px; line-height: 1.65; max-width: 44em; }
.hcp-split {
  display: grid; grid-template-columns: 1.25fr .75fr; gap: 48px;
  align-items: end; margin-bottom: 40px;
}
.hcp-split .hcp-lead { margin-bottom: 5px; }
.hcp-sec > .hcp-lead { margin-top: 14px; }

/* ---------- Item cards (photo-top, natural aspect) ---------- */
.hcp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.hcp-card {
  background: var(--hcp-paper); border: 1px solid var(--hcp-line);
  border-radius: var(--hcp-radius); overflow: hidden;
  box-shadow: var(--hcp-shadow);
  display: flex; flex-direction: column;
}
.hcp-card img { width: 100%; height: auto; display: block; }
.hcp-card-bd { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 6px; }
.hcp-card h3 { font-size: 20px; font-weight: 800; }
.hcp-tag {
  align-self: flex-start; background: var(--hcp-gold); color: var(--hcp-ink);
  font-size: 10.5px; font-weight: 900; letter-spacing: .15em; text-transform: uppercase;
  border-radius: 999px; padding: 5px 12px; margin-bottom: 4px;
}
.hcp-price { color: var(--hcp-gold-deep); font-weight: 800; font-size: 17px; }
.hcp-note { color: var(--hcp-muted); font-size: 15px; line-height: 1.55; }

/* ---------- Steps ---------- */
.hcp-sec-soft {
  background: var(--hcp-cream); border: 1px solid var(--hcp-line);
  border-radius: 28px; padding: 48px 44px; margin-top: 76px;
}
.hcp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.hcp-step {
  background: var(--hcp-paper); border: 1px solid var(--hcp-line);
  border-radius: var(--hcp-radius); padding: 28px 26px;
  box-shadow: 0 8px 24px rgba(17, 24, 20, .05);
}
.hcp-num {
  display: inline-grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--hcp-ink); color: var(--hcp-gold-2);
  font-size: 12px; font-weight: 900; margin-bottom: 16px;
}
.hcp-step h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.hcp-step p { color: var(--hcp-muted); font-size: 15.5px; }

/* ---------- Why Hive ---------- */
.hcp-feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 30px; }
.hcp-feat {
  background: var(--hcp-paper); border: 1px solid var(--hcp-line);
  border-radius: var(--hcp-radius); padding: 26px 24px;
  box-shadow: 0 8px 24px rgba(17, 24, 20, .05);
}
.hcp-pill {
  display: inline-block; background: rgba(221, 164, 59, .16); color: var(--hcp-gold-deep);
  font-size: 11px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase;
  border-radius: 999px; padding: 5px 12px; margin-bottom: 14px;
}
.hcp-feat h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.hcp-feat p { color: var(--hcp-muted); font-size: 15px; }

/* ---------- Service areas (dark, homepage service treatment) ---------- */
.hcp-dark {
  background:
    radial-gradient(circle at 80% 20%, rgba(221, 164, 59, .18), transparent 26%),
    var(--hcp-ink);
  border-radius: 26px; padding: 50px 46px; color: #eef3ef;
  box-shadow: 0 26px 60px rgba(0, 0, 0, .18);
}
.hcp-dark h2 { color: #fff; }
.hcp-dark-lead { color: rgba(255, 255, 255, .72); font-size: 17px; max-width: 46em; margin-top: 14px; }
.hcp-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 30px; }
.hcp-panel {
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 20px; padding: 26px;
}
.hcp-panel h3 { color: #fff; font-size: 20px; font-weight: 800; margin-bottom: 18px; }
.hcp-zips { display: flex; flex-wrap: wrap; gap: 8px; }
.hcp-zip {
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22);
  color: #fff; font-weight: 700; font-size: 15px;
  border-radius: 999px; padding: 7px 16px;
}
.hcp-areas { list-style: none; margin: 0; padding: 0; }
.hcp-areas li {
  padding: 10px 0 10px 20px; position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: 15.5px;
}
.hcp-areas li:last-child { border-bottom: 0; }
.hcp-areas li::before {
  content: ""; position: absolute; left: 0; top: 20px;
  width: 9px; height: 2px; background: var(--hcp-gold); border-radius: 2px;
}

/* ---------- FAQ ---------- */
.hcp-faq-head { margin-bottom: 26px; }
.hcp-faq details {
  background: var(--hcp-paper); border: 1px solid var(--hcp-line);
  border-radius: 20px; padding: 22px 26px; margin-bottom: 12px;
  box-shadow: 0 6px 18px rgba(17, 24, 20, .04);
}
.hcp-faq summary {
  cursor: pointer; font-weight: 800; font-size: 17.5px; color: var(--hcp-ink);
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.hcp-faq summary::-webkit-details-marker { display: none; }
.hcp-faq summary::after { content: "+"; color: var(--hcp-gold-deep); font-size: 24px; font-weight: 700; line-height: 1; }
.hcp-faq details[open ] summary::after { content: "–"; }
.hcp-faq details p { color: var(--hcp-muted); margin-top: 12px; font-size: 16px; }

/* ---------- Closing CTA (homepage final-cta treatment) ---------- */
.hcp-cta {
  background:
    linear-gradient(135deg, rgba(221, 164, 59, .18), transparent 42%),
    var(--hcp-green);
  border-radius: 28px; padding: 72px 34px; text-align: center;
  color: #fff; box-shadow: var(--hcp-shadow);
}
.hcp-cta .hcp-eyebrow { justify-content: center; color: var(--hcp-gold-2); }
.hcp-cta h2 { color: #fff; max-width: 20em; margin: 0 auto 16px; }
.hcp-cta p { color: rgba(255, 255, 255, .72); max-width: 40em; margin: 0 auto; font-size: 17px; }
.hcp-cta .hcp-btns { margin-top: 32px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hcp-grid { grid-template-columns: repeat(2, 1fr); }
  .hcp-feats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .hcp-hero { grid-template-columns: 1fr; gap: 38px; padding: 42px 32px; }
  .hcp-split { grid-template-columns: 1fr; align-items: start; gap: 16px; }
  .hcp-steps { grid-template-columns: 1fr; }
  .hcp-cols { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hcp { width: calc(100% - 30px); font-size: 16.5px; padding-top: 18px; }
  .hcp-sec { padding-top: 54px; }
  .hcp-sec-soft { padding: 34px 22px; margin-top: 54px; }
  .hcp-dark { padding: 36px 22px; }
  .hcp-cta { padding: 46px 22px; }
  .hcp-hero { padding: 36px 24px; border-radius: 24px; }
  .hcp-hero h1 { font-size: 38px; }
  .hcp-hero-sub { font-size: 17.5px; }
  .hcp-float { left: 10px; bottom: 12px; }
  .hcp-grid { grid-template-columns: 1fr; }
  .hcp-feats { grid-template-columns: 1fr; }
  .hcp-btn { width: 100%; }
}
