
:root{
  --primary:#009688;
  --primary-2:#00bfa5;
  --ink:#033333;
  --muted:#6b8a8a;
  --bg:#f6fbfb;
  --white:#ffffff;
}
html,body{font-family:'Noto Sans TC','Microsoft JhengHei',system-ui,-apple-system,sans-serif;color:var(--ink);}
body{background:var(--bg);}

.hero{position:relative;color:#fff;min-height:70vh;display:flex;align-items:center;}
.hero::before{content:"";position:absolute;inset:0;background:linear-gradient(135deg,rgba(0,150,136,.75),rgba(0,191,165,.55));}
.hero .hero-img{position:absolute;inset:0;background-size:cover;background-position:center;filter:brightness(.9);}
.hero .container{position:relative;z-index:2;}
.hero h1{font-weight:800;letter-spacing:.02em;}
.hero p.lead{font-size:1.125rem;opacity:.95;}

.btn-pill{border-radius:8px;padding:.7rem 1.25rem;font-weight:700;}
.btn-primary{background:var(--primary);border-color:var(--primary);}
.btn-primary:hover{background:var(--primary-2);border-color:var(--primary-2);}

.section{padding:72px 0;background:#fff;}
.section.alt{background:#f0f7f7;}
.section-title{font-weight:800;letter-spacing:.02em;margin-bottom:1rem;}
.section-sub{color:var(--muted);margin-bottom:2rem;}

.icon-card{background:#fff;border-radius:1rem;padding:1.25rem;box-shadow:0 8px 24px rgba(0,0,0,.06);}

.article-card{background:#fff;border-radius:1rem;overflow:hidden;box-shadow:0 10px 28px rgba(0,0,0,.07);height:100%;display:flex;flex-direction:column;transition:transform .18s ease, box-shadow .18s ease;}
.article-card:hover{transform:translateY(-2px);box-shadow:0 14px 34px rgba(0,0,0,.10);}
.article-card img{width:100%;height:100%;object-fit:cover;}
.article-card .body{padding:1rem 1rem 1.25rem;flex:1 1 auto;}
.article-card .title{font-weight:700;font-size:1.05rem;margin:0 0 .5rem;}
.article-card .meta{color:#6c8c8c;font-size:.9rem;}

/* 線條 icon 樣式（單色，金融沉穩） */
.lineicon-wrap{width:56px;height:56px;border-radius:50%;border:2px solid var(--primary);display:flex;align-items:center;justify-content:center;transition:transform .18s ease, box-shadow .18s ease;}
.lineicon-wrap.sm{width:40px;height:40px;}
.lineicon-wrap:hover{transform:translateY(-1px);box-shadow:0 6px 14px rgba(0,0,0,.08);}
.lineicon{width:22px;height:22px;border:2px solid var(--primary);border-radius:4px;}

/* 服務卡（區塊3） */
.service-card{background:#fff;border-radius:1rem;padding:1.25rem;box-shadow:0 12px 32px rgba(0,0,0,.06);display:flex;flex-direction:column;align-items:flex-start;transition:transform .18s ease, box-shadow .18s ease;}
.service-card:hover{transform:translateY(-3px);box-shadow:0 16px 40px rgba(0,0,0,.1);}
.svc-title{margin-top:12px;font-weight:800;font-size:1.1rem;}
.svc-desc{color:var(--muted);margin:6px 0 0;}

/* 承諾卡（區塊4） */
.promise-card{background:#fff;border-radius:1rem;padding:1.25rem;box-shadow:0 10px 28px rgba(0,0,0,.06);transition:transform .18s ease, box-shadow .18s ease;}
.promise-card:hover{transform:translateY(-2px);box-shadow:0 14px 34px rgba(0,0,0,.10);}
.pm-title{margin-top:10px;font-weight:800;}
.pm-desc{color:var(--muted);margin-top:4px;}

/* 流程條（區塊5） */
.flow-steps{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(1,1fr);gap:12px;}
.flow-step{display:flex;align-items:flex-start;gap:12px;background:#fff;border-radius:12px;padding:12px;box-shadow:0 6px 16px rgba(0,0,0,.05);transition:transform .18s ease, box-shadow .18s ease;}
.flow-step:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(0,0,0,.08);}
.flow-title{font-weight:800;}
.flow-desc{color:var(--muted);}
@media(min-width:768px){.flow-steps{grid-template-columns:repeat(2,1fr);}}
@media(min-width:992px){.flow-steps{grid-template-columns:repeat(4,1fr);}}

/* 見證卡（區塊6） */
.testimonial-card{background:#fff;border-radius:1rem;padding:1.25rem;box-shadow:0 10px 28px rgba(0,0,0,.06);transition:transform .18s ease, box-shadow .18s ease;}
.testimonial-card:hover{transform:translateY(-2px);box-shadow:0 14px 34px rgba(0,0,0,.10);}
.tst-head{display:flex;align-items:center;gap:10px;margin-bottom:8px;}
.avatar{width:36px;height:36px;border-radius:50%;border:2px solid var(--primary);display:flex;align-items:center;justify-content:center;font-weight:800;color:var(--primary);}
.tst-body{color:var(--ink);}

/* feature_list 基本樣式 */
.feature-row{padding-top:8px;padding-bottom:8px}
.feature-img{width:100%;height:auto;object-fit:cover}
.feature-img-wrap{overflow:hidden;border-radius:12px}
.feature-body .lead{color:var(--muted)}

/* footer */
.footer{background:#033;color:#cfe8e6;padding:40px 0;}
.footer a{color:#aef1e5;text-decoration:none;}
.footer a:hover{text-decoration:underline;}

/* 修正 */
.hero {
  min-height: 64vh;
}
@media (min-width: 1200px) {
  .display-5 {
    font-size: 2.7rem;
  }
}

/* 返回首頁按鈕：品牌粉色 + 小型圓 pill */
.return-home-btn {
  display: inline-block;
  padding: .45rem 1rem;
  background: var(--primary);
  color: #fff !important;
  border-radius: 9999px;
  font-weight: 700;
  font-size: .9rem;
  text-decoration: none;
  transition: background .18s ease, transform .18s ease;
}

.return-home-btn:hover {
  background: var(--primary-2);
  transform: translateY(-1px);
  text-decoration: none;
}

#contactCorp {
  white-space: pre-line;
}

/* === team_grid 顧問團隊 === */
.team-card{
  background:#fff;
  border-radius:1rem;
  padding:1.25rem;
  box-shadow:0 10px 28px rgba(0,0,0,.06);
  height: 100%;
  display:flex;
  flex-direction:column;
  /*gap:.9rem;*/
  gap:.2rem;
  transition:transform .18s ease, box-shadow .18s ease;
}
.team-card:hover{
  transform:translateY(-2px);
  box-shadow:0 14px 34px rgba(0,0,0,.10);
}

.team-head{
  display:flex;
  align-items:center;
  gap:12px;
}

.team-avatar{
  width:100px;
  height:100px;
  border-radius:50%;
  object-fit:cover;
  /*border:2px solid var(--primary);*/
  /*flex:0 0 auto;*/
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
}
.team-avatar-fallback{
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #eef4f4;
  color: #29673D;
  font-size: 1.6rem;
  font-weight: 700;
  display:flex;
  align-items:center;
  justify-content:center;
}
.team-meta{min-width:0;}

.team-bio{
  color:var(--ink);
  line-height:1.6;
  font-size:.98rem;
}

.team-actions{
  margin-top:auto;
  display:flex;
  gap:.5rem;
  flex-wrap:wrap;
}

.team-name{
  font-size: 1.05rem;
  font-weight: 800;
  margin-top: .3rem;
}

.team-name-en{
  font-size: .9rem;
  color: #6c757d;
  margin-top: -2px;
}

.team-role{
  font-size: .95rem;
  font-weight: 700;
  color: #29673D;
  margin-top: .3rem;
}

.team-bio{
  font-size: .95rem;
  line-height: 1.6;
  margin-top: .3rem;
  color: #444;
  white-space: pre-line;
  text-align: center;
}

/* 讓按鈕區塊貼齊卡片底部 */
.team-actions{
  margin-top: auto !important;
  padding-top: .6rem;
}
.team-actions .btn{
  width: 100%;
}

/* 顧問區塊底部的大按鈕 */
.team-main-btn{
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  display: block;
  border-radius: 8px;
  font-size: 1.05rem;
  padding: 0.85rem 1.5rem;
}
.team-main-btn{
  margin-top: 2rem;
}


/* 顧問卡片內按鈕：hover 微動畫（質感版） */
.team-actions .btn{
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  will-change: transform;
}

.team-actions .btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0,0,0,.12);
  filter: brightness(1.03);
}

.team-actions .btn:active{
  transform: translateY(0);
  box-shadow: 0 6px 14px rgba(0,0,0,.10);
}


/* 區塊底部大按鈕：hover 微動畫（更有層次） */
.team-main-btn{
  transition: transform .20s ease, box-shadow .20s ease, filter .20s ease;
  will-change: transform;
}

.team-main-btn:hover{
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0,0,0,.14);
  filter: brightness(1.04);
}

.team-main-btn:active{
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0,0,0,.12);
}


.team-actions .btn:focus-visible,
.team-main-btn:focus-visible{
  outline: 3px solid rgba(41,103,61,.25);
  outline-offset: 3px;
}


@media (prefers-reduced-motion: reduce){
  .team-actions .btn,
  .team-main-btn{
    transition: none;
  }
  .team-actions .btn:hover,
  .team-main-btn:hover{
    transform: none;
    box-shadow: none;
    filter: none;
  }
}

/* ===============================
   小知識文章專用按鈕
================================ */

.article-btn {
  display: block;
  width: 100%;
  text-align: center;

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

  font-size: 15px;
  font-weight: 500;
  letter-spacing: .5px;

  color: #186754;
  background: #f3f8f6;
  border: 1px solid rgba(24, 103, 84, 0.25);

  transition: all .25s ease;
}

/* Hover 效果 */
.article-btn:hover {
  background: #186754;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(24, 103, 84, 0.25);
  text-decoration: none;
}

/* 手機版點擊區更大 */
@media (max-width: 768px) {
  .article-btn {
    padding: 14px 18px;
    font-size: 16px;
  }
}

/* ===============================
   小知識卡片 Hover 效果
================================ */

/* 整張卡片 */
.article-card {
  transition: all .25s ease;
  border-radius: 18px;
  overflow: hidden;
}

/* Hover 效果 */
.article-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0,0,0,.12);
}

/* 圖片微放大 */
.article-card img {
  transition: transform .4s ease;
}

.article-card:hover img {
  transform: scale(1.05);
}

/* 按鈕跟著亮 */
.article-card:hover .article-btn {
  background: #186754;
  color: #fff;
  border-color: #186754;
  box-shadow: 0 6px 16px rgba(24, 103, 84, 0.25);
}

.article-img-link {
  display: block;
  overflow: hidden;
}

.article-img-link:hover {
  text-decoration: none;
}


/* ===============================
   quiz_grid 心理測驗卡片（不影響小知識/顧問）
================================ */

.quiz-card{
  background:#fff;
  border-radius:1rem;
  overflow:hidden;
  box-shadow:0 10px 28px rgba(0,0,0,.07);
  height:100%;
  display:flex;
  flex-direction:column;
  transition:transform .25s ease, box-shadow .25s ease;
}

.quiz-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0,0,0,.12);
}

.quiz-card img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition: transform .4s ease;
}

.quiz-card:hover img{
  transform: scale(1.05);
}

.quiz-card .body{
  padding:1rem 1rem 1.25rem;
  flex:1 1 auto;
}

.quiz-card .title{
  font-weight:700;
  font-size:1.05rem;
  margin:0 0 .5rem;
}

.quiz-card .meta{
  color:#6c8c8c;
  font-size:.9rem;
}

.quiz-img-link{
  display:block;
  overflow:hidden;
}
.quiz-img-link:hover{ text-decoration:none; }

/* 「點我開始」按鈕（quiz 專用） */
.quiz-btn{
  display:block;
  width:100%;
  text-align:center;

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

  font-size:15px;
  font-weight:500;
  letter-spacing:.5px;

  color:#186754;
  background:#f3f8f6;
  border:1px solid rgba(24, 103, 84, 0.25);

  transition: all .25s ease;
}

.quiz-btn:hover{
  background:#186754;
  color:#fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(24, 103, 84, 0.25);
  text-decoration:none;
}

/* 卡片 hover → 按鈕一起亮 */
.quiz-card:hover .quiz-btn{
  background:#186754;
  color:#fff;
  border-color:#186754;
  box-shadow: 0 6px 16px rgba(24, 103, 84, 0.25);
}

/* 底部大按鈕（查看更多互動） */
.quiz-main-btn{
  width:100%;
  max-width:520px;
  margin:0 auto;
  display:block;
  border-radius:8px;
  font-size:1.05rem;
  padding:0.85rem 1.5rem;

  transition: transform .20s ease, box-shadow .20s ease, filter .20s ease;
  will-change: transform;
}
.quiz-main-btn:hover{
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0,0,0,.14);
  filter: brightness(1.04);
}
.quiz-main-btn:active{
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0,0,0,.12);
}
@media (max-width: 768px){
  .quiz-btn{ padding:14px 18px; font-size:16px; }
}
@media (prefers-reduced-motion: reduce){
  .quiz-card, .quiz-btn, .quiz-main-btn{ transition:none; }
  .quiz-card:hover{ transform:none; box-shadow:0 10px 28px rgba(0,0,0,.07); }
  .quiz-card:hover img{ transform:none; }
  .quiz-btn:hover, .quiz-main-btn:hover{ transform:none; box-shadow:none; filter:none; }
}


