/* A Caring Place — responsive layout (2026-10-21).
   Mobile first; at 860px and up it returns to the original two-column look
   (photo sidebar on the left, nav + banner + content on the right). */

:root {
  --wine: #8c0532;
  --wine-dark: #6b0426;
  --rose: #cc0033;
  --mauve: #8a5560;
  --cream: #fbfdee;
  --sage: #eef2da;
  --tan: #dfa673;
  --tan-light: #f4dcc4;
  --ink: #222;
  --muted: #555;
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: Verdana, Geneva, Tahoma, sans-serif;
  --script: "Great Vibes", "Brush Script MT", cursive;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--wine);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--wine); }
a:hover, a:focus-visible { color: var(--rose); }
:focus-visible { outline: 3px solid var(--tan); outline-offset: 2px; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: #fff; padding: 8px 12px; z-index: 10;
}
.skip:focus { left: 8px; top: 8px; }

/* ---------- Page shell ---------- */
.page {
  max-width: 980px;
  margin: 0 auto;
  background: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.main-col {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

/* ---------- Mobile brand bar ---------- */
.brandbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px 10px;
  background: #fff;
  border-bottom: 3px solid var(--wine);
}
.brandbar a.brand { text-decoration: none; color: var(--wine); line-height: 1.15; }
.brand-name {
  display: block;
  font-family: var(--serif);
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.brand-tag {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  color: #3d6b1f;
}
.call-btn {
  flex: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 22px;
  background: var(--wine);
  color: #fff;
  font-weight: bold;
  font-size: 0.9rem;
  text-decoration: none;
}
.call-btn:hover, .call-btn:focus-visible { background: var(--rose); color: #fff; }

/* ---------- Nav ---------- */
.site-nav {
  background: var(--sage);
  border-bottom: 1px solid #dfe4c2;
}
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 8px 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 6px;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: bold;
  font-style: italic;
  color: #000;
  text-decoration: none;
}
.site-nav a:hover, .site-nav a:focus-visible { background: var(--tan); color: #000; }
.site-nav a[aria-current="page"] { background: #fff; box-shadow: inset 0 -3px 0 var(--wine); }

/* ---------- Banner with rotating script words ---------- */
.banner {
  position: relative;
  height: 96px;
  background: #f3f6e4 url(../images/acaringplace_7_09.png) right center / cover no-repeat;
  border-bottom: 2px solid var(--wine);
  overflow: hidden;
}
.banner-words {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  font-family: var(--script);
  font-weight: normal;
  font-size: 2.6rem;
  line-height: 1;
  color: forestgreen;
  transition: opacity 1.2s ease;
  white-space: nowrap;
}
.banner-words.is-hidden { opacity: 0; }

/* ---------- Content ---------- */
#content {
  flex: 1;
  padding: 20px 16px 28px;
  background: #fff url(../images/contengBG.png) repeat;
}
#content > :first-child { margin-top: 0; }

h1.page-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 16px;
  font-family: var(--serif);
  font-weight: normal;
  font-size: 2rem;
  color: var(--mauve);
}
h1.page-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #b9c38f;
}

#content h2 {
  font-family: var(--serif);
  color: var(--wine);
  font-size: 1.5rem;
  margin: 32px 0 8px;
  scroll-margin-top: 12px;
}
#content p { margin: 0 0 16px; }

.lede { font-style: italic; color: var(--muted); }

.highlight {
  font-style: italic;
  font-weight: bold;
  color: var(--rose);
  border-left: 4px solid var(--tan);
  padding: 4px 0 4px 14px;
  margin: 0 0 18px;
}
.highlight p { margin: 0 0 6px; }

ul.points { margin: 0 0 18px; padding-left: 0; list-style: none; }
ul.points li { padding-left: 1.2em; text-indent: -1.2em; margin-bottom: 6px; }
ul.points li::before { content: "~ "; color: var(--wine); font-weight: bold; }

.note { font-weight: bold; color: var(--wine); }

