.hero2 h1{font-size:clamp(38px,5.6vw,72px);margin-top:16px;letter-spacing:-.03em;max-width:16ch}
.hero2 h1 em{font-style:normal;color:var(--green-lift)}
.hero2-sub{margin-top:26px;font-size:clamp(16px,1.6vw,19px);color:rgba(238,241,236,.74);max-width:58ch;line-height:1.85}
.hero2-cta{display:flex;flex-wrap:wrap;gap:14px;margin:34px 0 64px}

.trust{
  border:1px solid rgba(238,241,236,.16);border-radius:4px;
  background:linear-gradient(180deg,rgba(26,70,48,.55),rgba(18,48,33,.25));
  padding:26px;margin-bottom:64px;
}
.trust p:first-child{font-family:var(--mono);font-size:10.5px;letter-spacing:.18em;text-transform:uppercase;color:rgba(238,241,236,.5)}
.trust strong{display:block;font-family:var(--display);font-weight:700;font-size:26px;line-height:1.3;margin-top:12px;color:var(--white)}
.trust span{display:block;font-size:14px;color:rgba(238,241,236,.6);margin-top:10px;line-height:1.7}

/* legal callout */
.legal{
  background:var(--navy);border-left:4px solid var(--green);
  padding:34px 36px;border-radius:4px;
  display:grid;grid-template-columns:auto 1fr;gap:26px;align-items:start;
}
.legal-code{
  font-family:var(--mono);font-size:12px;letter-spacing:.12em;
  color:var(--green-lift);white-space:nowrap;padding-top:5px;
}
.legal h2{font-size:24px;letter-spacing:-.02em;margin-bottom:12px}
.legal p{font-size:16px;line-height:1.85;color:rgba(238,241,236,.76);max-width:74ch}

/* channel cards */
.ch-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:18px}
.ch{
  background:var(--white);border:1px solid var(--rule);border-radius:4px;
  padding:28px 26px;transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease;
}
.ch:hover{transform:translateY(-4px);border-color:var(--green);box-shadow:0 16px 40px -22px rgba(18,48,33,.45)}
.ch-ico{
  width:40px;height:40px;border-radius:3px;background:var(--paper-2);
  display:grid;place-items:center;color:var(--green);margin-bottom:16px;
}
.ch-ico svg{width:21px;height:21px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.ch h3{font-size:20px;letter-spacing:-.02em;margin-bottom:9px}
.ch p{font-size:14.5px;line-height:1.75;color:rgba(18,48,33,.72)}

/* document checklist */
.docs{display:grid;grid-template-columns:1fr 1fr;gap:0 48px}
.docs-col h3{font-size:19px;margin-bottom:6px;letter-spacing:-.015em}
.docs ul{list-style:none;margin-top:14px}
.docs li{
  padding:14px 0 14px 28px;border-bottom:1px solid rgba(238,241,236,.11);
  font-size:15.5px;line-height:1.65;color:rgba(238,241,236,.8);position:relative;
}
.docs li::before{content:"";position:absolute;left:2px;top:23px;width:13px;border-top:1px solid var(--green)}

/* timeline */
.tl{position:relative;margin-top:8px;padding-left:26px}
.tl::before{content:"";position:absolute;left:3px;top:10px;bottom:10px;width:1px;background:rgba(238,241,236,.2)}
.tl-item{position:relative;padding:0 0 34px}
.tl-item::before{
  content:"";position:absolute;left:-26px;top:8px;width:9px;height:9px;border-radius:50%;
  background:var(--green);box-shadow:0 0 0 4px var(--ink);
}
.tl-when{font-family:var(--mono);font-size:11.5px;letter-spacing:.12em;color:var(--green-soft)}
.tl-item h3{font-size:20px;margin:9px 0 8px;letter-spacing:-.02em}
.tl-item p{font-size:15px;line-height:1.75;color:rgba(238,241,236,.66);max-width:64ch}

@media (max-width:1000px){
  .hero2-grid{grid-template-columns:1fr;gap:0}
  .trust{margin-bottom:0}
  .hero2-cta{margin-bottom:44px}
  .docs{grid-template-columns:1fr;gap:0}
  .legal{grid-template-columns:1fr;gap:14px}
}
@media (max-width:720px){
  .hero2{padding-top:110px}
  .legal{padding:26px 22px}
}


/* ===== PHONE-FIRST CONTACT ===== */
/* hero: phone becomes the primary action */
.stub-call{
  display:inline-flex;align-items:center;gap:14px;
  background:var(--green);color:#0A2410;
  padding:14px 30px;border-radius:3px;position:relative;
  transition:transform .22s ease,box-shadow .22s ease;
}
.stub-call::before,.stub-call::after{
  content:"";position:absolute;width:14px;height:14px;border-radius:50%;
  background:var(--ink);top:50%;transform:translateY(-50%);
}
.stub-call::before{left:-7px}
.stub-call::after{right:-7px}
.stub-call:hover{transform:translateY(-3px);box-shadow:0 14px 34px -12px rgba(119,200,98,.65)}
.stub-call svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;flex:0 0 22px}
.stub-call .lbl{display:block;font-family:var(--mono);font-size:10px;letter-spacing:.16em;text-transform:uppercase;opacity:.62;line-height:1}
.stub-call .no{display:block;font-family:var(--display);font-weight:700;font-size:23px;letter-spacing:-.01em;line-height:1.25;margin-top:3px}

