@charset "UTF-8";

/* =========================================================
   全站變數（只保留一份）
   ========================================================= */
:root{
  --primary: #0d3b66;
  --secondary: #c99700;
  --accent: #e57b3f;

  --light-bg: #f2f4f8;
  --page-bg: #f2f4f8;

  --radius-sm: 10px;
  --radius-lg: 18px;

  --border-soft: rgba(13,59,102,.10);
  --shadow-soft: 0 12px 28px rgba(0,0,0,.08);
}

/* =========================================================
   Home Hero（唯一生效版：背景圖 ::before + 左側柔化 ::after）
   ========================================================= */
.home-hero{
  position: relative;
  overflow: hidden;
  padding: 12px 0 22px;
  background: linear-gradient(180deg, #f6f1e6 0%, #f3ecd9 100%);



}

/* 背景圖解耦（::before） */
.home-hero::before{
  content:"";
  position:absolute;
  inset:0;
  z-index: 0;
 



  opacity: 1;
  transform: translateZ(0);
  will-change: transform;
}


.hero-media{
  position: relative;
  overflow: hidden;
}

/* 照片本身 */
.hero-media img{
  display: block;
  width: 100%;
  height: auto;
}




/* 讓內容在背景上方 */
.home-hero > *{
  position: relative;
  z-index: 2;
}

/* HERO grid */
.home-hero-grid{
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 32px;
  display:grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

/* 左側玻璃底文字卡 */
.home-hero-copy{
  max-width: 420px;
  background: rgba(255,255,255,0.52);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 18px;
  padding: 22px 22px 18px;
  backdrop-filter: blur(8px);
  justify-self: start;
}

/* kicker（不換行） */
.home-hero-copy .hero-kicker{
  display: inline-flex;
  align-items:center;
  gap: 10px;
  margin: 0 0 14px 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
}
.home-hero-copy .hero-kicker .k-line{
  width: 3px;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(201,151,0,0.95), rgba(201,151,0,0.35));
  box-shadow: 0 0 0 4px rgba(201,151,0,0.12);
  flex: 0 0 auto;
}
.home-hero-copy .hero-kicker .k-ic{
  width: 18px;
  height: 18px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color: rgba(13,59,102,0.75);
  flex: 0 0 auto;
}
.home-hero-copy .hero-kicker .k-ic svg{ width:18px; height:18px; }
.home-hero-copy .hero-kicker .k-text{
  font-size: 14px;
  font-weight: 750;
  letter-spacing: .10em;
  color: rgba(13,59,102,0.92);
  white-space: nowrap;
}
.home-hero-copy .hero-kicker .k-sep{
  color: rgba(201,151,0,0.85);
  font-weight: 700;
  transform: translateY(-1px);
  white-space: nowrap;
}

/* 標題（兩行式） */
.home-hero-copy .hero-title--two-line{
  margin: 0 0 18px 0;
  line-height: 1.12;
  letter-spacing: .02em;
}
.home-hero-copy .hero-title--two-line .brand{
  display:block;
  font-size: clamp(42px, 3.4vw, 58px);
  font-weight: 900;
  color: #0d3b66;
  letter-spacing: .08em;
  margin-bottom: 6px;
  position: relative;
  display: inline-block;
  padding-bottom: 6px;
  text-shadow:
    0 1px 0 rgba(255,255,255,0.6),
    0 10px 28px rgba(13,59,102,0.18);
}
.home-hero-copy .hero-title--two-line .brand::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width: 46%;
  height: 2px;
  border-radius: 999px;
  background: rgba(201,151,0,0.55);
}
.home-hero-copy .hero-title--two-line .tagline{
  display:block;
  font-size: clamp(28px, 2.2vw, 38px);
  font-weight: 650;
  color: rgba(13,59,102,0.92);
}
.home-hero-copy .hero-title--two-line .tagline .hl{
  color: #c99700;
  font-weight: 850;
  position: relative;
  margin-left: 4px;
  white-space: nowrap;
}
.home-hero-copy .hero-title--two-line .tagline .hl::after{
  content:"";
  position:absolute;
  left:-6px;
  right:-6px;
  bottom: .08em;
  height: .45em;
  background: rgba(201,151,0,0.20);
  border-radius: 999px;
  z-index:-1;
}

/* 文字段落 */
.home-hero-subtitle{ margin: 0 0 8px; color: rgba(13,59,102,0.92); font-weight: 650; }
.home-hero-desc{ margin: 0 0 12px; line-height: 1.9; color: rgba(0,0,0,0.72); }

/* CTA */
.home-hero-ctas{
  display:flex;
  gap: 14px;
  align-items:center;
  margin-top: 12px;
}
.btn-primary,
.btn-outline{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  cursor:pointer;
  white-space: nowrap;
}
.btn-primary{
  border:none;
  background: linear-gradient(135deg, var(--accent), var(--secondary));
  color:#101010;
  box-shadow: 0 10px 20px rgba(0,0,0,0.22);
}
.btn-outline{
  border: 1px solid rgba(13,59,102,0.35);
  color: var(--primary);
  background: rgba(255,255,255,0.85);
}

