/*
 * property-concierge.css: HCLR property page, "The Concierge" layout
 * (brands/booking/hclr/templates/property.html). Colors and fonts come only
 * from the site's CSS variables, so the Hollows landing site (design_from:
 * hclr) stays identical. Booking card, gallery, lightbox and mobile bar
 * styles are the engine's (components.css); this file only arranges them.
 */

/* Secondary text: the brand's muted gray is under WCAG AA (4.5:1) on the
   linen backgrounds, so darken it toward the body text color. */
.pc-hero, .pc-sections, .pc-body {
  --pc-muted: #5c5658;
  --pc-muted: color-mix(in srgb, var(--color-text-muted) 60%, var(--color-text));
}

/* ── Hero: photos left, title + booking card right ───────────────── */
.pc-hero {
  padding-top: calc(var(--header-h, 100px) + 1.5rem);
  padding-bottom: 1rem;
}
.pc-header {
  padding: 0;
  border-bottom: 0;
  background: transparent;
}
.pc-header-inner { gap: 0.75rem; }
.pc-title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }

.pc-chips {
  list-style: none;
  margin: 0.25rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.pc-chips li {
  font-size: 0.875rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: var(--color-bg-light);
  color: var(--color-text);
}
.pc-chips a { color: inherit; text-decoration: none; }

/* Main photo across the top, three thumbs underneath */
.pc-mosaic {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: 22rem 9rem;
  max-height: none;
  border-radius: var(--radius);
  background: transparent;
  gap: 6px;
}
.pc-mosaic .prop-mosaic-main { grid-column: 1 / -1; min-height: 0; border-radius: var(--radius) var(--radius) 0 0; }
.pc-mosaic .prop-mosaic-grid { display: contents; }
.pc-mosaic .prop-mosaic-thumb:first-child { border-bottom-left-radius: var(--radius); }
.pc-mosaic .prop-mosaic-thumb:last-child { border-bottom-right-radius: var(--radius); }

.pc-book .prop-booking-card { position: static; }

/* Side by side only when the booking column has room (below this the
   photo column would turn into a tall narrow crop). */
@media (min-width: 1180px) {
  .pc-hero {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(320px, 2fr);
    grid-template-areas: "gallery header" "gallery book";
    grid-template-rows: auto 1fr;
    gap: 1.25rem 2rem;
    align-items: start;
  }
  .pc-top { display: contents; }
  /* Photos fill the full height of the title + booking column beside them,
     so there is no empty band under the thumbnails at any width: the main
     photo takes the spare height, thumbs scale with the viewport. */
  .pc-gallery { grid-area: gallery; align-self: stretch; display: flex; }
  .pc-mosaic {
    flex: 1;
    height: 100%;
    grid-template-rows: minmax(18rem, 1fr) clamp(7rem, 9vw, 10rem);
  }
  .pc-header { grid-area: header; }
  .pc-book { grid-area: book; }
}
@media (max-width: 1179px) {
  .pc-top { display: flex; flex-direction: column; gap: 1.25rem; }
  .pc-gallery { order: -1; }
  .pc-book { margin-top: 1.25rem; }
}
/* Phones: full-bleed swipeable photos, title card slides over them
   (the engine's .prop-gallery / .prop-header phone rules do the rest) */
@media (max-width: 768px) {
  .pc-hero { padding: 0 0 0.5rem; }
  .pc-top { gap: 0; }
  .pc-header { padding: 1.25rem 1rem 0.5rem; background: var(--color-bg); }
  .pc-book { padding-inline: 1rem; }
  .pc-mosaic { border-radius: 0; gap: 0; }
  .pc-mosaic .prop-mosaic-main,
  .pc-mosaic .prop-mosaic-thumb { border-radius: 0; }
}

/* ── Sticky section bar ───────────────────────────────────────────── */
.pc-sections {
  position: sticky;
  top: var(--header-h, 80px);
  z-index: 50;
  margin-top: 1.5rem;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.pc-sections-inner {
  display: flex;
  align-items: center;
  gap: 0 1.75rem;
  overflow-x: auto;
  scrollbar-width: none;
  white-space: nowrap;
}
.pc-sections-inner::-webkit-scrollbar { display: none; }
.pc-sections-inner > a:not(.btn) {
  padding: 0.95rem 0;
  font-size: 0.95rem;
  color: var(--pc-muted);
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.pc-sections-inner > a:not(.btn):hover,
.pc-sections-inner > a.is-active { color: var(--color-text); border-bottom-color: var(--color-primary); }
.pc-sections-spacer { flex-grow: 1; }
.pc-sections-rate { font-size: 0.9rem; color: var(--pc-muted); }
.pc-sections-rate strong { color: var(--color-text); font-weight: 500; }
.pc-sections-cta { padding: 0.55rem 1.1rem; font-size: 0.85rem; }
@media (max-width: 960px) {
  /* The mobile price bar already carries price + button */
  .pc-sections-rate, .pc-sections-cta, .pc-sections-spacer { display: none; }
  .pc-sections-inner { gap: 0 1.25rem; }
}
@media (max-width: 768px) {
  .pc-sections { margin-top: 0.75rem; }
  body:has(.site-header:not(.scrolled)) .pc-sections { top: 0; }
}

/* ── Body sections ────────────────────────────────────────────────── */
.pc-body { padding-block: 2.5rem 4rem; display: flex; flex-direction: column; gap: 3.5rem; }
.pc-section { scroll-margin-top: calc(var(--header-h, 80px) + 4rem); }
.pc-h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  line-height: 1.2;
  margin: 0 0 1.1rem;
  color: var(--color-text);
}
.pc-h3 {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  margin: 2rem 0 0.9rem;
  color: var(--color-text);
}

/* At a glance */
.pc-glance {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(18rem, 100%), 1fr));
  gap: 0.75rem;
}
.pc-glance li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1.1rem 1.2rem;
  border-radius: var(--radius);
  background: var(--color-bg-light);
}
.pc-glance-label { font-size: 0.8rem; color: var(--pc-muted); }
.pc-glance strong { font-size: 1.1rem; font-weight: 500; color: var(--color-text); }
.pc-glance span:not(.pc-glance-label) { font-size: 0.9rem; color: var(--pc-muted); }
.pc-reviews { align-items: start; }
@media (max-width: 600px) {
  /* Two across on phones keeps the facts to one screen */
  .pc-glance, .pc-picks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; }
  .pc-glance li { padding: 0.85rem 0.9rem; }
  .pc-glance strong { font-size: 1rem; }
  .pc-picks { gap: 0.75rem 0.75rem; }
  .pc-picks li { font-size: 0.9rem; }
}
.pc-rules { margin: 1rem 0 0; font-size: 0.9rem; color: var(--pc-muted); }
.pc-rules strong { color: var(--color-text); font-weight: 500; }

