/* Open Now Sites - styles (mobile first) */
:root {
  --cream: #FBF8F1;
  --paper: #FFFFFF;
  --line: #E7E0CF;
  --ink: #1F2A24;
  --muted: #4B5A51;
  --green: #1F4D3A;
  --green-hover: #173B2C;
  --green-call: #1F7A4D;
  --green-dot: #2FA866;
  --green-tint: #EAF2EC;
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius: 12px;
  --wrap: 1080px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  padding-bottom: 64px; /* room for the mobile call bar */
}

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

a { color: var(--green); }
a:hover { color: var(--green-hover); }

:focus-visible { outline: 3px solid var(--green-dot); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.2; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: 2.1rem; letter-spacing: -.01em; }
h2 { font-size: 1.7rem; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--green); color: #fff; padding: 10px 14px; z-index: 100; }
.skip:focus { left: 10px; top: 10px; }

.icon { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.2em; }

/* Header */
.site-header { background: var(--cream); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 8px; font-family: var(--serif); font-weight: 700; font-size: 1.15rem; color: var(--green); text-decoration: none; }
.logo-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green-dot); box-shadow: 0 0 0 4px rgba(47,168,102,.18); }
.nav { display: none; }
.nav a { color: var(--ink); text-decoration: none; font-size: .95rem; }
.nav a:hover { color: var(--green); text-decoration: underline; }
.header-call { display: inline-flex; align-items: center; gap: 6px; font-size: .95rem; font-weight: 600; color: var(--green); text-decoration: none; white-space: nowrap; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 12px 22px; border-radius: 999px; font-family: var(--sans); font-size: 1rem; font-weight: 600; text-decoration: none; border: 2px solid var(--green); cursor: pointer; transition: background .15s, color .15s; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-hover); border-color: var(--green-hover); color: #fff; }
.btn-outline { background: transparent; color: var(--green); }
.btn-outline:hover { background: var(--green-tint); color: var(--green); }
.btn-row { display: flex; flex-direction: column; gap: 10px; }

/* Sections */
section { padding: 56px 0; }
.section-alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 28px; }
.section-head p { color: var(--muted); margin: 0; }
.eyebrow { display: inline-block; font-size: .85rem; font-weight: 600; color: var(--green-call); margin-bottom: 8px; }

/* Hero */
.hero { padding: 40px 0 48px; }
.hero-grid { display: grid; gap: 32px; }
.hero .lead { font-size: 1.1rem; color: var(--muted); max-width: 34em; }
.hours { display: inline-flex; align-items: center; gap: 6px; font-size: .9rem; color: var(--green-call); font-weight: 600; margin-bottom: 14px; }
.facts { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .95rem; color: var(--muted); }
.facts li { display: inline-flex; align-items: center; gap: 6px; }
.facts .icon { color: var(--green-call); }

