/* RMH client site styles. Mobile first. Colors from site.json via the build. */
:root {
  --accent: #1f4d3a;          /* button background */
  --accent-ink: #ffffff;  /* text on accent buttons */
  --accent-text: #1f4d3a;/* links and outline buttons on light backgrounds */
  --ink: #1d2a22;
  --muted: #4d5a52;
  --bg: #ffffff;
  --bg-alt: #f5f3ee;
  --line: #d9d6cf;
  --focus: #1a5fb4;
  --radius: 10px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; color: var(--ink); background: var(--bg);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  padding-bottom: 76px; /* room for the phone call bar */
}
img { max-width: 100%; height: auto; }
a { color: var(--accent-text); }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.15rem; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }
.section { padding: 48px 0; }
/* Sections after the hero alternate white and tinted, whichever ones are shown. */
main > section.section:nth-of-type(odd) { background: var(--bg-alt); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: 8px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 6px; z-index: 100; }
.skip-link:focus { top: 8px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.1rem; }
.brand-logo { height: 40px; width: auto; }
.btn.header-call { display: none; }

/* Buttons */
.btn {
  display: inline-block; background: var(--accent); color: var(--accent-ink); border: 2px solid var(--accent);
  padding: 12px 20px; border-radius: var(--radius); text-decoration: none; font-weight: 600; font-size: 1rem;
  cursor: pointer; text-align: center;
}
.btn:hover { filter: brightness(1.08); }
.btn-outline { background: transparent; color: var(--accent-text); border-color: var(--accent-text); }
.btn-small { padding: 8px 14px; font-size: .95rem; }
.btn[disabled] { opacity: .6; cursor: wait; }

/* Hero */
.hero { padding: 40px 0 48px; background: var(--bg-alt); }
.hero-grid { display: grid; gap: 24px; align-items: center; }
.tagline { font-size: 1.2rem; color: var(--muted); margin: 0 0 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.hero-img { border-radius: var(--radius); width: 100%; object-fit: cover; max-height: 420px; }

/* Cards */
.cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: var(--bg); }
.card p { margin: 0; }
.review blockquote { margin: 0 0 8px; font-size: 1.05rem; }
.review-by { color: var(--muted); font-size: .95rem; }

/* Area, hours, map */
.two-col { display: grid; gap: 24px; }
.area-list { padding-left: 1.2em; margin: 0; columns: 2; }
.hours { border-collapse: collapse; width: 100%; max-width: 360px; }
.hours th, .hours td { text-align: left; padding: 6px 0; border-bottom: 1px solid var(--line); }
.hours th { font-weight: 600; padding-right: 16px; }
.note { color: var(--muted); font-size: .95rem; }
.map { margin-top: 24px; }
.map iframe { width: 100%; height: 320px; border: 0; border-radius: var(--radius); }
.map-placeholder { min-height: 160px; padding: 24px; border: 1px dashed currentColor; border-radius: var(--radius); display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.map-placeholder p { margin: 0; }
.map-placeholder a { margin-left: 12px; }

/* Form */
.contact-form { display: grid; gap: 14px; margin-top: 16px; }
.field { display: grid; gap: 4px; }
label { font-weight: 600; }
input, textarea {
  font: inherit; color: var(--ink); background: #fff; border: 1px solid #8a948e; border-radius: 8px; padding: 10px 12px; width: 100%;
}
input:focus-visible, textarea:focus-visible { border-color: var(--focus); }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-status:empty { display: none; }
.form-status { margin: 0; padding: 12px; border-radius: 8px; background: #fdf1e6; border: 1px solid #c8792e; }
.form-status.ok { background: #e8f4ec; border-color: #2e7d4f; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0 16px; font-size: .95rem; }
.footer-grid { display: grid; gap: 16px; }
.footer-name { font-weight: 700; margin: 0; }
.site-footer p { margin: 4px 0; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 16px; }
.footer-small { color: var(--muted); margin-top: 16px; }

/* Sticky call bar, phones only */
.call-bar { position: fixed; left: 0; right: 0; bottom: 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--line); z-index: 50; }
.call-bar .btn { display: block; width: 100%; }

.prose h2 { margin-top: 1.5em; }

@media (min-width: 760px) {
  body { padding-bottom: 0; }
  .call-bar { display: none; }
  .btn.header-call { display: inline-block; }
  h1 { font-size: 2.6rem; }
  .section { padding: 64px 0; }
  .hero { padding: 72px 0; }
  .hero-grid { grid-template-columns: 1.1fr 1fr; }
  .cards { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
  .two-col { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