/* The home */
.pc-home { display: flex; flex-wrap: wrap; gap: 2.5rem 3.5rem; align-items: flex-start; }
.pc-home-main { flex: 3 1 32rem; min-width: 0; }
.pc-home-side { flex: 2 1 18rem; min-width: 0; }
.pc-home-side .pc-h3 { margin-top: 0.5rem; }

.pc-desc { position: relative; }
.pc-desc.is-clamped { max-height: 15rem; overflow: hidden; }
.pc-desc.is-clamped::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4rem;
  background: linear-gradient(to bottom, transparent, var(--color-bg));
}
.pc-more {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  margin-top: 0.75rem;
  padding: 0 1.1rem;
  border: 1px solid var(--color-text);
  border-radius: 0.75rem;
  background: transparent;
  color: var(--color-text);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}
.pc-more::-webkit-details-marker { display: none; }
.pc-more:hover { background: var(--color-bg-light); }
details[open] > .pc-more { margin-bottom: 1rem; }

.pc-picks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(12rem, 100%), 1fr));
  gap: 0.9rem 1.25rem;
}
.pc-picks li { display: flex; align-items: center; gap: 0.65rem; font-size: 0.95rem; }
.pc-picks svg { flex-shrink: 0; color: var(--color-primary-dark); }

.pc-all-groups {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(13rem, 100%), 1fr));
  gap: 1.5rem;
  padding-top: 0.5rem;
}
.pc-all-groups h4 { font-family: var(--font-sans); font-size: 0.95rem; font-weight: 600; margin: 0 0 0.4rem; }
.pc-all-groups ul { list-style: none; margin: 0; padding: 0; font-size: 0.9rem; line-height: 1.8; color: var(--pc-muted); }
.pc-nearby { margin: 1.25rem 0 0; font-size: 0.85rem; color: var(--pc-muted); }

.pc-beds { list-style: none; margin: 0; padding: 0; }
.pc-beds li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.95rem;
}
.pc-beds li:last-child { border-bottom: 0; }
.pc-beds-type { color: var(--pc-muted); text-align: right; }

/* How your stay works */
.pc-stay {
  padding: clamp(1.25rem, 3vw, 2.25rem);
  border-radius: calc(var(--radius) * 1.2);
  background: var(--color-bg-light);
}
.pc-stay-intro { margin: -0.5rem 0 1.4rem; color: var(--pc-muted); max-width: 46rem; }
.pc-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(13rem, 100%), 1fr));
  gap: 0.9rem;
}
.pc-steps li {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1.1rem 1.2rem;
  border-radius: var(--radius);
  background: var(--color-bg);
}
.pc-step-num { font-family: var(--font-serif); font-size: 1.5rem; line-height: 1; color: var(--color-primary-dark); }
.pc-steps strong { font-weight: 500; }
.pc-steps span:not(.pc-step-num) { font-size: 0.9rem; color: var(--pc-muted); line-height: 1.55; }
.pc-stay-more { margin-top: 1.25rem; }
.pc-notes { margin: 0; padding-left: 1.1rem; display: flex; flex-direction: column; gap: 0.6rem; font-size: 0.95rem; line-height: 1.6; }

/* Area */
.pc-area { display: flex; flex-wrap: wrap; gap: 2rem 2.5rem; align-items: flex-start; }
.pc-area-img {
  flex: 1 1 26rem;
  min-width: 0;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius);
}
.pc-area-text { flex: 1 1 22rem; min-width: 0; }
.pc-drive { width: 100%; border-collapse: collapse; font-size: 0.95rem; margin-top: 0.5rem; }
.pc-drive th, .pc-drive td { padding: 0.65rem 0; border-bottom: 1px solid var(--color-border); }
.pc-drive th { text-align: left; font-weight: 400; }
.pc-drive td { text-align: right; color: var(--pc-muted); white-space: nowrap; padding-left: 1rem; }
.pc-drive tr:last-child th, .pc-drive tr:last-child td { border-bottom: 0; }
.pc-drive-note { margin: 0.5rem 0 1rem; font-size: 0.8rem; color: var(--pc-muted); }

/* Reviews */
.pc-reviews {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(18rem, 100%), 1fr));
  gap: 1rem;
}
.pc-review {
  margin: 0;
  padding: 1.25rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.pc-review-stars { color: var(--color-primary-dark); font-size: 0.85rem; letter-spacing: 0.05em; }
.pc-review blockquote { margin: 0; font-size: 0.95rem; line-height: 1.65; }
.pc-review figcaption { margin-top: auto; font-size: 0.8rem; color: var(--pc-muted); }
