/* ---------------------------------------------
   Next Move Care Navigation — Stylesheet
--------------------------------------------- */

:root {
  --ink: #1c2530;
  --ink-soft: #4c5866;
  --paper: #faf9f6;
  --paper-alt: #f1eee7;
  --card: #ffffff;
  --teal: #0f4c47;
  --teal-dark: #0a332f;
  --teal-tint: #e6f0ee;
  --gold: #c39a54;
  --gold-dark: #7d5f2c;
  --gold-tint: #f2ead9;
  --line: #e2ddd3;
  --radius: 12px;
  --shadow: 0 10px 30px -14px rgba(10, 51, 47, 0.22);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 106.25%; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--teal-dark);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 600;
}

h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.05rem; margin-bottom: 0.35em; }

p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }

a { color: inherit; }

.wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Hidden above the page (not off to the side) so it can never create
   horizontal scrolling — off-left parking expands the canvas in RTL. */
.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  background: var(--teal-dark);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 200;
}
.skip-link:focus { top: 16px; }

/* Consistent, branded keyboard-focus indicator */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold-dark);
  outline-offset: 2px;
  border-radius: 4px;
}
.hero a:focus-visible,
.site-footer a:focus-visible,
.trust-bar a:focus-visible {
  outline-color: var(--gold);
}

.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold-dark);
  margin: 0 0 0.9em;
}
.eyebrow.center { text-align: center; }
.center { text-align: center; }
.section-lede {
  max-width: 640px;
  color: var(--ink-soft);
  font-size: 1.05rem;
}
.section-lede.center { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 14px 28px;
  border-radius: 999px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--gold);
  color: #2b1a06;
  box-shadow: 0 8px 20px -8px rgba(217, 140, 61, 0.6);
}
.btn-primary:hover { background: var(--gold-dark); color: #fff; transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  border-color: rgba(255,255,255,0.55);
  color: inherit;
}
.hero .btn-ghost { color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,0.12); }
.services .btn-ghost { border-color: var(--teal); color: var(--teal); }
.services .btn-ghost:hover { background: var(--teal-tint); }
.btn-block { display: block; width: 100%; text-align: center; }

/* Header */
.site-header {
  position: sticky;
  top: var(--urgent-bar-h, 0px);
  z-index: 100;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  row-gap: 8px;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
  color: var(--teal-dark);
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--gold-tint);
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.05rem;
  flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 1.05rem; white-space: nowrap; }
.brand-sub { font-size: 0.78rem; color: var(--ink-soft); letter-spacing: 0.03em; white-space: nowrap; }

.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  order: 5;
  flex-basis: 100%;
  gap: clamp(14px, 1.8vw, 28px);
  row-gap: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.main-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
  white-space: nowrap;
  padding: 4px 0;
}
.main-nav a:hover { color: var(--teal); }
.main-nav a.active {
  color: var(--teal-dark);
  font-weight: 700;
  position: relative;
}
.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.nav-cta {
  background: var(--teal);
  color: #fff !important;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600 !important;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--teal-dark); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--teal-dark);
  border-radius: 2px;
}

/* Hero */
.hero {
  background: radial-gradient(120% 140% at 15% 0%, #16605a 0%, var(--teal) 45%, var(--teal-dark) 100%);
  color: #fff;
  padding: 100px 0 64px;
}
.hero-inner { max-width: 780px; }
.hero .eyebrow { color: #d9bd85; }
.hero h1 { color: #fff; }
.hero-lede {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.88);
  max-width: 640px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin: 28px 0 18px; }
.hero-fineprint { color: rgba(255,255,255,0.75); font-size: 0.95rem; }

/* Credentials trust bar */
.trust-bar {
  background: var(--teal-dark);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.trust-bar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 24px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.9);
  font-size: 0.92rem;
  font-weight: 600;
  flex: 1 1 220px;
}
.trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(195, 154, 84, 0.16);
  color: var(--gold);
  flex-shrink: 0;
}
.trust-icon svg { width: 18px; height: 18px; }

/* Sections */
.section { padding: 84px 0; scroll-margin-top: 88px; }
.section:nth-of-type(even) { background: var(--paper-alt); }