/* =========================
   Summernote 文章內：心理測驗 + 分享文案區塊
========================= */
.sn-quiz{ border:1px solid rgba(0,0,0,.10); border-radius:16px; padding:16px; margin:16px 0; background:#fff; }
.sn-quiz__opts{ display:flex; flex-direction:column; gap:10px; margin-top:10px; }
.sn-quiz__opt{
  text-align:left; width:100%;
  border:1px solid rgba(0,0,0,.12);
  border-radius:14px; padding:12px 12px;
  background:#fff; cursor:pointer;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.sn-quiz__opt:hover{ transform: translateY(-1px); box-shadow: 0 8px 18px rgba(0,0,0,.08); }
.sn-quiz__opt.is-active{ border-color: rgba(0,0,0,.30); box-shadow: 0 10px 24px rgba(0,0,0,.10); }

.sn-quiz__key{ display:inline-flex; align-items:center; justify-content:center; min-width:28px; height:28px; border-radius:10px; border:1px solid rgba(0,0,0,.18); margin-right:8px; font-weight:700; }
.sn-quiz__results{ margin-top:14px; padding-top:14px; border-top:1px dashed rgba(0,0,0,.15); }

/* 分享文案（結果頁下方） */
.quiz-share{
  margin-top:18px;
  padding:16px;
  border:1px solid rgba(0,0,0,.10);
  border-radius:14px;
  background: rgba(0,0,0,.02);
}
.quiz-share__title{ font-weight:700; margin-bottom:10px; line-height:1.5; }
.quiz-share__auto{
  font-size:15px;
  line-height:1.7;
  margin-bottom:12px;
  white-space:pre-line;
  opacity:.92;
}
.quiz-share__actions{ display:flex; gap:10px; flex-wrap:wrap; }

.quiz-share-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:12px;
  border:1px solid rgba(0,0,0,.16);
  background:#fff;
  cursor:pointer;
  text-decoration:none;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}
.quiz-share-btn:hover{
  transform: translateY(-1px);
  background-color: rgba(0,0,0,.04);
  border-color: rgba(0,0,0,.24);
}


/* ====== Quiz Share buttons (IG) ====== */
.quiz-share .quiz-share-btn.ig{
  color:#fff;
  border:0;
  background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af, #515bd4);
}
.quiz-share .quiz-share-btn.ig:hover{
  filter: brightness(1.03);
}


/* quiz-share buttons: copy / copylink / line / fb / ig */
.quiz-share-btn.copylink{ }
.quiz-share-btn.ig{ }

/* ===============================
   Toast（取代 alert / confirm）
=============================== */
.toast-wrap{
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: min(92vw, 520px);
  pointer-events: none;
}

.toast-msg{
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  padding: 10px 12px;
  border-radius: 12px;

  background: rgba(0,0,0,.82);
  color: #fff;

  box-shadow: 0 10px 28px rgba(0,0,0,.25);
  backdrop-filter: blur(6px);

  animation: toastIn .18s ease both;
}

.toast-text{
  font-size: .95rem;
  line-height: 1.35;
}

.toast-action{
  appearance: none;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.15);
  color: #fff;
  border-radius: 9999px;
  padding: .38rem .75rem;
  font-weight: 700;
  font-size: .86rem;
  cursor: pointer;
  transition: transform .16s ease, filter .16s ease;
}

