/* Homepage — 2 columns: sticky sidebar left, content right */

.shell--home {
  width: min(100% - 32px, 1080px);
  padding: 20px 0 48px;
}

.home-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  align-items: start;
}

/* ── Left sidebar ── */
.home-sidebar {
  position: sticky;
  top: 20px;
  align-self: start;
  height: fit-content;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  overscroll-behavior: contain;
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 24px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.home-sidebar-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.home-sidebar-bar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.home-sidebar-toggle {
  display: none;
}

.home-sidebar-book {
  margin-top: 10px;
  width: 100%;
}

.home-sidebar .logo {
  flex-shrink: 0;
  line-height: 0;
}

.home-sidebar .logo img {
  height: 52px;
  width: auto;
  max-width: 140px;
  display: block;
  object-fit: contain;
}

.home-sidebar-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--text-soft);
  line-height: 1.55;
}

.home-sidebar-contact strong {
  display: block;
  font-weight: 500;
  color: var(--text);
  font-size: 0.9375rem;
}

.home-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  list-style: none;
}

.home-sidebar-nav a {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-soft);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.home-sidebar-nav a:hover {
  background: var(--surface-2);
  color: var(--text);
}

.home-sidebar-hours {
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--text-faint);
  line-height: 1.6;
}

.home-sidebar-hours span {
  display: block;
  font-weight: 600;
  color: var(--text-soft);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.625rem;
  margin-bottom: 6px;
}

.home-sidebar-hours span:last-child {
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
  font-size: 0.75rem;
  color: var(--text-faint);
  margin-bottom: 0;
}

/* Demo — map embed only, links use href="#" */
.page-demo .home-map iframe {
  pointer-events: none;
}

/* ── Right content ── */
.home-main {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 32px;
}

.card-dark {
  background: var(--text);
  color: #fff;
  border-color: transparent;
}

.eyebrow {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.card-dark .eyebrow { color: rgba(255,255,255,0.5); }

h1, h2 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  line-height: 1.1;
}

h2 {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  line-height: 1.2;
}

.lead {
  font-size: 0.9375rem;
  color: var(--text-soft);
  line-height: 1.65;
  margin-top: 10px;
  max-width: 48ch;
}

.card-dark .lead { color: rgba(255,255,255,0.62); }

/* What we do — top of content */
.home-what {
  padding: 0;
  overflow: hidden;
}

.home-what-grid {
  display: grid;
  grid-template-columns: 1fr minmax(200px, 42%);
  align-items: stretch;
  min-height: 280px;
}

.home-what-copy {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-what-media {
  padding: 12px 12px 12px 0;
  display: flex;
  min-height: 240px;
}

.home-what-img {
  flex: 1;
  width: 100%;
  min-height: 100%;
  border-radius: calc(var(--radius) - 4px);
  background: linear-gradient(155deg, #E8E2DA 0%, #D8D0C6 45%, #C8BDB0 100%);
  display: flex;
  align-items: flex-end;
  padding: 14px 16px;
}

.home-what-img > span {
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(20, 18, 16, 0.35);
}

.home-what-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}

.home-what-text {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  line-height: 1.35;
  font-weight: 500;
  max-width: 40ch;
  margin-top: 6px;
}

.home-what-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.pill {
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--surface-2);
  font-size: 0.6875rem;
  color: var(--text-soft);
}

.home-services {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 28px;
}

.home-services-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 500;
  line-height: 1.2;
  margin-top: 4px;
}

.home-services .service-row {
  box-shadow: var(--shadow);
}

.home-services .service-row__thumb {
  width: 76px;
  height: 76px;
}

@media (max-width: 640px) {
  .home-services .service-row__thumb {
    width: 64px;
    height: 64px;
  }
}
.home-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.home-block__copy {
  flex: 1;
  min-width: 200px;
}

.home-block__copy p {
  font-size: 0.8125rem;
  color: var(--text-soft);
  margin-top: 4px;
  max-width: 42ch;
}

.home-block--featured {
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 32px;
}

.home-block--featured .btn { margin-top: 16px; }

.home-block--center {
  justify-content: center;
  text-align: center;
  padding: 28px;
}

.home-block--center h2 { width: 100%; }

.btn-light {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.22);
}

/* Reviews — slider */
.home-reviews {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 28px;
}

.home-reviews-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 500;
  line-height: 1.2;
  margin: 4px 0 0;
}

.home-reviews-lead {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 8px 0 0;
  font-size: 0.8125rem;
  color: var(--text-soft);
}

.home-reviews-score {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1;
  font-weight: 500;
  color: var(--text);
}

.home-reviews-stars {
  color: var(--accent);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
}

.home-reviews-meta {
  color: var(--text-faint);
}

.home-reviews-slider {
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
}

.home-reviews-slider.is-dragging {
  cursor: grabbing;
}

.home-reviews-track {
  display: flex;
  will-change: transform;
}

.home-reviews-slide {
  flex: 0 0 100%;
  min-width: 100%;
  margin: 0;
  padding: 18px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.home-reviews-slide p {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-soft);
  font-style: italic;
}

