.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:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round}

/* 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:none;stroke:currentColor}

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


/* ===== FLAGSHIP CREDENTIAL ===== */
.proof{
  position:relative;overflow:hidden;
  background:linear-gradient(165deg,#143A25 0%,var(--ink) 62%);
  padding:96px 0;
}
.proof::before{
  content:"";position:absolute;top:-180px;left:-160px;width:620px;height:620px;border-radius:50%;
  background:radial-gradient(circle,rgba(91,172,70,.18) 0%,transparent 68%);pointer-events:none;
}
.proof-in{position:relative;display:grid;grid-template-columns:1.15fr .85fr;gap:52px;align-items:center}
.proof h2{font-size:clamp(30px,4.2vw,52px);letter-spacing:-.03em;margin-top:16px}
.proof h2 em{font-style:normal;color:var(--green-lift)}
.proof-lead{margin-top:22px;font-size:17px;line-height:1.85;color:rgba(238,241,236,.76);max-width:56ch}

.proof-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:2px;margin-top:34px;background:rgba(238,241,236,.13)}
.proof-stat{background:rgba(10,23,16,.82);padding:20px 18px}
.proof-stat b{display:block;font-family:var(--display);font-weight:700;font-size:clamp(24px,2.9vw,34px);color:var(--green-lift);letter-spacing:-.03em;line-height:1.1}
.proof-stat span{display:block;font-size:13px;color:rgba(238,241,236,.62);margin-top:8px;line-height:1.55}

.proof-media{display:grid;gap:16px}
figure.shot{margin:0;position:relative;border-radius:5px;overflow:hidden;border:1px solid rgba(238,241,236,.16)}
figure.shot img{width:100%;height:auto;display:block;transition:transform .5s ease}
figure.shot:hover img{transform:scale(1.03)}
figure.shot figcaption{
  position:absolute;left:0;right:0;bottom:0;
  background:linear-gradient(to top,rgba(8,20,13,.94),rgba(8,20,13,0));
  padding:38px 18px 14px;font-size:12.5px;line-height:1.6;color:rgba(238,241,236,.9);
}
.shot-badge{
  position:absolute;top:12px;left:12px;z-index:2;
  font-family:var(--mono);font-size:9.5px;letter-spacing:.14em;text-transform:uppercase;
  background:var(--green);color:#0A2410;padding:6px 10px;border-radius:2px;
}
.proof-note{
  margin-top:26px;font-size:13.5px;line-height:1.7;color:rgba(238,241,236,.5);
  border-left:2px solid rgba(119,200,98,.5);padding-left:14px;max-width:56ch;
}

@media (max-width:1000px){
  .proof-in{grid-template-columns:1fr;gap:34px}
  .proof{padding:72px 0}
}
@media (max-width:520px){
  .proof-stats{grid-template-columns:1fr;gap:1px}
}


/* ===== CLIENT LOGO MARQUEE ===== */
.clients{background:var(--paper);padding:78px 0 84px;overflow:hidden}
.clients .sec-head{margin-bottom:40px}
.clients .sec-head h2{color:var(--navy);font-size:clamp(28px,3.8vw,46px)}
.clients .sec-head p{color:rgba(18,48,33,.72)}

.cm{
  position:relative;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);
          mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);
}
.cm-row{display:flex;width:max-content;gap:14px;margin-bottom:14px}
.cm-row.a{animation:cmLeft 68s linear infinite}
.cm-row.b{animation:cmRight 78s linear infinite}
.cm:hover .cm-row{animation-play-state:paused}
@keyframes cmLeft{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@keyframes cmRight{from{transform:translateX(-50%)}to{transform:translateX(0)}}

.cm-plate{
  flex:0 0 auto;height:82px;min-width:168px;padding:0 26px;
  background:var(--white);border:1px solid var(--rule);border-radius:4px;
  display:flex;align-items:center;justify-content:center;text-align:center;
  transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease;
}
.cm-plate:hover{border-color:var(--green);box-shadow:0 10px 26px -16px rgba(18,48,33,.5);transform:translateY(-2px)}
.cm-name{
  font-family:var(--display);font-weight:600;font-size:16px;
  letter-spacing:-.01em;line-height:1.25;color:var(--navy);
}
.cm-name.latin{letter-spacing:.02em}
.cm-sub{
  display:block;font-family:var(--mono);font-size:9px;letter-spacing:.14em;
  text-transform:uppercase;color:rgba(18,48,33,.42);margin-top:5px;
}

.cm-logo{max-width:132px;max-height:46px;width:auto;height:auto;object-fit:contain;
  filter:grayscale(1);opacity:.72;transition:filter .25s ease,opacity .25s ease}
.cm-plate .cm-name{display:none}
.cm-plate.no-logo .cm-name{display:block}
.cm-plate:hover .cm-logo{filter:grayscale(0);opacity:1}
@media (max-width:720px){.cm-logo{max-width:104px;max-height:38px}}
.cm-foot{
  margin-top:26px;font-size:13.5px;line-height:1.7;color:rgba(18,48,33,.55);
  border-left:2px solid var(--green);padding-left:14px;max-width:64ch;
}
.cm-count{
  display:inline-block;font-family:var(--display);font-weight:700;
  color:var(--green);font-size:15px;
}

@media (max-width:720px){
  .clients{padding:60px 0 66px}
  .cm-plate{height:70px;min-width:136px;padding:0 18px}
  .cm-name{font-size:14px}
}
@media (prefers-reduced-motion:reduce){
  .cm-row{animation:none}
  .cm{overflow-x:auto;-webkit-mask-image:none;mask-image:none}
}

.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* ===== ENGLISH TYPE SCALE ===== */
/* Latin words run longer than Thai, so the display sizes need pulling back */
html[lang="en"] .hero h1{font-size:clamp(34px,4.4vw,60px);line-height:1.12;max-width:16ch}
html[lang="en"] .hero2 h1{font-size:clamp(30px,3.8vw,52px);line-height:1.15;max-width:20ch}
html[lang="en"] .sec-head h2{font-size:clamp(26px,3.4vw,44px);line-height:1.2}
html[lang="en"] .hero-sub,
html[lang="en"] .hero2-sub{max-width:56ch}
html[lang="en"] .svc h3,
html[lang="en"] .work h3{font-size:19px;line-height:1.35}
html[lang="en"] .eyebrow{letter-spacing:.18em}

/* ===== 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;
}