.toast-action:hover{
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.toast-close{
  appearance: none;
  border: 0;
  background: rgba(255,255,255,.15);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}

.toast-out{
  animation: toastOut .18s ease both;
}

@keyframes toastIn{
  from{opacity:0; transform: translateY(8px);}
  to{opacity:1; transform: translateY(0);}
}

@keyframes toastOut{
  from{opacity:1; transform: translateY(0);}
  to{opacity:0; transform: translateY(8px);}
}

@media (prefers-reduced-motion: reduce){
  .toast-msg{animation:none;}
  .toast-out{animation:none;}
  .toast-action{transition:none;}
}

/* Header Nav */
.navbar { z-index: 999; }
.navbar-nav .nav-link { font-weight: 500; margin-left: 10px; }
.navbar .btn { border-radius: 20px; }

/* Footer */
.footer a { color: #333; margin: 0 8px; text-decoration: none; }
.footer a:hover { text-decoration: underline; }

/* ===== Header Navigation ===== */
.fudeki-topnav{
  position: sticky;
  top: 0;
  z-index: 1030;
}

html{
  scroll-padding-top: 90px;
}

.fudeki-topnav .navbar-brand{
  font-weight: 800;
}

.fudeki-topnav .nav-link{
  font-weight: 500;
}

.fudeki-topnav .dropdown-menu{
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}

.fudeki-topnav .dropdown-item{
  white-space: nowrap;
}

/* 手機版：避免超出畫面 */
@media (max-width: 991.98px){
  .fudeki-topnav .dropdown-menu{
    min-width: 100%;
    max-width: 100%;
    width: 100%;
  }

  .fudeki-topnav .dropdown-item{
    white-space: normal;
    word-break: break-word;
    overflow-wrap: break-word;
    line-height: 1.5;
  }
}

/* ===== Footer nav ===== */
.footer-nav{
  border-top: 1px solid rgba(255,255,255,.14);
  padding-top: 1rem;
}

.footer-nav a{
  color: rgba(255,255,255,.92);
  text-decoration: none;
  font-weight: 500;
}

.footer-nav a:hover,
.footer-nav a:focus{
  color: #ffffff;
  text-decoration: underline;
}

.footer #contactPhone{
  color: rgba(255,255,255,.92);
}

.footer #contactPhone:hover,
.footer #contactPhone:focus{
  color: #ffffff;
}