/* Who this is for */
.situation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px 36px;
  margin-top: 44px;
}
.situation-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.situation-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--teal-tint);
  color: var(--teal);
  flex-shrink: 0;
}
.situation-icon svg { width: 22px; height: 22px; }
.situation-item h3 { margin-bottom: 4px; font-size: 1.05rem; }
.situation-item p { margin: 0; color: var(--ink-soft); font-size: 0.96rem; }

/* Explore cards (home page teasers) */
.explore-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 44px;
}
.explore-card {
  display: block;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.explore-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px -14px rgba(10,51,47,0.28); }
.explore-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--teal-tint);
  color: var(--teal);
  margin-bottom: 18px;
}
.explore-card-icon svg { width: 24px; height: 24px; }
.explore-card h3 { color: var(--teal-dark); margin-bottom: 8px; }
.explore-card p { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 14px; }
.explore-card-link { color: var(--gold-dark); font-weight: 600; font-size: 0.9rem; }

/* Final CTA banner */
.final-cta {
  background: var(--teal-dark);
  color: #fff;
  text-align: center;
  padding: 72px 0;
}
.final-cta h2 { color: #fff; }
.final-cta p { color: rgba(255,255,255,0.82); max-width: 560px; margin: 0 auto 28px; }

/* Heartbeat divider (medical motif) */
.pulse-divider {
  display: block;
  width: 180px;
  height: 32px;
  margin: 4px auto 16px;
  color: var(--gold);
}
.hope .pulse-divider { color: var(--gold-dark); }

/* About */
.about-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  align-items: start;
}
.checklist { list-style: none; margin-top: 20px; }
.checklist li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  color: var(--ink-soft);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold-tint);
  border: 2px solid var(--gold);
}
.checklist-lg li { font-size: 1.02rem; }

.about-quote {
  background: var(--teal-tint);
  border-radius: var(--radius);
  padding: 40px 32px;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
}
.credential-seal {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 8px 20px -8px rgba(10, 51, 47, 0.4);
}
.credential-seal span {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.04em;
}
.credential-name { margin: 0; font-weight: 700; color: var(--teal-dark); font-size: 1.1rem; }
.credential-title { margin: 4px 0 0; color: var(--ink-soft); font-size: 0.88rem; }
.credential-divider {
  width: 48px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  margin: 20px 0;
}
.about-quote blockquote {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--teal-dark);
  margin: 0;
  line-height: 1.45;
}

/* Scope */
.scope-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 36px;
}
.scope-card {
  border-radius: var(--radius);
  padding: 30px 28px;
}
.scope-do { background: var(--teal-tint); }
.scope-dont { background: #fbeeee; }
.scope-card h3 { margin-bottom: 16px; }
.scope-do h3 { color: var(--teal); }
.scope-dont h3 { color: #a8433a; }
.scope-card ul { list-style: none; }
.scope-card li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
  color: var(--ink-soft);
  font-size: 0.97rem;
}
.scope-do li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  color: var(--teal);
  font-weight: 700;
}
.scope-dont li::before {
  content: "✕";
  position: absolute; left: 0; top: 0;
  color: #a8433a;
  font-weight: 700;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 44px;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}
.price-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 30px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.price-card-featured {
  background: var(--teal-dark);
  color: #fff;
  border-color: transparent;
}
.price-card-featured h3 { color: #fff; }
.price-card-head { margin-bottom: 20px; }
.price { font-family: var(--serif); font-size: 2.4rem; font-weight: 600; margin: 6px 0 0; color: var(--gold); }
.price-card:not(.price-card-featured) .price { color: var(--teal); }
.price-features { list-style: none; margin-bottom: 28px; flex-grow: 1; }
.price-features li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
  font-size: 0.95rem;
}
.price-features li::before {
  content: "•";
  position: absolute; left: 6px; top: 0;
  color: var(--gold);
  font-weight: 700;
}
.price-card:not(.price-card-featured) .price-features li { color: var(--ink-soft); }
.services-note {
  text-align: center;
  max-width: 700px;
  margin: 40px auto 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* Method */
.promise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  max-width: 900px;
  margin: 40px auto 56px;
}
.promise-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  font-weight: 600;
  color: var(--teal-dark);
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.98rem;
}
.promise-item span {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--gold-tint);
  color: var(--gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-weight: 700;
}

