:root{
  --ink:#12233D;
  --ink-soft:#3C4C63;
  --paper:#EFF2F1;
  --card:#FFFFFF;
  --amber:#D4A017;
  --amber-deep:#8A6608;
  --green:#1F8A70;
  --green-deep:#0F4F41;
  --line:#D7DBD3;
  --line-soft:#E5E8E1;
  --radius:14px;
}
*{box-sizing:border-box;}
body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:'IBM Plex Sans Thai','Sarabun',sans-serif;
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,.display{
  font-family:'Kanit','IBM Plex Sans Thai',sans-serif;
  font-weight:600;
  line-height:1.25;
  margin:0;
  color:var(--ink);
}
.mono{ font-family:'IBM Plex Mono',monospace; }
a{ color:inherit; text-decoration:none; }
.wrap{ max-width:1120px; margin:0 auto; padding:0 24px; }
section{ padding:88px 0; }
@media (max-width:720px){ section{ padding:56px 0; } }

/* ---------- header ---------- */
header{
  position:sticky; top:0; z-index:50;
  background:rgba(239,242,241,0.92);
  backdrop-filter:blur(8px);
  border-bottom:1px solid var(--line);
}
.nav{ display:flex; align-items:center; justify-content:space-between; padding:18px 24px; max-width:1120px; margin:0 auto; }
.logo{ font-family:'Kanit',sans-serif; font-weight:700; font-size:20px; letter-spacing:0.2px; }
.logo span{ color:var(--amber-deep); }
.navlinks{ display:flex; gap:32px; font-size:15px; color:var(--ink-soft); }
.navlinks a:hover{ color:var(--ink); }
.navlinks a.active{ color:var(--ink); font-weight:600; }
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:12px 22px; border-radius:999px; font-size:15px; font-weight:600;
  cursor:pointer; border:1.5px solid transparent; transition:transform .15s ease;
}
.btn:active{ transform:scale(0.97); }
.btn-primary{ background:var(--ink); color:#fff; }
.btn-primary:hover{ background:#0A1B30; }
.btn-ghost{ background:transparent; border-color:var(--ink); color:var(--ink); }
.btn-amber{ background:var(--amber); color:#3A2B04; }
@media (max-width:860px){ .navlinks{ display:none; } }

/* ---------- breadcrumb ---------- */
.breadcrumb{ font-size:13px; color:var(--ink-soft); padding:28px 0 0; }
.breadcrumb a:hover{ color:var(--ink); }
.breadcrumb .sep{ margin:0 8px; color:var(--line); }

/* ---------- page hero (subpages) ---------- */
.page-hero{ padding:24px 0 56px; }
.page-hero .kicker{ font-size:20px; font-weight:800; color:var(--amber-deep); letter-spacing:0.4px; text-transform:uppercase; margin-bottom:12px; display:block; }
.page-hero h1{ font-size:38px; letter-spacing:-0.4px; max-width:680px; }
@media (max-width:640px){ .page-hero h1{ font-size:28px; } }
.page-hero p.lead{ font-size:17px; color:var(--ink-soft); margin-top:16px; max-width:600px; }

/* ---------- generic section head ---------- */
.section-head{ max-width:620px; margin-bottom:48px; }
.section-head .kicker{ font-size:20px; font-weight:600; color:var(--amber-deep); letter-spacing:0.4px; text-transform:uppercase; margin-bottom:10px; display:block; }
.section-head h2{ font-size:32px; }
@media (max-width:640px){ .section-head h2{ font-size:26px; } }
.section-head p{ color:var(--ink-soft); margin-top:14px; font-size:16px; }

/* ---------- hero (home) ---------- */
.hero{ padding-top:64px; padding-bottom:0; }
.hero-grid{ display:grid; grid-template-columns:1.1fr 0.9fr; gap:56px; align-items:start; }
@media (max-width:900px){ .hero-grid{ grid-template-columns:1fr; } }
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size:13px; font-weight:600; color:var(--green-deep);
  background:#E1EFE9; border:1px solid #C4DED3; padding:6px 14px; border-radius:999px;
  margin-bottom:22px;
}
.eyebrow::before{ content:"●"; color:var(--green); font-size:8px; }
.hero h1{ font-size:46px; letter-spacing:-0.5px; }
@media (max-width:640px){ .hero h1{ font-size:32px; } }
.hero p.lead{ font-size:18px; color:var(--ink-soft); margin-top:20px; max-width:520px; }
.hero-actions{ display:flex; gap:14px; margin-top:32px; flex-wrap:wrap; }
.trustrow{ display:flex; gap:28px; margin-top:44px; flex-wrap:wrap; }
.trustitem{ display:flex; flex-direction:column; }
.trustitem .num{ font-family:'IBM Plex Mono',monospace; font-size:22px; font-weight:600; color:var(--ink); }
.trustitem .lbl{ font-size:13px; color:var(--ink-soft); }

/* quote card - the "transparent receipt" signature */
.quote-card{
  background:var(--card); border-radius:var(--radius); border:1px solid var(--line);
  padding:28px; position:relative;
}
.quote-card::before{
  content:""; position:absolute; left:-10px; top:96px; width:20px; height:20px;
  background:var(--paper); border-radius:50%; border:1px solid var(--line); border-right:none;
}
.quote-card::after{
  content:""; position:absolute; right:-10px; top:96px; width:20px; height:20px;
  background:var(--paper); border-radius:50%; border:1px solid var(--line); border-left:none;
}
.quote-card .qhead{ display:flex; justify-content:space-between; align-items:center; margin-bottom:6px; }
.quote-card .qtitle{ font-family:'Kanit',sans-serif; font-weight:600; font-size:16px; }
.quote-card .qtag{ font-size:12px; color:var(--amber-deep); background:#FBF1DA; padding:4px 10px; border-radius:999px; font-weight:600; }
.quote-card .qsub{ font-size:13px; color:var(--ink-soft); margin-bottom:20px; }
.field{ margin-bottom:14px; }
.field label{ display:block; font-size:13px; color:var(--ink-soft); margin-bottom:6px; }
.field input, .field select{
  width:100%; padding:11px 14px; border-radius:8px; border:1px solid var(--line);
  background:#FBFCFB; font-size:15px; font-family:inherit; color:var(--ink);
}
.field input:focus, .field select:focus{ outline:2px solid var(--green); outline-offset:1px; border-color:var(--green); }
.field-row{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.tear{ border-top:1px dashed var(--line); margin:20px 0; position:relative; }
.quote-total{ display:flex; justify-content:space-between; align-items:baseline; margin-bottom:18px; }
.quote-total .l{ font-size:13px; color:var(--ink-soft); }
.quote-total .v{ font-family:'IBM Plex Mono',monospace; font-size:13px; color:var(--ink-soft); }

/* ---------- value props ---------- */
.props-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:var(--line); border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; }
@media (max-width:860px){ .props-grid{ grid-template-columns:repeat(2,1fr); } }
.prop-cell{ background:var(--card); padding:32px 26px; }
.prop-cell .icon{ width:38px; height:38px; border-radius:10px; background:#E1EFE9; color:var(--green-deep); display:flex; align-items:center; justify-content:center; font-family:'IBM Plex Mono',monospace; font-weight:600; margin-bottom:18px; }
.prop-cell h3{ font-size:17px; margin-bottom:8px; }
.prop-cell p{ font-size:14px; color:var(--ink-soft); margin:0; }

/* ---------- plans (dark band + cards, used on home & plans hub) ---------- */
.plans{ background:var(--ink); color:#EDEFF3; }
.plans .section-head h2{ color:#fff; }
.plans .section-head p{ color:#B7C0CE; }
.plans .kicker{ color:var(--amber); }
.plan-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
@media (max-width:900px){ .plan-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .plan-grid{ grid-template-columns:1fr; } }
.plan-card{ background:#1A2C48; border:1px solid #2A3D5C; border-radius:var(--radius); padding:26px 22px; display:flex; flex-direction:column; }
.plan-card.reco{ border-color:var(--amber); background:#20325A; }
.plan-badge{ font-size:11px; font-weight:600; color:#3A2B04; background:var(--amber); align-self:flex-start; padding:4px 10px; border-radius:999px; margin-bottom:14px; }
.plan-card h3{ color:#fff; font-size:19px; margin-bottom:6px; }
.plan-card .fit{ font-size:13px; color:#9FADC2; margin-bottom:18px; min-height:40px; }
.plan-card ul{ list-style:none; margin:0 0 22px; padding:0; font-size:13px; color:#D5DAE3; }
.plan-card ul li{ padding:6px 0; border-top:1px solid #2A3D5C; }
.plan-card ul li:first-child{ border-top:none; }
.plan-card a{ margin-top:auto; text-align:center; padding:11px; border-radius:8px; border:1px solid #45577A; font-size:14px; font-weight:600; color:#fff; }
.plan-card.reco a{ background:var(--amber); border-color:var(--amber); color:#3A2B04; }

/* ---------- plan detail page ---------- */
.detail-grid{ display:grid; grid-template-columns:1.3fr 0.7fr; gap:48px; align-items:start; }
@media (max-width:860px){ .detail-grid{ grid-template-columns:1fr; } }
.detail-block{ background:var(--card); border:1px solid var(--line); border-radius:var(--radius); padding:28px; margin-bottom:20px; }
.detail-block h3{ font-size:18px; margin-bottom:14px; }
.detail-block ul{ margin:0; padding-left:20px; color:var(--ink-soft); font-size:15px; }
.detail-block ul li{ margin-bottom:10px; }
.side-card{ background:var(--card); border:1px solid var(--line); border-radius:var(--radius); padding:24px; position:sticky; top:100px; }
.side-card .price-tag{ font-family:'IBM Plex Mono',monospace; font-size:26px; font-weight:600; color:var(--green-deep); margin-bottom:4px; }
.side-card .price-note{ font-size:12px; color:var(--ink-soft); margin-bottom:20px; }
.other-plans{ display:flex; flex-direction:column; gap:8px; margin-top:20px; }
.other-plans a{ font-size:13px; padding:9px 12px; border:1px solid var(--line); border-radius:8px; color:var(--ink-soft); }
.other-plans a:hover{ border-color:var(--ink); color:var(--ink); }

/* ---------- steps ---------- */
.steps{ display:grid; grid-template-columns:repeat(3,1fr); gap:36px; }
@media (max-width:760px){ .steps{ grid-template-columns:1fr; } }
.step{ position:relative; padding-top:8px; }
.step .n{ font-family:'IBM Plex Mono',monospace; font-size:13px; color:var(--amber-deep); font-weight:600; margin-bottom:14px; }
.step h3{ font-size:19px; margin-bottom:10px; }
.step p{ color:var(--ink-soft); font-size:15px; margin:0; }
.step-line{ position:absolute; top:12px; left:56px; right:-36px; height:1px; background:var(--line); }
@media (max-width:760px){ .step-line{ display:none; } }

/* ---------- transparency showcase ---------- */
.receipt-wrap{ display:grid; grid-template-columns:0.9fr 1.1fr; gap:56px; align-items:center; }
@media (max-width:900px){ .receipt-wrap{ grid-template-columns:1fr; } }
.receipt{ background:var(--card); border-radius:var(--radius); border:1px solid var(--line); padding:0; overflow:hidden; box-shadow:0 1px 0 var(--line); }
.receipt-head{ padding:22px 26px; border-bottom:1px dashed var(--line); }
.receipt-head .t{ font-family:'Kanit',sans-serif; font-weight:600; font-size:15px; }
.receipt-head .s{ font-size:12px; color:var(--ink-soft); margin-top:4px; }
.receipt-row{ display:flex; justify-content:space-between; padding:16px 26px; border-bottom:1px solid var(--line-soft); font-size:14px; }
.receipt-row .co{ font-weight:500; }
.receipt-row .meta{ font-size:12px; color:var(--ink-soft); margin-top:3px; }
.receipt-row .price{ font-family:'IBM Plex Mono',monospace; font-weight:600; text-align:right; }
.receipt-row.best{ background:#F4F9F2; }
.receipt-row.best .price{ color:var(--green-deep); }
.receipt-foot{ padding:16px 26px; font-size:12px; color:var(--ink-soft); }

/* ---------- testimonials ---------- */
.testi-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
@media (max-width:860px){ .testi-grid{ grid-template-columns:1fr; } }
.testi{ background:var(--card); border:1px solid var(--line); border-radius:var(--radius); padding:26px; }
.testi p.quote{ font-size:15px; color:var(--ink); margin-bottom:20px; }
.testi .who{ display:flex; align-items:center; gap:12px; }
.avatar{ width:36px; height:36px; border-radius:50%; background:#E1EFE9; color:var(--green-deep); display:flex; align-items:center; justify-content:center; font-weight:600; font-size:13px; font-family:'Kanit',sans-serif; }
.who .name{ font-size:14px; font-weight:600; }
.who .car{ font-size:12px; color:var(--ink-soft); }

/* ---------- faq ---------- */
.faq-item{ border-top:1px solid var(--line); }
.faq-item:last-child{ border-bottom:1px solid var(--line); }
.faq-q{ display:flex; justify-content:space-between; align-items:center; padding:22px 4px; cursor:pointer; font-family:'Kanit',sans-serif; font-weight:500; font-size:16px; }
.faq-q .plus{ font-family:'IBM Plex Mono',monospace; font-size:18px; color:var(--ink-soft); transition:transform .2s ease; }
.faq-item.open .faq-q .plus{ transform:rotate(45deg); }
.faq-a{ max-height:0; overflow:hidden; transition:max-height .25s ease; }
.faq-item.open .faq-a{ max-height:200px; }
.faq-a p{ padding:0 4px 22px; color:var(--ink-soft); font-size:15px; max-width:640px; }

/* ---------- about page ---------- */
.value-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
@media (max-width:860px){ .value-grid{ grid-template-columns:1fr; } }
.value-card{ background:var(--card); border:1px solid var(--line); border-radius:var(--radius); padding:26px; }
.value-card h3{ font-size:17px; margin-bottom:8px; }
.value-card p{ font-size:14px; color:var(--ink-soft); margin:0; }
.stat-row{ display:flex; gap:48px; flex-wrap:wrap; margin-top:8px; }
.stat-row .num{ font-family:'IBM Plex Mono',monospace; font-size:32px; font-weight:600; color:var(--ink); }
.stat-row .lbl{ font-size:13px; color:var(--ink-soft); margin-top:4px; }

/* ---------- blog hub ---------- */
.article-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
@media (max-width:860px){ .article-grid{ grid-template-columns:1fr; } }
.article-card{ background:var(--card); border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; display:flex; flex-direction:column; }
.article-thumb{ height:150px; background:linear-gradient(135deg,#E1EFE9,#F4F9F2); display:flex; align-items:center; justify-content:center; font-family:'IBM Plex Mono',monospace; font-size:12px; color:var(--green-deep); font-weight:600; letter-spacing:0.4px; }
.article-body{ padding:22px; display:flex; flex-direction:column; flex:1; }
.article-tag{ font-size:11px; font-weight:600; color:var(--amber-deep); text-transform:uppercase; letter-spacing:0.3px; margin-bottom:10px; }
.article-body h3{ font-size:17px; margin-bottom:10px; }
.article-body p{ font-size:14px; color:var(--ink-soft); margin:0 0 16px; flex:1; }
.article-meta{ font-size:12px; color:var(--ink-soft); }

/* ---------- article page ---------- */
.article-hero{ max-width:720px; margin:0 auto; text-align:left; }
.article-content{ max-width:720px; margin:0 auto; font-size:16px; color:var(--ink); }
.article-content h2{ font-size:22px; margin-top:40px; margin-bottom:14px; }
.article-content p{ margin:0 0 18px; color:var(--ink-soft); }
.article-content ul{ color:var(--ink-soft); padding-left:20px; margin-bottom:18px; }
.article-content ul li{ margin-bottom:8px; }
.article-cta{ background:#E1EFE9; border-radius:var(--radius); padding:28px; margin-top:40px; text-align:center; }

/* ---------- final cta band ---------- */
.cta-band{ background:#E1EFE9; border-radius:20px; padding:56px; text-align:center; }
@media (max-width:640px){ .cta-band{ padding:36px 24px; } }
.cta-band h2{ font-size:30px; margin-bottom:14px; }
.cta-band p{ color:var(--ink-soft); margin-bottom:28px; font-size:16px; }

/* ---------- footer ---------- */
footer{ border-top:1px solid var(--line); padding:56px 0 32px; }
.foot-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:32px; margin-bottom:40px; }
@media (max-width:760px){ .foot-grid{ grid-template-columns:1fr 1fr; } }
.foot-col h4{ font-size:13px; color:var(--ink-soft); margin-bottom:14px; font-weight:600; text-transform:uppercase; letter-spacing:0.3px; }
.foot-col a{ display:block; font-size:14px; color:var(--ink); margin-bottom:10px; }
.foot-col a:hover{ color:var(--green-deep); }
.foot-legal{ font-size:12px; color:var(--ink-soft); border-top:1px solid var(--line); padding-top:24px; line-height:1.8; }

/* ข้อมูลผู้ให้บริการเว็บไซต์ */
.official-disclaimer {
  margin-top: 28px;
  padding: 18px 20px;
  border: 1px solid #d7e3f2;
  border-left: 4px solid #ff8a00;
  border-radius: 12px;
  background: #f4f8fd;
  color: #3f526d;
  font-size: 13px;
  line-height: 1.7;
}
.official-disclaimer strong { color: #0c2344; }
.official-disclaimer p { margin: 4px 0 0; }
.official-disclaimer a {
  color: #174fbf;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.official-disclaimer a:hover { color: #d96b00; }
.hero {
  background-image:
    linear-gradient(
      rgba(239, 244, 242, 0.68),
      rgba(239, 244, 242, 0.68)
    ),
    url("hero_bg.webp");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.insurance-partners {
  padding: 45px 0;
  overflow: hidden;
  background: #fff;
}

.insurance-partners h2 {
  margin: 0 20px 35px;
  text-align: center;
  color: #030f25;
  font-size: 24px;
}

.insurance-slider {
  width: 100%;
  overflow: hidden;
}

.insurance-track {
  display: flex;
  width: max-content;
  animation: insurance-scroll 45s linear infinite;
  will-change: transform;
}

.insurance-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 2px;
  padding-right: 8px;
}

.insurance-group img {
  width: 220px;
  height: 140px;
  object-fit: contain;
  flex-shrink: 0;
}

.insurance-slider:hover .insurance-track {
  animation-play-state: paused;
}

@keyframes insurance-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .insurance-partners {
    padding: 35px 0;
  }

  .insurance-partners h2 {
    font-size: 19px;
    margin-bottom: 25px;
  }

  .insurance-track {
    animation-duration: 35s;
  }

  .insurance-group {
    gap: 6px;
    padding-right: 6px;
  }

  .insurance-group img {
    width: 110px;
    height: 70px;
  }
}
/* ===== Top contact bar ===== */

.top-contact {
  width: 100%;
  background: #0c2344;
  color: #ffffff;
  font-size: 14px;
}

.top-contact-inner {
  max-width: 1400px;
  min-height: 38px;
  margin: 0 auto;
  padding: 6px 24px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.contact-message {
  color: #ffffff;
  font-weight: 500;
}

.contact-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.phone-link {
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.phone-link:hover {
  color: #ffbf00;
}

.line-button {
  padding: 5px 14px;
  border-radius: 999px;

  background: #06c755;
  color: #ffffff;

  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;

  transition: 0.2s ease;
}
.agent-hero {
  background:
    linear-gradient(
      rgba(247, 250, 249, 0.78),
      rgba(247, 250, 249, 0.78)
    ),
    url("./group5_sit.JPG");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.line-button:hover {
  background: #05a847;
  transform: translateY(-1px);
}

/* มือถือ */
@media (max-width: 768px) {
  .top-contact-inner {
    min-height: 36px;
    justify-content: center;
    padding: 5px 12px;
  }

  .contact-message {
    display: none;
  }

  .contact-actions {
    gap: 10px;
  }

  .phone-link,
  .line-button {
    font-size: 12px;
  }

  .line-button {
    padding: 5px 11px;
  }

  .official-disclaimer {
    margin-top: 22px;
    padding: 15px 16px;
    font-size: 12px;
  }
}
.line-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.line-button i {
  font-size: 25px;
  line-height: 1;
}