/* big call panel in the contact section */
.callbox{
  background:#0A2410;border-radius:5px;padding:30px 32px;margin-bottom:26px;
  display:flex;flex-wrap:wrap;align-items:center;gap:22px;
}
.callbox-ring{
  width:56px;height:56px;flex:0 0 56px;border-radius:50%;
  background:var(--green-lift);display:grid;place-items:center;color:#0A2410;
  animation:pulse 2.4s ease-out infinite;
}
.callbox-ring svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
@keyframes pulse{
  0%{box-shadow:0 0 0 0 rgba(119,200,98,.55)}
  70%{box-shadow:0 0 0 16px rgba(119,200,98,0)}
  100%{box-shadow:0 0 0 0 rgba(119,200,98,0)}
}
.callbox-txt{flex:1 1 200px;min-width:0}
.callbox-txt p{font-family:var(--mono);font-size:10.5px;letter-spacing:.18em;text-transform:uppercase;color:var(--green-soft)}
.callbox-txt a.tel{
  display:inline-block;font-family:var(--display);font-weight:700;
  font-size:clamp(30px,4.2vw,40px);letter-spacing:-.02em;color:#fff;line-height:1.2;margin-top:5px;
  transition:color .2s ease;
}
.callbox-txt a.tel:hover{color:var(--green-lift)}
.callbox-txt span{display:block;font-size:13.5px;color:rgba(238,241,236,.62);margin-top:7px;line-height:1.6}
.callbox-line{
  display:inline-flex;align-items:center;gap:9px;white-space:nowrap;
  border:1px solid rgba(238,241,236,.3);color:#EEF1EC;
  font-family:var(--display);font-weight:600;font-size:15px;
  padding:13px 22px;border-radius:3px;transition:border-color .2s ease,color .2s ease;
}
.callbox-line:hover{border-color:var(--green-lift);color:var(--green-lift)}
.callbox-line svg{width:19px;height:19px;fill:currentColor}