.method-steps {
  list-style: none;
  max-width: 760px;
  margin: 0 auto;
  counter-reset: none;
}
.method-steps li {
  display: flex;
  gap: 22px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.method-steps li:last-child { border-bottom: none; }
.step-num {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--gold);
  font-weight: 600;
  flex-shrink: 0;
  width: 52px;
}
.method-steps h3 { margin-bottom: 4px; font-size: 1.05rem; }
.method-steps p { margin: 0; color: var(--ink-soft); }

/* Process timeline */
.timeline {
  max-width: 720px;
  margin: 48px auto 0;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--line);
}
.timeline-item {
  display: flex;
  gap: 24px;
  position: relative;
  padding-bottom: 40px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-weight: 700;
  flex-shrink: 0;
  z-index: 1;
}
.timeline-body h3 { margin-bottom: 6px; font-size: 1.05rem; }
.timeline-body p { color: var(--ink-soft); margin: 0; }

/* Expect */
.expect-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}
.success-line {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--teal-dark);
  font-weight: 600;
  margin-top: 20px;
}

/* FAQ Accordion */
.accordion {
  max-width: 760px;
  margin: 40px auto 0;
}
.accordion-item {
  border-bottom: 1px solid var(--line);
}
.accordion-trigger {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 4px;
  font-family: var(--sans);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--teal-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.accordion-icon {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--gold-dark);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.accordion-trigger[aria-expanded="true"] .accordion-icon { transform: rotate(45deg); }
.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.accordion-panel p {
  color: var(--ink-soft);
  padding: 0 4px 20px;
  margin: 0;
}

/* Returning client payment section */
.returning-client { background: var(--paper-alt); }
.payment-ack {
  max-width: 760px;
  margin: 36px auto 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 22px;
}
.payment-ack label {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  cursor: pointer;
  font-size: 0.93rem;
  color: var(--ink-soft);
}
.payment-ack input[type="checkbox"] {
  width: 24px;
  height: 24px;
  margin-top: 2px;
  accent-color: var(--teal);
  flex-shrink: 0;
}
.payment-link[aria-disabled="true"] {
  opacity: 0.45;
  pointer-events: none;
  cursor: not-allowed;
}
.payment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 760px;
  margin: 40px auto 0;
}
.payment-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  text-align: center;
  box-shadow: var(--shadow);
}
.payment-card h3 { color: var(--teal-dark); margin-bottom: 4px; }
.payment-amount {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--teal);
  margin: 4px 0 12px;
}
.payment-detail { color: var(--ink-soft); font-size: 0.9rem; margin-bottom: 18px; }

/* Discovery Call prep list */
.call-prep {
  max-width: 640px;
  margin: 36px auto 0;
  background: var(--teal-tint);
  border-radius: var(--radius);
  padding: 26px 30px;
}
.call-prep-title {
  font-weight: 600;
  color: var(--teal-dark);
  margin-bottom: 12px;
}
.call-prep-list {
  margin: 0 0 14px;
  padding-left: 22px;
  color: var(--ink-soft);
}
.call-prep-list li { margin-bottom: 8px; }
.call-prep-note {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
  font-style: italic;
}

/* Scheduling calendar embed */
.calendar-embed {
  max-width: 760px;
  margin: 40px auto 0;
}
.calendar-placeholder {
  background: var(--card);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 56px 32px;
  text-align: center;
}
.calendar-placeholder-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--teal-tint);
  color: var(--teal);
  margin-bottom: 18px;
}
.calendar-placeholder-icon svg { width: 26px; height: 26px; }
.calendar-placeholder p { margin: 0; color: var(--ink-soft); max-width: 420px; margin-left: auto; margin-right: auto; }