/* ===== Loan entry block ===== */
.loan-entry-section{padding-top:16px;}
.loan-entry-card{
  background:linear-gradient(135deg,#f5f9ff 0%,#ffffff 100%);
  border:1px solid rgba(40,93,179,.12);
  border-radius:24px;
  padding:32px;
  box-shadow:0 12px 32px rgba(15,23,42,.06);
}
.loan-entry-badge{
  display:inline-block;
  margin-bottom:12px;
  padding:6px 12px;
  border-radius:999px;
  background:#eef4ff;
  color:#2c5fb8;
  font-weight:700;
  font-size:.92rem;
}

/* ===== Loan calculator ===== */
.loan-page{background:#f4f8f7;}
.loan-hero{padding:42px 0 24px;}
.loan-shell{max-width:1160px;margin:0 auto;}
.loan-card,.loan-note-card,.loan-tips-card,.loan-faq-card{
  background:#fff;
  border:1px solid rgba(3,51,51,.09);
  border-radius:24px;
  box-shadow:0 12px 32px rgba(3,51,51,.06);
}
.loan-card{padding:28px;}
.loan-note-card,.loan-tips-card,.loan-faq-card{padding:24px;}
.loan-hero-panel{
  background:linear-gradient(135deg,#f7fbfb 0%,#eef7f5 100%);
  border:1px solid rgba(0,150,136,.14);
  border-radius:28px;
  padding:34px;
  box-shadow:0 12px 30px rgba(3,51,51,.05);
}
.loan-hero-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-bottom:14px;
  padding:7px 14px;
  border-radius:999px;
  background:rgba(0,150,136,.10);
  color:#006b61;
  font-weight:800;
  font-size:.92rem;
}
.loan-hero-title{font-size:clamp(2rem,4vw,2.2rem);font-weight:800;line-height:1.18;margin-bottom:14px;color:#033333;max-width:760px;}
.loan-hero-sub{font-size:1.05rem;color:#46605f;max-width:820px;line-height:1.9;}
.loan-highlight-list{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px;}
.loan-highlight-item{background:#fff;border:1px solid rgba(0,150,136,.18);border-radius:999px;padding:8px 14px;font-weight:700;color:#006b61;}
.loan-note-card-soft{background:rgba(255,255,255,.82);backdrop-filter:blur(4px);}

.loan-live-card{
  margin-top:20px;
  background:#fff;
  border:1px solid rgba(0,150,136,.16);
  border-radius:22px;
  padding:20px 22px;
  box-shadow:0 10px 24px rgba(3,51,51,.06);
  max-width:520px;
}
.loan-live-label{
  font-size:1rem;
  font-weight:800;
  color:#006b61;
  margin-bottom:6px;
}
.loan-live-value{
  font-size:clamp(2.15rem,5vw,3.4rem);
  line-height:1.05;
  font-weight:800;
  color:#033333;
  letter-spacing:-.02em;
}
.loan-live-caption{
  margin-top:8px;
  color:#5d6f6d;
  font-size:.95rem;
  line-height:1.7;
}
.loan-live-side{
  margin-top:14px;
  padding-top:14px;
  border-top:1px solid rgba(0,150,136,.12);
}
.loan-live-side-label{
  font-size:.86rem;
  color:#6b7d7b;
  margin-bottom:4px;
}
.loan-live-side-value{
  font-size:1rem;
  font-weight:700;
  color:#214240;
}
.loan-live-note{
  margin-top:12px;
  font-size:1rem;
  line-height:1.8;
  color:#244846;
}
.loan-live-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:16px;
}
.loan-form-label{font-weight:700;color:#24324a;margin-bottom:8px;}
.loan-form-text{color:#6b7280;font-size:.92rem;margin-top:6px;}
.loan-result-top{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:16px;}
.loan-result-title{font-size:1.25rem;font-weight:800;color:#033333;margin-bottom:4px;}
.loan-result-sub{color:#6b7280;margin:0;}
.loan-method-badge{display:inline-flex;align-items:center;gap:6px;padding:8px 12px;border-radius:999px;background:rgba(0,150,136,.10);color:#006b61;font-weight:700;}
.loan-result-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:18px;}
.loan-result-box{border:1px solid rgba(15,23,42,.08);border-radius:20px;padding:18px;background:#fbfdff;}
.loan-result-label{font-size:.92rem;color:#6b7280;margin-bottom:8px;}
.loan-result-value{font-size:clamp(1.35rem,3vw,2rem);font-weight:800;color:#033333;line-height:1.2;}
.loan-result-box.featured{background:linear-gradient(135deg,#2c5fb8 0%,#3d74d9 100%);border-color:transparent;}
.loan-result-box.featured .loan-result-label,.loan-result-box.featured .loan-result-value{color:#fff;}
.loan-schedule-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:22px 0 10px;}
.loan-schedule-table-wrap{overflow:auto;border:1px solid rgba(15,23,42,.08);border-radius:18px;}
.table-loan{margin-bottom:0;min-width:640px;}
.table-loan thead th{background:#f4f7fb;color:#344256;font-weight:700;font-size:.95rem;border-bottom:1px solid rgba(15,23,42,.08);}
.table-loan td{vertical-align:middle;color:#334155;}
.loan-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:18px;}
.loan-kpi{padding:16px;border-radius:18px;background:#f7f9fc;border:1px solid rgba(15,23,42,.06);}
.loan-kpi-label{font-size:.9rem;color:#6b7280;margin-bottom:8px;}
.loan-kpi-value{font-size:1.1rem;font-weight:800;color:#033333;}
.loan-cta-row{display:flex;flex-wrap:wrap;gap:12px;margin-top:20px;}
.loan-disclaimer{font-size:.92rem;color:#6b7280;margin-top:18px;line-height:1.7;}
.loan-presets{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px;}
.loan-preset-btn{border-radius:999px;border-color:rgba(0,150,136,.35);color:#006b61;}
.loan-preset-btn:hover,.loan-preset-btn:focus{background:#009688;border-color:#009688;color:#fff;}
.loan-tip-list,.loan-faq-list{margin:0;padding-left:1.15rem;color:#425b5b;line-height:1.8;}
.loan-small{font-size:.92rem;color:#5b6b6b;}
@media (max-width: 991.98px){
  .loan-result-grid,.loan-kpis{grid-template-columns:1fr;}
}
@media (max-width: 767.98px){
  .loan-card,.loan-note-card,.loan-tips-card,.loan-faq-card,.loan-entry-card,.loan-hero-panel{padding:20px;}
  .loan-result-top,.loan-schedule-head{flex-direction:column;align-items:flex-start;}
}

@media (max-width: 767.98px){
  .loan-live-card{padding:18px;}
  .loan-live-side{width:100%;min-width:0;}
  .loan-live-actions .btn{width:100%;}
  .loan-live-value{font-size:2.4rem;}
}


/* ===== Loan lead modal ===== */
.loan-precise-cta{min-width:260px;}
.loan-modal{border:0;border-radius:24px;overflow:hidden;box-shadow:0 18px 42px rgba(3,51,51,.18);}
.loan-modal .modal-header,.loan-modal .modal-body{padding-left:24px;padding-right:24px;}
.loan-modal-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-bottom:10px;
  padding:6px 12px;
  border-radius:999px;
  background:rgba(0,150,136,.10);
  color:#006b61;
  font-weight:800;
  font-size:.88rem;
}
.loan-modal-sub{color:#5e7271;line-height:1.8;}
.loan-gender-group{display:flex;gap:10px;flex-wrap:wrap;}
.loan-gender-group .form-check{min-width:120px;background:#fff;}
.loan-policy-text{font-size:.92rem;line-height:1.7;color:#5b6b6b;}
.loan-policy-text a{font-weight:700;color:#006b61;text-decoration:none;}
.loan-policy-text a:hover{text-decoration:underline;}
.loan-form-alert{border-radius:16px;}
.loan-form-success{
  text-align:center;
  padding:24px 8px 10px;
}
.loan-form-success-icon{
  width:64px;
  height:64px;
  margin:0 auto 14px;
  border-radius:50%;
  background:rgba(0,150,136,.12);
  color:#006b61;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:1.8rem;
  font-weight:800;
}
@media (max-width: 767.98px){
  .loan-precise-cta{width:100%;}
  .loan-gender-group .form-check{width:100%;}
}
