/* =========================================================================
   Macias Enterprises LLC — land wholesaling
   Custom "land records / survey plat" visual system
   ========================================================================= */

:root {
  /* Parchment + ink + pine + surveyor-orange */
  --paper:      #f6f1e6;
  --paper-2:    #efe7d6;
  --card:       #fffdf8;
  --ink:        #17201a;
  --ink-soft:   #34413a;
  --muted:      #5d6a60;
  --pine:       #1f3d2e;
  --pine-2:     #295037;
  --sage:       #6f8c78;
  --sage-soft:  #a9bcae;
  --clay:       #bf5a2a;
  --clay-2:     #a4491e;
  --gold:       #c39a3f;
  --line:       rgba(23, 32, 26, 0.14);
  --line-2:     rgba(23, 32, 26, 0.08);

  --font-display: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", "Cascadia Code", Consolas, monospace;

  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(23,32,26,.06), 0 12px 30px -14px rgba(23,32,26,.28);
  --shadow-lg: 0 30px 60px -24px rgba(23,32,26,.4);
  --maxw: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--pine-2); text-decoration: none; }
a:hover { color: var(--clay); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: -0.01em; color: var(--ink); margin: 0 0 .5em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.1rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.28rem; }
p { margin: 0 0 1rem; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--clay-2);
  font-weight: 500;
  margin: 0 0 1rem;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--clay); display: inline-block; }