/* Contact */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.notice-box {
  background: var(--gold-tint);
  border: 1px solid #eccba0;
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 16px;
  font-size: 0.92rem;
}
.notice-box strong { display: block; color: var(--gold-dark); margin-bottom: 4px; }
.notice-box p { margin: 0; color: var(--ink-soft); }
.notice-box-emergency { background: #fbeeee; border-color: #edc9c4; }
.notice-box-emergency strong { color: #a8433a; }

.contact-form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.hidden-field { position: absolute; left: -9999px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--teal-dark);
  margin-bottom: 6px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: var(--sans);
  font-size: 0.97rem;
  background: var(--paper);
  color: var(--ink);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
}
.form-fineprint {
  font-size: 0.92rem;
  color: var(--ink-soft);
  text-align: center;
  margin-top: 14px;
  margin-bottom: 0;
}
.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}
.form-success h3 { color: var(--teal); }

/* Footer */
.site-footer {
  background: var(--teal-dark);
  color: rgba(255,255,255,0.82);
  padding: 56px 0 32px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  margin-bottom: 32px;
}
.footer-brand { display: flex; gap: 14px; align-items: flex-start; grid-column: 1 / -1; }
.footer-name { color: #fff; font-weight: 700; margin: 0 0 4px; font-family: var(--serif); }
.footer-tag { margin: 0; font-size: 0.92rem; color: rgba(255,255,255,0.75); }
.footer-nav { display: flex; gap: 20px; flex-wrap: wrap; grid-column: 1 / -1; }
.footer-nav a { text-decoration: none; color: rgba(255,255,255,0.88); font-size: 0.95rem; }
.footer-nav a:hover { color: #fff; }
.footer-legal {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 24px;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.7);
}
.footer-legal p { margin: 0 0 10px; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Hope / validation section */
.hope {
  background: linear-gradient(180deg, var(--paper) 0%, var(--gold-tint) 100%);
  position: relative;
  overflow: hidden;
}
.hope::before {
  content: "";
  position: absolute;
  top: -140px;
  right: -140px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(195,154,84,0.28) 0%, rgba(195,154,84,0) 70%);
  pointer-events: none;
}
.hope-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.hope-feelings {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 28px 0 34px;
}
.hope-feelings span {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 0.88rem;
  color: var(--ink-soft);
  font-weight: 500;
}
.hope-message {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--teal-dark);
  line-height: 1.55;
  margin-bottom: 0;
}
.hope-message strong { color: var(--gold-dark); }

/* Sticky mobile CTA */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 150;
  background: var(--teal-dark);
  padding: 12px 20px;
  display: none;
  justify-content: center;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  box-shadow: 0 -8px 24px rgba(0,0,0,0.2);
}
.sticky-cta.visible { transform: translateY(0); }
.sticky-cta .btn { width: 100%; text-align: center; }

/* Intake form (secure, gated page) */
.intake-section {
  margin-bottom: 44px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}
.intake-section:last-of-type { border-bottom: none; padding-bottom: 0; }
.intake-section h2 { color: var(--teal); font-size: 1.4rem; margin-bottom: 4px; }
.intake-section .section-hint {
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin-bottom: 22px;
}
.field-group { margin-bottom: 20px; }
.field-title {
  display: block;
  font-weight: 600;
  color: var(--teal-dark);
  margin-bottom: 8px;
  font-size: 0.93rem;
}
.field-optional {
  font-weight: 400;
  color: var(--ink-soft);
  font-size: 0.8rem;
  text-transform: none;
  letter-spacing: 0;
}
.option-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 0;
  padding: 0;
}
.option-list.inline { flex-direction: row; flex-wrap: wrap; gap: 16px; }
.option-list label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.93rem;
  color: var(--ink-soft);
  font-weight: 400;
  cursor: pointer;
}
.option-list input[type="checkbox"],
.option-list input[type="radio"] {
  width: 22px;
  height: 22px;
  accent-color: var(--teal);
  flex-shrink: 0;
}
.intake-progress-note {
  background: var(--gold-tint);
  border: 1px solid #eccba0;
  border-radius: var(--radius);
  padding: 18px 22px;
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin-bottom: 40px;
}
.intake-progress-note strong { color: var(--gold-dark); }

