/* ============================================================
   styles_v3_hero.css — v3 hero city chooser + >=1440px route grid
   Owner: v3 agent. Loads AFTER styles_v2.css; relies on :root tokens.
   Do not merge into styles_v2.css.
   ============================================================ */

/* ---------- Task A: hero city decision chooser ---------- */
.city-chooser{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:32px}
.cc-card{display:flex;flex-direction:column;background:var(--card);border:1px solid var(--border);border-radius:14px;overflow:hidden;text-decoration:none;color:var(--fg);box-shadow:0 1px 2px rgba(9,9,11,.04);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.cc-card:hover{transform:translateY(-4px);box-shadow:0 16px 34px rgba(9,9,11,.12);border-color:#F9A8D4}
.cc-card:focus-visible{outline:2px solid var(--accent-deep);outline-offset:3px}
.cc-photo{position:relative;height:160px;background:#F4F4F5;overflow:hidden}
.cc-photo img{width:100%;height:100%;object-fit:cover;object-position:center 42%}
.cc-photo::after{content:"";position:absolute;left:0;right:0;bottom:0;height:70px;background:linear-gradient(180deg,rgba(9,9,11,0) 0%,rgba(9,9,11,.42) 100%);pointer-events:none}
.cc-body{position:relative;display:flex;flex-direction:column;gap:7px;padding:14px 16px 16px}
.cc-name{font-family:var(--font-head);font-size:22px;line-height:1.25;letter-spacing:-.01em;display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.cc-tag{font-family:var(--font-body);font-size:11.5px;font-weight:700;color:var(--accent-deep);background:var(--wash);border:1px solid #F9A8D4;border-radius:999px;padding:3px 10px;line-height:1.3;white-space:nowrap}
.cc-price{font-size:14px;font-weight:700}
.cc-note{font-size:12.5px;color:var(--muted);line-height:1.55;padding-right:34px}
.cc-arrow{position:absolute;right:14px;bottom:14px;width:30px;height:30px;border-radius:50%;background:var(--wash);border:1px solid #F9A8D4;color:var(--accent-deep);display:flex;align-items:center;justify-content:center;transition:background .15s ease,color .15s ease,border-color .15s ease}
.cc-arrow svg{width:14px;height:14px}
.cc-card:hover .cc-arrow{background:var(--accent-deep);border-color:var(--accent-deep);color:#FFFFFF}
/* slimmed 4-fact strip (kicker/h1/lede kept, facts stay below chooser) */
.hero .factbar{margin-top:28px}
.hero .factbar .fact{padding:12px 16px}
.hero .factbar .fv{font-size:14px}
.hero .factbar .fv small{font-size:12px}
@media(max-width:900px){
  .city-chooser{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px}
}
@media(max-width:720px){
  .city-chooser{grid-template-columns:1fr}
  .cc-photo{height:180px}
}
@media print{.city-chooser{display:none!important}}

/* ============================================================
   Task D — ≥1440px dual-column route cards:
   timeline left (1.4fr), header + other sections right (1fr)
   ============================================================ */
@media (min-width:1440px){
  .rc-body{display:grid;grid-template-columns:minmax(0,1.4fr)minmax(0,1fr);column-gap:28px;align-items:start}
  /* 深圳三案沒有 .sec-timeline：維持單欄（自動排版會左右交錯，故 opt-out） */
  .rc-body:not(:has(.sec-timeline)){display:block}
  /* 標題／定位／按鈕與其餘 section 全部走右欄 */
  .rc-body:has(.sec-timeline)>*{grid-column:2}
  /* 時間軸固定佔左欄（任務指定） */
  .rc-body:has(.sec-timeline)>.sec-timeline{grid-column:1;grid-row:1/span 9}
  .rc-body .sec{margin-top:0}
  .rc-body .sec-body{padding-bottom:18px}
}
/* hover lift 不應在 reduced-motion 下出現位移 */
@media(prefers-reduced-motion:reduce){.cc-card:hover{transform:none}}
