/* ===== Smart Qore · Thobe Tailoring ERP landing + demo ===== */
.tq{--tq-wrap:min(1400px,100% - 64px)}
.tq .tw{width:var(--tq-wrap);margin-inline:auto}
@media (max-width:640px){.tq{--tq-wrap:calc(100% - 32px)}}

/* hero */
.tq-hero{position:relative;overflow:hidden;margin-bottom:-40px;padding-bottom:40px!important;background:linear-gradient(100deg,#061B3A 0%,#082447 38%,#0B3A63 100%);color:#fff;padding-top:calc(72px + env(safe-area-inset-top,0px))}
.tq-hero .ph{position:absolute;top:calc(72px + env(safe-area-inset-top,0px));bottom:0;inset-inline-end:0;aspect-ratio:936/436;max-width:72%;background:url("/assets/thobe/hero.webp") center right/cover no-repeat}
[dir="rtl"] .tq-hero .ph{background-position:center left}
.tq-hero .ph::before{content:"";position:absolute;inset:0;background:linear-gradient(to right,#061B3A 0%,rgba(6,27,58,.82) 14%,rgba(6,27,58,.25) 34%,rgba(6,27,58,0) 52%)}
[dir="rtl"] .tq-hero .ph::before{background:linear-gradient(to left,#061B3A 0%,rgba(6,27,58,.9) 24%,rgba(6,27,58,.35) 44%,rgba(6,27,58,0) 60%)}
.tq-hero .ph::after{content:"";position:absolute;inset:auto 0 0;height:30%;background:linear-gradient(to top,rgba(6,27,58,.55),transparent)}
.tq-hero-in{position:relative;z-index:2;padding:18px 0 0;max-width:800px}
.tq-hero-in>h1,.tq-hero-in>.tq-sub,.tq-hero-in>.tq-checks{max-width:560px}
.tq-badge{display:inline-flex;align-items:center;gap:12px;padding:8px 20px 8px 14px;border:1.5px solid rgba(0,194,199,.75);border-radius:14px;background:rgba(6,27,58,.55);font-size:clamp(16px,1.5vw,20px);font-weight:500;color:#fff;box-shadow:0 0 0 4px rgba(0,194,199,.08),0 0 24px rgba(0,194,199,.18)}
[dir="rtl"] .tq-badge{padding:8px 14px 8px 20px}
.tq-badge svg{width:28px;height:28px;color:#fff}
.tq-hero h1{margin-top:12px;font-size:clamp(34px,3.4vw,52px);line-height:1.04;font-weight:700;letter-spacing:-.6px;color:#fff}
.tq-hero h1 span{display:block;color:#00C2C7}
[dir="rtl"] .tq-hero h1{line-height:1.3;letter-spacing:0}
.tq-sub{margin-top:10px;font-size:clamp(15px,1.25vw,18px);line-height:1.5;color:rgba(255,255,255,.92);max-width:500px}
.tq-checks{list-style:none;margin-top:12px;display:grid;gap:3px}
.tq-checks li{display:flex;align-items:center;gap:14px;font-size:15px;line-height:1.45;color:#fff}
.tq-ck{flex:none;width:20px;height:20px;border-radius:50%;background:#00C2C7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23061B3A' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat}
.tq-actions{display:flex;flex-wrap:wrap;gap:16px;margin-top:18px}
.tq-btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;height:48px;padding:0 24px;border-radius:24px;font:inherit;font-size:16px;font-weight:500;cursor:pointer;white-space:nowrap;transition:transform .2s,background .25s,color .25s,box-shadow .25s,border-color .25s;border:1.5px solid transparent}
.tq-btn svg{width:20px;height:20px;flex:none}
.tq-btn:hover{transform:translateY(-2px)}
.tq-btn-solid{background:#00C2C7;color:#061B3A;box-shadow:0 10px 26px rgba(0,194,199,.28)}
.tq-btn-solid:hover{background:#13D3D8}
.tq-btn-white{border-color:rgba(255,255,255,.85);color:#fff;background:rgba(6,27,58,.25)}
.tq-btn-white:hover{background:#fff;color:#061B3A}
.tq-btn-teal{border-color:#00C2C7;color:#fff;background:rgba(6,27,58,.35);box-shadow:0 0 18px rgba(0,194,199,.25)}
.tq-btn-teal svg{color:#00C2C7}
.tq-btn-teal:hover{background:rgba(0,194,199,.15)}
.tq-btn-outline{border-color:#00C2C7;color:#061B3A;background:#fff}
.tq-btn-outline:hover{background:#00C2C7}
@media (max-width:1100px){.tq-hero .ph{max-width:none;opacity:.5}.tq-hero-in{max-width:640px}.tq-actions .tq-btn{flex:0 0 auto}}
@media (max-width:760px){
  .tq-hero .ph{position:relative;top:auto;width:100%;height:auto;aspect-ratio:936/436;opacity:1;order:2}
  .tq-hero .ph::before{background:linear-gradient(to bottom,#061B3A 0%,rgba(6,27,58,0) 30%)}
  .tq-hero{display:flex;flex-direction:column}
  .tq-hero-in{padding:22px 0 26px}
  .tq-actions{flex-direction:column;align-items:stretch}
  .tq-hero .tq-pad{padding-bottom:20px}
}

/* workflow card */
.tq-flow{position:relative;z-index:3;margin-top:-2px;background:#fff;border-radius:16px;box-shadow:0 18px 50px rgba(6,27,58,.16);padding:12px 20px 12px 46px;display:grid;grid-template-columns:auto 1fr;gap:34px;align-items:center}
.tq-flow h2 span{white-space:nowrap}
[dir="rtl"] .tq-flow{padding:12px 46px 12px 20px}
.tq-flow h2{font-size:clamp(20px,1.8vw,26px);line-height:1.3;font-weight:600;color:#061B3A}
.tq-flow h2 span{display:block;color:#087FA5;font-weight:500}
.tq-steps{list-style:none;display:flex;align-items:center;gap:10px}
.tq-steps li{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:94px;min-width:0;padding:10px 8px;border-radius:10px;background:#EAF3F8;text-align:center;font-size:15px;font-weight:600;line-height:1.15;color:#061B3A;transition:background .25s,transform .25s}
.tq-steps li:hover{background:#DDF4F5;transform:translateY(-2px)}
.tq-steps li svg{width:44px;height:44px;color:#061B3A}
.tq-steps .ar{flex:0 0 26px;min-height:0;background:none;padding:0;color:#00C2C7}
.tq-steps .ar svg{width:26px;height:26px;color:#00C2C7}
[dir="rtl"] .tq-steps .ar svg{transform:scaleX(-1)}
@media (max-width:1100px){.tq-flow{grid-template-columns:1fr;padding:22px}.tq-flow h2 span{white-space:normal}}
@media (max-width:760px){.tq-flow{margin-top:-40px}.tq-steps{display:grid;grid-template-columns:1fr 1fr}.tq-steps .ar{display:none}.tq-steps li:last-child{grid-column:1/-1}}

/* try + portal */
.tq-try{padding:22px 0 24px}
.tq-try-grid{display:grid;grid-template-columns:600px 1fr 316px;gap:30px;align-items:center}
.tq-shot{position:relative;display:block;border-radius:14px;overflow:hidden;background:#0A1E3D;aspect-ratio:600/254;box-shadow:0 14px 34px rgba(6,27,58,.22);cursor:pointer;border:0;padding:0;width:100%;font:inherit;text-align:start}
.tq-shot .bg{position:absolute;inset:0;background:radial-gradient(120% 120% at 80% 20%,rgba(0,194,199,.22),transparent 55%),linear-gradient(120deg,#0A2342,#0B3157)}
.tq-lap{position:absolute;inset:9% 12% 0 15%;background:#0D2A4C;border:2px solid #2C4F77;border-bottom:0;border-radius:10px 10px 0 0;display:grid;grid-template-columns:24% 1fr;overflow:hidden;direction:ltr}
.tq-lap aside{background:#0A2140;padding:8px 6px;display:grid;align-content:start;gap:4px}
.tq-lap aside b{font-size:9px;color:#fff;margin-bottom:6px}
.tq-lap aside i{font-style:normal;font-size:8.5px;color:#9FB5CC;padding:3px 6px;border-radius:4px}
.tq-lap aside i.on{background:#00C2C7;color:#061B3A;font-weight:600}
.tq-lap .main{padding:8px 10px;background:#0F2E52}
.tq-lap .main h4{font-size:11px;color:#fff;font-weight:600;display:flex;justify-content:space-between}
.tq-lap .main h4 em{font-style:normal;font-size:8px;background:#00C2C7;color:#061B3A;padding:1px 8px;border-radius:4px}
.tq-lap table{width:100%;border-collapse:collapse;margin-top:6px;font-size:8px;color:#D5E3F0;background:#fff;color:#24364B;border-radius:4px;overflow:hidden}
.tq-lap th{background:#EEF3F8;text-align:left;padding:4px 5px;font-weight:600}
.tq-lap td{padding:5px;border-top:1px solid #E7EDF3}
.tq-lap td s{text-decoration:none;font-size:7px;padding:1px 5px;border-radius:3px;color:#fff}
.tq-shot .play{position:absolute;left:50%;top:52%;width:66px;height:66px;margin:-33px 0 0 -33px;border-radius:50%;background:rgba(6,27,58,.55);border:3px solid #fff;display:grid;place-items:center;transition:transform .25s,background .25s;box-shadow:0 8px 30px rgba(0,0,0,.35)}
.tq-shot .play svg{width:26px;height:26px;color:#fff;margin-left:4px}
.tq-shot:hover .play{transform:scale(1.08);background:#00C2C7}
.tq-shot .tag{position:absolute;inset-inline-end:14px;bottom:12px;font-size:13px;font-weight:600;color:#fff;background:rgba(6,27,58,.7);padding:3px 10px;border-radius:6px}
.tq-try h2{font-size:clamp(26px,2.4vw,34px);line-height:1.2;font-weight:700;color:#061B3A}
.tq-try h2 span{color:#087FA5}
.tq-try p.l{margin-top:12px;font-size:15px;line-height:1.55;color:#24364B;max-width:470px}
.tq-checks.dk li{color:#24364B;font-size:15px}
.tq-checks.dk .tq-ck{background:none url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300C2C7' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6'/%3E%3C/svg%3E") center/18px no-repeat}
.tq-portal{background:#fff;border:1px solid #DCE6EF;border-radius:16px;padding:20px 22px 22px;box-shadow:0 10px 30px rgba(6,27,58,.06)}
.tq-portal .hd{display:grid;grid-template-columns:58px 1fr;gap:16px;align-items:start}
.tq-portal .ic{width:58px;height:58px;border-radius:10px;background:linear-gradient(135deg,#087FA5,#00C2C7);display:grid;place-items:center;color:#fff}
.tq-portal .ic svg{width:34px;height:34px}
.tq-portal h3{font-size:20px;font-weight:700;color:#061B3A;line-height:1.3}
.tq-portal .hd p{font-size:14px;color:#24364B;line-height:1.4;margin-top:2px}
.tq-portal .tq-checks{margin:14px 0 18px;gap:4px}
.tq-portal .tq-checks li{font-size:14px}
.tq-portal .tq-btn{width:100%;height:44px;font-weight:600;color:#061B3A}
@media (max-width:1280px){.tq-try-grid{grid-template-columns:1.1fr 1fr}.tq-portal{grid-column:1/-1;max-width:none}.tq-portal{display:grid;grid-template-columns:1.2fr 1fr;gap:20px;align-items:center}.tq-portal .tq-checks{margin:0}.tq-portal .tq-btn{grid-column:1/-1}}
@media (max-width:860px){.tq-try-grid{grid-template-columns:1fr}.tq-portal{display:block}.tq-portal .tq-checks{margin:14px 0 18px}}

/* benefits band */
.tq-band{background:#0A2448;background:linear-gradient(90deg,#061B3A,#0B2C55);color:#fff;padding:28px 0}
.tq-band ul{list-style:none;display:grid;grid-template-columns:repeat(5,1fr)}
.tq-band li{display:flex;align-items:center;gap:16px;padding:6px 22px;border-inline-start:1px solid rgba(255,255,255,.18)}
.tq-band li:first-child{border:0;padding-inline-start:0}
.tq-band svg{flex:none;width:44px;height:44px;color:#00C2C7}
.tq-band b{display:block;font-size:17px;font-weight:600;line-height:1.3}
.tq-band span{display:block;font-size:14px;color:rgba(255,255,255,.82);line-height:1.35}
@media (max-width:1100px){.tq-band ul{grid-template-columns:repeat(3,1fr);gap:18px 0}.tq-band li:nth-child(4){border:0;padding-inline-start:0}}
@media (max-width:640px){.tq-band ul{grid-template-columns:1fr 1fr}.tq-band li{border:0;padding-inline-start:0}.tq-band li:last-child{grid-column:1/-1}}

/* more content */
.tq-more{padding:clamp(64px,8vw,110px) 0}
.tq-more.alt{background:#F4F7FA}
.tq-more .sec-head{margin-bottom:40px}
.tq-mod{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;list-style:none}
.tq-mod li{padding:18px;border:1px solid var(--line);border-radius:14px;background:var(--card);font-weight:500;color:var(--graphite);display:flex;gap:12px;align-items:center}
.tq-mod li i{flex:none;width:34px;height:34px;border-radius:10px;background:#E3F6F7;color:#087FA5;display:grid;place-items:center;font-style:normal;font-size:13px;font-weight:700}
@media (max-width:900px){.tq-mod{grid-template-columns:1fr 1fr}}
.tq-final{background:linear-gradient(110deg,#061B3A,#087FA5 60%,#00C2C7);border-radius:26px;padding:clamp(30px,5vw,56px);color:#fff;display:flex;flex-wrap:wrap;gap:24px;align-items:center;justify-content:space-between}
.tq-final h2{color:#fff;font-size:clamp(24px,3vw,36px);font-weight:700;line-height:1.25}
.tq-final p{opacity:.88;margin-top:6px}
.tq-final .tq-actions{margin:0}

/* modal (trial) */
.tq-modal{position:fixed;inset:0;z-index:100;display:none;align-items:center;justify-content:center;padding:16px;background:rgba(6,27,58,.62);backdrop-filter:blur(4px)}
.tq-modal.open{display:flex}
.tq-dialog{position:relative;width:min(560px,100%);max-height:calc(100vh - 32px);overflow:auto;background:#fff;border-radius:22px;padding:30px clamp(20px,4vw,34px);color:#24364B;box-shadow:0 30px 80px rgba(0,0,0,.35)}
.tq-x{position:absolute;inset-inline-end:14px;top:14px;width:36px;height:36px;border-radius:50%;border:0;background:#F1F5F9;font-size:20px;cursor:pointer;color:#061B3A}
.tq-dialog .pill{display:inline-flex;gap:8px;align-items:center;font-size:13px;font-weight:600;color:#087FA5;background:#E3F6F7;padding:4px 12px;border-radius:999px}
.tq-dialog h3{font-size:24px;font-weight:700;color:#061B3A;margin-top:10px}
.tq-dialog .note{font-size:14px;color:rgba(36,54,75,.75);margin-top:4px}
.tq-form{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:18px}
.tq-form .full{grid-column:1/-1}
.tq-form label{display:grid;gap:5px;font-size:13.5px;font-weight:600;color:#061B3A}
.tq-form input,.tq-form select{font:inherit;font-size:15px;color:#24364B;background:#F4F7FA;border:1px solid rgba(16,45,82,.14);border-radius:12px;padding:11px 13px;width:100%;color-scheme:light}
.tq-form input:focus,.tq-form select:focus{outline:none;border-color:#00C2C7;box-shadow:0 0 0 3px rgba(0,194,199,.22);background:#fff}
.tq-phone{display:grid;grid-template-columns:118px 1fr;gap:8px;direction:ltr}
.tq-form button[type=submit]{grid-column:1/-1;border:0;margin-top:4px}
.tq-msg{grid-column:1/-1;font-size:14px;padding:11px 13px;border-radius:12px;background:#FFF4F1;color:#9A2B1E}
.tq-msg.ok{background:#E4F8EF;color:#116B47}
.tq-done{text-align:center;padding:16px 0}
.tq-done .big{width:72px;height:72px;margin:0 auto 14px;border-radius:50%;background:#E4F8EF;color:#16A36A;display:grid;place-items:center}
.tq-done .big svg{width:40px;height:40px}
.tq-done p{margin-top:8px}
.tq-done .tq-actions{justify-content:center}
@media (max-width:520px){.tq-form{grid-template-columns:1fr}}
.inner .tq ~ footer{margin-top:0}

@media (max-width:640px){.tq-lap{inset:7% 4% 0 4%;grid-template-columns:30% 1fr}.tq-lap td:nth-child(3),.tq-lap th:nth-child(3){display:none}.tq-mod li{font-size:14px;padding:12px}}
