/* ============================================================
   Swanzer Property Management — Design System v1.0
   Tokens + components. Warm-earthy palette, black & gold brand.
   ============================================================ */

:root {
  /* Color */
  --espresso: #2B2620;
  --espresso-dark: #211D18;
  --cream: #F8F4ED;
  --warm-white: #FEFCF8;
  --sand: #EFE6D6;
  --icon-sand: #F1E4D5;
  --gold: #E4B72E;        /* fills / accents on dark */
  --gold-deep: #8C6612;   /* accent text on light (AA) */
  --gold-hover: #6d4f0d;
  --muted: #6B6157;
  --body-2: #5A5147;
  --faint: #8A7F71;
  --line: rgba(43, 38, 32, .08);
  --line-strong: rgba(43, 38, 32, .14);

  /* Type */
  --font-display: 'Newsreader', Georgia, 'Times New Roman', serif;
  --font-body: 'Public Sans', system-ui, -apple-system, sans-serif;

  /* Layout */
  --container: 1200px;
  --gutter: 32px;
  --section-y: 96px;

  /* Radii / shadow */
  --r-chip: 8px;
  --r-card: 16px;
  --r-hero: 24px;
  --shadow-card: 0 1px 3px rgba(43, 38, 32, .06);
  --shadow-lg: 0 24px 60px rgba(43, 38, 32, .18);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--espresso);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; margin: 0; line-height: 1.1; }
p { margin: 0; }
img { display: block; max-width: 100%; }
a { color: var(--gold-deep); text-decoration: none; }
a:hover { color: var(--gold-hover); }
ul { margin: 0; }
::selection { background: var(--gold); color: var(--espresso); }

