/* Home services (home_services()): heading on the left, one row per service on the right. */
.hs { --hs-bg: #f7f5f0; --hs-row: #efebe2; --hs-ink: #0a1424; --hs-muted: #5c5a55;
  background: var(--hs-bg); color: var(--hs-ink); padding: 7rem 2.5rem; }
.hs-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 4rem; align-items: start; max-width: 82.5rem; margin: 0 auto; }
.hs-side { position: sticky; top: 7rem; }
.hs-pill { display: inline-block; padding: .45rem 1rem; border-radius: var(--r-pill) !important; background: var(--hs-ink); color: var(--ivory);
  font-size: .78rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.hs-title { margin: 1.5rem 0 1.5rem; max-width: 14ch; font: 400 clamp(2.25rem, 4.4vw, 3.75rem)/1.1 var(--font-family--heading); letter-spacing: -.02em; color: var(--hs-ink); }
.hs-intro { margin: 0; max-width: 44ch; font-size: 1.05rem; line-height: 1.65; color: var(--hs-muted); }

.hs-book { display: inline-flex; align-items: center; gap: .75rem; min-height: 56px; margin-top: 2.25rem; padding: 0 1.75rem; border-radius: var(--r-pill) !important;
  background: var(--hs-ink); color: var(--ivory); font-size: .95rem; font-weight: 500; letter-spacing: .02em; text-decoration: none; transition: background-color .2s, color .2s; }
.hs-book:hover, .hs-book:focus-visible { background: var(--brass); color: var(--hs-ink); outline: none; }
.hs-book svg, .hs-more svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s; }

.hs-list { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.hs-row { display: flex; align-items: stretch; gap: 1.75rem; padding: 1rem; border-radius: var(--r-md) !important; background: var(--hs-row);
  color: inherit; text-decoration: none; border: 1px solid transparent; transition: background-color .25s, border-color .25s, box-shadow .3s; }
.hs-row:hover, .hs-row:focus-visible { background: #fffdf8; border-color: #8a6a3240; box-shadow: 0 24px 40px -30px #0a142480; outline: none; }
/* the photo, with the line icon on a small ivory tile in its corner */
.hs-photo { position: relative; flex: none; width: 200px; aspect-ratio: 4 / 3; overflow: hidden; background: #e2ddd2; }
.hs-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.22,1,.36,1); }
.hs-row:hover .hs-photo img { transform: scale(1.05); }
.hs-icon { position: absolute; left: 0; bottom: 0; display: grid; place-items: center; width: 44px; height: 44px; background: var(--hs-bg); }
[dir="rtl"] .hs-icon { left: auto; right: 0; }
.hs-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--hs-ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.hs-text { flex: 1; display: flex; flex-direction: column; gap: .5rem; padding: .5rem 1rem .25rem 0; }
[dir="rtl"] .hs-text { padding: .5rem 0 .25rem 1rem; }
.hs-name { font-size: 1.3rem; line-height: 1.3; color: var(--hs-ink); }
.hs-tag { font-size: .98rem; line-height: 1.55; color: var(--hs-muted); }
/* always visible, so each row reads as a link */
.hs-more { display: inline-flex; align-items: center; gap: .5rem; margin-top: auto; padding-top: .75rem; width: fit-content;
  font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--brass-deep);
  border-bottom: 1px solid #8a6a3266; padding-bottom: .2rem; transition: color .2s, border-color .2s; }
.hs-row:hover .hs-more { color: var(--hs-ink); border-color: var(--hs-ink); }
.hs-row:hover .hs-more svg, .hs-book:hover svg { transform: translateX(3px); }
[dir="rtl"] .hs-more svg, [dir="rtl"] .hs-book svg { transform: scaleX(-1); }
[dir="rtl"] .hs-row:hover .hs-more svg, [dir="rtl"] .hs-book:hover svg { transform: scaleX(-1) translateX(3px); }

@media (max-width: 991px) {
  .hs-wrap { grid-template-columns: 1fr; gap: 3rem; }
  .hs-side { position: static; }
  .hs-title { max-width: 18ch; }
}
@media (max-width: 600px) {
  .hs { padding: 5rem 1rem; }
  .hs-book { width: 100%; justify-content: center; margin-top: 1.75rem; }
  .hs-row { flex-direction: column; gap: 1rem; padding: .75rem .75rem 1.25rem; }
  .hs-photo { width: 100%; aspect-ratio: 16 / 9; }
  .hs-text, [dir="rtl"] .hs-text { padding: 0 .5rem; }
  .hs-name { font-size: 1.15rem; }
  .hs-tag { font-size: .92rem; }
}
@media (prefers-reduced-motion: reduce) { .hs-row, .hs-photo img, .hs-more svg { transition: none; } .hs-row:hover .hs-photo img { transform: none; } }
