/* Hero 三層示意：披薩店菜單頁／花藝教室課程預約頁／客人手機 LINE（手機維修店）。全部 HTML/CSS 自製，不使用第三方截圖。 */
.hero-pre{margin-top:.2rem;font-size:1.05rem;font-weight:700;color:var(--ink-2);margin-bottom:.7rem}
.hero-link{margin-top:1.1rem;font-size:.92rem}
.hero-link a{color:var(--carrot);font-weight:700;text-decoration:none}
@media (min-width:901px){.hero-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}
.hv{position:relative;margin:0;font-size:16px;height:26.5em;max-width:34em;width:100%;justify-self:center}
.hv-l{position:absolute}
.hv-bar{display:flex;gap:.28em;padding:.5em .7em;background:#EEF2F5;border-bottom:1px solid #DCE3E9}
.hv-bar i{width:.55em;height:.55em;border-radius:50%;background:#D3DAE0}
.hv-l1,.hv-l2{background:#fff;border:1px solid #CFD9E2;border-radius:.8em;overflow:hidden;box-shadow:0 1.6em 2.6em -1.8em rgba(18,49,79,.5)}
.hv-l1{left:0;top:0;width:19em;opacity:.6;transform:rotate(-1.5deg);filter:saturate(.85)}
.hv-l2{left:4.2em;top:7em;width:17.5em;opacity:1;transform:rotate(1deg)}
.hv-pg{padding:.9em 1em 1em;font-size:.8em;line-height:1.55}
.hv-brand{display:block;font-weight:900;font-size:1.05em}
.hv-h{font-weight:700;margin:.5em 0 .5em}
.hv-pizza{background:#FBF1E4;color:#5A2E17}
.hv-pizza ul{list-style:none}
.hv-pizza li{display:flex;justify-content:space-between;border-bottom:1px dashed #E3C9A8;padding:.28em 0}
.hv-pizza em{font-style:normal;font-weight:700}
.hv-mini{margin-top:.6em;font-size:.82em;opacity:.8}
.hv-flower{background:#F6F8F3;color:#2F4A38}
.hv-slot{display:flex;justify-content:space-between;gap:.6em;background:#fff;border:1px solid #DCE5D8;border-radius:.5em;padding:.4em .7em;margin-bottom:.4em}
.hv-slot em{font-style:normal;font-weight:700;color:#2F6B4F}
.hv-slot em.full{color:#9AA79C}
.hv-btn{display:inline-block;margin-top:.4em;background:#2F5D46;color:#fff;font-weight:700;padding:.35em 1em;border-radius:99em}
.hv-l3{right:0;bottom:0;z-index:3}
.hv-phone{width:11.6em;background:#101418;border-radius:1.9em;padding:.5em;box-shadow:0 2em 3em -1.6em rgba(10,20,30,.7)}
.hv-chat{background:#EEF3F0;border-radius:1.5em;overflow:hidden;aspect-ratio:9/16.5;display:flex;flex-direction:column}
.hv-chat-top{display:flex;align-items:center;gap:.5em;padding:1.1em .8em .6em;background:#fff;border-bottom:1px solid #E1E8E4;font-size:.78em}
.hv-av{width:1.9em;height:1.9em;border-radius:50%;background:#1B4370;color:#fff;display:grid;place-items:center;font-weight:700}
.hv-msgs{padding:.8em .6em;display:flex;flex-direction:column;gap:.55em;font-size:.72em;line-height:1.45}
.hv-msgs p{max-width:84%;padding:.5em .7em;border-radius:1em}
.hv-msgs .me{align-self:flex-end;background:#8FE3A4;color:#0F3A1D;border-bottom-right-radius:.3em}
.hv-msgs .them{align-self:flex-start;background:#fff;color:#1B2A36;border-bottom-left-radius:.3em;box-shadow:0 1px 2px rgba(0,0,0,.08)}
.hv-cap{position:absolute;left:0;bottom:-1.7em;font-size:.72em;color:var(--ink-3)}
@media (max-width:900px){.hv{font-size:15px;margin-top:1.4rem;margin-bottom:1.6rem}}
@media (max-width:480px){.hv{font-size:12.5px}}

/* 綜合示意圖（LINE 對話＋圖文選單＋菜單＋預約）：整張顯示、不裁切 */
.hv.hv-img{height:auto;max-width:none;font-size:16px}
.hv-img img{display:block;width:100%;height:auto;
  /* 四邊羽化，讓示意圖底色融進頁面背景，不呈現成一塊貼上的圖 */
  -webkit-mask-image:linear-gradient(to right,transparent 0,#000 5%,#000 95%,transparent 100%),linear-gradient(to bottom,transparent 0,#000 5%,#000 95%,transparent 100%);
  -webkit-mask-composite:source-in;
  mask-image:linear-gradient(to right,transparent 0,#000 5%,#000 95%,transparent 100%),linear-gradient(to bottom,transparent 0,#000 5%,#000 95%,transparent 100%);
  mask-composite:intersect}
@media (min-width:901px){.hero-grid{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)}}
/* 放大並順時針轉 10 度；上下留白給旋轉後的外框，橫向溢出由 hero 裁切避免出現橫向捲軸 */
.hv.hv-img{margin-block:2.4em}
.hv-img img{transform:rotate(10deg) scale(1.12);transform-origin:center}
.hero{overflow-x:clip}
@media (max-width:900px){.hv.hv-img{margin-block:1.8em}.hv-img img{transform:rotate(10deg) scale(1.05)}}