.home-reviews-slide footer {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.home-reviews-slide cite {
  font-style: normal;
  font-weight: 500;
  font-size: 0.8125rem;
  color: var(--text);
}

.home-reviews-slide span {
  font-size: 0.75rem;
  color: var(--text-faint);
}

.home-reviews-all {
  align-self: flex-start;
}

/* Before & After */
.home-ba {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 28px;
}

.home-ba-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 500;
  line-height: 1.2;
  margin: 4px 0 0;
}

.home-ba-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.slider-nav {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.slider-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text-soft);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.slider-btn:hover {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
}

.home-ba-swiper {
  overflow: visible;
  width: 100%;
}

.home-ba-swiper .swiper-wrapper {
  overflow: visible;
}

.home-ba-swiper .swiper-slide {
  height: auto;
  box-sizing: border-box;
}

.home-ba .photo-ph {
  background: linear-gradient(155deg, #E8E2DA 0%, #D8D0C6 45%, #C8BDB0 100%);
  display: flex;
  align-items: flex-end;
  padding: 14px 16px;
  margin: 0;
}

.home-ba .photo-ph > span {
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(20, 18, 16, 0.35);
}

.home-ba .ba-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.home-ba .ba-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  background: var(--border);
}

.home-ba .ba-compare-cell {
  position: relative;
  aspect-ratio: 3 / 4;
  background: var(--surface-2);
  overflow: hidden;
}

.home-ba .ba-compare-cell .photo-ph {
  position: absolute;
  inset: 0;
  border-radius: 0;
  padding: 10px;
}

.home-ba .ba-card-body {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.home-ba .ba-stars {
  color: var(--accent);
  font-size: 0.8125rem;
  letter-spacing: 3px;
  line-height: 1;
}

.home-ba .ba-card-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.25;
}

.home-ba .ba-card-author {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.8125rem;
  font-weight: 500;
  margin-top: 2px;
}

.home-ba .ba-verified {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.home-ba .ba-treatment {
  font-size: 0.6875rem;
  color: var(--text-faint);
  letter-spacing: 0.04em;
}

/* Footer in main column */
.home-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 24px 32px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.8125rem;
  color: var(--text-soft);
  line-height: 1.7;
}

.home-footer h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 8px;
}

.home-footer address {
  font-style: normal;
}

.home-footer-col a {
  color: inherit;
  text-decoration: none;
}

.home-footer-col a:hover {
  color: var(--text);
  text-decoration: underline;
}

.home-footer-directions {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent);
}

.home-footer-directions:hover {
  color: var(--text);
}

.home-footer-map {
  grid-column: 1 / -1;
}

.home-map {
  border-radius: calc(var(--radius) - 4px);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
}

.home-map iframe {
  display: block;
  width: 100%;
  height: 240px;
  border: 0;
}

.home-footer-copy {
  grid-column: 1 / -1;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 0.6875rem;
  color: var(--text-faint);
}

/* Mobile */
@media (max-width: 820px) {
  .home-layout {
    grid-template-columns: 1fr;
  }

  .home-sidebar {
    position: sticky;
    top: 12px;
    z-index: 45;
    height: auto;
    max-height: none;
    overflow-y: visible;
    gap: 0;
    padding: 0;
    overflow: hidden;
    transition: box-shadow 0.25s;
  }

  .home-sidebar.is-open {
    box-shadow: 0 12px 40px rgba(20, 18, 16, 0.12);
  }

  .home-sidebar-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    margin-bottom: 4px;
    border-bottom: 1px solid var(--border);
  }

  .home-sidebar-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface-2);
    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    transition: background 0.15s;
  }

  .home-sidebar-toggle:hover {
    background: var(--surface);
  }

  .home-sidebar-toggle-icon {
    position: relative;
    width: 14px;
    height: 10px;
  }

  .home-sidebar-toggle-icon::before,
  .home-sidebar-toggle-icon::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 1.5px;
    background: currentColor;
    border-radius: 1px;
    transition: transform 0.25s, top 0.25s, opacity 0.2s;
  }

  .home-sidebar-toggle-icon::before { top: 0; }
  .home-sidebar-toggle-icon::after { top: 8px; }

  .home-sidebar.is-open .home-sidebar-toggle-icon::before {
    top: 4px;
    transform: rotate(45deg);
  }

  .home-sidebar.is-open .home-sidebar-toggle-icon::after {
    top: 4px;
    transform: rotate(-45deg);
  }

  .home-sidebar-panel {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding: 0 16px;
    transition: max-height 0.4s ease, opacity 0.25s ease, padding 0.35s ease;
  }

  .home-sidebar.is-open .home-sidebar-panel {
    max-height: 520px;
    opacity: 1;
    padding: 4px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .home-sidebar-contact {
    padding-bottom: 16px;
  }

  .home-sidebar-book {
    display: none;
  }

  .home-sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .home-ba-head-row {
    flex-direction: column;
    align-items: stretch;
  }

  .home-ba-head-row .slider-nav {
    align-self: flex-end;
  }

  .home-footer {
    grid-template-columns: 1fr;
  }

  .home-block {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-what-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .home-what-media {
    padding: 0 12px 12px;
    min-height: 220px;
  }
}