/* Policy page */
.policy-hero {
  background: var(--teal-dark);
  color: #fff;
  padding: 56px 0 44px;
}
.policy-hero h1 { color: #fff; margin-bottom: 0.4em; }
.policy-hero p { color: rgba(255,255,255,0.82); max-width: 640px; margin: 0; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 20px;
}
.back-link:hover { color: var(--gold-tint); }
.policy-body { max-width: 760px; margin: 0 auto; }
.policy-body h2 { margin-top: 2.2em; }
.policy-body h2:first-child { margin-top: 0; }
.policy-intro {
  font-size: 1.05rem;
  color: var(--ink-soft);
}
.policy-tiers {
  list-style: none;
  margin: 20px 0 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.policy-tiers li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  background: var(--card);
}
.policy-tiers li:last-child { border-bottom: none; }
.policy-tiers .tier-label { font-weight: 600; color: var(--teal-dark); }
.policy-tiers .tier-result { color: var(--ink-soft); text-align: right; font-size: 0.95rem; }
.policy-note {
  background: var(--teal-tint);
  border-radius: var(--radius);
  padding: 20px 24px;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* Responsive */
@media (max-width: 900px) {
  .about-inner, .scope-grid, .expect-inner, .contact-inner { grid-template-columns: 1fr; }
  .about-quote { order: -1; }
}

@media (max-width: 1150px) {
  /* On smaller screens the bottom call button is the persistent action,
     so the top bar scrolls normally — no fragile stacked-sticky math. */
  .site-header { top: 0; }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 20px;
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); white-space: normal; }
  .main-nav a:last-child { border-bottom: none; margin-top: 10px; }
  .nav-cta { text-align: center; }
  .nav-toggle { display: flex; }
}

@media (max-width: 760px) {
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .hero { padding: 70px 0 56px; }
  .sticky-cta { display: flex; }
  body.has-sticky-cta { padding-bottom: 76px; }
  .policy-tiers li { flex-direction: column; align-items: flex-start; gap: 4px; }
  .policy-tiers .tier-result { text-align: left; }
}

/* Senior-friendly additions */
main p a:not(.btn),
main li a:not(.btn) {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}

.text-size-toggle {
  display: inline-flex;
  align-items: flex-end;
  gap: 1px;
  background: none;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 8px 12px;
  min-width: 46px;
  min-height: 42px;
  cursor: pointer;
  color: var(--teal-dark);
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1;
  justify-content: center;
}
.text-size-toggle span { font-size: 0.85rem; }
.text-size-toggle .tst-big { font-size: 1.25rem; }
.text-size-toggle:hover { border-color: var(--teal); background: var(--teal-tint); }

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 24px;
  z-index: 140;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: var(--teal);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px -8px rgba(10, 51, 47, 0.5);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.15s ease;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: var(--teal-dark); }
.back-to-top svg { width: 24px; height: 24px; }

@media (max-width: 760px) {
  .back-to-top { bottom: 92px; right: 16px; }
}

/* Language toggle */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  min-height: 42px;
  padding: 8px 12px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--teal-dark);
  letter-spacing: 0.04em;
}
.lang-toggle:hover { border-color: var(--teal); background: var(--teal-tint); }
.header-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  flex-shrink: 0;
}
@media (max-width: 1150px) {
  .header-controls { margin-left: auto; margin-right: 14px; }
}

/* Resources hub */
.resource-search {
  max-width: 680px;
  margin: 36px auto 0;
}
.resource-search-form {
  display: flex;
  gap: 10px;
}
.resource-search-form input {
  flex: 1;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-family: var(--sans);
  font-size: 1rem;
  background: var(--card);
  color: var(--ink);
  min-width: 0;
}
.resource-search-form input:focus {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
}
.resource-results {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.resource-result {
  display: block;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.resource-result:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.resource-result h3 {
  font-size: 1.08rem;
  margin-bottom: 4px;
  color: var(--teal);
}
.resource-result p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }
.resource-result .resource-source {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold-dark);
}
.resource-status {
  text-align: center;
  color: var(--ink-soft);
  margin-top: 22px;
}
.coming-soon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 36px;
}
.coming-soon-card {
  background: var(--card);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 22px;
  text-align: center;
  color: var(--ink-soft);
}
.coming-soon-card h3 { font-size: 1rem; color: var(--teal-dark); margin-bottom: 4px; }
.coming-soon-card p { margin: 0; font-size: 0.88rem; }
.coming-soon-tag {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: var(--gold-tint);
  border-radius: 999px;
  padding: 4px 12px;
}
@media (max-width: 560px) {
  .resource-search-form { flex-direction: column; }
}

