/* ===== Additions: forms, widgets, blog, industry pages ===== */
.hp{position:absolute!important;left:-9999px;width:1px;height:1px;opacity:0}
.fld .opt{font-weight:400;color:var(--muted);font-size:12px}
.form-msg.err{background:#fff1f1;border-color:#f3c1c1;color:#b42323}

/* WhatsApp float */
.wa-float{position:fixed;left:18px;bottom:18px;z-index:90;display:flex;align-items:center;gap:9px;background:#25d366;color:#fff;border-radius:40px;padding:12px 18px 12px 14px;font-weight:600;font-size:14.5px;box-shadow:0 10px 24px rgba(37,211,102,.4);transition:.2s}
.wa-float i{font-size:26px}
.wa-float:hover{transform:translateY(-3px);box-shadow:0 14px 28px rgba(37,211,102,.5)}

/* Live chat */
.chat{position:fixed;right:18px;bottom:18px;z-index:95;font-family:'Poppins',sans-serif}
.chat-launch{display:flex;align-items:center;gap:9px;background:linear-gradient(180deg,#2a74f5,#0f56da);color:#fff;border:none;border-radius:40px;padding:13px 20px;font-weight:600;font-size:14.5px;cursor:pointer;box-shadow:0 10px 24px rgba(23,102,240,.4);position:relative;font-family:inherit}
.chat-launch i{font-size:19px}
.chat-launch.hide{display:none}
.chat-launch .bdg{position:absolute;top:-6px;right:-4px;background:#e8352e;color:#fff;font-style:normal;font-size:11px;min-width:20px;height:20px;border-radius:10px;display:grid;place-items:center;padding:0 5px}
.chat-panel{width:340px;max-width:calc(100vw - 28px);height:470px;max-height:calc(100vh - 40px);background:#fff;border-radius:16px;box-shadow:0 24px 60px rgba(10,40,100,.28);display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--line)}
.chat-head{background:linear-gradient(110deg,#0b3cc4,#1766f0);color:#fff;padding:14px 16px;display:flex;justify-content:space-between;align-items:center}
.chat-head b{display:block;font-size:15.5px}
.chat-head small{font-size:12px;opacity:.85}
.chat-head button{background:none;border:none;color:#fff;font-size:18px;cursor:pointer}
.chat-start{padding:18px;display:flex;flex-direction:column;gap:11px;overflow:auto}
.chat-start p{font-size:13.5px;color:var(--muted)}
.chat-start input,.chat-send input{font-family:inherit;font-size:14px;padding:11px 13px;border:1px solid #d8e3f3;border-radius:9px}
.chat-start input:focus,.chat-send input:focus{outline:none;border-color:var(--blue);box-shadow:0 0 0 3px rgba(23,102,240,.13)}
.chat-err{color:#b42323;font-size:12.5px}
.chat-body{display:flex;flex-direction:column;flex:1;min-height:0}
.chat-msgs{flex:1;overflow-y:auto;padding:14px;background:#f5f8fd;display:flex;flex-direction:column;gap:8px}
.cm{max-width:82%;padding:9px 13px;border-radius:14px;font-size:14px;line-height:1.45;word-wrap:break-word;white-space:pre-wrap}
.cm-v{align-self:flex-end;background:var(--blue);color:#fff;border-bottom-right-radius:4px}
.cm-a{align-self:flex-start;background:#fff;color:var(--ink);border:1px solid var(--line);border-bottom-left-radius:4px}
.cm-fail{opacity:.55}
.chat-send{display:flex;gap:8px;padding:10px;border-top:1px solid var(--line);background:#fff}
.chat-send input{flex:1}
.chat-send button{width:44px;border:none;border-radius:9px;background:var(--blue);color:#fff;cursor:pointer;font-size:16px}

/* Page hero (blog / industry) */
.page-hero{padding:54px 0 46px;background:linear-gradient(170deg,#eaf5ff 0%,#dcecff 55%,#eaf5ff 100%);position:relative;overflow:hidden}
.page-hero h1{font-size:40px;line-height:1.2;font-weight:700;color:var(--navy)}
.page-hero h1 span{color:var(--blue)}
.page-hero p.sub{color:#3d4d6b;font-size:17px;margin-top:14px;max-width:640px}
.crumbs{font-size:13px;color:var(--muted);margin-bottom:16px}
.crumbs a:hover{color:var(--blue)}
.crumbs i{font-size:10px;margin:0 7px}

/* Blog list */
.blog-wrap{padding:54px 0 70px}
.cats{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:28px}
.cats a{padding:8px 18px;border-radius:30px;border:1.5px solid #cfe0fb;font-size:14px;font-weight:500;color:var(--navy);background:#fff}
.cats a.on,.cats a:hover{background:var(--blue);border-color:var(--blue);color:#fff}
.post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.post-card{background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden;box-shadow:0 6px 16px rgba(15,50,120,.06);transition:.22s;display:flex;flex-direction:column}
.post-card:hover{transform:translateY(-5px);box-shadow:0 14px 28px rgba(15,50,120,.14)}
.post-card .pc-img{height:190px;background:linear-gradient(135deg,#1766f0,#4da3ff);display:grid;place-items:center;color:#fff;font-size:42px;overflow:hidden}
.post-card .pc-img img{width:100%;height:100%;object-fit:cover}
.post-card .pc-b{padding:18px 20px 20px;display:flex;flex-direction:column;flex:1}
.post-meta{font-size:12.5px;color:var(--muted);display:flex;gap:12px;flex-wrap:wrap;margin-bottom:8px}
.post-meta .tag{color:var(--blue);font-weight:600}
.post-card h3{font-size:18px;line-height:1.35;color:var(--navy);font-weight:600;margin-bottom:8px}
.post-card p{font-size:14px;color:var(--muted);flex:1}
.post-card .more{margin-top:14px;color:var(--blue);font-weight:600;font-size:14px}
.pager{display:flex;gap:8px;justify-content:center;margin-top:38px;flex-wrap:wrap}
.pager a,.pager span{min-width:40px;height:40px;display:grid;place-items:center;border:1.5px solid #cfe0fb;border-radius:9px;font-weight:600;font-size:14px;color:var(--navy);background:#fff;padding:0 12px}
.pager a:hover,.pager .on{background:var(--blue);color:#fff;border-color:var(--blue)}
.empty{text-align:center;padding:60px 20px;color:var(--muted)}

/* Blog details */
.article-wrap{padding:44px 0 70px}
.article-grid{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:44px;align-items:start}
.article-cover{border-radius:16px;overflow:hidden;margin-bottom:28px;box-shadow:var(--shadow)}
.article-cover img{width:100%;max-height:430px;object-fit:cover}
.article-body{font-size:16.5px;line-height:1.85;color:#2a3a57}
.article-body h2{font-size:26px;color:var(--navy);margin:30px 0 12px;line-height:1.3}
.article-body h3{font-size:21px;color:var(--navy);margin:26px 0 10px}
.article-body p{margin-bottom:16px}
.article-body ul,.article-body ol{margin:0 0 18px 24px}
.article-body ul{list-style:disc}
.article-body ol{list-style:decimal}
.article-body li{margin-bottom:7px}
.article-body a{color:var(--blue);text-decoration:underline}
.article-body img{border-radius:12px;margin:18px 0}
.article-body blockquote{border-left:4px solid var(--blue);background:#f3f8ff;padding:14px 20px;border-radius:0 10px 10px 0;margin:18px 0;color:var(--navy)}
.share{display:flex;gap:10px;align-items:center;margin-top:34px;padding-top:22px;border-top:1px solid var(--line);flex-wrap:wrap;font-weight:600;color:var(--navy)}
.share a{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;color:#fff;font-size:17px}
.sh-wa{background:#25d366}.sh-fb{background:#1877f2}.sh-x{background:#111}.sh-in{background:#0a66c2}
.side-box{background:#fff;border:1px solid var(--line);border-radius:14px;padding:22px;box-shadow:0 6px 16px rgba(15,50,120,.06);margin-bottom:22px}
.side-box h4{font-size:17px;color:var(--navy);margin-bottom:12px}
.side-cta{background:linear-gradient(135deg,#0b3cc4,#1766f0);color:#fff;border:none}
.side-cta h4{color:#fff}
.side-cta p{font-size:14px;opacity:.92;margin-bottom:16px}
.rel{display:flex;gap:12px;margin-bottom:14px;align-items:center}
.rel:last-child{margin-bottom:0}
.rel .rt{width:70px;height:56px;border-radius:9px;background:linear-gradient(135deg,#1766f0,#4da3ff);flex-shrink:0;overflow:hidden}
.rel .rt img{width:100%;height:100%;object-fit:cover}
.rel b{font-size:14px;line-height:1.35;color:var(--navy);font-weight:600;display:block}
.rel small{font-size:12px;color:var(--muted)}
.rel:hover b{color:var(--blue)}

/* Industry page */
.ind-hero{padding:46px 0 64px;background:linear-gradient(170deg,#eaf5ff 0%,#dcecff 55%,#eaf5ff 100%);position:relative;overflow:hidden}
.ind-hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:40px;align-items:center}
.ind-badge{display:inline-flex;align-items:center;gap:10px;background:#fff;border-radius:30px;padding:7px 16px 7px 8px;font-size:13.5px;font-weight:600;color:var(--navy);box-shadow:0 6px 14px rgba(15,50,120,.08);margin-bottom:16px}
.ind-badge i{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;color:#fff;font-size:14px}
.ind-hero h1{font-size:42px;line-height:1.16;font-weight:700;color:var(--navy)}
.ind-hero h1 span{color:var(--blue)}
.ind-hero .sub{font-size:17px;color:#3d4d6b;margin:16px 0 24px;max-width:540px}
.ind-photo{border-radius:20px;overflow:hidden;box-shadow:0 26px 50px rgba(15,45,110,.22);aspect-ratio:1/1;max-width:520px;margin-left:auto;position:relative}
.ind .pic img{object-position:center 30%}
.ind-photo img{width:100%;height:100%;object-fit:cover}
.ind-photo .pic-fallback{width:100%;height:100%;display:grid;place-items:center;color:#fff;font-size:90px}
.sec-pad{padding:58px 0}
.sec-head{text-align:center;max-width:720px;margin:0 auto 34px}
.sec-head .lead{margin-left:auto;margin-right:auto}
.ind-intro{font-size:17px;color:#3d4d6b;max-width:860px;margin:0 auto;text-align:center;line-height:1.8}
.pf-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px 22px}
.pf{display:grid;grid-template-columns:1fr 36px 1fr;gap:12px;align-items:stretch}
.pf .pbad,.pf .pgood{border-radius:12px;padding:15px 16px;font-size:14.5px;line-height:1.5;display:flex;gap:10px;align-items:flex-start}
.pf .pbad{background:#fff5f5;border:1px solid #ffdcdc;color:#6b4a4a}
.pf .pbad i{color:#e05252;margin-top:4px}
.pf .pgood{background:#f2fbf6;border:1px solid #cdeedd;color:#2c5244}
.pf .pgood i{color:#16a34a;margin-top:4px}
.pf .parr{display:grid;place-items:center;color:var(--blue)}
.pf-one{grid-template-columns:1fr}
.feat-list{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.feat-list .fc{padding:20px 18px}
.feat-list .fc h4{font-size:16px}
.feat-list .fc p{font-size:13.5px}
.ind-links{display:flex;gap:10px;flex-wrap:wrap;justify-content:center;margin-top:22px}
.ind-links a{padding:8px 16px;border-radius:30px;background:#fff;border:1.5px solid #cfe0fb;font-size:13.5px;font-weight:500;color:var(--navy)}
.ind-links a:hover{background:var(--blue);color:#fff;border-color:var(--blue)}
.ind-cta{background:linear-gradient(110deg,#0b3cc4 0%,#1557e0 42%,#2a7df5 100%);color:#fff;text-align:center;padding:52px 0}
.ind-cta h2{font-size:32px;font-weight:700;margin-bottom:10px}
.ind-cta p{opacity:.9;margin-bottom:24px}
a.ind{display:block;color:inherit}

@media(max-width:1180px){
  .ind-photo{margin:0 auto}
  .post-grid{grid-template-columns:repeat(2,1fr)}
  .article-grid,.ind-hero-grid{grid-template-columns:1fr}
  .feat-list{grid-template-columns:repeat(2,1fr)}
  .pf-grid{grid-template-columns:1fr}
}
@media(max-width:620px){
  .wa-float span{display:none}
  .wa-float{padding:13px}
  .chat-launch span{display:none}
  .chat-launch{padding:15px}
  .page-hero h1,.ind-hero h1{font-size:28px}
  .post-grid,.feat-list{grid-template-columns:1fr}
  .pf{grid-template-columns:1fr}
  .pf .parr{transform:rotate(90deg);height:24px}
  .ind-cta h2{font-size:24px}
  .chat{right:10px;bottom:10px}
}
