/* ==========================================================================
   093 · HEARTHSIDE (دفء الرعاية — Hearthside Care) — 1:1 Dignified In-Home Elder Care & Nursing
   Oat #F7F2EA / #EFE7D8 · Forest #23362B · Sage #8FA98A · Clay #8C4E2D · Honey #E3B66B
   Generous 32px–40px organic corners · 18px senior-legible type · Interactive Care-Plan & Area Map
   ========================================================================== */

:root {
  --oat: #F7F2EA;
  --oat-deep: #EFE7D8;
  --linen: #F2EBDD;
  --forest: #23362B;
  --sage: #8FA98A;
  --sage-ink: #44604A;
  --clay: #C9825B;
  --clay-ink: #8C4E2D;
  --honey: #E3B66B;
  --serif: 'Amiri', Georgia, serif;
  --sans: 'IBM Plex Sans Arabic', 'Readex Pro', system-ui, sans-serif;
  --mono: 'JetBrains Mono', monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  background: var(--oat);
  color: var(--forest);
  font-family: var(--sans);
  letter-spacing: 0;
}

body {
  background: var(--oat);
  color: var(--forest);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0;
}

a { color: inherit; text-decoration: none; }
button, input { font-family: inherit; letter-spacing: 0; }
.bidi { unicode-bidi: isolate; font-family: var(--mono); }

.hs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 54px;
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15.5px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.18s ease, background 0.2s ease;
}

.hs-btn:hover { transform: translateY(-1px); }
.hs-btn-forest { background: var(--forest); color: var(--oat); }
.hs-btn-honey { background: var(--honey); color: var(--forest); }
.hs-btn-ghost {
  background: transparent;
  border: 1.5px solid rgba(35, 54, 43, 0.25);
  color: var(--forest);
}

/* ======================== STICKY 80px FROSTED OAT HEADER ======================== */
.hs-header {
  position: sticky;
  top: 0;
  z-index: 75;
  height: 80px;
  padding: 0 clamp(20px, 3.5vw, 48px);
  background: rgba(247, 242, 234, 0.93);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(35, 54, 43, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.hs-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 700;
  white-space: nowrap;
}

.hs-logo-box {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--forest);
  color: var(--honey);
  display: inline-grid;
  place-items: center;
  font-size: 18px;
}

.hs-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}

.hs-nav a {
  padding: 6px 12px;
  border-radius: 999px;
}

.hs-nav a:hover { background: rgba(143, 169, 138, 0.22); }

/* ======================== 1. HERO + DARK FOREST TRUST STRIP ======================== */
.hs-hero {
  position: relative;
  min-height: calc(100dvh - 150px);
  padding: 54px clamp(20px, 3.5vw, 48px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: radial-gradient(circle at 80% 40%, #FBF7F0, #F7F2EA);
}

.hs-hero-media {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 64%;
  z-index: 0;
  -webkit-mask-image: linear-gradient(90deg, #000000 58%, transparent 98%);
  mask-image: linear-gradient(90deg, #000000 58%, transparent 98%);
}

.hs-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.08) saturate(0.95);
}

.hs-hero-copy {
  position: relative;
  z-index: 3;
  max-width: 600px;
  background: rgba(247, 242, 234, 0.82);
  backdrop-filter: blur(6px);
  padding: 28px 30px;
  border-radius: 32px;
}

.hs-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 15px;
  border-radius: 999px;
  background: rgba(143, 169, 138, 0.24);
  color: var(--sage-ink);
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 14px;
}

.hs-status-pill i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--sage-ink);
}

.hs-h1 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4.3vw, 3.85rem);
  line-height: 1.32;
  margin-bottom: 14px;
}

.hs-h1 em, .hs-h2 em {
  font-style: italic;
  color: var(--clay-ink);
  text-decoration: underline wavy var(--clay) 2px;
  text-underline-offset: 8px;
}

.hs-trust-bar {
  background: var(--forest);
  color: var(--oat);
  min-height: 70px;
  padding: 16px clamp(20px, 3.5vw, 48px);
}

.hs-trust-inner {
  max-width: 1220px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  font-size: 14.5px;
  font-weight: 600;
}

.hs-trust-inner span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hs-trust-inner b { color: var(--honey); }

/* ======================== SECTIONS ======================== */
.hs-sec {
  padding: 88px clamp(20px, 3.5vw, 48px);
}

.hs-container { max-width: 1220px; margin: 0 auto; }