/* Layout helpers */
.container { max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-top: var(--section-y); padding-bottom: var(--section-y); }
.eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); }
.eyebrow--light { color: var(--gold); }
.lede { font-size: 18px; line-height: 1.6; color: var(--body-2); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-body); font-size: 16px; font-weight: 700; padding: 15px 26px; border-radius: 11px; border: 1px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn--gold { background: var(--gold); color: var(--espresso); box-shadow: 0 8px 24px rgba(228, 183, 46, .3); }
.btn--gold:hover { color: var(--espresso); }
.btn--dark { background: var(--espresso); color: var(--cream); }
.btn--dark:hover { color: var(--cream); }
.btn--outline { background: transparent; color: var(--espresso); border-color: rgba(43, 38, 32, .28); font-weight: 600; }
.btn--outline:hover { color: var(--espresso); }
.btn--ghost-light { background: rgba(251, 247, 240, .12); color: #FBF7F0; border-color: rgba(251, 247, 240, .3); font-weight: 600; backdrop-filter: blur(4px); }
.btn--ghost-light:hover { color: #FBF7F0; }
.btn--sm { font-size: 14px; padding: 11px 20px; }

/* Announcement bar */
.announce { background: var(--espresso); color: #E9E1D4; font-size: 13px; letter-spacing: .02em; }
.announce .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; padding-top: 9px; padding-bottom: 9px; }
.announce a { color: #E9E1D4; }
.announce .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); display: inline-block; margin-right: 8px; }
.announce .links { display: flex; gap: 22px; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(248, 244, 237, .88); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 14px; padding-bottom: 14px; }
.brand img { height: 52px; width: auto; border-radius: var(--r-chip); }
.nav { display: flex; align-items: center; gap: 28px; font-size: 14.5px; font-weight: 500; }
.nav a { color: #3A342C; }
.nav a:hover { color: var(--gold-deep); }
.header-cta { display: flex; align-items: center; gap: 12px; }
.header-cta .login { font-size: 14px; font-weight: 600; color: #3A342C; padding: 9px 4px; }

/* Hero */
.hero { position: relative; min-height: 640px; display: flex; align-items: center; overflow: hidden; }
.hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero .scrim { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(29,25,20,.86) 0%, rgba(29,25,20,.66) 42%, rgba(29,25,20,.28) 100%); }
.hero .container { position: relative; padding-top: 88px; padding-bottom: 88px; width: 100%; }
.hero-inner { max-width: 640px; }
.hero-badge { display: inline-flex; align-items: center; gap: 9px; font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); border: 1px solid rgba(228,183,46,.45); padding: 7px 14px; border-radius: 100px; }
.hero h1 { color: #FBF7F0; font-size: 60px; line-height: 1.04; letter-spacing: -.015em; margin-top: 22px; text-wrap: balance; }
.hero p { color: #E3DACB; font-size: 19px; line-height: 1.55; margin-top: 22px; max-width: 540px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.hero-stats { display: flex; gap: 28px; margin-top: 40px; flex-wrap: wrap; }
.hero-stats .stat span { font-family: var(--font-display); font-size: 32px; color: #FBF7F0; line-height: 1; display: block; }
.hero-stats .stat small { font-size: 13px; color: #C9BEAD; margin-top: 2px; display: block; }
.hero-stats .rule { width: 1px; background: rgba(251,247,240,.18); }

/* Trust strip */
.trust { background: var(--sand); border-bottom: 1px solid rgba(43,38,32,.06); }
.trust .container { display: flex; align-items: center; justify-content: center; gap: 38px; flex-wrap: wrap; color: var(--muted); font-size: 13.5px; font-weight: 600; letter-spacing: .04em; padding-top: 20px; padding-bottom: 20px; }
.trust .container span::before { content: "◆"; margin-right: 9px; }

/* Section header */
.sec-head { max-width: 680px; }
.sec-head--center { max-width: 640px; margin: 0 auto; text-align: center; }
.sec-head h2 { font-size: 44px; line-height: 1.08; letter-spacing: -.01em; margin-top: 16px; text-wrap: balance; }
.sec-head p { margin-top: 18px; }

/* Cards / grids */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--warm-white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 30px; }
.card .ico { width: 46px; height: 46px; border-radius: 11px; background: var(--icon-sand); display: flex; align-items: center; justify-content: center; font-size: 22px; }
.card h3 { font-size: 22px; margin-top: 20px; }
.card p { font-size: 15px; line-height: 1.6; color: var(--muted); margin-top: 10px; }
.card--dark { background: var(--espresso); border-color: var(--espresso); display: flex; flex-direction: column; justify-content: space-between; }
.card--dark h3 { color: #FBF7F0; }
.card--dark p { color: #C9BEAD; }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 56px; }
.step { padding: 0 26px; }
.step + .step { border-left: 1px solid var(--line-strong); }
.step .n { font-family: var(--font-display); font-size: 15px; font-weight: 600; color: var(--gold-deep); letter-spacing: .1em; }
.step h3 { font-size: 23px; margin-top: 12px; }
.step p { font-size: 15px; line-height: 1.6; color: var(--body-2); margin-top: 10px; }

/* Why us split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.checks { display: flex; flex-direction: column; gap: 16px; margin-top: 26px; }
.check { display: flex; gap: 14px; align-items: flex-start; }
.check .mk { color: var(--gold-deep); font-size: 20px; line-height: 1.3; }
.check p { font-size: 15px; color: var(--muted); margin-top: 2px; }
.split .figure { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow-lg); }
.split .figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split .figure .caption { position: absolute; left: 20px; right: 20px; bottom: 20px; background: rgba(248,244,237,.94); backdrop-filter: blur(6px); border-radius: 14px; padding: 18px 20px; }
.split .figure .caption p { font-family: var(--font-display); font-size: 19px; line-height: 1.3; }
.split .figure .caption small { font-size: 13px; color: var(--faint); letter-spacing: .04em; display: block; margin-top: 8px; }

/* Service areas */
.areas { background: var(--espresso); color: var(--cream); }
.areas-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: center; }
.areas h2 { font-size: 40px; color: #FBF7F0; margin-top: 16px; }
.areas .chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.areas .chip { background: rgba(251,247,240,.06); border: 1px solid rgba(251,247,240,.12); border-radius: 10px; padding: 14px 16px; font-size: 15px; font-weight: 600; }
.areas .chip:hover { background: rgba(228,183,46,.14); border-color: rgba(228,183,46,.35); }

/* Testimonials */
.quote-card { margin: 0; }
.quote-card .stars { color: #C79A1E; font-size: 15px; letter-spacing: 2px; }
.quote-card blockquote { font-family: var(--font-display); font-size: 20px; line-height: 1.4; color: var(--espresso); margin: 16px 0 0; }
.quote-card figcaption { font-size: 14px; color: var(--faint); margin-top: 20px; font-weight: 600; }

/* Renters strip */
.renters .panel { background: linear-gradient(120deg, var(--espresso), #4A4133); border-radius: 22px; padding: 56px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.renters h2 { font-size: 38px; color: #fff; margin-top: 14px; }
.renters p { font-size: 17px; line-height: 1.6; color: #DDD4C6; margin-top: 14px; max-width: 480px; }
.renters .actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }

/* FAQ */
.faq { background: var(--sand); }
.faq-wrap { max-width: 860px; margin: 0 auto; }
.faq-list { margin-top: 44px; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--warm-white); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; padding: 22px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: var(--font-display); font-size: 20px; color: var(--espresso); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 24px; color: var(--gold-deep); flex: none; }
.faq-item[open] summary::after { content: "−"; }
.faq-item .answer { padding: 0 24px 24px; font-size: 16px; line-height: 1.65; color: var(--body-2); }

/* CTA band */
.cta .panel { background: var(--espresso); border-radius: 24px; padding: 64px; text-align: center; position: relative; overflow: hidden; }
.cta .glow { position: absolute; top: -60px; right: -40px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(228,183,46,.35), transparent 70%); }
.cta h2 { font-size: 48px; line-height: 1.08; color: #FBF7F0; margin: 16px auto 0; max-width: 640px; text-wrap: balance; position: relative; }
.cta p { font-size: 18px; line-height: 1.6; color: #C9BEAD; margin: 18px auto 0; max-width: 520px; position: relative; }
.cta .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px; position: relative; }

/* Footer */
.footer { background: var(--espresso-dark); color: #C9BEAD; }
.footer .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-top: 64px; padding-bottom: 32px; }
.footer img { height: 58px; width: auto; border-radius: var(--r-chip); }
.footer p { font-size: 14px; line-height: 1.6; margin-top: 16px; }
.footer h4 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); font-family: var(--font-body); font-weight: 700; }
.footer .col-links { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; font-size: 14.5px; }
.footer .col-links a { color: #C9BEAD; }
.footer .col-links a:hover { color: var(--gold); }
.footer .bottom { border-top: 1px solid rgba(251,247,240,.08); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px; color: var(--faint); padding-top: 20px; padding-bottom: 20px; }
.footer .bottom a { color: var(--faint); }
.footer .bottom .links { display: flex; gap: 20px; }

/* ------- Responsive ------- */
@media (max-width: 1024px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split, .areas-grid, .renters .panel, .footer .cols { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 32px 0; }
  .step:nth-child(3) { border-left: none; }
}
@media (max-width: 768px) {
  :root { --section-y: 56px; --gutter: 20px; }
  .nav { display: none; }
  .hero h1 { font-size: 42px; }
  .sec-head h2, .cta h2 { font-size: 34px; }
  .grid-3, .grid-4, .footer .cols, .areas .chips { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step + .step { border-left: none; border-top: 1px solid var(--line-strong); padding-top: 24px; margin-top: 24px; }
  .renters .actions { justify-content: flex-start; }
  .cta .panel, .renters .panel { padding: 36px 24px; }
}
