/* MAKZ Apartment Locating — makzgoc.com
   Mobile-first, system fonts only, no frameworks. Loads instantly. */

* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink: #1d2733;
  --muted: #4d5a68;
  --brand: #0f5f46;        /* deep green */
  --brand-dark: #0a4734;
  --accent: #e8a33d;       /* warm gold */
  --bg-soft: #f4f7f5;
  --bg-rebate: #fdf6e9;
  --line: #dde4e0;
  --radius: 14px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  line-height: 1.55;
  font-size: 17px;
  padding-bottom: 64px; /* room for sticky bar */
  -webkit-text-size-adjust: 100%;
}

.wrap { max-width: 860px; margin: 0 auto; padding: 0 18px; }

h1 { font-size: 1.9rem; line-height: 1.2; margin-bottom: 14px; }
h2 { font-size: 1.45rem; line-height: 1.25; margin-bottom: 12px; }
h3 { font-size: 1.05rem; margin-bottom: 4px; }
p  { margin-bottom: 12px; }
a  { color: var(--brand); }

section { padding: 34px 0; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff; border-bottom: 1px solid var(--line);
}
.header-in {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 10px; padding-bottom: 10px;
}
.brand {
  font-weight: 800; font-size: 1.15rem; color: var(--ink); text-decoration: none;
  letter-spacing: .2px;
}
.brand span { color: var(--brand); font-weight: 600; font-size: .95rem; }
.header-call {
  font-weight: 700; text-decoration: none; color: var(--brand);
  border: 2px solid var(--brand); border-radius: 999px; padding: 6px 14px;
  font-size: .95rem; white-space: nowrap;
}

/* Hero */
.hero {
  background: linear-gradient(180deg, #eef5f1 0%, #ffffff 100%);
  padding: 38px 0 30px;
}
.hero-sub { font-size: 1.08rem; color: var(--ink); }
.hero-free {
  background: #e6f2ec; border-left: 5px solid var(--brand);
  padding: 10px 14px; border-radius: 8px;
}
.hero-rebate { color: var(--ink); font-size: 1.08rem; }
.cond { color: var(--muted); font-size: .82em; }

/* Buttons — big tap targets */
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }
.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  padding: 14px 20px; border-radius: 999px; font-size: 1.02rem;
  min-height: 52px; text-align: center;
}
.btn-call   { background: var(--brand); color: #fff; }
.btn-call:active { background: var(--brand-dark); }
.btn-text   { background: var(--accent); color: #241a05; }
.btn-search { background: #fff; color: var(--brand); border: 2px solid var(--brand); }

/* Teaser */
.teaser { background: var(--bg-soft); padding: 26px 0; }
.teaser p { margin-bottom: 0; color: var(--muted); }
.teaser p strong { color: var(--ink); }

/* Search / IDX placeholder */
.idx-box {
  border: 2px dashed var(--brand); border-radius: var(--radius);
  background: #fbfdfc; padding: 30px 20px; text-align: center;
}
.idx-fallback { margin: 0; font-size: 1.05rem; }
.idx-fallback a { font-weight: 700; }

/* How it works */
.how { background: var(--bg-soft); }
.steps { list-style: none; }
.steps li {
  display: flex; gap: 14px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px; margin-bottom: 12px;
}
.step-num {
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%;
  background: var(--brand); color: #fff; font-weight: 800; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
}
.steps p { margin: 0; color: var(--muted); }
.steps p strong { color: var(--ink); }

/* Rebate */
.rebate { background: var(--bg-rebate); }
.terms { padding-left: 22px; }
.terms li { margin-bottom: 10px; }

/* Areas */
.area-list {
  list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px;
}
.area-list li {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 14px; font-size: .95rem; font-weight: 600;
}

/* FAQ */
.faq { background: var(--bg-soft); }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 16px; margin-bottom: 10px;
}
.faq summary {
  font-weight: 700; cursor: pointer; font-size: 1.02rem;
  min-height: 28px;
}
.faq details p { margin: 8px 0 2px; color: var(--muted); }

/* About */
.card-img {
  display: block; width: 100%; max-width: 520px; height: auto;
  border-radius: var(--radius); border: 1px solid var(--line); margin-top: 16px;
}

/* Contact */
.contact { background: #eef5f1; text-align: center; }
.contact .cta-row { justify-content: center; }
.contact-line { font-size: 1.1rem; margin-bottom: 6px; }
.contact-line a { font-weight: 700; }

/* Footer */
.site-footer {
  background: var(--ink); color: #dbe3ec; padding: 30px 0 14px; font-size: .95rem;
}
.site-footer a { color: #fff; }
.foot-brand { font-weight: 800; font-size: 1.1rem; color: #fff; }
.foot-legal { margin-top: 14px; font-size: .9rem; }
.foot-small { color: #9fb0c0; font-size: .85rem; margin-bottom: 0; }
.foot-terms { color: #8496a8; font-size: .72rem; line-height: 1.55; text-align: left; }

/* Sticky mobile bar */
.sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; background: #fff; border-top: 1px solid var(--line);
  box-shadow: 0 -2px 12px rgba(0,0,0,.08);
}
.sticky-bar a {
  flex: 1; text-align: center; padding: 14px 4px; font-weight: 800;
  text-decoration: none; font-size: 1rem; min-height: 54px;
}
.sticky-call   { background: var(--brand); color: #fff; }
.sticky-text   { background: var(--accent); color: #241a05; }
.sticky-search { background: #fff; color: var(--brand); }

/* Desktop tidy-up */
@media (min-width: 700px) {
  h1 { font-size: 2.4rem; }
  h2 { font-size: 1.7rem; }
  section { padding: 46px 0; }
  .sticky-bar { display: none; }
  body { padding-bottom: 0; }
  .hero { padding: 56px 0 44px; }
}