/* Urgent discharge call bar (packet 5.1) */
.urgent-bar {
  position: sticky;
  top: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 8px 16px;
  background: var(--gold);
  color: #1c2530;
  text-decoration: none;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.35;
}
.urgent-bar strong { white-space: nowrap; }
.urgent-bar:hover { background: #b98e48; }

/* Four primary service cards (packet 6.5) */
.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.service-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.service-card h3 { color: var(--teal-dark); margin-bottom: 8px; font-size: 1.15rem; }
.service-card p { color: var(--ink-soft); font-size: 0.96rem; flex-grow: 1; }
.service-card .btn { align-self: flex-start; }

/* Recognition list (packet 6.3) */
.recognition-list {
  list-style: none;
  max-width: 720px;
  margin: 32px auto 0;
  padding: 0;
}
.recognition-list li {
  position: relative;
  padding: 12px 0 12px 34px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 1.02rem;
}
.recognition-list li:last-child { border-bottom: none; }
.recognition-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 18px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
}
.recognition-close {
  max-width: 720px;
  margin: 28px auto 0;
  text-align: center;
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--teal-dark);
  font-weight: 600;
}

/* Contact-list columns (packet 6.4) */
.contact-columns {
  columns: 2;
  column-gap: 40px;
  max-width: 720px;
  margin: 20px auto 0;
  list-style: none;
  padding: 0;
}
.contact-columns li {
  padding: 6px 0 6px 24px;
  position: relative;
  color: var(--ink-soft);
  break-inside: avoid;
}
.contact-columns li::before {
  content: "¹3";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}
@media (max-width: 640px) { .contact-columns { columns: 1; } }

/* Prominent statement (packet 6.6) */
.prominent-statement {
  max-width: 680px;
  margin: 30px auto 0;
  padding: 26px 30px;
  background: var(--teal-tint);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--serif);
  font-size: 1.18rem;
  color: var(--teal-dark);
  font-weight: 600;
}
.prominent-statement + .prominent-statement { margin-top: 14px; font-size: 1.02rem; font-weight: 500; }

/* Case-based service structure (packet 16.1) */
.case-tiers { max-width: 760px; margin: 36px auto 0; }
.case-tier {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px;
  margin-bottom: 16px;
}
.case-tier h3 { color: var(--teal); font-size: 1.1rem; margin-bottom: 6px; }
.case-tier p { margin: 0; color: var(--ink-soft); font-size: 0.96rem; }

@media (max-width: 1150px) {
  .urgent-bar { position: static; }
}

/* ---------- Right-to-left (Arabic) support ---------- */
html[dir="rtl"] body,
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3, html[dir="rtl"] h4 {
  font-family: "Segoe UI", Tahoma, "Noto Naskh Arabic", Arial, sans-serif;
}
html[dir="rtl"] .eyebrow { letter-spacing: 0; }
html[dir="rtl"] .recognition-list li { padding: 12px 34px 12px 0; }
html[dir="rtl"] .recognition-list li::before { left: auto; right: 4px; }
html[dir="rtl"] .checklist li { padding-left: 0; padding-right: 30px; }
html[dir="rtl"] .checklist li::before { left: auto; right: 0; }
html[dir="rtl"] .contact-columns li { padding-left: 0; padding-right: 24px; }
html[dir="rtl"] .contact-columns li::before { left: auto; right: 0; }
html[dir="rtl"] .prominent-statement {
  border-left: none;
  border-right: 4px solid var(--gold);
  border-radius: var(--radius) 0 0 var(--radius);
}
html[dir="rtl"] .header-controls {
  margin-left: 0;
  margin-right: auto;
}
html[dir="rtl"] .back-to-top { right: auto; left: 22px; }
html[dir="rtl"] .call-prep-list { padding-left: 0; padding-right: 22px; }
html[dir="rtl"] .notice-box { text-align: right; }
@media (max-width: 1150px) {
  html[dir="rtl"] .header-controls { margin-right: auto; margin-left: 14px; }
}
@media (max-width: 760px) {
  html[dir="rtl"] .back-to-top { left: 16px; }
}