/* Image placeholders (replaced by real images later) */
.ph { background: var(--green-tint); border: 1px solid var(--line); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: #8FB39E; width: 100%; }
.ph .icon { width: 56px; height: 56px; stroke-width: 1.25; }
.ph-hero { aspect-ratio: 4 / 3; }
.ph-card { aspect-ratio: 4 / 3; border-radius: var(--radius) var(--radius) 0 0; border: 0; border-bottom: 1px solid var(--line); }
.ph-sample { aspect-ratio: 16 / 10; border-radius: 8px; }
.hero-img { border-radius: var(--radius); border: 1px solid var(--line); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

/* Cards */
.cards { display: grid; gap: 16px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.card-body { padding: 18px 20px 20px; }
.card-body p { margin: 0; color: var(--muted); }
.card h3 { display: flex; align-items: center; gap: 8px; }
.card h3 .icon { color: var(--green-call); }
.card-img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; border-bottom: 1px solid var(--line); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; counter-reset: step; }
.steps li { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px 18px 68px; position: relative; counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; left: 18px; top: 18px; width: 34px; height: 34px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; font-family: var(--serif); }
.steps h3 { margin-bottom: 4px; font-size: 1.1rem; }
.steps p { margin: 0; color: var(--muted); }

/* Included */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.checklist .icon { color: var(--green-call); margin-top: 3px; }

/* Pricing */
.pricing { display: grid; gap: 16px; }
.price-card { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.price-card.main { border: 2px solid var(--green); background: var(--paper); }
.price { font-family: var(--serif); font-size: 2.8rem; font-weight: 700; line-height: 1; color: var(--green); margin: 8px 0 6px; }
.price small { font-family: var(--sans); font-size: 1rem; font-weight: 400; color: var(--muted); }
.price-card ul { padding-left: 1.2em; margin: 14px 0 18px; color: var(--muted); }
.price-card li { margin-bottom: 4px; }
.price-note { font-size: .92rem; color: var(--muted); margin: 16px 0 0; }

/* Samples */
.sample { padding: 14px; }
.sample .card-body { padding: 14px 4px 4px; }
.sample h3 { font-size: 1.05rem; margin-bottom: 2px; }
.sample .soon { font-size: .9rem; color: var(--muted); }

/* Reviews (hidden until turned on) */
.reviews[hidden] { display: none; }
.review { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.review p { font-family: var(--serif); font-size: 1.05rem; }
.review cite { font-style: normal; font-size: .92rem; color: var(--muted); }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 760px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 48px 16px 18px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 400; color: var(--green); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 18px 16px; margin: 0; color: var(--muted); }

/* Contact */
.contact-grid { display: grid; gap: 28px; }
.contact-list { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 12px; align-items: center; }
.contact-list .icon { color: var(--green-call); width: 1.4em; height: 1.4em; }
.contact-list a { font-weight: 600; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.contact-list small { display: block; color: var(--muted); font-size: .9rem; }

.form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .95rem; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid #C9C0AB; border-radius: 8px; padding: 12px; min-height: 48px; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(47,168,102,.35); border-color: var(--green-call); }
.optional { font-weight: 400; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { width: 100%; }
.form-status { margin: 0; font-size: .95rem; }
.form-status.ok { color: var(--green-call); font-weight: 600; }
.form-status.err { color: #A32D2D; font-weight: 600; }
.form-small { font-size: .85rem; color: var(--muted); margin: 0; }

/* Footer */
.site-footer { background: var(--green); color: #DCE8E0; padding: 40px 0 28px; font-size: .95rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; gap: 22px; }
.site-footer .logo { color: #fff; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.legal { border-top: 1px solid rgba(255,255,255,.18); margin-top: 26px; padding-top: 18px; font-size: .85rem; color: #BFD2C6; }
.legal p { margin: 0 0 4px; }

/* Sticky call bar (mobile only) */
.call-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; align-items: center; justify-content: center; gap: 8px; height: 60px; background: var(--green-call); color: #fff; font-weight: 700; font-size: 1.05rem; text-decoration: none; box-shadow: 0 -2px 10px rgba(0,0,0,.12); padding-bottom: env(safe-area-inset-bottom); }
.call-bar:hover, .call-bar:focus { color: #fff; background: var(--green); }

/* Legal pages */
.doc { max-width: 760px; padding: 40px 20px 64px; }
.doc h1 { font-size: 2rem; }
.doc h2 { font-size: 1.3rem; margin-top: 1.8em; }
.doc .updated { color: var(--muted); font-size: .95rem; }
.doc ul { padding-left: 1.2em; }
.doc li { margin-bottom: 6px; }
.doc .box { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.doc .box p:last-child { margin: 0; }

/* Tablet and up */
@media (min-width: 640px) {
  h1 { font-size: 2.6rem; }
  .btn-row { flex-direction: row; flex-wrap: wrap; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .checklist { grid-template-columns: 1fr 1fr; }
  .pricing { grid-template-columns: 1.3fr 1fr; align-items: start; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

/* Desktop */
@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .call-bar { display: none; }
  .nav { display: flex; gap: 22px; }
  .header-call { border: 2px solid var(--green); border-radius: 999px; padding: 8px 16px; }
  .header-call:hover { background: var(--green-tint); }
  section { padding: 80px 0; }
  .hero { padding: 64px 0 80px; }
  h1 { font-size: 3.1rem; }
  h2 { font-size: 2.1rem; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; align-items: center; gap: 48px; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .steps li { padding: 66px 20px 20px; }
  .contact-grid { grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
}