/* Services Q&A */
.jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}
.jump a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--wine);
  border-radius: 22px;
  background: #fff;
  font-weight: bold;
  letter-spacing: 0.05em;
  text-decoration: none;
}
.jump a:hover, .jump a:focus-visible { background: var(--wine); color: #fff; }

.qa { margin: 0 0 18px; }
.qa dt { font-style: italic; font-weight: bold; margin-top: 14px; }
.qa dd { margin: 4px 0 0; }

.service + .service { border-top: 1px solid #d8ddb8; }

/* Testimonials */
blockquote.testimonial {
  margin: 0 0 18px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.85);
  border-left: 4px solid var(--tan);
  border-radius: 0 6px 6px 0;
}
blockquote.testimonial p { margin: 0 0 8px; }
blockquote.testimonial footer { font-weight: bold; color: var(--wine); }

/* Contact */
.contact-actions { display: grid; gap: 12px; margin: 0 0 20px; max-width: 420px; }
.contact-actions a {
  display: flex;
  flex-direction: column;
  padding: 14px 18px;
  border-radius: 8px;
  background: var(--wine);
  color: #fff;
  text-decoration: none;
  font-size: 1.15rem;
  font-weight: bold;
  overflow-wrap: anywhere;
}
.contact-actions a span { font-size: 0.8rem; font-weight: normal; opacity: 0.85; text-transform: uppercase; letter-spacing: 0.08em; }
.contact-actions a:hover, .contact-actions a:focus-visible { background: var(--rose); color: #fff; }

/* ---------- Sidebar (below content on phones) ---------- */
.sidebar {
  background: #fff;
  padding: 20px 16px 24px;
  border-top: 3px solid var(--sage);
  text-align: center;
}
.sidebar .logo { display: none; }
.contact-card {
  margin: 0 auto 20px;
  max-width: 268px;
  text-align: left;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}
.contact-card .place { font-weight: bold; color: #666; }
.contact-card a { display: block; padding: 6px 0; font-weight: bold; text-decoration: none; overflow-wrap: anywhere; }
.biopic { display: inline-block; max-width: 268px; }
.sidebar .seal { margin-top: 16px; min-height: 40px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--wine);
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.8rem;
  font-weight: bold;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 12px 16px;
}

/* ---------- Tablet ---------- */
@media (min-width: 600px) {
  body { font-size: 16px; }
  .banner { height: 120px; }
  .banner-words { font-size: 3.4rem; left: 24px; }
  #content { padding: 24px 28px 32px; }
  h1.page-title { font-size: 2.3rem; }
}

/* ---------- Desktop: original two-column layout ---------- */
@media (min-width: 860px) {
  body { font-size: 15px; padding: 0; }
  .page {
    display: grid;
    grid-template-columns: 269px 1fr;
    grid-template-rows: 1fr auto;
    min-height: 100vh;
  }
  .brandbar { display: none; }
  .sidebar {
    grid-column: 1;
    grid-row: 1;
    order: -1;
    padding: 0 0 20px;
    border-top: 0;
    border-right: 1px solid #eee;
  }
  .sidebar .logo { display: block; }
  .main-col { grid-column: 2; grid-row: 1; }
  .site-footer { grid-column: 1 / -1; text-align: right; padding: 6px 12px; }

  .site-nav {
    padding-top: 30px;
    background: linear-gradient(#eec7a1 0 24px, var(--sage) 24px);
    border-bottom: 0;
  }
  .site-nav ul { justify-content: flex-start; padding: 4px 12px 6px; gap: 2px; }
  .site-nav a { min-height: 36px; padding: 0 10px; font-size: 1.15rem; }
  .site-nav a[aria-current="page"] { background: transparent; box-shadow: inset 0 -3px 0 var(--wine); }

  .banner { height: 140px; background-position: right center; border-top: 5px solid var(--cream); }
  .banner-words { font-size: 4rem; left: 28px; }
  .contact-card { margin: 14px 16px 18px; }
}
