/* ==========================================================================
   Sonoran Comfort First Home Care — shared site styles
   Scoped, additive class names only. Existing page styles are untouched.
   Palette matches the site: #38483a black, #90988a gold, #caa278 soft gold,
   #fdf8ee cream, #d9dcd4 line.
   ========================================================================== */

/* --- Emergency / non-medical notice ------------------------------------- */
.notice-emergency{
  background:#fff8e6;
  border:1px solid #d9dcd4;
  border-left:4px solid #90988a;
  border-radius:12px;
  padding:16px 18px;
  margin:20px 0 0;
  font-size:15px;
  line-height:1.6;
  color:#38483a;
}
.notice-emergency strong{color:#38483a}
.notice-emergency a{color:#6b7a6e;font-weight:700;text-decoration:underline}

/* Privacy notice used beneath forms */
.notice-privacy{
  background:#fdf8ee;
  border:1px solid #d9dcd4;
  border-radius:12px;
  padding:16px 18px;
  margin:18px 0 0;
  font-size:14px;
  line-height:1.6;
  color:#5a5a54;
}
.notice-privacy a{color:#6b7a6e;font-weight:700;text-decoration:underline}

/* Consent / disclosure line for the review form */
.notice-consent{
  background:#fdf8ee;
  border-left:4px solid #90988a;
  border-radius:0 12px 12px 0;
  padding:16px 18px;
  margin:0 0 20px;
  font-size:14px;
  line-height:1.65;
  color:#5a5a54;
}

/* --- Accessible form labels -------------------------------------------- */
.field{margin:0 0 12px}
.field > label{
  display:block;
  font-weight:700;
  font-size:14px;
  color:#38483a;
  margin:0 0 6px;
}
.field .req{color:#a3121b;font-weight:800}
.field .hint{display:block;font-weight:400;font-size:13px;color:#6e7069;margin-top:2px}
.form-legend{
  font-size:14px;
  color:#6e7069;
  margin:0 0 18px;
}
.form-legend .req{color:#a3121b;font-weight:800}

/* --- "Why families choose us" ------------------------------------------ */
.why-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:16px;
  list-style:none;
  margin:0;
  padding:0;
}
.why-grid li{
  background:#fff;
  border:1px solid #d9dcd4;
  border-radius:14px;
  padding:18px 20px 18px 52px;
  position:relative;
  font-size:16px;
  line-height:1.55;
  box-shadow:0 10px 30px rgba(0,0,0,.06);
}
.why-grid li::before{
  content:"";
  position:absolute;
  left:20px;
  top:22px;
  width:18px;
  height:18px;
  border-radius:50%;
  background:#90988a;
  box-shadow:inset 0 0 0 3px #fff;
}

/* --- Meet the owners --------------------------------------------------- */
/* One column by default. The photo column only appears once the real
   photograph has actually loaded, so visitors never see an empty frame. */
.owners-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:32px;
  align-items:center;
  text-align:left;
}
.owners-grid.has-photo{grid-template-columns:.85fr 1.15fr}
.owners-photo{margin:0;display:none}
.owners-photo.is-loaded{display:block}
.owners-photo img{
  width:100%;
  border-radius:18px;
  border:1px solid #d9dcd4;
  background:#fff;
  box-shadow:0 10px 30px rgba(0,0,0,.10);
}
.owners-photo figcaption{
  font-size:14px;
  color:#6e7069;
  margin-top:10px;
  text-align:center;
}

/* --- Legal pages (privacy / terms) ------------------------------------- */
.legal-body{max-width:820px;margin:0 auto}
.legal-body h2{
  font-size:clamp(24px,3vw,32px);
  line-height:1.2;
  margin:44px 0 12px;
}
.legal-body h2:first-child{margin-top:0}
.legal-body p,.legal-body li{font-size:16px;line-height:1.75;color:#38483a}
.legal-body ul{padding-left:22px}
.legal-body li{margin-bottom:10px}
.legal-updated{font-size:14px;color:#6e7069;margin:0 0 8px}

/* --- Shared site footer ------------------------------------------------ */
.site-footer{
  background:#38483a;
  color:#d8d4c4;
  padding:44px 0 34px;
  font-size:15px;
  line-height:1.7;
}
.site-footer a{color:#caa278;text-decoration:none}
.site-footer a:hover{text-decoration:underline}
.site-footer-grid{
  display:grid;
  grid-template-columns:1.1fr 1fr 1fr;
  gap:28px;
  align-items:start;
}
.site-footer h2{
  font-size:16px;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:#90988a;
  margin:0 0 12px;
}
.site-footer .footer-brand{
  font-size:18px;
  font-weight:800;
  color:#fff;
  margin:0 0 10px;
  line-height:1.3;
}
.site-footer ul{list-style:none;margin:0;padding:0}
.site-footer li{margin-bottom:8px}
.site-footer .footer-area{color:#bdbdbd}
.site-footer-legal{
  border-top:1px solid #2e2e2e;
  margin-top:32px;
  padding-top:22px;
  font-size:14px;
  color:#a8a8a8;
  line-height:1.7;
}
.site-footer-legal p{margin:0 0 10px}
.site-footer-legal p:last-child{margin-bottom:0}
.site-footer-legal .footer-emergency{color:#e8dcb4}
.site-footer-legal .footer-emergency a{font-weight:700}

@media (max-width:900px){
  .why-grid{grid-template-columns:1fr}
  .owners-grid,.owners-grid.has-photo{grid-template-columns:1fr;text-align:left}
  .site-footer-grid{grid-template-columns:1fr}
}
@media (max-width:640px){
  .why-grid li{padding:16px 18px 16px 48px;font-size:15px}
  .why-grid li::before{left:18px;top:20px}
  .notice-emergency,.notice-privacy,.notice-consent{padding:14px 16px;font-size:14px}
  .site-footer{padding:34px 0 28px}
  .owners-photo figcaption{text-align:left}
}

/* Labeled fields sit inside .field, so the input's own bottom margin is
   dropped to avoid doubling the gap. */
.field input,.field select,.field textarea{margin-bottom:0}

/* --- Meet the owners block (sits inside the Our Story section) ---------- */
.owners-wrap{max-width:1000px;margin:52px auto 0}
.owners-heading{
  font-size:clamp(26px,3.4vw,38px);
  line-height:1.15;
  margin:0 0 14px;
}
.owners-copy p{font-size:17px;line-height:1.75;color:#5a5a54;margin:0}
@media (max-width:900px){
  .owners-wrap{margin-top:38px}
}

/* Group label for a set of controls (e.g. the star rating radio group). */
.field > .field-label{
  display:block;
  font-weight:700;
  font-size:14px;
  color:#38483a;
  margin:0 0 6px;
}

/* Long email addresses must never push past the viewport on small phones. */
.site-footer li,.top a,.topbar a{overflow-wrap:anywhere}
.site-footer a{overflow-wrap:break-word}
.site-footer a[href^="mailto:"]{font-size:13px}
.notice-emergency a,.notice-privacy a,.legal-body a{overflow-wrap:anywhere}


/* keep anchored sections clear of the sticky header */
section[id]{scroll-margin-top:120px}

/* --- Meet the owners: stacked photo + bio -------------------------------- */
.owners-stacked{text-align:center}
.owners-stacked .owners-photo-stacked{margin:0 auto 22px;max-width:680px}
.owners-stacked .owners-photo-stacked img{width:100%;border-radius:18px;border:1px solid #d9dcd4;background:#fff;box-shadow:0 10px 30px rgba(0,0,0,.10)}
.owners-stacked figcaption{font-size:14px;color:#6e7069;margin-top:10px;text-align:center}
.owners-stacked .owners-copy{max-width:680px;margin:0 auto}

/* --- Homepage additions, Oct 2026 (competitor research round) --- */
.hero-empathy{font-style:italic;opacity:.94;max-width:660px;margin:0 auto 26px}
.owners-quote{margin:26px auto 0;max-width:680px;padding:22px 26px;background:#fdf8ee;border-left:4px solid #d1b7af;border-radius:0 14px 14px 0;font-size:18px;line-height:1.7;color:#38483a;text-align:left}
.owners-quote cite{display:block;margin-top:10px;font-size:14px;font-style:normal;color:#6e7069}
.checklist-list{list-style:none;margin:0 0 8px;padding:0}
.checklist-list li{position:relative;padding:12px 16px 12px 48px;margin-bottom:10px;background:#fdf8ee;border:1px solid #d9dcd4;border-radius:12px}
.checklist-list li::before{content:"☐";position:absolute;left:16px;top:11px;font-size:19px;color:#90988a}
