/* BeechTree landing pages (/valuation, /buyers). Built from the approved claude.ai designs. */
:root {
  --forest: #0F2A1D;
  --deep: #08190F;
  --wheat: #EFE4CC;
  --cream: #F7F1E3;
  --amber: #E0A63A;
  --muted: #3F5247;
  --border: #DCCFAF;
  --tan: #D8CCAF;
  --field-border: #B3A580;
  --error: #A3261B;
  --display: 'Barlow Condensed', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--wheat); color: var(--deep); font-family: Inter, system-ui, sans-serif; overflow-x: hidden; }
img { max-width: 100%; }
a { color: var(--forest); }
a:hover { color: #3C6450; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.display { font-family: var(--display); font-weight: 800; text-transform: uppercase; }

/* Header */
.lp-header { background: var(--cream); border-bottom: 1px solid var(--border); }
.lp-header .wrap { padding-top: 12px; padding-bottom: 12px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.lp-brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--deep); }
.lp-brand img { width: 150px; height: 157px; object-fit: contain; display: block; }
.lp-kw { width: 220px; height: 55px; object-fit: contain; }

/* Hero */
.hero { background-color: var(--forest); color: var(--wheat); background-size: cover; }
.hero--valuation {
  background-image: linear-gradient(90deg, rgba(15,42,29,0.96) 0%, rgba(15,42,29,0.88) 45%, rgba(15,42,29,0.45) 100%), url(/img/poultry-house-exterior.jpg);
  background-position: center 80%;
}
.hero--buyers {
  background-image: linear-gradient(90deg, rgba(15,42,29,0.96) 0%, rgba(15,42,29,0.88) 45%, rgba(15,42,29,0.45) 100%), url(/img/poultry-house-interior.jpg);
  background-position: center 40%;
}
.hero .wrap { padding-top: 88px; padding-bottom: 96px; display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.hero-copy { flex: 999 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.badge { align-self: flex-start; background: var(--amber); color: var(--deep); font-weight: 700; font-size: 15px; letter-spacing: 2.5px; padding: 9px 16px; border-radius: 4px; }
.hero h1 { margin: 0; font-size: 88px; line-height: 0.92; }
.hero-lead { margin: 0; font-size: 21px; line-height: 1.55; color: var(--tan); max-width: 560px; }
.checks { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.checks li { display: flex; align-items: center; gap: 12px; font-size: 19px; font-weight: 500; }
.checks svg { flex: none; }

/* Form */
.lead-form { flex: 1 1 400px; min-width: 0; background: var(--cream); color: var(--deep); border-radius: 12px; padding: 32px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 24px 48px rgba(0,0,0,0.3); }
.lead-form h2 { margin: 0; font-size: 34px; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.fields .full { grid-column: span 2; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; margin: 0; min-width: 0; }
.field input:not([type="checkbox"]), .field select, .field textarea {
  width: 100%; height: 46px; border: 1px solid var(--field-border); border-radius: 6px; padding: 0 12px; font-size: 16px; background: #FFFFFF; color: var(--deep); font-family: Inter, sans-serif; font-weight: 400;
}
.field select { padding: 0 10px; }
.field textarea { height: auto; padding: 10px 12px; resize: vertical; }
.field [aria-invalid="true"] { border-color: var(--error); border-width: 2px; }
fieldset.field { border: none; padding: 0; gap: 8px; }
fieldset.field legend { font-size: 14px; font-weight: 600; padding: 0; margin-bottom: 8px; }
.ticks { display: flex; gap: 20px; flex-wrap: wrap; }
.ticks label { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 400; min-height: 44px; }
.ticks input { width: 20px; height: 20px; margin: 0; accent-color: var(--forest); }
.field-note { margin: 0; font-size: 13px; font-weight: 400; line-height: 1.4; color: var(--muted); }
.field-error { margin: 0; color: var(--error); font-size: 13px; font-weight: 500; }
.field-error:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { min-height: 65px; }
.lead-form button { height: 56px; background: var(--forest); color: var(--wheat); border: none; border-radius: 6px; font-size: 18px; font-weight: 700; cursor: pointer; font-family: Inter, sans-serif; }
.lead-form button:hover { background: #183d2b; }
.lead-form button:disabled { opacity: 0.7; cursor: wait; }
.form-status { margin: 0; font-size: 15px; line-height: 1.5; }
.form-status:empty { display: none; }
.form-status.error { color: var(--error); font-weight: 600; }
.privacy { margin: 0; font-size: 13px; color: #4A5A50; line-height: 1.5; }
.thanks { padding: 24px 0; text-align: center; }
.thanks p { margin: 0; font-size: 22px; font-weight: 600; line-height: 1.45; }

/* Sections */
.sec .wrap { padding-top: 88px; padding-bottom: 88px; display: flex; flex-direction: column; gap: 40px; }
.sec--alt { background: var(--cream); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.sec h2 { margin: 0; font-size: 56px; line-height: 0.95; color: var(--forest); }
.eyebrow-group { display: flex; flex-direction: column; gap: 12px; max-width: 720px; }
.eyebrow { font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: 3px; color: #6B5A2E; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 20px; }
.card { background: var(--cream); border: 1px solid var(--border); border-radius: 10px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.card-icon { width: 52px; height: 52px; border-radius: 10px; background: var(--forest); display: flex; align-items: center; justify-content: center; }
.card h3 { margin: 0; font-size: 19px; font-weight: 700; }
.card p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--muted); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; }
.step { display: flex; flex-direction: column; gap: 14px; }
.step-n { width: 56px; height: 56px; border-radius: 50%; background: var(--amber); color: var(--deep); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 800; font-size: 30px; }
.step h3 { margin: 0; font-size: 22px; font-weight: 700; }
.step p { margin: 0; font-size: 17px; line-height: 1.55; color: var(--muted); }
.agents { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; }
.agent { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.agent img { width: 180px; height: 180px; object-fit: cover; border-radius: 12px; border: 5px solid var(--forest); }
.agent-info { display: flex; flex-direction: column; gap: 6px; }
.agent-name { font-size: 26px; font-weight: 700; }
.agent-title { font-size: 16px; color: var(--muted); }
.agent-info { gap: 2px; }
/* Tap targets: at least 44px tall for thumbs. */
.agent-info a, .lp-footer a { display: inline-flex; align-items: center; min-height: 44px; }
.agent-info a { align-self: flex-start; }
.agent-phone { font-size: 18px; font-weight: 600; }
.agent-email { font-size: 16px; overflow-wrap: anywhere; }

/* Footer */
.lp-footer { background: var(--forest); color: var(--tan); }
.lp-footer .wrap { padding-top: 48px; padding-bottom: 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.lp-footer-text { display: flex; flex-direction: column; gap: 8px; font-size: 14px; line-height: 1.5; }
.lp-footer-text strong { color: var(--wheat); }
.lp-footer a { color: var(--wheat); }
.lp-footer .office-phone { font-size: 18px; font-weight: 600; }
.lp-footer img { width: 240px; height: 60px; object-fit: contain; }

/* Phones and small tablets */
@media (max-width: 720px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .lp-brand img { width: 130px; height: 136px; }
  .lp-kw { width: 170px; height: 43px; }
  .hero--valuation, .hero--buyers { background-image: linear-gradient(180deg, rgba(15,42,29,0.9), rgba(15,42,29,0.94)), var(--hero-photo); }
  .hero--valuation { --hero-photo: url(/img/poultry-house-exterior.jpg); }
  .hero--buyers { --hero-photo: url(/img/poultry-house-interior.jpg); }
  .hero .wrap { padding-top: 40px; padding-bottom: 48px; gap: 32px; }
  .hero-copy { gap: 18px; }
  .badge { font-size: 13px; letter-spacing: 2px; }
  .hero h1 { font-size: clamp(48px, 14vw, 88px); }
  .hero-lead { font-size: 18px; }
  .checks li { font-size: 17px; }
  .lead-form { padding: 22px 18px; }
  .lead-form h2 { font-size: 30px; }
  .fields { grid-template-columns: minmax(0, 1fr); }
  .fields .full { grid-column: auto; }
  .sec .wrap { padding-top: 56px; padding-bottom: 56px; gap: 28px; }
  .sec h2 { font-size: clamp(38px, 11vw, 56px); }
  .agents { grid-template-columns: minmax(0, 1fr); }
  .agent img { width: 140px; height: 140px; }
  .lp-footer img { width: 200px; height: 50px; }
}
