/* Places bento: what every local guide covers, as four Jitter-spaced cards
   with code-built scenes bleeding off the lower edge. */

.guide-bento{
  padding:clamp(100px,11vw,150px) var(--gutter);
  background:var(--white);
}
.guide-bento-head{
  width:min(100%,var(--max));
  margin:0 auto 52px;
  display:grid;
  grid-template-columns:1fr 1fr;
  align-items:end;
  gap:48px;
}
.guide-bento-head h2{font-size:clamp(3rem,4.5vw,5rem)}
.guide-bento-head p{color:var(--muted);font-size:18px}

.guide-bento-grid{
  width:min(100%,var(--max));
  margin:auto;
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:18px;
}

.guide-card{
  position:relative;
  min-height:520px;
  padding:clamp(30px,3.2vw,48px);
  overflow:hidden;
  border-radius:16px;
  background:var(--card-wash);
  isolation:isolate;
}
.guide-card--demand{--card-wash:linear-gradient(150deg,#f4f4f6 0%,#eceaf0 100%)}
.guide-card--search{--card-wash:linear-gradient(150deg,#eef9ff 0%,#dff2fd 100%)}
.guide-card--site{--card-wash:linear-gradient(150deg,#f4f0ff 0%,#e9e1fb 100%)}
.guide-card--keep{--card-wash:linear-gradient(150deg,#fbfde9 0%,#f3f8cf 100%)}

.guide-card h3{
  font-size:clamp(28px,2.5vw,36px);
  letter-spacing:-.03em;
  line-height:1.02;
}
.guide-card>p{
  margin-top:12px;
  max-width:30ch;
  color:var(--muted);
  font-size:17px;
}

/* Scenes sit below the copy and run past the card edge, like the reference. */
.guide-scene{
  position:absolute;
  z-index:-1;
  inset:auto -34px 0 clamp(30px,3.2vw,48px);
  margin-top:34px;
  color:var(--ink);
}

.guide-panel{
  overflow:hidden;
  border-radius:12px;
  background:var(--white);
  box-shadow:0 10px 30px rgb(25 23 28 / .1);
}
.guide-panel__row{
  padding:14px 16px;
  display:flex;
  align-items:center;
  gap:12px;
  border-bottom:1px solid rgb(25 23 28 / .07);
}
.guide-panel__row:last-child{border-bottom:0}
.guide-panel__row strong{font-size:14px}
.guide-panel__row small{display:block;margin-top:2px;color:var(--muted);font-size:12px}
.guide-panel__row span{flex:1;min-width:0}

/* 01 Local demand: a compact season/occupancy read-out. */
.guide-scene--demand{max-width:470px;padding-bottom:26px}
.guide-demand{padding:20px 22px 24px}
.guide-demand__label{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  color:var(--muted);
  font-size:12px;
  font-weight:700;
}
.guide-demand__label b{color:var(--ink);font-size:26px;letter-spacing:-.03em}
.guide-demand__bars{
  margin-top:18px;
  height:104px;
  display:grid;
  grid-template-columns:repeat(7,1fr);
  align-items:end;
  gap:8px;
}
.guide-demand__bars i{
  display:block;
  border-radius:4px 4px 2px 2px;
  background:rgb(124 58 237 / .18);
  block-size:var(--h);
}
.guide-demand__bars i.is-peak{background:var(--teal)}
.guide-demand__months{
  margin-top:10px;
  display:grid;
  grid-template-columns:repeat(7,1fr);
  gap:8px;
  color:var(--muted);
  font-size:10px;
  font-weight:700;
  text-align:center;
}

/* 02 What guests search: a search field with the terms that convert. */
.guide-scene--search{max-width:512px;padding-bottom:26px}
.guide-search__field{
  padding:15px 18px;
  display:flex;
  align-items:center;
  gap:11px;
  border-bottom:1px solid rgb(25 23 28 / .08);
  font-size:15px;
  font-weight:600;
}
.guide-search__field svg{width:17px;height:17px;flex:none;fill:none;stroke:var(--muted);stroke-width:2}
.guide-search__field b{font-weight:600}
.guide-search__caret{
  width:1px;
  height:17px;
  background:var(--ink);
  animation:guide-caret 1.1s steps(1) infinite;
}
@keyframes guide-caret{0%,49%{opacity:1}50%,100%{opacity:0}}
.guide-search__term{
  padding:13px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  font-size:13px;
}
.guide-search__term+.guide-search__term{border-top:1px solid rgb(25 23 28 / .06)}
.guide-search__term em{
  padding:4px 9px;
  border-radius:999px;
  background:rgb(1 178 253 / .16);
  color:#04617f;
  font-size:11px;
  font-style:normal;
  font-weight:750;
  white-space:nowrap;
}

/* 03 Your own site: the local booking page in a browser chrome. */
.guide-scene--site{max-width:540px}
.guide-site{border-radius:12px 12px 0 0}
.guide-site__bar{
  height:34px;
  padding:0 13px;
  display:flex;
  align-items:center;
  gap:5px;
  background:#e7e4ee;
}
.guide-site__bar i{width:6px;height:6px;border-radius:50%;background:#a09aad}
.guide-site__address{
  min-width:0;
  height:19px;
  margin-left:8px;
  padding:3px 10px;
  flex:1;
  overflow:hidden;
  border-radius:999px;
  background:var(--white);
  color:#6d6a75;
  font-size:10px;
  white-space:nowrap;
}
.guide-site__hero{
  min-height:210px;
  padding:22px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  background:
    linear-gradient(180deg,rgb(8 15 21 / .1),rgb(8 15 21 / .74)),
    var(--guide-site-img,url("../public/img/places/wanaka.webp")) center/cover;
  color:#fff;
}
.guide-site__hero small{font-size:10px;font-weight:700}
.guide-site__hero strong{
  max-width:11ch;
  margin-top:8px;
  font-size:clamp(24px,2.6vw,34px);
  line-height:.94;
  letter-spacing:-.035em;
}
.guide-site__cta{
  width:max-content;
  margin-top:15px;
  padding:9px 14px;
  border-radius:999px;
  background:var(--signal-yellow);
  color:var(--ink);
  font-size:11px;
  font-weight:750;
}

/* 04 Bookings you keep: the payout comparison. */
.guide-scene--keep{max-width:470px;padding-bottom:26px}
.guide-keep__row{
  padding:16px 20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.guide-keep__row+.guide-keep__row{border-top:1px solid rgb(25 23 28 / .07)}
.guide-keep__row small{display:block;margin-top:3px;color:var(--muted);font-size:12px}
.guide-keep__row strong{font-size:14px}
.guide-keep__row b{font-size:22px;letter-spacing:-.03em}
.guide-keep__row--direct b{color:#5b21b6}
.guide-keep__row--listed b{color:var(--muted)}
.guide-keep__meter{
  height:8px;
  margin:0 20px 20px;
  border-radius:999px;
  background:rgb(25 23 28 / .08);
}
.guide-keep__meter i{
  display:block;
  height:100%;
  width:80%;
  border-radius:999px;
  background:var(--teal);
}

@media(max-width:1180px){
  .guide-card{min-height:480px}
}
@media(max-width:900px){
  .guide-bento-grid{grid-template-columns:1fr}
  .guide-bento-head{grid-template-columns:1fr;gap:20px}
}
@media(max-width:720px){
  .guide-bento{padding:62.64px 20px}
  .guide-card{min-height:460px;padding:28px 24px}
  /* No right-hand bleed on phones: the panels are already edge-to-edge. */
  .guide-scene{inset:auto 24px 0 24px;margin-top:28px}
  .guide-demand__label b{font-size:20px}
}
@media(prefers-reduced-motion:reduce){
  .guide-search__caret{animation:none}
}

/* Illustrative-figure chip: the demand and payout panels are worked examples,
   never a specific owner's real numbers. Sits above the panel so it can never
   collide with the figures inside it. */
.guide-tag{
  display:inline-flex;
  margin:0 0 9px 2px;
  padding:4px 9px;
  border-radius:999px;
  background:rgb(25 23 28 / .06);
  color:var(--muted);
  font-size:10px;
  font-weight:750;
  letter-spacing:.02em;
}