/* 信任三要素 */
.trust-row{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 16px;
  margin-top: 26px;
  margin-bottom: 34px;
  position: relative;
}
.trust-row::after{
  content:"";
  position:absolute;
  left:0; right:0;
  bottom:-18px;
  height:1px;
  background: linear-gradient(
    to right,
    rgba(13,59,102,0),
    rgba(13,59,102,0.18),
    rgba(13,59,102,0)
  );
}
.trust-item{
  background: linear-gradient(180deg, #fffdfa, #f6f1e6);
  border: 1px solid rgba(201,151,0,0.26);
  border-radius: 14px;
  padding: 18px 18px 16px;
  box-shadow: 0 10px 26px rgba(0,0,0,0.06);
  transition: box-shadow .22s ease, border-color .22s ease;
}
.trust-title{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  font-size: 16px;
  font-weight: 750;
  color:#0d3b66;
  letter-spacing: .04em;
  margin-bottom: 6px;
  opacity: .92;
  transition: opacity .18s ease, color .18s ease;
}
.trust-ic{
  width:22px; height:22px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color: rgba(13,59,102,0.70);
}
.trust-ic svg{ width:22px; height:22px; }
.trust-sub{
  font-size: 14px;
  color:#4a4a4a;
  line-height: 1.55;
}
.trust-item:hover{
  box-shadow: 0 14px 34px rgba(201,151,0,0.16);
  border-color: rgba(201,151,0,0.40);
}
.trust-item:hover .trust-title{ opacity:1; color:#c99700; }
.trust-item:hover .trust-ic{ color: rgba(201,151,0,0.92); }

/* =========================================================
   首頁 Sections：ABOUT / SERVICES / PROJECTS / PROCESS / CTA
   （依你目前 HTML class 命名）
   ========================================================= */

/* sections padding（你要變薄） */
 
@media (max-width: 768px){
  .section{ padding: 2px 0 2px; }
}

/* header spacing（你要變薄） */
.section-header{ margin: 0 0 0; text-align:center; }
.section-kicker{ margin: 4px 0 0; }
.section-title{ margin: 6px 0 6px; }
.section-subtitle{ margin: 0 0 10px; max-width: 760px; margin-left:auto; margin-right:auto; color: rgba(0,0,0,.62); line-height: 1.7; }

.section-kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-size: 12px;
  letter-spacing: .18em;
  color: rgba(13,59,102,.65);
  text-transform: uppercase;
}
.section-kicker::before{
  content:"";
  width: 34px;
  height: 2px;
  background: var(--secondary);
  border-radius: 99px;
}

/* ABOUT */
.about-grid{
  display:grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 30px;
  align-items:center;
}
.about-card{
  background:#fff;
  border-radius: var(--radius-lg);
  padding: 24px 24px 20px;
  box-shadow: var(--shadow-soft);
  border: 1px solid #e5e7eb;
}
.about-card h3{ margin: 0 0 10px; font-size: 18px; color: var(--primary); }
.about-card p{ margin: 0 0 10px; font-size: 14px; color:#4b5563; }
.about-tags{ display:flex; flex-wrap:wrap; gap: 8px; margin-top: 8px; }
.tag-pill{
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  color:#374151;
}
.about-highlight{ background: linear-gradient(135deg, #0f172a, #020617); color:#fff; }
.about-highlight p{ color: rgba(249,250,251,0.86); }
.about-highlight strong{ color:#facc15; }

/* 三區區隔（交錯底色） */
.sec{ position: relative; padding: 64px 0; }
.sec + .sec{ border-top: 1px solid rgba(13,59,102,.08); }
.sec-services{ background: #f2f4f8; }
.sec-process{ background: #ffffff; }
.sec-cta{ background: #f2f4f8; }

/* SERVICES cards */
.cards-3{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
}
.service-card{
  background:#fff;
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  padding: 20px 20px 18px;
  box-shadow: var(--shadow-soft);
}
.service-title{ font-size: 18px; margin: 0 0 6px; color: var(--primary); }
.service-sub{ font-size: 13px; color: rgba(13,59,102,.70); margin-bottom: 12px; }
.service-list{
  margin: 0;
  padding-left: 18px;
  color: rgba(0,0,0,.70);
  line-height: 1.7;
}

/* PROJECTS */
.projects-wrapper{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 22px;
}
.projects-wrapper .project-card{
  background:#fff;
  border-radius: var(--radius-lg);
  overflow:hidden;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 22px rgba(15,23,42,0.08);
  display:flex;
  flex-direction: column;
}
.project-media{
  position:relative;
  padding-top: 62%;
  background:#101827;
}
.project-badge{
  position:absolute;
  left:12px;
  top:12px;
  padding: 4px 8px;
  font-size: 11px;
  border-radius: 999px;
  background: rgba(0,0,0,0.6);
  color:#f9fafb;
}
.projects-wrapper .project-body{
  padding: 12px 14px 14px;
  flex:1;
  display:flex;
  flex-direction: column;
}
.projects-wrapper .project-name{
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--primary);
}
.projects-wrapper .project-meta{
  font-size: 12px;
  color:#6b7280;
  margin-bottom: 6px;
}
.projects-wrapper .project-award{
  font-size: 12px;
  color:#92400e;
  background:#fffbeb;
  border-radius: var(--radius-sm);
  padding: 4px 6px;
  border: 1px solid #fbbf24;
  margin-top:auto;
}

/* PROCESS timeline */
.process-timeline{
  position: relative;
  display:grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 16px;
}

.process-step{
  background:#fff;
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  padding: 18px 18px 16px;
}
.process-step-number{
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 800;
  color: var(--primary);
  background: rgba(201,151,0,.14);
  border: 1px solid rgba(201,151,0,.40);
  margin-bottom: 10px;
}
.process-step-title{
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
}
.process-step-text{
  color: rgba(0,0,0,.70);
  line-height: 1.7;
  font-size: 13px;
}

/* CTA（你目前 HTML：consult-grid / consult-box） */
.sec-cta .consult-grid{
  background: #ffffff;
  border: 1px solid var(--border-soft);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
  padding: 26px;
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
  align-items: start;
}
.consult-main-title{
  margin: 0 0 10px;
  font-size: clamp(20px, 2vw, 28px);
  color: var(--primary);
}
.consult-sub{ color: rgba(0,0,0,.68); line-height: 1.8; margin-bottom: 14px; }
.consult-info-list{ margin: 0 0 16px; padding-left: 18px; color: rgba(0,0,0,.70); line-height: 1.8; }
.consult-box{
  background: rgba(13,59,102,.04);
  border: 1px dashed rgba(13,59,102,.18);
  border-radius: 18px;
  padding: 16px;
}
.consult-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}
.consult-badge::before{
  content:"";
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--secondary);
}

/* =========================================================
   Hero 建案輪播（保留一套，移除重複）
   ========================================================= */
.hero{ position: relative; border-bottom: 1px solid rgba(0,0,0,.08); }

.hero-track{
  display:flex;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width:none;
}
.hero-track::-webkit-scrollbar{ display:none; }

.hero-slide{
  position:relative;
  flex:0 0 100%;
  height:64vh;
  min-height:420px;
  scroll-snap-align:start;
  display:flex;
  justify-content:center;
  align-items:stretch;
  background:#f2f2f2; /* 左右留白顏色 */
}

.hero-media{
  width:100%;
  max-width:1000px;   /* 紅框寬度 */
  height:100%;
  position:relative;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#f2f4f4; /* 留白區背景 */
}

.hero-media img{
  filter: brightness(.92) contrast(1.05);
}


.hero-media img{
    object-position: center;
  display: block;
}


/* 桌機：完整顯示不裁切 */


.hero-caption{
  position:absolute;
  left:0; right:0; bottom:0;
  padding:24px 5vw;
  color:#fff;
  background:linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.6) 85%);
}
.hero-title{ font-size:28px; font-weight:800; letter-spacing:.14em; }
.hero-sub{ margin-top:8px; font-size:13px; letter-spacing:.22em; opacity:.85; }

/* arrows UI */
.hero-ui{ position:absolute; inset:0; pointer-events:none; }
.hero-arrow{
  pointer-events:auto;
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:60px;
  height:60px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.45);
  background: rgba(0,0,0,.28);
  color:#fff;
  font-size:36px;
  line-height:56px;
  cursor:pointer;
  backdrop-filter: blur(6px);
  box-shadow: 0 8px 18px rgba(0,0,0,.25);
}
.hero-arrow:hover{ background: rgba(0,0,0,.38); }
.hero-arrow.prev{ left:16px; }   /*---16 改 32 ----*/
.hero-arrow.next{ right:16px; }

/* dots overlay ------------
 right:18px;
  bottom:18px;----------------   */
.hero-dots-overlay{
  pointer-events:auto;
  position:absolute;
 
    left:50%;
  bottom:18px;
  transform: translateX(-50%);

  padding:10px 14px;
  border-radius:999px;
  background: rgba(0,0,0,.22);
  border:1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(6px);
}

.hero-dots{
  display:flex;
  justify-content:center;
  gap:10px;
  background: transparent;
  padding:0;
}

.hero-dots .dot{
  width:12px;
  height:12px;
  padding:6px;              /* 點擊熱區 */
  box-sizing: content-box;

  border-radius:50%;
  border:1px solid rgba(255,255,255,.65);
  background:transparent;
  cursor:pointer;

  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}

.hero-dots .dot.active{
  background: var(--secondary);
  border-color: var(--secondary);
  transform: scale(1.25);
}


/* badge（唯一版：固定在圖片可視範圍右上角  top:18px;   right:18px;  ） */
.hero-badge{
  position:absolute;
 
  top:20px;
  left:50%;
  transform: translateX(-50%);

  z-index:10;
  display:inline-flex;
  align-items:center;
  white-space:nowrap;
  padding:12px 18px;
  font-size:24px;
  font-weight:800;
  letter-spacing:.18em;
  line-height:1;
  background: rgba(201,151,0,0.68);
  color:#fff;
  border-radius:6px;
  box-shadow:0 10px 22px rgba(0,0,0,.28);
  backdrop-filter: blur(4px);
}
@media (max-width: 900px){
  .hero-slide{ height:52vh; min-height:340px; }
  .hero-title{ font-size:22px; }
  .hero-badge{ top:12px; right:12px; font-size:18px; padding:10px 14px; }
  .hero-arrow{
    width:44px; height:44px;
    font-size:24px; line-height:42px;
    background: rgba(0,0,0,.22);
    border:1px solid rgba(255,255,255,.35);
    box-shadow:0 6px 14px rgba(0,0,0,.22);
  }
  .hero-arrow.prev{ left:12px; }
  .hero-arrow.next{ right:12px; }
}

/* Featured slider 包裝 */
.featured{ background: #f2f4f8; }
.featured-slider{
  position: relative;
  background: #ffffff;
  border-top: 1px solid #e8e8ee;
  border-bottom: 1px solid #e8e8ee;
}
.featured-slider .hero-slide{
  height: 52vh;
  min-height: 360px;
}
@media (min-width: 1024px){
  .featured-slider .hero-slide{
    height: 72vh;
    min-height: 560px;
    max-height: 780px;
  }
}
.featured-slider .hero-slide img{ object-position: center ; }

/* =========================================================
   RWD（整站）
   ========================================================= */
@media (max-width:1024px){
  .home-hero::before{ background-size: 72% auto; }
  .home-hero-grid{ grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width:992px){
  .cards-3, .projects-wrapper, .process-timeline{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .about-grid{ grid-template-columns: 1fr; }
  .trust-row{ grid-template-columns: 1fr; gap: 14px; margin-bottom: 26px; }
  .trust-row::after{ bottom: -14px; }
  .sec-cta .consult-grid{ grid-template-columns: 1fr; padding: 18px; }
  .process-timeline::before{ display:none; }
}
@media (max-width:600px){
  /* 背景圖往下移（iPhone 你要的效果） */
  .home-hero::before{
    background-size: 130% auto;
    transform: translateY(80px);
  }
  .home-hero-grid{ padding: 14px 16px; }
  .home-hero-copy{
    margin: -12px 10px 0;
    width: calc(100% - 20px);
    max-width: none;
    padding: 18px 16px 16px;
    background: rgba(255,255,255,0.62);
    backdrop-filter: blur(10px);
  }
  .home-hero-copy .hero-kicker{ gap: 6px; flex-wrap: nowrap; }
  .home-hero-copy .hero-kicker .k-ic{ width:16px; height:16px; }
  .home-hero-copy .hero-kicker .k-ic svg{ width:16px; height:16px; }
  .home-hero-copy .hero-kicker .k-text,
  .home-hero-copy .hero-kicker .k-sep{ font-size: 11px; letter-spacing: .02em; }

  .home-hero-ctas{ flex-direction: row; flex-wrap: nowrap; gap: 10px; }
  .home-hero-ctas a{
    flex: 1 1 0;
    min-width: 0;
    padding: 10px 10px;
    font-size: 13px;
    border-radius: 12px;
  }

  .cards-3, .projects-wrapper, .process-timeline{ grid-template-columns: 1fr; }
}

/* sections padding（你要變薄） */
.sec { padding: 10px 0 10px; }
@media (max-width: 768px){
  .sec { padding: 10px 0 10px; }
}

.sec-services{ padding: 10px 0 25px ; }
.sec-process{ padding: 10px 0 25px ; }
/* =========================================================
   CTA 區（sec-cta）重新排版：正式官網版
   直接貼到 main.css 最下面（覆蓋舊設定）
   ========================================================= */
/* =========================================================
   CTA（sec-cta）最終版：桌機不空白＋右側精緻 icon
   ========================================================= */

.sec-cta{ padding: 76px 0; }

/* 大卡片 */
.sec-cta .cta-card{
  background: #ffffff;
  border: 1px solid rgba(13,59,102,.10);
  border-radius: 26px;
  box-shadow: 0 18px 48px rgba(0,0,0,.10);
  padding: 34px;
}

/* 兩欄 */
.sec-cta .cta-grid{
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 24px;
  align-items: stretch;
}

/* 左欄：上下布局 */
.sec-cta .cta-left{
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 100%;
}

/* 左上主訴求 */
.sec-cta .cta-title{
  margin: 0 0 10px;
  font-size: clamp(22px, 2.2vw, 32px);
  color: #0d3b66;
  letter-spacing: .01em;
}

.sec-cta .cta-desc{
  margin: 0 0 16px;
  color: rgba(0,0,0,.68);
  line-height: 1.9;
  max-width: 60ch;
}

/* 按鈕列：桌機並排 */
.sec-cta .cta-actions{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* 左下資訊區（吃掉空白、並增加「完整度」） */
.sec-cta .cta-meta{
  margin-top: auto; /* ✅ 讓左下資訊自然落到底部，填滿空白 */
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

/* 聯絡資訊卡 */
.sec-cta .cta-meta-card{
  background: rgba(246,241,230,.55);
  border: 1px solid rgba(201,151,0,.18);
  border-radius: 18px;
  padding: 16px;
}

.sec-cta .cta-meta-title{
  font-weight: 900;
  color: #0d3b66;
  margin-bottom: 10px;
  letter-spacing: .02em;
}

.sec-cta .cta-meta-list{
  list-style: none;
  margin: 0;
  padding: 0;
}

.sec-cta .cta-meta-list li{
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 10px;
  padding: 6px 0;
  border-top: 1px solid rgba(13,59,102,.08);
}
.sec-cta .cta-meta-list li:first-child{ border-top: 0; }

.sec-cta .cta-meta-list .k{
  color: rgba(13,59,102,.70);
  font-weight: 800;
}
.sec-cta .cta-meta-list .v{
  color: rgba(0,0,0,.72);
}

/* 安心承諾 */
.sec-cta .cta-assurance{
  border-radius: 18px;
  padding: 16px;
  border: 1px dashed rgba(13,59,102,.18);
  background: linear-gradient(180deg, rgba(13,59,102,.04), rgba(13,59,102,.02));
}

.sec-cta .cta-assurance-badge{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(201,151,0,.12);
  border: 1px solid rgba(201,151,0,.28);
  color: #0d3b66;
  font-weight: 900;
  margin-bottom: 10px;
}
.sec-cta .cta-assurance-text{
  margin: 0;
  color: rgba(0,0,0,.68);
  line-height: 1.8;
}

/* 右欄：沿用你原本 consult-box，但補強排版 */
.sec-cta .cta-right .consult-box{
  height: 100%;
  border-radius: 18px;
}

.sec-cta .cta-right-lead{
  margin: 0 0 10px;
  color: rgba(0,0,0,.68);
  line-height: 1.8;
}

/* =========================================================
   右側清單 icon（SVG 外觀，但用純 CSS 畫）
   ========================================================= */

.sec-cta .cta-checklist{
  list-style: none;
  margin: 10px 0 12px;
  padding: 0;
}

.sec-cta .cta-checklist li{
  position: relative;
  padding-left: 36px;
  margin: 10px 0;
  color: rgba(0,0,0,.72);
  line-height: 1.8;
}

/* 圓形底 */
.sec-cta .cta-checklist li::before{
  content:"";
  position:absolute;
  left:0;
  top: .22em;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(201,151,0,.14);
  border: 1px solid rgba(201,151,0,.35);
}

/* 勾勾 */
.sec-cta .cta-checklist li::after{
  content:"";
  position:absolute;
  left: 7px;
  top: .66em;
  width: 8px;
  height: 4px;
  border-left: 2px solid rgba(13,59,102,.85);
  border-bottom: 2px solid rgba(13,59,102,.85);
  transform: rotate(-45deg);
}

.sec-cta .cta-right-note{
  margin: 8px 0 0;
  color: rgba(0,0,0,.68);
  line-height: 1.8;
}

/* =========================================================
   RWD：手機一欄 + 按鈕滿版
   ========================================================= */
@media (max-width: 980px){
  .sec-cta{ padding: 56px 0; }

  .sec-cta .cta-card{ padding: 18px; }

  .sec-cta .cta-grid{
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .sec-cta .cta-actions{
    flex-direction: column;
  }

  .sec-cta .cta-actions .btn-primary,
  .sec-cta .cta-actions .btn-outline{
    width: 100%;
  }

  .sec-cta .cta-meta{ margin-top: 0; }
}

/* =========================================================
   CTA Buttons：主/次層級更明確（高級感）
   ========================================================= */

/* 只作用在 CTA 區，避免影響全站其他按鈕 */
.sec-cta .cta-actions{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

/* 共用：尺寸、字重、手感 */
.sec-cta .cta-actions .btn-primary,
.sec-cta .cta-actions .btn-outline{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .02em;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}

/* 主按鈕：金色 */
.sec-cta .cta-actions .btn-primary{
  border: 1px solid rgba(201,151,0,.55);
  background: linear-gradient(135deg, rgba(201,151,0,.95), rgba(231,198,120,.95));
  color: #1b1b1b;
  box-shadow: 0 14px 26px rgba(201,151,0,.22);
}

/* 次按鈕：透明白底 */
.sec-cta .cta-actions .btn-outline{
  border: 1px solid rgba(13,59,102,.28);
  background: rgba(255,255,255,.65);
  color: rgba(13,59,102,.92);
  box-shadow: 0 10px 20px rgba(0,0,0,.06);
  backdrop-filter: blur(6px);
}

/* hover / active */
@media (hover:hover){
  .sec-cta .cta-actions .btn-primary:hover{
    transform: translateY(-1px);
    box-shadow: 0 18px 34px rgba(201,151,0,.28);
  }
  .sec-cta .cta-actions .btn-outline:hover{
    transform: translateY(-1px);
    border-color: rgba(13,59,102,.42);
    box-shadow: 0 16px 30px rgba(0,0,0,.10);
    background: rgba(255,255,255,.85);
  }
}

.sec-cta .cta-actions .btn-primary:active,
.sec-cta .cta-actions .btn-outline:active{
  transform: translateY(0);
}

/* 手機：兩顆按鈕滿版 */
@media (max-width: 980px){
  .sec-cta .cta-actions{
    flex-direction: column;
    align-items: stretch;
  }
  .sec-cta .cta-actions .btn-primary,
  .sec-cta .cta-actions .btn-outline{
    width: 100%;
  }
}

/* =========================================================
   CTA 左欄重排：刪聯絡資訊卡後的平衡版
   ========================================================= */

/* =========================================================
   CTA：保底修復（桌機一定左右，小螢幕才單欄）
   ========================================================= */

.sec-cta .cta-card{
  background:#fff;
  border: 1px solid rgba(13,59,102,.10);
  border-radius: 26px;
  box-shadow: 0 18px 48px rgba(0,0,0,.10);
  padding: 20px;
}

/* 🔴 關鍵：桌機強制兩欄 */
.sec-cta .cta-grid{
  display: grid !important;
  grid-template-columns: 1.12fr .88fr !important;
  gap: 24px;
  align-items: start;
}

/* 左欄正常排 */
.sec-cta .cta-left{ min-width: 0; }
.sec-cta .cta-title{ margin: 0 0 10px; color:#0d3b66; font-weight: 900; }
.sec-cta .cta-desc{ margin: 0 0 10px; color: rgba(0,0,0,.68); line-height: 1.9; max-width: 60ch; }

/* 按鈕：主/次層級 */
.sec-cta .cta-actions{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
   
}
.sec-cta .cta-actions .btn-primary,
.sec-cta .cta-actions .btn-outline{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:44px;
  padding: 0 6px;
  border-radius:999px;
  font-size:14px;
  font-weight:900;
  letter-spacing:.02em;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}
.sec-cta .cta-actions .btn-primary{
  border: 1px solid rgba(201,151,0,.55);
  background: linear-gradient(135deg, rgba(201,151,0,.95), rgba(231,198,120,.95));
  color:#1b1b1b;
  box-shadow: 0 14px 26px rgba(201,151,0,.22);
}
.sec-cta .cta-actions .btn-outline{
  border: 1px solid rgba(13,59,102,.28);
  background: rgba(255,255,255,.65);
  color: rgba(13,59,102,.92);
  box-shadow: 0 10px 20px rgba(0,0,0,.06);
  backdrop-filter: blur(6px);
}
@media (hover:hover){
  .sec-cta .cta-actions .btn-primary:hover{
    transform: translateY(-1px);
    box-shadow: 0 18px 34px rgba(201,151,0,.28);
  }
  .sec-cta .cta-actions .btn-outline:hover{
    transform: translateY(-1px);
    border-color: rgba(13,59,102,.42);
    box-shadow: 0 16px 30px rgba(0,0,0,.10);
    background: rgba(255,255,255,.85);
  }
}

/* 安心承諾：icon + 單行 */
.sec-cta .cta-assurance-inline{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 8px;
  border-radius: 999px;
  background: rgba(13,59,102,.04);
  border: 1px dashed rgba(13,59,102,.22);
  color: rgba(13,59,102,.85);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}
.sec-cta .assurance-icon{
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: rgba(201,151,0,.18);
  border: 1px solid rgba(201,151,0,.45);
  position: relative;
  flex: 0 0 auto;
}
.sec-cta .assurance-icon::after{
  content:"";
  position:absolute;
  left: 6px;
  top: 7px;
  width: 6px;
  height: 3px;
  border-left: 2px solid rgba(13,59,102,.9);
  border-bottom: 2px solid rgba(13,59,102,.9);
  transform: rotate(-45deg);
}

/* 右欄 */
.sec-cta .cta-right{ min-width:0; }
.sec-cta .consult-box{ height:100%; }

/* ✅ 只有小螢幕才改成一欄（避免桌機被吃掉） */
@media (max-width: 980px){
  .sec-cta .cta-grid{
    grid-template-columns: 1fr !important;
  }
  .sec-cta .cta-actions{
    flex-direction: column;
    align-items: stretch;
  }
  .sec-cta .cta-actions .btn-primary,
  .sec-cta .cta-actions .btn-outline{
    width: 100%;
  }
  .sec-cta .assurance-text{ white-space: normal; }
}

/* CTA 安心註記｜左線版本（推薦） */
.sec-cta .cta-assurance-note{
  margin-top: 8px;
  padding-left: 14px;
  border-left: 3px solid rgba(201,151,0,.55);
  color: rgba(13,59,102,.78);
  font-size: 14px;
  line-height: 1.8;
  max-width: 56ch;
}

/* =========================================================
   CTA：兩欄保底 + 註記細左線（防止被髒 CSS 蓋掉）
   ========================================================= */

/* 桌機：固定兩欄（用更精準的 class 避免互相打架） */
.sec-cta .cta-grid--2col{
  display: grid !important;
  grid-template-columns: 1.12fr .88fr !important;
  gap: 20px !important;
  align-items: start;
}

/* 避免內容撐爆 grid */
.sec-cta .cta-left,
.sec-cta .cta-right{
  min-width: 0;
}

/* 小螢幕才變單欄（你桌機不該進到這裡） */
@media (max-width: 980px){
  .sec-cta .cta-grid--2col{
    grid-template-columns: 1fr !important;
  }
}

/* =========================================================
   左側註記：細左線（你要的效果）
   ========================================================= */

.sec-cta .cta-note{
 
  padding-left: 14px;
  border-left: 3px solid rgba(201,151,0,.55);
  color: rgba(13,59,102,.78);
  font-size: 14px;
  line-height: 1.85;
  max-width: 62ch;
}

/* 第二段（合作邀請）比第一段更淡一點，做層級 */
.sec-cta .cta-note--muted{
  border-left-color: rgba(13,59,102,.18);
  color: rgba(0,0,0,.58);
  margin-top: 8px;
}

/* CTA 底部整排註記（橫跨左右） */
.sec-cta .cta-note--full{
  grid-column: 1 / -1;     /* 🔥 關鍵：吃滿左右欄 */
  margin-top: 20px;
  max-width: 72ch;         /* 不要太寬，保留閱讀感 */
}

/* ===== CTA 版型 ===== */
.sec-cta{
  padding: 10px 0 25px;
}

.cta-card{
  background:#fff;
  border-radius:28px;
  padding: 48px 48px 42px;
  box-shadow: 0 30px 80px rgba(0,0,0,.12);
}

/* Grid */
.cta-grid--2col{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 40px;
}

/* 左欄 */
.cta-title{
  font-size: 32px;
  font-weight: 800;
  color:#0d3b66;
  margin-bottom: 12px;
}

.cta-desc{
  font-size: 15px;
  line-height: 1.9;
  color:#444;
  margin-bottom: 6px;
}

/* CTA buttons */
.cta-actions{
  display:flex;
  gap:14px;
  
}

.btn-primary{
  padding: 14px 26px;
  border-radius:999px;
  font-weight:800;
  background: linear-gradient(135deg,#e2b84a,#c99700);
  color:#111;
  box-shadow:0 10px 24px rgba(201,151,0,.35);
}

.btn-outline{
  padding: 14px 26px;
  border-radius:999px;
  font-weight:700;
  border:1.5px solid rgba(13,59,102,.35);
  background:#fff;
  color:#0d3b66;
}

/* 細左線提示 */
.cta-note{
 
  
  padding-left: 14px;
  border-left: 3px solid rgba(201,151,0,.75);
  color:#37506b;
  font-size: 14px;
}

/* 右欄 */
.consult-box{
  background:#f9fafb;
  border:1px dashed #cbd5e1;
  border-radius:22px;
  padding: 16px;
}

.consult-badge{
  font-weight:800;
  color:#0d3b66;
  margin-bottom: 10px;
}

.cta-checklist{
  list-style:none;
  padding:0;
  margin: 14px 0 0;
}

.cta-checklist li{
  position:relative;
  padding-left: 30px;
  margin-bottom: 12px;
  line-height: 1.7;
}

.cta-checklist li::before{
  content:"✓";
  position:absolute;
  left:0;
  top:0;
  width:20px;
  height:20px;
  border-radius:50%;
  background:#f3ecd9;
  color:#c99700;
  font-weight:900;
  text-align:center;
  line-height:20px;
}

/* 底部整排註記 */
.cta-note--full{
  grid-column: 1 / -1;
  margin-top: 28px;
  max-width: 76ch;
  color: rgba(0,0,0,.55);
  border-left-color: rgba(13,59,102,.18);
}

/* RWD */
@media (max-width: 980px){
  .cta-grid--2col{
    grid-template-columns: 1fr;
  }

  .cta-card{
    padding: 32px 24px;
  }

  .cta-actions{
    flex-direction: column;
  }
}

/* =========================================================
   CTA footer：底部整排註記（不依賴 grid-column，保證成功）
   ========================================================= */



.sec-cta .cta-footer-note{
  padding : 0px 0px 0px 14px;
  margin : 8px 0 8px;
  border-left: 3px solid rgba(13,59,102,.18); /* 比金色更低調：合作邀請屬次要訊息 */
  color: rgba(0,0,0,.58);
  font-size: 14px;
  line-height: 1.85;
  max-width: 100ch; /* ✅ 讓它看起來是整排，但閱讀不會太長 */
}

/* =========================
   Mobile Hero tuning
   ========================= */
@media (max-width: 600px){

  /* Hero 外框：減少上下留白 */
  .home-hero,
  .hero,
  .hero-section{
    padding: 18px 0 0 0 !important;
  }

  /* 你那塊白色卡片（文案框）：
     1) 內距縮小
     2) 圓角縮小
     3) 不要太高 */
  .hero-card,
  .hero-panel,
  .hero-box{
    padding: 16px 16px !important;
    border-radius: 16px !important;
    max-width: 100% !important;
  }

  /* 文案行距稍微緊一點，讓高度縮短 */
  .hero-card p,
  .hero-panel p,
  .hero-box p{
    margin: 0 0 10px !important;
    line-height: 1.6 !important;
  }

  /* 按鈕區：縮小間距，避免撐高 */
  .hero-actions,
  .hero-btns{
    gap: 10px !important;
    margin-top: 10px !important;
  }

  /* 按鈕高度略縮小 */
  .hero-actions a,
  .hero-btns a,
  .hero-actions button,
  .hero-btns button{
    padding: 10px 14px !important;
    border-radius: 999px !important;
    font-size: 15px !important;
    white-space: nowrap;
  }
}


/* 建案卡片圖片容器當定位基準 */
.project-media{
  position: relative;
  overflow: hidden;      /* 讓 badge 不會跑出圖片外 */
     /* 跟你卡片圓角一致 border-radius: 16px;  */
}

/* 標籤固定右上角 */
.project-badge{
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 5;

  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

/* 手機再微調一下大小/位置 */
@media (max-width: 600px){
  .project-badge{
    top: 8px;
    right: 8px;
    padding: 7px 10px;
    font-size: 14px;
  }
}

.section {
  background: linear-gradient(
    180deg,
    #f3f4f6 0%,
    #eef1f4 100%
  );
}


.project-image {
  position: relative;
}

.project-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0) 70%,
    rgba(243,244,246,1) 100%
  );
  pointer-events: none;
}

.project-image img {
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
}

 

.project-image img {
  filter:
    drop-shadow(0 12px 30px rgba(0,0,0,.08));
}


/* 讓 .hero-media 可以承載 ::after 融合層 */
.hero-media{
  position: relative;
  overflow: hidden;
 /* 想更方就改小一點 or 0    border-radius: 16px; */
}

 

/* ✅ 左右邊界「空氣漸隱」：
.hero-media img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;

  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
}
消掉硬切直線 */

.hero-media img{
 
  display:block;
}


/* ✅ 背景不要純白（不然再怎麼霧化都像貼上去） */
.hero{
  background: linear-gradient(180deg, #f3f4f6 0%, #eef1f4 100%);
}


/* =========================
   精選建案分享（3卡輪播）
   ========================= */
.vs-section{
  padding: 34px 0 26px;
  background: #fff;
}

.vs-title{
  margin: 0 0 4px;
  font-size: 34px;
  letter-spacing: .06em;
}

.vs-sub{
  margin: 0 0 18px;
  color: #c99700;
  letter-spacing: .18em;
  font-size: 12px;
}

/* 輪播容器 */
.vs-carousel{
  position: relative;
}

/* 可視窗 */
.vs-viewport{
  overflow: hidden;
}

/* 一頁 3 張：track 用 grid-auto-columns 固定 3 欄 */
.vs-track{
  display: grid;
  grid-auto-flow: column;
 /*   grid-auto-columns: calc((100% - 20px) / 2); 3張 + 2個gap(20*2) */ /* 改 ✅ 2 張 */

  grid-auto-columns: 100%;   /* ✅ 一次一張 */

  gap: 20px;
  transition: transform .45s ease;
  will-change: transform;
  padding: 0 2px; /* 避免陰影被切 */
}

/* ===== 桌機：一次顯示 1 張，但畫面不要太大 ===== */
.vs-viewport{
  max-width: 920px;          /* ✅ 控制視覺尺寸（重點） */
  margin: 0 auto;            /* 置中，左右留白 */
}


/* 卡片：上圖下字 */
.vs-card{
  display: grid;
  gap: 12px;
  align-content: start;
}

/* ✅ 點擊只在圖片內（空白不會有連結） */
.hero-hit{ display:block; }

/* 圖片框：------------------------
.hero-media{
  position: relative;
  overflow: hidden;
  border-radius: 0;    
  background: #111;
} --------------直角、影片框比例 */  /* 參考圖：直角 */

/* 影片比例：16:9 */
.hero-media img{
  
  aspect-ratio: 16 / 9;
 
  display: block;
}

/* 下方標題 */
.vs-caption{
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
  color: #2a2a2a;
  font-weight: 700;
}

/* 左右箭頭：半透明黑方塊，壓在圖片上 */
.vs-nav{

  width: 56px;
  height: 56px;
  border: 0;
  cursor: pointer;

  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: 34px;
  line-height: 1;
  display: grid;
  place-items: center;
}
/* 左右箭頭：半透明黑方塊，壓在圖片上 ----
position: absolute;
  top: 38%;                 
  transform: translateY(-50%);
  z-index: 5;
 
  
.vs-prev{ left: 0; }
.vs-next{ right: 0; }

  ---- */ 



@media (hover:hover){
  .vs-nav:hover{ background: rgba(0,0,0,.68); }
}

.vs-nav:active{ transform: translateY(calc(-50% + 1px)); }

/* 手機：自動變 1 張/頁 */
@media (max-width: 820px){
  .vs-track{
    grid-auto-columns: 100%;
    gap: 14px;
  }
  .vs-nav{
    width: 48px;
    height: 48px;
    font-size: 30px;
    top: 34%;
  }
}


/* ===== 箭頭：半壓在圖片上（外移）＋換成武泰柔和色系 ===== */
.vs-nav{
  position: absolute;
  top: 38%;
  transform: translateY(-50%);
  z-index: 8;

  width: 54px;
  height: 54px;
  border: 0;
  cursor: pointer;

  /* ✅ 顏色：你可以改成更深/更淡 */
  background:  rgba(201,151,0,.55) ;   /* 武泰深藍半透明 */
  color: #fff;

  font-size: 34px;
  line-height: 1;
  display: grid;
  place-items: center;

  /* 微柔化 */
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 26px rgba(0,0,0,.12);
}

/* ✅ 往外移：只讓一半壓在圖上

.vs-prev{ left: 0; transform: translate(-50%, -50%); }
.vs-next{ right: 0; transform: translate(50%, -50%); }
*/


/* 箭頭：
.vs-prev{ left: 0px; transform: translate(-40%, -50%); }
.vs-next{ right: 0px; transform: translate(40%, -50%); } 在單張模式下稍微靠近畫面 */ 


/* hover：淡金光暈（武泰品牌） */
@media (hover:hover){
  .vs-nav:hover{
    background: rgba(13, 59, 102, .72);
    box-shadow: 0 14px 34px rgba(0,0,0,.14), 0 0 0 1px rgba(201,151,0,.22);
  }
}

/* 手機：稍小一點 */
@media (max-width: 820px){
  .vs-nav{
    width: 46px;
    height: 46px;
    font-size: 30px;
    top: 34%;
  }
}


/* ===== 建案名標籤：展覽牌 / label 感 ===== */
.vs-caption{
  margin: 0;
  display: inline-flex;     /* 讓它像標籤 */
  align-items: center;
  gap: 10px;

  padding: 8px 12px;
  border-radius: 999px;

  font-size: 15px;
  font-weight: 800;
  letter-spacing: .06em;
  line-height: 1.2;

  color: #1f2a36;
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(245,246,248,.92));
  border: 1px solid rgba(13, 59, 102, .16);
  box-shadow: 0 10px 22px rgba(0,0,0,.06);

  width: fit-content;       /* 只包內容 */
  max-width: 100%;
}

/* 左側一小點淡金（武泰品牌識別） */
.vs-caption::before{
  content:"";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(201,151,0,.95);
  box-shadow: 0 0 0 3px rgba(201,151,0,.12);
}

/* 如果名字很長：讓它自然換行，但標籤還是好看 */
.vs-caption{
  white-space: normal;
  word-break: keep-all;
}


.vs-carousel{ position: relative; }


/* 關鍵：讓箭頭定位基準，改成 vs-viewport */
.vs-viewport{
  position: relative;
}

/* 箭頭改成貼在 viewport 兩側 */
.vs-nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
}

/* ✅ 只壓一半在圖片上-------- */---
.vs-prev{
  left: 0;
  transform: translate(-50%, -50%);
}

.vs-next{
  right: 0;
  transform: translate(50%, -50%);
}

 
.hero-media{
  background: transparent; /* 不要黑底 */
}

.hero-media img{
  -webkit-mask-image: none;
  mask-image: none;
}

/* =========================
   HERO 圖片最終裁切修復（強制）
   ========================= */

.hero-media img{
  width: 100% !important;
  height: clamp(360px, 56vh, 560px) !important;
  object-fit: contain !important;   /* ✅ 關鍵 */
  object-position: center;
  display: block;
}

/* 關掉 section 的框感背景 */
.section{
  background: transparent;
}

/* featured-slider 不要邊線 */
.featured-slider{
  background: transparent;
  border: 0;
}


/*--以後改 hero-media 寬度怎麼辦 
如果你改成 960px，只要同步改一行：
 960 / 2 = 480 
 left: calc(50% - 480px);
 -----*/
/* 左箭頭：貼齊 hero-media 左邊 */
.hero-arrow.prev{
  left: calc(50% - 500px);      /* 1000px / 2 */
  transform: translate(-50%, -50%);
}

/* 右箭頭：貼齊 hero-media 右邊 */
.hero-arrow.next{
  left: calc(50% + 500px);
  transform: translate(-50%, -50%);
}

/* ===============================
   Hero Slide 外框底色（紅框那一層）
   =============================== */

.featured-slider .hero-slide{
  background: linear-gradient(
   180deg ,
    #f6f1e6 0%,
    #f3ecd9 100%
  );

   

  /* 讓淡金色看起來有「承托感」 */
  box-shadow:
    0 18px 40px rgba(0,0,0,.10);

  /* 避免子層溢出破壞圓角 */
  overflow: hidden;
}

/* ===== 手機版 hero 箭頭顯示修正 ===== */
.hero-ui{
  position:absolute;
  inset:0;
  pointer-events:none; /* UI 本身不吃點擊 */
  z-index:20;
}

.hero-arrow{
  pointer-events:auto; /* 箭頭本身可點 */
  position:absolute;
  top:50%;
  transform: translateY(-50%);
  width:44px;
  height:44px;
  border-radius:50%;
  border:none;

  background: rgba(201,151,0,.72); /* 武泰淡金 */
  color:#fff;
  font-size:28px;
  font-weight:600;

  display:flex;          /* ← 重點：強制顯示 */
  align-items:center;
  justify-content:center;

  box-shadow:0 6px 16px rgba(0,0,0,.28);
}

/* 左右位置 */
.hero-arrow.prev{ left:12px; }
.hero-arrow.next{ right:12px; }

/* hover / active（手機是 touch，也會吃到 active） */
.hero-arrow:hover,
.hero-arrow:active{
  background: rgba(201,151,0,.88);
}

/* 手機：確保左右箭頭都出現（next 不要被 left 蓋掉） */
@media (max-width: 768px){
  .hero-ui{
    position:absolute;
    inset:0;
    pointer-events:none;
    z-index: 50;
  }

  .hero-ui .hero-arrow{
    pointer-events:auto;
    position:absolute;
    top:50%;
    transform: translateY(-50%);
    width:44px;
    height:44px;
    border-radius:999px;
    border:none;

    background: rgba(201,151,0,.72);
    color:#fff;

    display:flex;
    align-items:center;
    justify-content:center;

    box-shadow:0 6px 16px rgba(0,0,0,.28);
  }

  .hero-ui .hero-arrow.prev{
    left:12px;
    right:auto;
  }

  .hero-ui .hero-arrow.next{
    right:12px;
    left:auto;                 /* ✅ 關鍵：把 left 清掉 */
  }
}

.hero-badge{
  position:absolute;
  top:18px;
  left:50%;
  transform: translateX(-50%);
  z-index:10;

  /* 關鍵：寬度只跟文字走 */
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:auto;

  /* 👇 金色底只比字多一點點 */
  padding:4px 10px;

  font-size:26px;
  font-weight:700;
  letter-spacing:.12em;
  line-height:1.2;

  background: rgba(201,151,0,.85); /* 武泰金 */
  color:#fff;

  border-radius:6px;
  box-shadow:0 4px 12px rgba(0,0,0,.18);
}

/* 讓箭頭以 hero-media 為基準 */
.hero-ui{
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index:30;
}

/* 箭頭共用樣式 */
.hero-arrow{
  pointer-events:auto;
  position:absolute;
  top:50%;
  transform: translateY(-50%);
  width:44px;
  height:44px;
  border-radius:50%;
  border:none;

  background: rgba(201,151,0,.78); /* 武泰淡金 */
  color:#fff;
  font-size:26px;
  font-weight:600;

  display:flex;
  align-items:center;
  justify-content:center;

  box-shadow:0 6px 16px rgba(0,0,0,.28);
}

/* 🔑 關鍵：用 hero-media 的寬度來算位置 */
.hero-arrow.prev{
  left: calc(50% - 500px - 22px);
}

.hero-arrow.next{
  left: calc(50% + 500px - 22px);
}


.home-hero{
  position: relative;
}





 
.hero-media{

/* ⭐ 左右淡化核心 */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 30%,
    #000 70%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
     #000 30%,
    #000 70%,
    transparent 100%
  );

}

.hero-media{
  position: relative;
  display: flex;
  align-items: center;       /* 垂直置中 */
  justify-content: center;   /* 水平置中 */
  overflow: hidden;
}

.hero-media-inner{
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;       /* 關鍵 */
  justify-content: center;   /* 關鍵 */
}

.hero-media img{
  width: 100%;
  height: 100%;
  object-fit: contain;       /* 不裁切 */
  object-position: center;   /* 🔴 重點：不是 top */
  display: block;
}


/* 兩欄版：左內容彈性，右提示卡固定舒服寬度 */
.cta-grid--2col{
  display:grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 28px;
  align-items: stretch;
}

/* 右欄靠右，視覺更像「輔助資訊卡」 */
.cta-right{
  justify-self: end;
  width: 100%;
}

/* consult-box 撐滿右欄 */
.consult-box{
  width: 100%;
}


@media (max-width: 900px){
  .cta-grid--2col{
    grid-template-columns: 1fr;   /* 變單欄 */
    gap: 14px;
  }

  /* 你可選：讓提示卡放在下面（更自然） */
  .cta-right{
    order: 2;
    justify-self: stretch;
  }
  .cta-left{
    order: 1;
  }

  .consult-box{
    width: 100%;
    border-radius: 16px;
    padding: 14px 14px;
    background: rgba(255,255,255,.75);
    border: 1px solid rgba(203, 213, 225, .9);
    box-shadow: 0 10px 24px rgba(0,0,0,.08);
    backdrop-filter: blur(6px);
  }

  /* 讓清單更好讀（你有勾勾那段會更舒服） */
  .consult-box li{
    line-height: 1.75;
    margin: 8px 0;
  }
}

/* =========================================================
   CTA（想了解你的房子...）右側 consult-box 寬度策略 - 強制生效版
   放在 index.css 最底部
   ========================================================= */

/* 兩欄：左邊彈性、右邊固定舒服寬度 */
.sec-cta .cta-grid.cta-grid--2col{
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px) !important;
  gap: 28px !important;
  align-items: stretch !important;
}

/* 右欄靠右 */
.sec-cta .cta-right{
  justify-self: end !important;
  width: 100% !important;
}

/* consult-box 撐滿右欄 */
.sec-cta .cta-right .consult-box{
  width: 100% !important;
  max-width: 440px !important;
}

/* =========================================================
   手機：變單欄 + consult-box 更好讀
   ========================================================= */
@media (max-width: 900px){
  .sec-cta .cta-grid.cta-grid--2col{
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .sec-cta .cta-left{ order: 1; }
  .sec-cta .cta-right{
    order: 2;
    justify-self: stretch !important;
  }

  .sec-cta .cta-right .consult-box{
    max-width: none !important;
    border-radius: 16px;
    padding: 14px;
    background: rgba(255,255,255,.78);
    border: 1px solid rgba(203,213,225,.9);
    box-shadow: 0 10px 24px rgba(0,0,0,.08);
    backdrop-filter: blur(6px);
  }

  .sec-cta .cta-right .consult-box li{
    line-height: 1.75;
    margin: 8px 0;
  }
}


/*------------------------------------------------------------------------------------------*/
/* ===============================
   Home HERO 背景（推薦：hero-home1.jpg）
   - ::before 放背景圖（不裁切：contain）
   - ::after 做左側柔化，提高文字可讀性
   =============================== */

.home-hero{
  position: relative;
  overflow: hidden;
  padding: 18px 0 26px;
  /* 讓整段底色跟你的品牌暖底一致 */
  background: linear-gradient(180deg, #f6f1e6 0%, #f3ecd9 100%);
}

/* 背景圖（不裁切） */



/* 左側柔化層：讓文字穩定好讀 */
.home-hero::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  background:
    radial-gradient(900px 520px at 18% 45%,
      rgba(246,241,230,.96) 0%,
      rgba(246,241,230,.82) 45%,
      rgba(246,241,230,0) 72%);
}

/* 內容層壓上去 */
.home-hero .home-hero-container,
.home-hero .home-hero-grid,
.home-hero .home-hero-copy{
  position: relative;
  z-index: 2;
}

/* HERO 高度（桌/平/手三段） */
.home-hero{
  min-height: clamp(520px, 62vh, 720px);
}

/* 平板：背景圖稍微縮小，避免壓到文字 */
@media (max-width: 980px){
  .home-hero{
    min-height: clamp(520px, 70vh, 760px);
  }
  .home-hero::before{
    background-size: min(920px, 86vw) auto;
    background-position: right 62%;
  }
}

/* 手機：背景圖往下，留更多上方給標題 */
@media (max-width: 560px){
  .home-hero{
    padding: 14px 0 18px;
    min-height: clamp(560px, 78vh, 820px);
  }
  .home-hero::before{
    background-size: 102vw auto;
    background-position: 66% 72%;
    opacity: .92;
  }
  .home-hero::after{
    background:
      radial-gradient(820px 520px at 28% 26%,
        rgba(246,241,230,.98) 0%,
        rgba(246,241,230,.88) 52%,
        rgba(246,241,230,0) 78%);
  }
}

/*------------------------------------------------------------------------------------------*/
/* HERO：背景圖會跟著視窗縮放（不裁切） */
.home-hero{
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #f6f1e6 0%, #f3ecd9 100%);
}

/* 背景圖（隨視窗） */
.home-hero::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;

  background-image: url("../images/hero-home1.jpg");
  background-repeat:no-repeat;

  /* ✅ 不裁切：完整呈現 */
  background-size: contain;

  /* ✅ 會跟著視窗移動的關鍵：用 % 定位 + 可調的位置 */
  background-position: 88% 52%;

  opacity:.96;
  pointer-events:none;
}

/* 左側柔化：文字區可讀性 */
.home-hero::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  background:
    radial-gradient(900px 520px at 18% 45%,
      rgba(246,241,230,.96) 0%,
      rgba(246,241,230,.82) 45%,
      rgba(246,241,230,0) 72%);
}

/* 內容層在最上面 */
.home-hero .home-hero-container,
.home-hero .home-hero-grid,
.home-hero .home-hero-copy{
  position: relative;
  z-index: 2;
}

/* =========================
   RWD：不同寬度調整構圖位置
   ========================= */

/* 平板：圖稍微往中間靠，避免變得太小 */
@media (max-width: 980px){
  .home-hero::before{
    background-position: 78% 58%;
  }
}

/* 手機：圖往下，留標題空間 */
@media (max-width: 560px){
  .home-hero::before{
    background-position: 66% 76%;
    opacity:.92;
  }
  .home-hero::after{
    background:
      radial-gradient(820px 520px at 28% 26%,
        rgba(246,241,230,.98) 0%,
        rgba(246,241,230,.88) 52%,
        rgba(246,241,230,0) 78%);
  }
}

@media (min-width: 981px){
  .home-hero::before{
    background-size: 110% auto; /* 稍微放大 */
  }
}


/* ======================================
   Home HERO 背景底色（方案 A｜霧藍灰）
   ====================================== */
.home-hero{
  background: linear-gradient(
    180deg,
    #f3f6f9 0%,
    #eef2f6 100%
  );
}

/* ======================================
   Featured 標題區（章節底座）
   ====================================== */

   /* ======================================
   Featured 標題區（章節底座）
   ====================================== */
.section.featured{

 background: linear-gradient(
  180deg,
  #dbe2ea 0%,
  #eef2f6 100%
);
 
}

/* 標題區內容本身不要太寬 */
.section.featured .container{
  max-width: 960px;
}

/* Kicker 微調（在深底上更清楚） */
.section.featured .section-kicker{
  color: rgba(13,59,102,.75);
}

/* 主標題 */
.section.featured .section-title{
  color: #0d3b66;
}

/* 副標 */
.section.featured .section-subtitle{
  color: rgba(0,0,0,.62);
}





/* ======================================
   Featured 標題區（戲劇性深色章節板）
   只影響：<section class="section featured">

  


   ====================================== */
.section.featured{
  position: relative;
  
  background: linear-gradient(180deg, #152a3d 0%, #1a334a 50%, #152a3d 100%);

  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
  overflow: hidden;
}

/* 霧化光暈（讓深色更高級，不死黑） */
.section.featured::before{
  content:"";
  position:absolute;
  inset:-40px;
  pointer-events:none;
  background:
    radial-gradient(700px 240px at 50% 10%,
      rgba(201,151,0,.16) 0%,
      rgba(201,151,0,0) 70%),
    radial-gradient(900px 360px at 20% 70%,
      rgba(255,255,255,.10) 0%,
      rgba(255,255,255,0) 62%);
  opacity: .9;
}

/* 內容在最上層 */
.section.featured .container{
  position: relative;
  z-index: 1;
  max-width: 980px;
}

/* Kicker（FEATURED PROJECTS） */
.section.featured .section-kicker{
  color: rgba(255,255,255,.74);
}
.section.featured .section-kicker::before{
  background: rgba(201,151,0,.95); /* 武泰金 */
}

/* 主標題 */
.section.featured .section-title{
  color: rgba(255,255,255,.96);
  text-shadow: 0 10px 26px rgba(0,0,0,.30);
}

/* 副標 */
.section.featured .section-subtitle{
  color: rgba(255,255,255,.70);
}

/* 底部微過場：接到輪播區（讓深色不會硬切） */
.section.featured::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:-1px;
  height: 28px;
  pointer-events:none;
  background: linear-gradient(
    to bottom,
    rgba(15,34,51,0) 0%,
    rgba(15,34,51,.28) 55%,
    rgba(15,34,51,.0) 100%
  );
}

/* ======================================
   Featured 區最上緣｜極淡金邊分隔
   ====================================== */
.section.featured{
  position: relative; /* 保證偽元素定位 */
}

/* 極淡金邊 */
.section.featured::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:1px;
  pointer-events:none;

  /* 金色不是純色，是「氣」 */
  background: linear-gradient(
    to right,
    rgba(201,151,0,0) 0%,
    rgba(201,151,0,.55) 20%,
    rgba(231,198,120,.85) 50%,
    rgba(201,151,0,.55) 80%,
    rgba(201,151,0,0) 100%
  );
}


/* =========================================================
   Home Milestone Video（取代 Featured Slider）
   ========================================================= */

.sec-milestone{
  position: relative;
  padding: 56px 0 44px;
  background: linear-gradient(180deg,
    rgba(12,34,54,0.00) 0%,
    rgba(248,243,232,1.00) 18%,
    rgba(248,243,232,1.00) 82%,
    rgba(255,255,255,1.00) 100%
  );
}

.milestone-topfade,
.milestone-botfade{
  position:absolute;
  left:0; right:0;
  height:48px;
  pointer-events:none;
}
.milestone-topfade{
  top:0;
  background: linear-gradient(180deg, rgba(12,34,54,.55), rgba(12,34,54,0));
  opacity:.35;
}
.milestone-botfade{
  bottom:0;
  background: linear-gradient(180deg, rgba(248,243,232,0), rgba(255,255,255,1));
}

.milestone-header{
  text-align:center;
  margin-bottom: 26px;
}

/* 主舞台：影片 + 權威補強 */
.milestone-stage{
  display:grid;
  grid-template-columns: 1.35fr .85fr;
  gap: 22px;
  align-items: start;
}

/* 影片框（有氣場但不滿版） */
.milestone-video{
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(9,18,32,.55);
  box-shadow: 0 22px 44px rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.18);
  min-height: 320px;
}

.milestone-poster{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
  transform: scale(1.01);
  filter: saturate(1.02) contrast(1.03);
}

.milestone-play{
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap: 10px;
  background: radial-gradient(circle at 50% 45%,
    rgba(0,0,0,.25) 0%,
    rgba(0,0,0,.35) 42%,
    rgba(0,0,0,.55) 100%
  );
  border:0;
  cursor:pointer;
  color:#fff;
  z-index:2;
}

.milestone-play .mp-ic{
  width: 66px;
  height: 66px;
  display:grid;
  place-items:center;
  border-radius: 999px;
  background: rgba(197,153,56,.95); /* 金色 */
  box-shadow: 0 18px 40px rgba(0,0,0,.25);
  font-size: 22px;
  transform: translateY(-2px);
}

.milestone-play .mp-txt{
  font-size: 14px;
  letter-spacing: .08em;
  opacity: .92;
}

.milestone-video:hover .milestone-play .mp-ic{
  transform: translateY(-3px) scale(1.02);
}

/* 右側：權威補強 */
.milestone-proof{ display:flex; flex-direction:column; gap: 12px; }

.proof-badges{
  display:flex;
  flex-wrap:wrap;
  gap: 8px;
  justify-content:flex-start;
}

.proof-badge{
  font-size: 12px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.65);
  border: 1px solid rgba(17,24,39,.10);
  color: rgba(17,24,39,.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.proof-card{
  padding: 16px 16px 14px;
  border-radius: 18px;
  background: rgba(255,255,255,.70);
  border: 1px solid rgba(17,24,39,.10);
  box-shadow: 0 18px 44px rgba(0,0,0,.08);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}

.proof-title{
  font-weight: 800;
  letter-spacing: .06em;
  color: rgba(11,18,32,.92);
  margin-bottom: 8px;
}

.proof-desc{
  margin: 0 0 14px;
  line-height: 1.95;
  color: rgba(17,24,39,.78);
}

.proof-actions{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
  align-items:center;
}

/* 段落橋接：往 Services 順滑滑下去 */
.milestone-bridge{
  margin-top: 22px;
  text-align:center;
}

.bridge-text{
  margin:0 auto;
  max-width: 820px;
  color: rgba(17,24,39,.70);
  line-height: 1.9;
}

/* RWD */
@media (max-width: 980px){
  .milestone-stage{
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .proof-actions{
    justify-content:flex-start;
  }
  .milestone-video{
    min-height: 240px;
  }
}

@media (max-width: 520px){
  .sec-milestone{ padding: 44px 0 36px; }
  .milestone-video{ border-radius: 16px; }
  .proof-card{ padding: 14px 14px 12px; }
  .milestone-play .mp-ic{ width: 60px; height:60px; }
}


/* 影片框：固定 16:9（解決只顯示一半） */
.milestone-video{
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(9,18,32,.55);
  box-shadow: 0 22px 44px rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.18);

  /* ✅ 核心：讓高度可計算 */
  aspect-ratio: 16 / 9;
}

/* ✅ fallback：如果遇到極舊瀏覽器，不支援 aspect-ratio */
.milestone-video::before{
  content:"";
  display:block;
  padding-top:56.25%; /* 16:9 */
}

/* 內容（poster / iframe / play）都鋪滿 */
.milestone-video > iframe,
.milestone-poster,
.milestone-play{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
}

/* poster 要用 cover */
.milestone-poster{
  object-fit: cover;
  display:block;
  transform: scale(1.01);
  filter: saturate(1.02) contrast(1.03);
}

/* play 按鈕保持在最上層 */
.milestone-play{ z-index: 2; }


/* =========================================================
   Milestone Fine Alignment（更齊、更精品）
   ========================================================= */

/* 主舞台：讓右欄跟影片高度一致 */
.milestone-stage{
  display:grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr);
  gap: 22px;
  align-items: stretch; /* ✅ 關鍵：兩欄同高 */
}

/* 影片盒本身吃滿高度 */
.milestone-video{
  height: 100%;
}

/* 右欄：整欄用「上下分配」 */
.milestone-proof{
  height: 100%;
  display:flex;
  flex-direction:column;
  gap: 12px;
}

/* badge 區：更像企業網站的標籤列 */
.proof-badges{
  display:flex;
  flex-wrap:wrap;
  gap: 8px;
  justify-content:flex-start;
  align-content:flex-start;
}

.proof-badge{
  display:inline-flex;
  align-items:center;
  gap: 6px;
  font-size: 12px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(17,24,39,.10);
  color: rgba(17,24,39,.80);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* 右側卡：自動撐滿剩餘高度，讓按鈕壓在底部 */
.proof-card{
  flex: 1;                 /* ✅ 撐滿 */
  display:flex;
  flex-direction:column;   /* ✅ 內容上下布局 */
  padding: 18px 18px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(17,24,39,.10);
  box-shadow: 0 18px 44px rgba(0,0,0,.08);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}

/* 文字區更舒服 */
.proof-title{
  font-weight: 850;
  letter-spacing: .06em;
  color: rgba(11,18,32,.92);
  margin-bottom: 10px;
}

.proof-desc{
  margin: 0;
  line-height: 1.95;
  color: rgba(17,24,39,.78);
}

/* ✅ 讓按鈕永遠在卡片底部（精品感） */
.proof-actions{
  margin-top: auto;      /* ✅ 關鍵：把按鈕推到底 */
  padding-top: 14px;
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
  align-items:center;
}

/* 按鈕一致高度，視覺更齊 */
.proof-actions .btn-primary,
.proof-actions .btn-outline{
  min-height: 42px;
}

/* 桌機時：整段視覺置中、留白更像展間 */
.sec-milestone .container{
  max-width: 1180px; /* ✅ 讓這段更像「主舞台」 */
}

/* 平板以下：改為上下堆疊（你原本已有，但我幫你更穩） */
@media (max-width: 980px){
  .milestone-stage{
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .milestone-proof{
    height: auto;
  }

  .proof-card{
    flex: unset;
  }
}


/* 里程碑數字列：填補留白、又有權威感 */
.proof-metrics{
  margin-top: 14px;
  padding: 12px 12px;
  border-radius: 14px;
  background: rgba(248,243,232,.72);
  border: 1px solid rgba(17,24,39,.08);
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.pm-item{
  text-align:center;
  padding: 10px 8px;
  border-radius: 12px;
  background: rgba(255,255,255,.65);
  border: 1px solid rgba(17,24,39,.06);
}

.pm-num{
  font-weight: 900;
  font-size: 22px;
  letter-spacing: .02em;
  color: rgba(11,18,32,.92);
  line-height: 1.05;
}

.pm-lbl{
  margin-top: 6px;
  font-size: 12px;
  color: rgba(17,24,39,.68);
  letter-spacing: .04em;
}

/* 手機：改成 3 格仍可，但字更緊湊 */
@media (max-width: 520px){
  .proof-metrics{ gap: 8px; padding: 10px; }
  .pm-num{ font-size: 20px; }
}

/* =========================================================
   Proof Card — Gold Aura Final (武泰精品版)
   ========================================================= */

.proof-card{
  position: relative;
  overflow: hidden;

  /* 原本你已有的結構保留 */
  flex: 1;
  display:flex;
  flex-direction:column;

  padding: 18px 18px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(17,24,39,.10);
  box-shadow: 0 18px 44px rgba(0,0,0,.08);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}

/* ✨ 金色光暈（右下角） */
.proof-card::after{
  content:"";
  position:absolute;
  right:-28%;
  bottom:-38%;
  width: 420px;
  height: 420px;
  background:
    radial-gradient(circle,
      rgba(197,153,56,.22) 0%,
      rgba(197,153,56,.14) 22%,
      rgba(197,153,56,.08) 36%,
      rgba(197,153,56,.04) 50%,
      rgba(197,153,56,.00) 68%
    );
  pointer-events:none;
  filter: blur(6px);
  z-index: 0;
}

/* 卡片內容全部浮在光暈上 */
.proof-card > *{
  position: relative;
  z-index: 1;
}

/* ===== 里程碑數字列（精緻版） ===== */

.proof-metrics{
  margin-top: 14px;
  padding: 12px;
  border-radius: 14px;
  background: linear-gradient(
    180deg,
    rgba(248,243,232,.85),
    rgba(255,255,255,.85)
  );
  border: 1px solid rgba(17,24,39,.08);
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.pm-item{
  text-align:center;
  padding: 10px 8px;
  border-radius: 12px;
  background: rgba(255,255,255,.70);
  border: 1px solid rgba(17,24,39,.06);
}

.pm-num{
  font-weight: 900;
  font-size: 22px;
  letter-spacing: .02em;
  color: rgba(11,18,32,.92);
  line-height: 1.05;
}

.pm-lbl{
  margin-top: 6px;
  font-size: 12px;
  color: rgba(17,24,39,.68);
  letter-spacing: .04em;
}

/* CTA 永遠貼底，展櫃感 */
.proof-actions{
  margin-top: auto;
  padding-top: 14px;
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
  align-items:center;
}

/* 手機微調：光暈縮小，不刺眼 */
@media (max-width: 520px){
  .proof-card::after{
    width: 300px;
    height: 300px;
    right:-35%;
    bottom:-45%;
    opacity:.7;
  }
  .pm-num{ font-size: 20px; }
}

.milestone-fallback{
  position:absolute;
  left:16px;
  bottom:16px;
  z-index:3;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(17,24,39,.12);
  color: rgba(17,24,39,.78);
  text-decoration:none;
  font-size: 12px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.milestone-fallback:hover{ transform: translateY(-1px); }
