/* Solid Ground Rentals — brand theme
   Black + signal orange + white. "Love where you live." */

:root {
  --brand: #e85d1f;
  --brand-dark: #c24d14;
  --brand-soft: #fdeee4;
  --black: #131313;
  --coal: #1e1e20;
  --paper: #ffffff;
  --cream: #faf8f4;
  --ink: #23211f;
  --ink-soft: #5c5852;
  --line: #e8e2d6;
  --red: #b3261e;
  --radius: 14px;
  --shadow: 0 12px 32px rgba(19, 19, 19, 0.10);
  --shadow-lg: 0 20px 50px rgba(19, 19, 19, 0.16);
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brand-dark); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 0.6em; color: var(--black); font-weight: 600; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 4.8vw, 3.4rem); }
h2 { font-size: clamp(1.55rem, 3.2vw, 2.2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.container { width: min(1140px, 92%); margin: 0 auto; }
.section { padding: 5rem 0; }
.section-tight { padding: 3.2rem 0; }
.eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--brand); margin-bottom: 0.9rem;
}
.lead { font-size: 1.16rem; color: var(--ink-soft); max-width: 46rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(19, 19, 19, 0.98); backdrop-filter: blur(6px);
  border-bottom: 2px solid var(--brand);
}
.header-inner { display: flex; align-items: center; gap: 1.4rem; padding: 0.55rem 0; }
.brand { display: flex; align-items: center; margin-right: auto; text-decoration: none; }
.brand-logo { height: 78px; width: auto; }
.main-nav { display: flex; gap: 0.2rem; align-items: center; }
.main-nav a {
  text-decoration: none; color: #f2efe9; font-weight: 500; font-size: 0.95rem;
  padding: 0.55rem 0.85rem; border-radius: 8px; transition: background 0.15s;
}
.main-nav a:hover { background: rgba(255, 255, 255, 0.10); color: #fff; }
.main-nav a.active { background: var(--brand); color: #fff; }
.header-cta { display: flex; gap: 0.7rem; align-items: center; }
.header-phone { font-weight: 700; color: #fff; text-decoration: none; white-space: nowrap; font-size: 0.95rem; }
.header-phone:hover { color: var(--brand); }
.nav-toggle { display: none; background: none; border: 1px solid rgba(255,255,255,0.3); color: #fff; border-radius: 8px; padding: 0.5rem 0.7rem; font-size: 1.2rem; cursor: pointer; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; font-weight: 700; font-size: 1rem;
  padding: 0.9rem 1.7rem; border-radius: 10px; border: 2px solid transparent;
  cursor: pointer; transition: transform 0.08s ease, box-shadow 0.15s ease, background 0.15s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-gold { background: var(--brand); color: #fff; }
.btn-gold:hover { background: var(--brand-dark); color: #fff; }
.btn-outline { border-color: var(--black); color: var(--black); background: transparent; }
.btn-outline:hover { background: var(--black); color: #fff; }
.btn-light { background: #fff; color: var(--black); border-color: #fff; }
.btn-light:hover { background: #f0ece2; color: var(--black); }
.btn-outline-light { border-color: rgba(255,255,255,0.7); color: #fff; background: transparent; }
.btn-outline-light:hover { background: #fff; color: var(--black); border-color: #fff; }
.btn-sm { padding: 0.6rem 1.05rem; font-size: 0.9rem; }
.btn-block { display: block; width: 100%; }

/* ---------- Hero ---------- */
.hero {
  background: var(--black);
  color: #f4f1ea; padding: 5.5rem 0 4.5rem; position: relative; overflow: hidden;
}
.hero.has-bg { background: var(--black) center/cover no-repeat; background-image: var(--hero-bg); }
.hero.has-bg::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(10,10,10,0.88) 20%, rgba(10,10,10,0.55) 60%, rgba(10,10,10,0.35) 100%);
}
.hero > .container { position: relative; z-index: 1; }
.hero h1 { color: #fff; }
.hero .lead { color: #d9d4c7; }
.hero-ctas { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-top: 1.8rem; position: relative; z-index: 1; }
.hero-stats { display: flex; gap: 2.5rem; flex-wrap: wrap; margin-top: 2.5rem; position: relative; z-index: 1; }
.hero-stats .stat b { display: block; font-family: var(--font-head); font-size: 2rem; color: var(--brand); }
.hero-stats .stat span { font-size: 0.9rem; color: #cfc9ba; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center; position: relative; z-index: 1; }
.hero-card {
  background: var(--paper); color: var(--ink); border-radius: var(--radius);
  padding: 1.9rem; box-shadow: var(--shadow-lg); border-top: 4px solid var(--brand);
}
.hero-card h3 { margin-bottom: 0.4rem; }

/* ---------- Cards & grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; background: #e9e4d6; }
a.card-link { display: block; text-decoration: none; color: inherit; }
a.card-link .card-img { transition: transform 0.25s ease; }
a.card-link:hover .card-img { transform: scale(1.03); }
a.card-link { overflow: hidden; }
.card-body a.card-link { overflow: visible; }
a.card-link:hover h3 { color: var(--brand-dark); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); box-shadow: var(--shadow); }
.table-scroll table.triage { min-width: 620px; box-shadow: none; border-radius: 0; }
.card-img-placeholder {
  aspect-ratio: 16 / 9; display: grid; place-items: center; background: linear-gradient(135deg, #2a2a2c, #131313);
  color: #b9b2a4; font-size: 0.9rem; text-align: center; padding: 1rem;
}
.card-body { padding: 1.5rem; display: flex; flex-direction: column; gap: 0.55rem; flex: 1; }
.card-body h3 { margin: 0; font-size: 1.15rem; }
.card-meta { color: var(--ink-soft); font-size: 0.92rem; }
.price { font-family: var(--font-head); font-size: 1.4rem; font-weight: 700; color: var(--black); }
.price .small { font-family: var(--font-body); font-weight: 400; }
.badge {
  display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; padding: 0.28rem 0.7rem; border-radius: 999px; align-self: flex-start;
}
.badge-rented { background: #ece7d8; color: #6b6250; }
.badge-available { background: #dcefe0; color: #1d5c2e; }
.badge-soon { background: var(--brand-soft); color: var(--brand-dark); }
.card-actions { margin-top: auto; padding-top: 0.9rem; display: flex; gap: 0.6rem; flex-wrap: wrap; align-items: center; }

.step-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.7rem; box-shadow: var(--shadow); transition: transform 0.15s ease;
}
.step-card:hover { transform: translateY(-3px); }
.step-num {
  width: 46px; height: 46px; border-radius: 50%; background: var(--brand); color: #fff;
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; margin-bottom: 0.9rem;
}

.feature { display: flex; gap: 1.1rem; align-items: flex-start; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.feature-icon {
  width: 50px; height: 50px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-dark);
  display: grid; place-items: center; font-size: 1.45rem; flex: none;
}
.feature h3 { margin-bottom: 0.3rem; }
.feature p { margin: 0; }

/* ---------- Bands ---------- */
.band-dark { background: var(--black); color: #efe9db; }
.band-dark h2, .band-dark h3 { color: #fff; }
.band-dark .lead { color: #cfc8b4; }
.band-cream { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-brand { background: linear-gradient(120deg, var(--brand-dark), var(--brand)); color: #fff; }
.band-brand h2, .band-brand h3 { color: #fff; }
.band-brand .lead { color: rgba(255,255,255,0.88); }

/* ---------- Tables ---------- */
table.triage { width: 100%; border-collapse: collapse; background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
table.triage th, table.triage td { text-align: left; padding: 0.95rem 1.15rem; border-bottom: 1px solid var(--line); vertical-align: top; }
table.triage th { background: var(--black); color: #fff; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; }
table.triage tr:last-child td { border-bottom: none; }
.tier { font-weight: 700; white-space: nowrap; }
.tier-emergency { color: var(--red); }
.tier-urgent { color: var(--brand-dark); }
.tier-routine { color: #3c6b46; }

/* ---------- Forms ---------- */
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 2.1rem; box-shadow: var(--shadow); border-top: 4px solid var(--brand); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-field { display: flex; flex-direction: column; gap: 0.35rem; }
.form-field.full { grid-column: 1 / -1; }
label { font-weight: 600; font-size: 0.92rem; }
input, select, textarea {
  font: inherit; padding: 0.72rem 0.9rem; border: 1px solid #d3ccba; border-radius: 8px; background: #fff; width: 100%;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--brand); border-color: var(--brand); }
textarea { min-height: 110px; resize: vertical; }
.hint { font-size: 0.85rem; color: var(--ink-soft); }
.checkbox-row { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.92rem; }
.checkbox-row input { width: auto; margin-top: 0.25rem; }
.hp { position: absolute; left: -9999px; }
.form-note { background: #fdf6ec; border: 1px solid #f0d9b8; border-radius: 10px; padding: 1rem 1.2rem; font-size: 0.92rem; }
.form-success { background: #e7f4ea; border: 1px solid #a9d6b4; border-radius: 10px; padding: 1.2rem; font-weight: 600; color: #1d5c2e; }
.form-error { background: #fbe9e7; border: 1px solid #e5a49e; border-radius: 10px; padding: 1.2rem; font-weight: 600; color: var(--red); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; background: none; border: none; text-align: left; cursor: pointer;
  font: inherit; font-weight: 600; font-size: 1.03rem; color: var(--black);
  padding: 1.15rem 0; display: flex; justify-content: space-between; gap: 1rem; align-items: center;
}
.faq-q:hover { color: var(--brand-dark); }
.faq-q::after { content: "+"; font-size: 1.5rem; color: var(--brand); flex: none; font-weight: 400; }
.faq-item.open .faq-q::after { content: "–"; }
.faq-a { display: none; padding: 0 0 1.25rem; color: var(--ink-soft); max-width: 52rem; }
.faq-item.open .faq-a { display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: #b9b2a4; padding: 3.5rem 0 1.5rem; border-top: 3px solid var(--brand); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; margin-bottom: 2.5rem; }
.footer-logo { height: 110px; width: auto; margin-bottom: 1rem; }
.social-links { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-top: 1rem; }
.social-links a {
  display: inline-flex; align-items: center; gap: 0.45rem; text-decoration: none;
  border: 1px solid rgba(255,255,255,0.28); color: #f2efe9; border-radius: 999px;
  padding: 0.5rem 1rem; font-size: 0.9rem; font-weight: 600;
}
.social-links a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 0.8rem; }
.site-footer a { color: #e8e2cf; text-decoration: none; }
.site-footer a:hover { color: var(--brand); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.14); padding-top: 1.2rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 0.85rem; }
.eho { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; }
.eho svg { flex: none; }

/* ---------- Payment method cards ---------- */
.pay-method {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; box-shadow: var(--shadow); text-align: center;
  display: flex; flex-direction: column; gap: 0.5rem; align-items: center;
}
.pay-method .pay-icon { font-size: 2.2rem; }
.pay-method h3 { margin: 0; }
.pay-handle {
  font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 1.05rem; font-weight: 700;
  background: var(--black); color: #fff; padding: 0.5rem 1.1rem; border-radius: 8px;
  display: inline-block; user-select: all;
}

/* ---------- Misc ---------- */
.callout {
  border-left: 4px solid var(--brand); background: #fdf6ec; padding: 1.2rem 1.4rem;
  border-radius: 0 10px 10px 0; margin: 1.5rem 0;
}
.callout.danger { border-color: var(--red); background: #fdf0ee; }
.callout.dark { background: var(--coal); color: #efe9db; border-color: var(--brand); }
.callout.dark a { color: #fff; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.7rem; }
.checklist li { display: flex; gap: 0.7rem; align-items: flex-start; }
.checklist li::before { content: "✓"; color: var(--brand); font-weight: 800; flex: none; }
.band-dark .checklist li::before { color: var(--brand); }
.xlist { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.7rem; }
.xlist li { display: flex; gap: 0.7rem; align-items: flex-start; }
.xlist li::before { content: "✕"; color: var(--red); font-weight: 800; flex: none; }
.sticky-pay {
  position: fixed; bottom: 1rem; right: 1rem; z-index: 60; display: none;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
.center { text-align: center; }
.mt { margin-top: 1.5rem; }
.small { font-size: 0.88rem; color: var(--ink-soft); }
.band-dark .small { color: #b9b2a4; }
hr.soft { border: none; border-top: 1px solid var(--line); margin: 2.5rem 0; }
.embed-map { width: 100%; height: 340px; border: 0; border-radius: var(--radius); }

@media (max-width: 1000px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .grid-3, .grid-2, .two-col, .hero-grid, .footer-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--black);
    flex-direction: column; align-items: stretch; padding: 0.8rem 4%; border-bottom: 2px solid var(--brand);
    box-shadow: var(--shadow-lg);
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: block; }
  .header-phone { display: none; }
  .sticky-pay { display: inline-block; }
  .section { padding: 3.2rem 0; }
  .brand-logo { height: 60px; }
}

/* ---------- Mobile-first: most visitors are on phones ---------- */
@media (max-width: 640px) {
  body { font-size: 1.02rem; }
  .container { width: 94%; }
  .section { padding: 2.6rem 0; }
  .hero { padding: 3.6rem 0 3rem; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; padding: 1rem 1.4rem; }
  .hero-stats { gap: 1.4rem; margin-top: 2rem; }
  .hero-stats .stat b { font-size: 1.6rem; }
  .btn { padding: 0.95rem 1.4rem; }
  .card-actions .btn { flex: 1 1 auto; text-align: center; }
  .main-nav a { padding: 0.85rem; font-size: 1.02rem; }
  .header-cta .btn { padding: 0.7rem 1rem; font-size: 0.92rem; }
  .form-card { padding: 1.5rem; }
  .pay-handle { font-size: 0.98rem; word-break: break-all; }
  .footer-logo { height: 88px; }
  .social-links a { padding: 0.65rem 1.1rem; }
  table.triage th, table.triage td { padding: 0.8rem; font-size: 0.92rem; }
}
