/* ============================================================
   B&M Land Management — site styles
   Palette + type pulled from the logo. No gradients, no neon.
   ============================================================ */

:root {
  --cream:        #F5F0E4;  /* off-white page background */
  --cream-deep:   #EDE6D5;  /* slightly darker section band */
  --ink:          #1A1A1A;  /* near-black text + logo mark */
  --ink-soft:     #33322E;  /* body text on cream */
  --slate:        #566578;  /* secondary text / rules */
  --green:        #2E4A34;  /* forest green accent */
  --green-deep:   #24391F;  /* button hover */
  --green-light:  #9BC495;  /* accent on dark surfaces */
  --night:        #141311;  /* dark header/hero base */
  --night-2:      #0d0c0b;  /* darkest */
  --line:         #D9CFBB;  /* hairline dividers */
  --white:        #FBF9F3;  /* cards */
  --maxw:         1120px;
  --radius:       10px;
  --shadow:       0 1px 2px rgba(26,26,26,.06), 0 8px 24px rgba(26,26,26,.06);
  --serif:        Georgia, "Times New Roman", "Iowan Old Style", serif;
  --sans:         "Helvetica Neue", Arial, "Segoe UI", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink-soft);
  background: var(--cream);
  line-height: 1.6;
  font-size: 17px;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 .5em;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); }
h3 { font-size: 1.28rem; }
p  { margin: 0 0 1rem; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.section { padding: 72px 0; }
.section--band { background: var(--cream-deep); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.center { text-align: center; }
.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .78rem;
  font-weight: 700;
  color: var(--green);
  margin: 0 0 .6rem;
}
.lead { font-size: 1.15rem; color: var(--slate); max-width: 62ch; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--sans); font-weight: 700; font-size: 1rem;
  padding: .8em 1.4em; border-radius: 8px; border: 2px solid transparent;
  cursor: pointer; transition: background .15s, color .15s, border-color .15s;
  text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--green); color: #fff; }