/* sticky bottom bar */
.callbar{
  position:fixed;left:0;right:0;bottom:0;z-index:90;
  display:none;gap:1px;
  background:rgba(238,241,236,.18);
  box-shadow:0 -8px 24px -10px rgba(0,0,0,.6);
  padding-bottom:env(safe-area-inset-bottom);
}
.callbar a{
  flex:1;display:flex;align-items:center;justify-content:center;gap:9px;
  padding:15px 8px;font-family:var(--display);font-weight:600;font-size:15.5px;
}
.callbar .cb-tel{background:var(--green);color:#0A2410}
.callbar .cb-line{background:var(--ink);color:var(--paper)}
.callbar svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.callbar .cb-line svg{fill:currentColor;stroke:none}

@media (max-width:720px){
  .callbar{display:flex}
  body{padding-bottom:60px}
  .callbox{padding:24px 22px;gap:16px}
  .stub-call{width:100%;justify-content:center}
}

/* ===== SMS & EMAIL GATEWAY ===== */

/* two-channel intro */
.ch2{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.ch2-card{
  border:1px solid rgba(238,241,236,.16);border-radius:5px;padding:32px 30px;
  background:linear-gradient(180deg,rgba(26,70,48,.5),rgba(18,48,33,.18));
  transition:border-color .25s ease,transform .25s ease;
}
.ch2-card:hover{border-color:var(--green);transform:translateY(-3px)}
.ch2-badge{
  display:inline-flex;align-items:center;gap:9px;
  font-family:var(--mono);font-size:10.5px;letter-spacing:.16em;text-transform:uppercase;
  color:var(--green-soft);border:1px solid rgba(119,200,98,.4);
  padding:6px 11px;border-radius:2px;
}
.ch2-card h3{font-size:26px;margin:18px 0 10px;letter-spacing:-.025em}
.ch2-card p{font-size:15.5px;line-height:1.8;color:rgba(238,241,236,.72)}
.ch2-best{
  margin-top:20px;padding-top:18px;border-top:1px dashed rgba(238,241,236,.2);
  font-size:14px;line-height:1.7;color:rgba(238,241,236,.6);
}
.ch2-best b{display:block;font-family:var(--mono);font-size:10px;letter-spacing:.14em;
  text-transform:uppercase;color:var(--green);margin-bottom:7px}

/* comparison */
.vs{width:100%;border-collapse:collapse;margin-top:8px;font-size:15.5px}
.vs th{
  text-align:left;font-family:var(--mono);font-weight:500;font-size:10.5px;
  letter-spacing:.16em;text-transform:uppercase;padding:0 18px 14px 0;
  border-bottom:1px solid var(--rule);color:var(--green);
}
.vs th:first-child{color:rgba(18,48,33,.5)}
.vs td{padding:16px 18px 16px 0;border-bottom:1px solid var(--rule);vertical-align:top;line-height:1.6;color:rgba(18,48,33,.85)}
.vs td:first-child{color:var(--navy);font-family:var(--display);font-weight:600;font-size:14.5px}
.vs tr:hover td{background:rgba(18,48,33,.03)}

/* scenario picker */
.sc-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:30px}
.sc-tab{
  font-family:var(--display);font-weight:600;font-size:14.5px;
  border:1px solid rgba(238,241,236,.28);background:transparent;color:var(--paper);
  padding:11px 18px;border-radius:100px;cursor:pointer;
  transition:background .18s ease,color .18s ease,border-color .18s ease;
}
.sc-tab:hover{border-color:var(--green-lift)}
.sc-tab[aria-selected="true"]{background:var(--green);color:#0A2410;border-color:var(--green)}

.sc-body{display:grid;grid-template-columns:1fr 300px 1fr;gap:28px;align-items:start}
.sc-verdict{
  border:1px solid rgba(238,241,236,.16);border-radius:5px;padding:26px 24px;
  background:rgba(26,70,48,.4);
}
.sc-pick{
  display:inline-block;font-family:var(--display);font-weight:700;font-size:22px;
  color:var(--green-lift);letter-spacing:-.02em;margin-bottom:12px;
}
.sc-why{font-size:14.5px;line-height:1.8;color:rgba(238,241,236,.74)}
.sc-meta{display:grid;gap:2px;margin-top:20px;background:rgba(238,241,236,.12)}
.sc-meta div{background:var(--ink);padding:12px 14px;display:flex;gap:12px;align-items:baseline}
.sc-meta b{font-family:var(--mono);font-size:9.5px;letter-spacing:.14em;text-transform:uppercase;
  color:var(--green-soft);min-width:66px}
.sc-meta span{font-size:13.5px;color:rgba(238,241,236,.75);line-height:1.6}

.prev-label{
  font-family:var(--mono);font-size:10px;letter-spacing:.16em;text-transform:uppercase;
  color:rgba(238,241,236,.5);margin-bottom:12px;display:block;
}
/* sms preview */
.sms-phone{background:#091A11;border:9px solid #0E2417;border-radius:28px;overflow:hidden}
.sms-top{padding:9px 14px 7px;display:flex;justify-content:space-between;
  font-family:var(--mono);font-size:9.5px;color:rgba(238,241,236,.6)}
.sms-head{background:#12301F;padding:10px 14px;border-bottom:1px solid rgba(238,241,236,.1)}
.sms-head b{font-family:var(--display);font-weight:600;font-size:13.5px;color:var(--paper)}
.sms-head span{display:block;font-size:10.5px;color:rgba(238,241,236,.45);margin-top:2px}
.sms-body{padding:16px 14px 22px;min-height:150px;background:#0C2115}
.sms-bubble{
  background:#1D4630;color:var(--paper);border-radius:14px 14px 14px 4px;
  padding:12px 14px;font-size:13px;line-height:1.65;white-space:pre-line;
}
.sms-count{font-family:var(--mono);font-size:9.5px;color:rgba(238,241,236,.4);margin-top:9px;display:block}
/* email preview */
.mail{background:var(--white);border:1px solid var(--rule);border-radius:6px;overflow:hidden}
.mail-bar{background:var(--paper-2);padding:9px 14px;display:flex;gap:6px;align-items:center}
.mail-dot{width:8px;height:8px;border-radius:50%;background:rgba(18,48,33,.2)}
.mail-meta{padding:14px 16px;border-bottom:1px solid var(--rule);font-size:12.5px;color:rgba(18,48,33,.6);line-height:1.7}
.mail-meta b{color:var(--navy);font-family:var(--display);font-weight:600;font-size:14.5px;display:block;margin-bottom:5px}
.mail-body{padding:18px 16px 22px;color:var(--navy)}
.mail-hero{height:76px;border-radius:3px;background:linear-gradient(120deg,var(--green),#0F5C2E);
  display:grid;place-items:center;color:#fff;font-family:var(--display);font-weight:700;font-size:15px;margin-bottom:14px}
.mail-body p{font-size:13px;line-height:1.75;color:rgba(18,48,33,.78);margin-bottom:12px}
.mail-btn{display:inline-block;background:var(--navy);color:#fff;font-family:var(--display);
  font-weight:600;font-size:13px;padding:10px 20px;border-radius:3px}

/* feature columns */
.fx{display:grid;grid-template-columns:1fr 1fr;gap:0 48px}
.fx h3{font-size:20px;margin-bottom:6px;letter-spacing:-.02em;display:flex;align-items:center;gap:10px}
.fx h3 em{font-style:normal;font-family:var(--mono);font-size:10px;letter-spacing:.14em;
  color:var(--green);border:1px solid rgba(91,172,70,.45);padding:4px 8px;border-radius:2px}
.fx ul{list-style:none;margin-top:16px}
.fx li{padding:14px 0 14px 28px;border-bottom:1px solid var(--fxbd,rgba(238,241,236,.11));
  font-size:15px;line-height:1.65;position:relative}
.fx li::before{content:"";position:absolute;left:2px;top:23px;width:13px;border-top:1px solid var(--green)}
.fx li b{display:block;font-family:var(--display);font-weight:600;font-size:15px;margin-bottom:3px}
.fx li span{font-size:13.5px;color:rgba(238,241,236,.6);line-height:1.6}

/* trust badges */
.badges{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:18px}
.badge{
  background:var(--white);border:1px solid var(--rule);border-radius:4px;padding:26px 24px;
}
.badge b{
  display:block;font-family:var(--display);font-weight:700;font-size:19px;
  color:var(--navy);letter-spacing:-.02em;margin-bottom:8px;
}
.badge span{font-size:14px;line-height:1.75;color:rgba(18,48,33,.72)}
.badge em{
  display:block;font-style:normal;font-family:var(--mono);font-size:9.5px;
  letter-spacing:.14em;text-transform:uppercase;color:var(--green);margin-bottom:12px;
}

/* code sample */
.code{
  background:#08160E;border:1px solid rgba(238,241,236,.14);border-radius:5px;overflow:hidden;
}
.code-bar{
  display:flex;gap:2px;background:rgba(238,241,236,.06);padding:0;
}
.code-tab{
  font-family:var(--mono);font-size:11px;letter-spacing:.08em;
  background:transparent;border:0;color:rgba(238,241,236,.5);
  padding:11px 16px;cursor:pointer;transition:background .18s ease,color .18s ease;
}
.code-tab[aria-selected="true"]{background:#08160E;color:var(--green-lift)}
.code pre{
  margin:0;padding:20px 22px;overflow-x:auto;
  font-family:var(--mono);font-size:12.5px;line-height:1.85;color:#C8D4C6;
}
.code .k{color:#77C862}
.code .s{color:#E4C07A}
.code .c{color:rgba(238,241,236,.38)}

@media (max-width:1080px){
  .sc-body{grid-template-columns:1fr}
  .sc-body > div:nth-child(2){order:-1}
  .sms-phone{max-width:320px}
  .mail{max-width:420px}
}
@media (max-width:860px){
  .ch2{grid-template-columns:1fr}
  .fx{grid-template-columns:1fr;gap:0}
}
@media (max-width:720px){
  .vs{font-size:14px}
  .vs td,.vs th{padding-right:10px}
}

/* ===== ICON SIZE SAFETY NET =====
   ทุกไอคอนในคอมโพเนนต์ปุ่ม/กล่องติดต่อ ต้องมีขนาดกำกับเสมอ
   กันกรณีไฟล์สไตล์เฉพาะหน้าไม่ได้ถูกโหลด */
.callbox-ring svg,
.callbox-line svg,
.callbar svg,
.callbar a svg,
.cb-tel svg,
.cb-line svg,
.stub-call svg,
.btn-line svg,
.chc-ico svg,
.ch-ico svg,
.sys-ico svg,
.pil-ico svg{
  width:22px;height:22px;flex:0 0 auto;
  fill:none;stroke:currentColor;stroke-width:1.9;
  stroke-linecap:round;stroke-linejoin:round;
}
.callbox-ring svg{width:26px;height:26px}
.callbar svg,.callbar a svg,.cb-tel svg,.cb-line svg{width:19px;height:19px}
.callbox-ring{
  width:56px;height:56px;flex:0 0 56px;border-radius:50%;
  display:grid;place-items:center;
}
