/* South MS Appraiser - Cooper Associates
   Colors taken from the current southmsappraisals.com theme:
   header/footer black #000001 / #000202, accent red #CB0105, white text. */
:root{
  --ink:#1b1b1b; --muted:#555; --line:#e3e3e3; --bg:#fff; --soft:#f6f6f6;
  --black:#000202; --red:#CB0105; --red-dark:#9B1026; --focus:#1a5fb4;
  --max:68rem; --radius:6px;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;font:1.0625rem/1.6 system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;color:var(--ink);background:var(--bg)}
img{max-width:100%;height:auto}
a{color:var(--red-dark)}
a:hover{color:var(--red)}
:focus-visible{outline:3px solid var(--focus);outline-offset:2px}
.skip{position:absolute;left:-999px;top:0;background:#fff;color:#000;padding:.5rem 1rem;z-index:10}
.skip:focus{left:0}
.wrap{max-width:var(--max);margin:0 auto;padding:0 1.25rem}

/* Header */
.site-header{background:var(--black);color:#fff;border-bottom:4px solid var(--red)}
.site-header .wrap{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.75rem;padding-top:.9rem;padding-bottom:.9rem}
.brand{color:#fff;text-decoration:none;line-height:1.15}
.brand:hover{color:#fff}
.brand-name{display:block;font-family:"Arial Black",Arial,sans-serif;font-weight:900;font-size:1.35rem;letter-spacing:.01em}
.brand-sub{display:block;font-size:.8rem;text-transform:uppercase;letter-spacing:.12em;color:#ddd}
.nav ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.25rem 1.1rem}
.nav a{color:#fff;text-decoration:none;font-size:.95rem;padding:.35rem 0;border-bottom:2px solid transparent}
.nav a:hover,.nav a[aria-current="page"]{border-bottom-color:var(--red)}

/* Sections */
main{display:block}
.hero{background:var(--soft);border-bottom:1px solid var(--line);padding:3rem 0 2.5rem}
.hero h1{font-size:clamp(1.7rem,4vw,2.4rem);line-height:1.2;margin:0 0 .75rem}
.hero p{max-width:40rem;margin:0 0 1.25rem;color:#333}
section{padding:2.25rem 0}
h1,h2,h3{line-height:1.25}
h2{font-size:1.4rem;margin:0 0 1rem}
h2::after{content:"";display:block;width:2.5rem;height:3px;background:var(--red);margin-top:.4rem}
.lead{font-size:1.1rem;color:#333}
.cta{display:flex;flex-wrap:wrap;gap:.75rem}
.btn{display:inline-block;padding:.75rem 1.4rem;border-radius:var(--radius);font-weight:600;text-decoration:none;border:2px solid var(--red);font-size:1rem;cursor:pointer}
.btn-primary{background:var(--red);color:#fff}
.btn-primary:hover{background:var(--red-dark);border-color:var(--red-dark);color:#fff}
.btn-secondary{background:#fff;color:var(--red-dark)}
.btn-secondary:hover{background:#fff5f5}
.grid{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(15rem,1fr))}
.card{border:1px solid var(--line);border-radius:var(--radius);padding:1.1rem 1.2rem;background:#fff}
.card h3{margin:0 0 .35rem;font-size:1.05rem}
.card p{margin:0;color:var(--muted)}
.services{list-style:none;padding:0;margin:0;display:grid;gap:.9rem}
.services li{border-left:4px solid var(--red);padding:.35rem 0 .35rem 1rem}
.services strong{display:block}
.services span{color:var(--muted)}
dl.facts{display:grid;grid-template-columns:max-content 1fr;gap:.4rem 1.25rem;margin:0}
dl.facts dt{font-weight:600}
dl.facts dd{margin:0}
.todo{display:inline-block;background:#fff3cd;color:#664d03;border:1px dashed #b38600;border-radius:4px;padding:.05rem .4rem;font-size:.9em;font-weight:600}
.note{background:var(--soft);border:1px solid var(--line);border-radius:var(--radius);padding:1rem 1.2rem}

/* Form */
form.order{display:grid;gap:1.25rem;max-width:46rem}
fieldset{border:1px solid var(--line);border-radius:var(--radius);padding:1rem 1.2rem 1.2rem;margin:0}
legend{font-weight:700;padding:0 .4rem}
.row{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(14rem,1fr))}
.field{display:flex;flex-direction:column;gap:.3rem}
label{font-weight:600;font-size:.95rem}
.req{color:var(--red-dark)}
.hint{font-size:.85rem;color:var(--muted);font-weight:400}
input,select,textarea{font:inherit;padding:.6rem .7rem;border:1px solid #a9a9a9;border-radius:4px;background:#fff;color:var(--ink);width:100%}
textarea{min-height:7rem;resize:vertical}
input:focus,select:focus,textarea:focus{border-color:var(--focus)}
.hp{position:absolute;left:-5000px}
.form-banner{background:#fff3cd;border:1px dashed #b38600;color:#664d03;border-radius:var(--radius);padding:.8rem 1rem;font-size:.95rem}

/* Footer */
.site-footer{background:var(--black);color:#ddd;padding:1.75rem 0;margin-top:2rem;font-size:.93rem}
.site-footer a{color:#fff}
.site-footer .wrap{display:flex;flex-wrap:wrap;gap:1rem 2rem;justify-content:space-between}
.site-footer p{margin:.2rem 0}

@media (max-width:40rem){
  .site-header .wrap{flex-direction:column;align-items:flex-start}
  .hero{padding:2rem 0 1.75rem}
  .btn{width:100%;text-align:center}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important}}
a[href^="tel:"]{white-space:nowrap}