.section { padding: clamp(64px, 9vw, 118px) 0; position: relative; }
.section-head { max-width: 640px; margin-bottom: 3rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.lede { font-size: 1.16rem; color: var(--ink-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  padding: .92rem 1.6rem; border-radius: 999px; cursor: pointer;
  border: 1px solid transparent; transition: transform .12s ease, box-shadow .2s ease, background .2s ease;
  text-align: center; line-height: 1;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--clay); color: #fff; box-shadow: 0 10px 22px -10px rgba(191,90,42,.7); }
.btn-primary:hover { background: var(--clay-2); color: #fff; }
.btn-dark { background: var(--pine); color: #f4efe3; }
.btn-dark:hover { background: var(--pine-2); color: #fff; }
.btn-ghost { background: transparent; color: var(--pine); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--pine); color: var(--pine); }
.btn-lg { padding: 1.05rem 2rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246,241,230,.82);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: .7rem; font-family: var(--font-display); font-weight: 600; font-size: 1.16rem; color: var(--ink); letter-spacing: -.01em; }
.brand:hover { color: var(--ink); }
.brand .mark { width: 34px; height: 34px; flex: 0 0 auto; }
.brand small { display: block; font-family: var(--font-mono); font-size: .58rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 400; margin-top: 2px; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { color: var(--ink-soft); font-weight: 500; font-size: .96rem; }
.nav-links a:hover { color: var(--clay); }
.nav-cta { display: flex; align-items: center; gap: 1rem; }
.nav-phone { font-family: var(--font-mono); font-weight: 500; font-size: .95rem; color: var(--pine); }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%); border-bottom: 1px solid var(--line); }
.hero-bg { position: absolute; inset: 0; pointer-events: none; opacity: .5; }
.hero-bg svg { width: 100%; height: 100%; }
.hero-grid { position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line-2) 1px, transparent 1px), linear-gradient(90deg, var(--line-2) 1px, transparent 1px);
  background-size: 46px 46px; mask-image: radial-gradient(ellipse 80% 70% at 70% 20%, #000 30%, transparent 75%); opacity: .7; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding: clamp(48px, 7vw, 92px) 0 clamp(56px, 8vw, 100px); }
.hero-copy { max-width: 560px; }
.hero h1 { margin-bottom: 1.1rem; }
.hero h1 .u { position: relative; white-space: nowrap; }
.hero h1 .u::after { content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .28em; background: rgba(195,154,63,.4); z-index: -1; border-radius: 2px; }
.hero-sub { font-size: 1.2rem; color: var(--ink-soft); margin-bottom: 1.8rem; }
.hero-points { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: .7rem; }
.hero-points li { display: flex; align-items: flex-start; gap: .7rem; font-weight: 500; color: var(--ink-soft); }
.hero-points svg { flex: 0 0 auto; margin-top: 3px; color: var(--pine-2); }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---------- Lead form card ---------- */
.form-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 30px; position: relative;
}
.form-card::before {
  content: "CONSENT ON FILE"; position: absolute; top: -11px; right: 22px;
  font-family: var(--font-mono); font-size: .58rem; letter-spacing: .18em;
  background: var(--pine); color: #f2ede1; padding: 5px 10px; border-radius: 6px;
}
.form-card h2 { font-size: 1.5rem; margin-bottom: .25rem; }
.form-card .form-sub { color: var(--muted); font-size: .95rem; margin-bottom: 1.4rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: .35rem; font-weight: 500; }
.field label .opt { color: var(--muted); text-transform: none; letter-spacing: 0; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"] {
  width: 100%; padding: .8rem .9rem; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  background: #fbf8f1; border: 1px solid var(--line); border-radius: var(--radius-sm); transition: border-color .15s, box-shadow .15s;
}
.field input:focus { outline: none; border-color: var(--clay); box-shadow: 0 0 0 3px rgba(191,90,42,.14); background: #fff; }
.field input.invalid { border-color: #c0392b; box-shadow: 0 0 0 3px rgba(192,57,43,.12); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.consent { display: flex; gap: .7rem; align-items: flex-start; margin: 1.1rem 0 1rem; padding: .9rem; background: #f7f3ea; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.consent input { margin-top: .25rem; width: 18px; height: 18px; accent-color: var(--pine); flex: 0 0 auto; }
.consent label { font-size: .78rem; line-height: 1.5; color: var(--ink-soft); }
.consent label a { text-decoration: underline; }
.form-fineprint { font-size: .72rem; color: var(--muted); margin-top: .8rem; line-height: 1.5; }
.form-msg { display: none; padding: .9rem 1rem; border-radius: var(--radius-sm); font-size: .92rem; margin-top: 1rem; }
.form-msg.show { display: block; }
.form-msg.success { background: #e8f1e6; border: 1px solid #b9d3b2; color: #2b5228; }
.form-msg.error { background: #fbeae7; border: 1px solid #e6b5ac; color: #9c3524; }
.form-success-panel { display: none; text-align: center; padding: 20px 6px; }
.form-success-panel.show { display: block; }
.form-success-panel .checkmark { width: 58px; height: 58px; margin: 0 auto 1rem; color: var(--pine-2); }
.form-success-panel h2 { font-size: 1.55rem; }

/* ---------- Trust strip ---------- */
.trust { background: var(--pine); color: #e9e3d4; }
.trust .container { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; justify-content: space-between; align-items: center; padding-top: 26px; padding-bottom: 26px; }
.trust-item { display: flex; flex-direction: column; }
.trust-item .n { font-family: var(--font-display); font-size: 1.9rem; line-height: 1; color: #fff; }
.trust-item .l { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sage-soft); margin-top: .4rem; }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; position: relative; }
.step { padding: 1.6rem 1.4rem; border-left: 1px dashed var(--line); position: relative; }
.step:first-child { border-left: none; }
.step .stake { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em; color: var(--clay-2); margin-bottom: 1rem; display: flex; align-items: center; gap: .5rem; }
.step .stake::before { content: ""; width: 10px; height: 10px; border: 2px solid var(--clay); border-radius: 50%; display: inline-block; }
.step h3 { font-size: 1.16rem; margin-bottom: .4rem; }
.step p { font-size: .95rem; color: var(--muted); margin: 0; }

/* ---------- Benefits ---------- */
.benefits-wrap { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.benefit { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem; box-shadow: var(--shadow); }
.benefit .ic { width: 44px; height: 44px; border-radius: 11px; background: #eef3ec; color: var(--pine-2); display: grid; place-items: center; margin-bottom: 1rem; }
.benefit h3 { font-size: 1.14rem; margin-bottom: .35rem; }
.benefit p { font-size: .95rem; color: var(--muted); margin: 0; }

/* ---------- What we buy ---------- */
.buy-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.buy-list { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.buy-list li { display: flex; gap: .6rem; align-items: center; font-weight: 500; color: var(--ink-soft); font-size: .98rem; }
.buy-list svg { color: var(--clay); flex: 0 0 auto; }
.plat-card { background: var(--pine); border-radius: var(--radius); padding: 30px; color: #e9e3d4; position: relative; overflow: hidden; box-shadow: var(--shadow); }
.plat-card .plat-lines { position: absolute; inset: 0; opacity: .18; }
.plat-card .quote { position: relative; font-family: var(--font-display); font-size: 1.5rem; line-height: 1.3; color: #fff; }
.plat-card .cite { position: relative; margin-top: 1.2rem; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; color: var(--sage-soft); text-transform: uppercase; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 1.15rem 0; }
.faq summary { cursor: pointer; font-family: var(--font-display); font-size: 1.18rem; color: var(--ink); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-body); font-size: 1.5rem; color: var(--clay); transition: transform .2s; line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: .9rem 0 0; color: var(--muted); font-size: .98rem; }

/* ---------- Final CTA ---------- */
.cta-band { background: var(--ink); color: #ece6d8; text-align: center; position: relative; overflow: hidden; }
.cta-band .cta-lines { position: absolute; inset: 0; opacity: .16; }
.cta-band .container { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #c3c9bf; max-width: 540px; margin: 0 auto 2rem; font-size: 1.12rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--pine); color: #cdd6cc; font-size: .92rem; padding: 56px 0 30px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; padding-bottom: 34px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-brand { display: flex; align-items: center; gap: .7rem; font-family: var(--font-display); font-size: 1.2rem; color: #fff; margin-bottom: 1rem; }
.footer-brand .mark { width: 32px; height: 32px; }
.site-footer h4 { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--sage-soft); margin: 0 0 1rem; font-weight: 500; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.site-footer a { color: #cdd6cc; }
.site-footer a:hover { color: #fff; }
.sms-disclosure { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-sm); padding: 1rem 1.2rem; margin: 26px 0; font-size: .82rem; color: #b6c1b6; line-height: 1.6; }
.sms-disclosure strong { color: #e9e3d4; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-top: 24px; font-size: .82rem; color: #9fac9f; }

/* ---------- Legal pages ---------- */
.legal { background: var(--paper); }
.legal-hero { border-bottom: 1px solid var(--line); background: var(--paper-2); }
.legal-hero .container { padding-top: 60px; padding-bottom: 40px; }
.legal-body { max-width: 800px; margin: 0 auto; padding: 56px 24px 90px; }
.legal-body h2 { font-size: 1.5rem; margin-top: 2.4rem; }
.legal-body h3 { font-size: 1.14rem; margin-top: 1.6rem; }
.legal-body p, .legal-body li { color: var(--ink-soft); font-size: 1.02rem; }
.legal-body ul { padding-left: 1.2rem; }
.legal-body li { margin-bottom: .5rem; }
.legal-updated { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.callout { background: #fff8ec; border: 1px solid #e7d5ab; border-left: 3px solid var(--gold); border-radius: var(--radius-sm); padding: 1rem 1.2rem; margin: 1.4rem 0; font-size: .95rem; color: var(--ink-soft); }
.toc { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.2rem 1.4rem; margin-bottom: 2rem; }
.toc h4 { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 .7rem; }
.toc ul { list-style: none; padding: 0; margin: 0; columns: 2; gap: 1.5rem; }
.toc li { margin-bottom: .4rem; font-size: .92rem; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .form-card { order: 2; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step { border-left: none; border-top: 1px dashed var(--line); }
  .step:first-child, .step:nth-child(2) { border-top: none; }
  .benefits { grid-template-columns: 1fr 1fr; }
  .buy-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .container { padding: 0 18px; }
  .steps, .benefits, .buy-list, .footer-top, .toc ul { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .trust .container { gap: 1.2rem 2rem; }
  .nav-phone { display: none; }
  .form-card { padding: 22px; }
}