.hs-eyebrow {
  font-size: 14px;
  font-weight: 700;
  color: var(--clay-ink);
  display: inline-block;
  margin-bottom: 10px;
}

.hs-h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  line-height: 1.30;
}

/* 2. Services 4-Column 32px-Radius Cards */
.hs-services-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.hs-svc-card {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  min-height: 360px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--oat);
  background: var(--forest);
}

.hs-svc-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.56;
  transition: transform 0.5s ease, opacity 0.35s ease;
}

.hs-svc-card:hover img {
  transform: scale(1.05);
  opacity: 0.34;
}

.hs-svc-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 22%, rgba(35, 54, 43, 0.94) 92%);
}

.hs-svc-content {
  position: relative;
  z-index: 2;
}

.hs-svc-list {
  list-style: none;
  font-size: 14px;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: rgba(247, 242, 234, 0.9);
}

/* 3. Forest Care-Plan Builder Band (#23362B + 32px Linen Card) */
.hs-plan-band {
  background: var(--forest);
  color: var(--oat);
  padding: 92px clamp(20px, 3.5vw, 48px);
}

.hs-linen-card {
  margin-top: 38px;
  background: var(--linen);
  color: var(--forest);
  border-radius: 32px;
  padding: 36px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.28);
}

.hs-care-radios {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 14px 0 22px;
}

.hs-care-opt {
  padding: 14px 16px;
  border-radius: 18px;
  border: 2px solid rgba(35, 54, 43, 0.16);
  background: rgba(255, 255, 255, 0.65);
  text-align: right;
  cursor: pointer;
}

.hs-care-opt.active {
  background: #FFFFFF;
  border-color: var(--forest);
  box-shadow: 0 0 0 3px var(--honey);
}

.hs-stepper-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 12px 0;
}

.hs-step-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--forest);
  background: #FFFFFF;
  font-size: 22px;
  font-weight: 700;
  cursor: pointer;
}

.hs-week-bars {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-top: 16px;
  text-align: center;
  font-size: 12px;
}

.hs-day-col i {
  display: block;
  height: 38px;
  border-radius: 8px;
  background: rgba(35, 54, 43, 0.12);
  margin-bottom: 4px;
}

.hs-day-col.on i { background: var(--forest); }

.hs-est-panel {
  border-inline-start: 1.5px solid rgba(35, 54, 43, 0.15);
  padding-inline-start: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

/* 4. How It Works (40px Frame + 3-Step Vertical Timeline) */
.hs-how-split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 44px;
  align-items: center;
}

.hs-how-frame {
  border-radius: 40px;
  overflow: hidden;
  aspect-ratio: 1.15;
  box-shadow: 0 22px 44px rgba(35, 54, 43, 0.16);
}

.hs-how-frame img { width: 100%; height: 100%; object-fit: cover; }

.hs-timeline {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 26px;
}

.hs-tl-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  align-items: start;
}

.hs-tl-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--oat);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
}

/* 5. Voices Carousel (#EFE7D8) */
.hs-voices-band {
  background: var(--oat-deep);
  padding: 84px clamp(20px, 3.5vw, 48px);
}

/* 6. Interactive Illustrated Neighborhood Map */
.hs-area-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 38px;
  align-items: center;
}

.hs-map-card {
  border-radius: 32px;
  background: #E8E0D0;
  padding: 18px;
  border: 1px solid rgba(35, 54, 43, 0.14);
}

.hs-town-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.hs-town-pill {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1.5px solid rgba(35, 54, 43, 0.22);
  background: #FFFFFF;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.hs-town-pill.active {
  background: var(--forest);
  color: var(--oat);
}

/* 7. Forest Footer */
.hs-footer {
  background: var(--forest);
  color: var(--oat);
  padding: 60px clamp(20px, 3.5vw, 48px) 36px;
}

.hs-showcase-nav {
  max-width: 1220px;
  margin: 28px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(247, 242, 234, 0.16);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 14px;
}

@media (max-width: 720px) {
  .hs-nav { display: none; }
  .hs-hero-media { width: 100%; opacity: 0.3; }
  .hs-trust-inner,
  .hs-services-4,
  .hs-linen-card,
  .hs-care-radios,
  .hs-how-split,
  .hs-area-split {
    grid-template-columns: 1fr;
  }
  .hs-est-panel {
    border-inline-start: none;
    padding-inline-start: 0;
    border-top: 1.5px solid rgba(35, 54, 43, 0.15);
    padding-top: 20px;
  }
}