.btn--primary:hover { background: var(--green-deep); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--cream); }
.btn--phone { background: var(--ink); color: var(--cream); font-size: 1.15rem; }
.btn--phone:hover { background: #000; color: #fff; }

/* ---------- Top announcement bar ---------- */
.topbar { background: var(--green); color: #fff; text-align: center;
  font-family: var(--sans); font-size: .92rem; font-weight: 600;
  padding: 9px 16px; letter-spacing: .01em; }
.topbar a { color: #fff; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.topbar a:hover { color: #fff; opacity: .9; }
@media (max-width: 480px) { .topbar { font-size: .82rem; } }

/* ============================================================
   Header / nav
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(20,19,17,.92);
  backdrop-filter: saturate(1.1) blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 22px; max-width: var(--maxw); margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 48px; width: auto; }
.brand__text { display: none; }
.nav__links { display: flex; align-items: center; gap: 26px; }
.nav__links a { color: #EDE8DA; font-weight: 600; font-size: .98rem; }
.nav__links a:hover { color: var(--green-light); text-decoration: none; }
.nav__links a.active { color: var(--green-light); }
.nav__cta { display: flex; align-items: center; gap: 14px; }
.nav__phone { font-weight: 700; color: #fff; white-space: nowrap; }
.nav__phone:hover { color: var(--green-light); text-decoration: none; }

.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: #EDE8DA; margin: 5px 0; transition: .2s; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  background:
    radial-gradient(1100px 520px at 78% -8%, rgba(60,90,63,.38) 0%, rgba(20,19,17,0) 60%),
    radial-gradient(900px 600px at 0% 110%, rgba(46,74,52,.30) 0%, rgba(20,19,17,0) 55%),
    linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%);
  border-bottom: 3px solid var(--green);
  color: #D6D0C4;
}
.hero__inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding-block: 76px 84px; }
.hero__logo { width: 260px; max-width: 70%; margin-bottom: 22px; }
.hero h1 { color: #fff; margin-bottom: .3em; font-size: clamp(2.3rem, 5.4vw, 3.7rem); }
.hero p { color: #C4BEB2; }
.hero__tag {
  font-family: var(--sans); font-style: normal; font-weight: 700; font-size: .95rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--green-light); margin-bottom: 1em;
}
.hero__guarantee {
  display: inline-block; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-left: 4px solid var(--green-light); border-radius: 6px;
  padding: 12px 16px; font-weight: 600; color: #fff; margin: 6px 0 24px;
  backdrop-filter: blur(2px);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
/* Hero buttons tuned for the dark background */
.hero .btn--phone { background: var(--green); color: #fff; }
.hero .btn--phone:hover { background: #3a5c40; color: #fff; }
.hero .btn--ghost { color: #fff; border-color: rgba(255,255,255,.55); }
.hero .btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.hero .ph-note { color: rgba(232,227,216,.6); }

/* ============================================================
   Before / After slider (CSS + tiny JS)
   ============================================================ */
.ba {
  position: relative; width: 100%; aspect-ratio: 4 / 3;
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  border: 1px solid var(--line); user-select: none; touch-action: none;
}
.ba__img { position: absolute; inset: 0; width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 1.3rem; }
.ba__after  { background: repeating-linear-gradient(135deg, #3c5a3f 0 22px, #365237 22px 44px); color: #eef3ea; }
.ba__before { background: repeating-linear-gradient(135deg, #6f6250 0 22px, #675b49 22px 44px); color: #f4efe4;
  clip-path: inset(0 50% 0 0); }
.ba__tag { position: absolute; top: 12px; padding: 4px 10px; border-radius: 4px;
  font-family: var(--sans); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.ba__tag--before { left: 12px; background: rgba(26,26,26,.7); color: #fff; }
.ba__tag--after  { right: 12px; background: rgba(46,74,52,.85); color: #fff; }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0;
  -webkit-appearance: none; appearance: none; background: transparent; cursor: ew-resize; }
.ba__range::-webkit-slider-thumb { -webkit-appearance: none; width: 44px; height: 100%; }
.ba__range::-moz-range-thumb { width: 44px; height: 100%; border: 0; background: transparent; }
.ba__handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: #fff;
  box-shadow: 0 0 0 1px rgba(0,0,0,.2); transform: translateX(-50%); pointer-events: none; }
.ba__handle::after { content: "⇆"; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 38px; height: 38px; border-radius: 50%; background: #fff; color: var(--ink);
  display: flex; align-items: center; justify-content: center; font-size: 1rem; box-shadow: var(--shadow); }

/* ============================================================
   Trust bar
   ============================================================ */
.trust { background: var(--ink); color: var(--cream); }
.trust__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 40px; padding: 18px 22px; text-align: center; }
.trust__row span { font-weight: 600; font-size: .98rem; display: inline-flex; align-items: center; gap: 8px; }
.trust__row span::before { content: "✓"; color: #8fb98a; font-weight: 800; }

/* Rugged torn/"dirt" edge where the dark top tears into the content */
.torn { display: block; width: 100%; height: 34px; line-height: 0; margin-top: -1px; background: transparent; }
.torn svg { display: block; width: 100%; height: 34px; }

/* ============================================================
   Cards / grids
   ============================================================ */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow); }
.card h3 { margin-top: .2em; }
.card__icon { width: 46px; height: 46px; margin-bottom: 14px; opacity: .9; }
.card--avatar { border-top: 3px solid var(--green); }

/* ---------- Owner profiles (About page) ---------- */
.owners { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 36px; }
.owner { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden; }
.owner__photo { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  background: linear-gradient(135deg, var(--cream-deep), var(--line));
  display: flex; align-items: center; justify-content: center;
  color: var(--slate); font-family: var(--serif); font-style: italic; text-align: center; padding: 0 20px; }
.owner__body { padding: 24px 26px 28px; }
.owner__role { font-family: var(--sans); text-transform: uppercase; letter-spacing: .14em;
  font-size: .74rem; font-weight: 700; color: var(--green); margin: 0 0 6px; }
.owner h3 { font-size: 1.5rem; margin: 0 0 .5em; }
.owner p { margin: 0 0 .8em; color: var(--ink-soft); }
.owner p:last-child { margin-bottom: 0; }

.svcgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.svc { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 20px; }
.svc h4 { font-family: var(--serif); font-size: 1.1rem; margin: 0 0 .3em; }
.svc p { margin: 0; color: var(--slate); font-size: .95rem; }
.svc--note { background: transparent; border-style: dashed; display: flex; align-items: center; }
.svc--note p { color: var(--green); font-weight: 600; }

/* ---------- Services page tier tables ---------- */
.tier { margin-bottom: 40px; }
.tier__head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.tier__badge { font-family: var(--sans); font-size: .72rem; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: #fff; background: var(--green); padding: 3px 9px; border-radius: 4px; }
.pricetable { width: 100%; border-collapse: collapse; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.pricetable th, .pricetable td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.pricetable th { background: var(--cream-deep); font-family: var(--sans); font-size: .8rem;
  text-transform: uppercase; letter-spacing: .06em; color: var(--slate); }
.pricetable td:last-child { font-weight: 700; color: var(--ink); white-space: nowrap; }
.pricetable tr:last-child td { border-bottom: 0; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ============================================================
   Gallery
   ============================================================ */
.filterbar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 28px; }
.filterbar button { font-family: var(--sans); font-weight: 600; font-size: .92rem; cursor: pointer;
  background: var(--white); border: 1px solid var(--line); color: var(--ink); padding: 8px 16px; border-radius: 20px; }
.filterbar button.active { background: var(--green); color: #fff; border-color: var(--green); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ph-note { text-align: center; color: var(--slate); font-style: italic; margin-top: 8px; }
.ba__caption { text-align: center; color: rgba(232,227,216,.85); font-size: .95rem; margin-top: 14px; }
.ba__caption span { color: var(--green-light); font-weight: 600; white-space: nowrap; }

/* ============================================================
   Reviews
   ============================================================ */
.review { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.review__stars { color: #d8a72b; letter-spacing: 2px; margin-bottom: 8px; }
.review__soon { text-align: center; color: var(--slate); }
.review p { margin: 0 0 10px; }
.review__name { color: var(--slate); font-weight: 600; font-size: .95rem; margin: 0; }

/* ============================================================
   Service area
   ============================================================ */
.areas { display: flex; flex-wrap: wrap; gap: 10px; }
.areas span { background: var(--white); border: 1px solid var(--line); border-radius: 20px;
  padding: 7px 15px; font-weight: 600; font-size: .92rem; color: var(--ink); }
.areas .areas__all { background: var(--green); border-color: var(--green); color: #fff; }

/* ============================================================
   CTA band
   ============================================================ */
.cta { background: var(--green); color: #fff; }
.cta h2 { color: #fff; }
.cta .lead { color: #dbe6da; }
.cta .btn--phone { background: #fff; color: var(--green); }
.cta .btn--phone:hover { background: var(--cream); color: var(--green-deep); }
.cta .btn--ghost { color: #fff; border-color: #fff; }
.cta .btn--ghost:hover { background: #fff; color: var(--green); }

/* ============================================================
   Contact form
   ============================================================ */
.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow); }
.form label { display: block; font-weight: 600; color: var(--ink); margin: 14px 0 6px; font-size: .95rem; }
.form input, .form select, .form textarea {
  width: 100%; font-family: var(--sans); font-size: 1rem; color: var(--ink-soft);
  padding: 11px 13px; border: 1px solid var(--line); border-radius: 7px; background: var(--cream); }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--green); outline-offset: 1px; border-color: var(--green); }
.form textarea { min-height: 110px; resize: vertical; }
.form .btn { margin-top: 20px; width: 100%; justify-content: center; }
.form__note { font-size: .9rem; color: var(--slate); margin-top: 12px; text-align: center; }

.contact-cards { display: grid; gap: 14px; }
.contact-cards .card { padding: 20px; }
.contact-cards .card h3 { font-size: 1.05rem; margin: 0 0 .2em; }

/* ============================================================
   Footer
   ============================================================ */
.footer { background: var(--ink); color: #cfc9ba; padding: 52px 0 28px; }
.footer a { color: #e6e1d4; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer__logo { width: 190px; margin-bottom: 16px; }
.footer h4 { color: #fff; font-family: var(--sans); font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 12px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 7px; font-size: .95rem; }
.footer__phone { font-size: 1.3rem; font-weight: 700; color: #fff; }
.footer__social { display: flex; gap: 12px; margin-top: 14px; }
.footer__social a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  border-radius: 9px; border: 1px solid #34342f; color: #e6e1d4; }
.footer__social a:hover { background: var(--green); border-color: var(--green); color: #fff; text-decoration: none; }
.footer__social svg { width: 20px; height: 20px; }
.footer__bottom { border-top: 1px solid #34342f; margin-top: 34px; padding-top: 18px;
  display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; font-size: .85rem; color: #948e80; }

/* ============================================================
   Page hero (interior pages)
   ============================================================ */
.pagehero { background: var(--cream-deep); border-bottom: 1px solid var(--line); padding: 56px 0; }
.pagehero .lead { margin-top: .3em; }

/* ============================================================
   How-it-works timeline
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; margin-top: 44px; }
.step { text-align: center; }
.step__num { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px;
  border-radius: 50%; background: var(--green); color: #fff; font-family: var(--serif); font-weight: 700;
  font-size: 1.25rem; margin-bottom: 14px; }
.step h4 { font-family: var(--serif); font-size: 1.08rem; margin: 0 0 .35em; }
.step p { color: var(--slate); font-size: .92rem; margin: 0; }

/* ============================================================
   FAQ accordion
   ============================================================ */
.faq { max-width: 760px; margin: 40px auto 0; }
.faq details { border: 1px solid var(--line); border-radius: 10px; background: var(--white);
  margin-bottom: 12px; box-shadow: var(--shadow); overflow: hidden; }
.faq summary { cursor: pointer; padding: 18px 20px; font-family: var(--serif); font-weight: 700;
  font-size: 1.1rem; color: var(--ink); list-style: none; display: flex; justify-content: space-between;
  align-items: center; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--green); font-size: 1.5rem; font-weight: 700; line-height: 1; flex: none; }
.faq details[open] summary::after { content: "\2013"; }
.faq details > p { margin: 0; padding: 0 20px 18px; color: var(--ink-soft); }

/* ============================================================
   Floating mobile call button
   ============================================================ */
.callfab { display: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .hero__inner { grid-template-columns: 1fr; gap: 30px; padding-block: 40px; }
  .hero__logo { margin-left: auto; margin-right: auto; }
  .grid--3, .svcgrid, .gallery { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .owners { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav__links, .nav__phone { display: none; }
  .nav__toggle { display: block; }
  .site-header.open .nav__links {
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
    position: absolute; top: 100%; left: 0; right: 0; background: var(--night);
    border-bottom: 1px solid rgba(255,255,255,.08); padding: 12px 22px 18px; }
  .site-header.open .nav__links a { padding: 8px 0; width: 100%; }
  .section { padding: 52px 0; }
  .grid--3, .grid--2, .svcgrid, .gallery { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__actions .btn, .cta .btn { width: 100%; justify-content: center; }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  /* Floating click-to-call bar on phones */
  .callfab { display: flex; align-items: center; justify-content: center; gap: 9px;
    position: fixed; left: 14px; right: 14px; bottom: 14px; z-index: 60;
    background: var(--green); color: #fff; font-weight: 700; font-size: 1.08rem;
    padding: 15px; border-radius: 12px; text-decoration: none;
    box-shadow: 0 6px 22px rgba(0,0,0,.32); border: 2px solid var(--green-light); }
  .callfab:hover { text-decoration: none; }
  body { padding-bottom: 80px; }
}
