/* Samaritan Homes — site styles */
:root {
  --cream: #FBF7F0;
  --cream-2: #F4EDE1;
  --sand: #E9DFCF;
  --sage: #6B8F71;
  --sage-light: #DDE8DC;
  --forest: #2E4A3B;
  --forest-2: #24392E;
  --blush: #C97B63;
  --blush-light: #F6E3DA;
  --ink: #2A2A26;
  --muted: #5F625A;
  --white: #FFFFFF;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 10px 30px rgba(46, 74, 59, 0.08);
  --shadow-lg: 0 20px 50px rgba(46, 74, 59, 0.14);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Nunito Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--forest); }
a:hover { color: var(--blush); }
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  color: var(--forest);
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.bg-white { background: var(--white); }
.bg-sand { background: var(--cream-2); }
.bg-forest { background: var(--forest); color: #E8EFE8; }
.bg-forest h2, .bg-forest h3 { color: #fff; }
.center { text-align: center; }
.narrow { max-width: 720px; margin-left: auto; margin-right: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-weight: 800; font-size: .78rem;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--blush); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.center .eyebrow::after { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.lead { font-size: 1.15rem; color: var(--muted); }
.bg-forest .lead { color: #C9D8CC; }

/* Skip link */
.skip { position: absolute; left: -999px; top: 0; background: var(--forest); color: #fff; padding: 10px 16px; z-index: 200; }
.skip:focus { left: 10px; top: 10px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px; border-radius: 999px;
  font-family: var(--sans); font-weight: 800; font-size: .98rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--blush); color: #fff; box-shadow: 0 8px 20px rgba(201,123,99,.3); }
.btn-primary:hover { background: #B5684F; color: #fff; transform: translateY(-2px); }
.btn-dark { background: var(--forest); color: #fff; }
.btn-dark:hover { background: var(--forest-2); color: #fff; transform: translateY(-2px); }
.btn-outline { border-color: var(--forest); color: var(--forest); background: transparent; }
.btn-outline:hover { background: var(--forest); color: #fff; }
.btn-light { background: #fff; color: var(--forest); }
.btn-light:hover { background: var(--blush-light); color: var(--forest); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* Top bar */
.topbar { background: var(--forest); color: #D7E3D9; font-size: .88rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; font-weight: 700; }
.topbar a:hover { color: var(--blush-light); }
.topbar span { display: inline-flex; align-items: center; gap: 6px; }
.topbar svg { width: 15px; height: 15px; opacity: .8; }
.topbar-left { display: flex; gap: 22px; flex-wrap: wrap; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 247, 240, .92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid rgba(46,74,59,.08);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 80px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 44px; height: 44px; flex-shrink: 0; }
.brand-text { font-family: var(--serif); font-weight: 600; font-size: 1.35rem; color: var(--forest); line-height: 1; }
.brand-text small { display: block; font-family: var(--sans); font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--sage); font-weight: 800; margin-top: 5px; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: 8px 14px; border-radius: 999px;
  text-decoration: none; color: var(--ink); font-weight: 700; font-size: .95rem;
}
.nav-links a:hover { background: var(--sage-light); color: var(--forest); }
.nav-links a[aria-current="page"] { color: var(--blush); }
.nav-cta { margin-left: 10px; }
.nav-cta .btn { padding: 11px 22px; font-size: .92rem; }
.menu-toggle {
  display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--forest);
}
.menu-toggle svg { width: 28px; height: 28px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 90px 0 110px; }
.hero::before {
  content: ""; position: absolute; right: -180px; top: -160px; width: 620px; height: 620px;
  background: radial-gradient(circle, var(--sage-light) 0%, rgba(221,232,220,0) 70%);
  z-index: 0;
}
.hero::after {
  content: ""; position: absolute; left: -200px; bottom: -260px; width: 560px; height: 560px;
  background: radial-gradient(circle, var(--blush-light) 0%, rgba(246,227,218,0) 70%);
  z-index: 0;
}
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.hero h1 em { font-style: italic; color: var(--blush); font-weight: 500; }
.hero .lead { max-width: 560px; margin-bottom: 30px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; list-style: none; padding: 0; }
.hero-badges li { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: .93rem; color: var(--forest); }
.hero-badges svg { width: 20px; height: 20px; color: var(--sage); }

.hero-art { position: relative; }
.hero-card {
  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 34px; position: relative;
}
.hero-illustration { width: 100%; height: auto; border-radius: 20px; background: var(--sage-light); }
.float-card {
  position: absolute; background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg);
  padding: 14px 18px; display: flex; align-items: center; gap: 12px; font-weight: 800; color: var(--forest);
  font-size: .95rem; line-height: 1.25;
}
.float-card small { display: block; font-weight: 600; color: var(--muted); font-size: .8rem; }
.float-card .icon-circle { width: 42px; height: 42px; }
.float-card.one { left: -34px; bottom: 40px; }
.float-card.two { right: -20px; top: 30px; }

/* Icon circle */
.icon-circle {
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; flex-shrink: 0;
  background: var(--sage-light); color: var(--forest);
}
.icon-circle svg { width: 26px; height: 26px; }
.icon-circle.blush { background: var(--blush-light); color: var(--blush); }

/* Stats strip */
.stats { margin-top: -50px; position: relative; z-index: 2; }
.stats-grid {
  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow);
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.stat { padding: 30px 26px; text-align: center; border-right: 1px solid var(--cream-2); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--serif); font-size: 2.3rem; color: var(--forest); line-height: 1.1; font-weight: 600; }
.stat span { color: var(--muted); font-size: .92rem; font-weight: 700; }

/* Split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.split.reverse > :first-child { order: 2; }

.quote-panel {
  background: var(--forest); color: #EAF1EA; border-radius: var(--radius-lg); padding: 50px 44px;
  position: relative; overflow: hidden;
}
.quote-panel::after {
  content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%;
  background: rgba(255,255,255,.06);
}
.quote-panel .quote-mark { font-family: var(--serif); font-size: 5rem; line-height: .6; color: var(--blush); display: block; margin-bottom: 18px; }
.quote-panel p { font-family: var(--serif); font-size: 1.45rem; line-height: 1.45; color: #fff; font-weight: 400; }
.quote-panel cite { font-style: normal; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: .78rem; color: #B9CDBD; }

.check-list { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list svg { width: 22px; height: 22px; color: var(--sage); flex-shrink: 0; margin-top: 3px; }
.check-list.cols { grid-template-columns: 1fr 1fr; }

/* Cards */
.section-head { margin-bottom: 52px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.card {
  background: var(--white); border-radius: var(--radius); padding: 34px 30px;
  box-shadow: var(--shadow); transition: transform .25s ease, box-shadow .25s ease;
  border: 1px solid rgba(46,74,59,.05);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card .icon-circle { margin-bottom: 20px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); margin: 0; font-size: .98rem; }
.card ul { margin: 12px 0 0; padding-left: 0; list-style: none; color: var(--muted); font-size: .97rem; }
.card ul li { padding-left: 20px; position: relative; margin-bottom: 6px; }
.card ul li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 7px; height: 7px; border-radius: 50%; background: var(--blush); }
.card-num { font-family: var(--serif); color: var(--blush); font-size: .95rem; font-weight: 600; margin-bottom: 6px; display: block; }

.bg-sand .card, .bg-white .card { box-shadow: none; }
.bg-white .card { background: var(--cream); }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; text-decoration: none; color: var(--forest); margin-top: 18px; }
.link-arrow svg { width: 18px; height: 18px; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(4px); }

/* Benefits (dark) */
.benefit { display: flex; gap: 18px; align-items: flex-start; }
.benefit .icon-circle { background: rgba(255,255,255,.1); color: #fff; }
.benefit h3 { font-size: 1.15rem; margin-bottom: 6px; }
.benefit p { color: #C9D8CC; font-size: .97rem; margin: 0; }
.bg-forest .grid-3 { gap: 44px 40px; }

/* Location cards */
.loc-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.loc-top { background: var(--sage-light); padding: 30px 30px 24px; position: relative; }
.loc-top.alt { background: var(--blush-light); }
.loc-top.alt2 { background: var(--sand); }
.loc-top .city { font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: .75rem; color: var(--muted); }
.loc-top h3 { font-size: 1.6rem; margin: 6px 0 0; }
.loc-body { padding: 24px 30px 30px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.loc-body p { margin: 0; display: flex; gap: 10px; color: var(--muted); }
.loc-body svg { width: 20px; height: 20px; color: var(--sage); flex-shrink: 0; margin-top: 4px; }
.loc-body .link-arrow { margin-top: auto; padding-top: 8px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: step; }
.step { position: relative; padding: 34px 28px; background: var(--white); border-radius: var(--radius); }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--blush); color: #fff; font-family: var(--serif); font-weight: 600; font-size: 1.3rem;
  margin-bottom: 18px;
}
.step p { color: var(--muted); margin: 0; }

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--forest) 0%, #3D6050 100%);
  border-radius: var(--radius-lg); padding: 60px; color: #fff;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; right: -80px; top: -80px; width: 300px; height: 300px; border-radius: 50%;
  background: rgba(201,123,99,.25);
}
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { color: #D3E0D5; margin: 0; }
.cta-band .btn-row { justify-content: flex-end; position: relative; }

/* Page hero */
.page-hero { padding: 80px 0 70px; background: var(--cream-2); position: relative; overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, var(--sage-light) 0%, rgba(221,232,220,0) 70%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { margin-bottom: 14px; }
.page-hero .lead { max-width: 640px; margin: 0; }
.breadcrumb { font-size: .88rem; color: var(--muted); margin-bottom: 18px; font-weight: 700; }
.breadcrumb a { color: var(--sage); text-decoration: none; }

/* FAQ */
.faq-group { margin-bottom: 50px; }
.faq-group h2 { font-size: 1.6rem; margin-bottom: 18px; display: flex; align-items: center; gap: 14px; }
.faq-group h2 .icon-circle { width: 46px; height: 46px; }
.faq-group h2 .icon-circle svg { width: 22px; height: 22px; }
details.faq {
  background: var(--white); border-radius: 14px; margin-bottom: 12px;
  border: 1px solid rgba(46,74,59,.07); transition: box-shadow .2s;
}
details.faq[open] { box-shadow: var(--shadow); }
details.faq summary {
  list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 800; color: var(--forest);
  display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 1.04rem;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+"; font-family: var(--sans); font-size: 1.5rem; font-weight: 400; color: var(--blush);
  width: 32px; height: 32px; border-radius: 50%; background: var(--blush-light);
  display: grid; place-items: center; flex-shrink: 0; line-height: 1; transition: transform .2s;
}
details.faq[open] summary::after { transform: rotate(45deg); }
details.faq .answer { padding: 0 24px 22px; color: var(--muted); }
details.faq .answer p:last-child { margin: 0; }
.faq-layout { display: grid; grid-template-columns: 1fr 340px; gap: 50px; align-items: start; }
.sticky-aside { position: sticky; top: 110px; }

/* Contact */
.contact-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: start; }
.info-list { display: grid; gap: 22px; margin: 30px 0; }
.info-item { display: flex; gap: 16px; align-items: flex-start; }
.info-item h3 { font-size: 1.05rem; margin: 0 0 2px; font-family: var(--sans); font-weight: 800; }
.info-item p { margin: 0; color: var(--muted); }
.info-item a { font-weight: 700; text-decoration: none; }
.form-card { background: var(--white); border-radius: var(--radius-lg); padding: 44px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-weight: 800; font-size: .9rem; color: var(--forest); margin-bottom: 6px; }
input, select, textarea {
  width: 100%; padding: 13px 16px; border-radius: 12px; border: 1.5px solid var(--sand);
  background: var(--cream); font: inherit; font-size: 1rem; color: var(--ink);
  transition: border-color .2s, background .2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--sage); background: #fff; }
textarea { min-height: 140px; resize: vertical; }
.hp { position: absolute; left: -5000px; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 14px; }
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.map-wrap iframe { width: 100%; height: 380px; border: 0; display: block; }

/* Employment / downloads */
.doc-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.doc-list a {
  display: flex; align-items: center; gap: 14px; padding: 16px 20px; background: var(--white);
  border-radius: 14px; text-decoration: none; color: var(--ink); font-weight: 700;
  border: 1px solid rgba(46,74,59,.07); transition: border-color .2s, transform .2s;
}
.doc-list a:hover { border-color: var(--sage); transform: translateX(3px); color: var(--forest); }
.doc-list .doc-ico { width: 40px; height: 40px; border-radius: 10px; background: var(--sage-light); color: var(--forest); display: grid; place-items: center; flex-shrink: 0; }
.doc-list .doc-ico svg { width: 20px; height: 20px; }
.doc-list small { display: block; font-weight: 600; color: var(--muted); font-size: .82rem; }
.doc-list .dl { margin-left: auto; color: var(--sage); }
.doc-list .dl svg { width: 20px; height: 20px; }
.doc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.upload-box {
  background: var(--blush-light); border-radius: var(--radius); padding: 30px; display: grid; gap: 14px;
}
.upload-box h3 { margin: 0; }
.upload-box .btn { width: 100%; }
.notice { background: var(--sage-light); border-radius: 14px; padding: 18px 22px; color: var(--forest); font-weight: 600; font-size: .95rem; }

.portal-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.portal-tabs a { padding: 10px 20px; border-radius: 999px; background: var(--white); text-decoration: none; font-weight: 800; color: var(--forest); border: 1.5px solid var(--sand); font-size: .93rem; }
.portal-tabs a[aria-current="page"], .portal-tabs a:hover { background: var(--forest); color: #fff; border-color: var(--forest); }

/* Footer */
.site-footer { background: var(--forest-2); color: #B9C9BC; padding: 80px 0 0; font-size: .96rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer h4 { color: #fff; font-family: var(--sans); font-weight: 800; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer a { color: #DCE6DE; text-decoration: none; }
.site-footer a:hover { color: var(--blush-light); }
.site-footer .brand-text { color: #fff; }
.site-footer .brand-text small { color: #9DB8A3; }
.footer-about p { margin: 18px 0 0; max-width: 320px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 4px; color: var(--blush); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 60px; padding: 24px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .86rem; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }
.no-js .reveal { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1040px) {
  .nav-links { display: none; position: absolute; top: 80px; left: 0; right: 0; background: var(--cream); flex-direction: column; align-items: stretch; padding: 14px 20px 24px; border-bottom: 1px solid var(--sand); box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; }
  .nav-cta { margin: 8px 0 0; }
  .nav-cta .btn { width: 100%; }
  .menu-toggle { display: block; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .section { padding: 72px 0; }
  .hero { padding: 60px 0 100px; }
  .hero .container, .split, .contact-layout, .faq-layout, .cta-band { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse > :first-child { order: 0; }
  .grid-3, .steps { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--cream-2); }
  .cta-band { padding: 44px 32px; }
  .cta-band .btn-row { justify-content: flex-start; }
  .sticky-aside { position: static; }
  .float-card.one { left: 10px; }
  .float-card.two { right: 10px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .grid-3, .grid-2, .steps, .form-grid, .doc-grid, .check-list.cols { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-card { padding: 28px 20px; }
  .quote-panel { padding: 36px 26px; }
  .topbar .container { justify-content: center; }
  .topbar-right { display: none; }
  .brand-text { font-size: 1.15rem; }
  .hero-card { padding: 20px; }
  .float-card { position: static; margin-top: 12px; }
  .stat strong { font-size: 1.9rem; }
}
.nav-links .btn-primary, .nav-links .btn-primary:hover { color: #fff; background: var(--blush); }
.nav-links .btn-primary:hover { background: #B5684F; }
.upload-box .icon-circle { background: #fff; }
