@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700;800&display=swap');
:root{--bg:#041019;--panel:#0a1b25;--panel2:#0d222e;--line:#1b3a46;--text:#eaf5f7;--muted:#9cb2bb;--teal:#14d5b2;--teal2:#00a98c;--gold:#d9a85d;--radius:20px}*{box-sizing:border-box;min-width:0}html{width:100%;max-width:100%;overflow-x:hidden;scroll-behavior:smooth;scroll-padding-top:90px}body{width:100%;max-width:100%;overflow-x:hidden;margin:0;background:radial-gradient(ellipse at 80% 0,#0c2631 0,transparent 35%),var(--bg);color:var(--text);font-family:'Vazirmatn',Tahoma,sans-serif;line-height:1.8}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}.wrap{width:min(1180px,calc(100% - 36px));margin-inline:auto}.topline{background:#020a10;border-bottom:1px solid #15303b;color:#b5c7ce;font-size:12px}.topinner{display:flex;justify-content:space-between;padding:7px 0}.header{position:sticky;top:0;z-index:50;background:#041019ed;backdrop-filter:blur(18px);border-bottom:1px solid #183440}.headrow{display:flex;align-items:center;gap:28px;min-height:78px}.brand{display:flex;align-items:center;gap:10px;flex-shrink:0}.logo{width:42px;height:42px;border-radius:13px;background:linear-gradient(135deg,#16e2b7,#07856f);color:#032019;font-size:25px;font-weight:900;display:grid;place-items:center;position:relative}.logo span{position:absolute;font-size:12px;right:2px;top:0}.brand b{display:block;direction:ltr;font-size:17px;line-height:1.2;letter-spacing:.2px}.teal{color:var(--teal)}.brand small{display:block;direction:ltr;font-size:8px;letter-spacing:1.2px;color:#90a7b0}.header nav{display:flex;gap:22px;margin-inline:auto;font-size:13px;color:#b8cbd2}.header nav a:hover,.header nav a:focus{color:var(--teal)}.head-cta{border:1px solid #168d7c;padding:8px 14px;border-radius:12px;color:var(--teal);font-size:12px;white-space:nowrap}.menu-toggle{display:none;background:transparent;color:white;border:0;font-size:24px}.hero{position:relative;overflow:hidden;border-bottom:1px solid #173440}.hero-bg{position:absolute;inset:0;background:linear-gradient(90deg,rgba(3,13,20,.22),#041019 85%),linear-gradient(0deg,#041019 0%,transparent 48%),url('assets/hse-industrial-hero.jpg') center/cover;opacity:.82}.hero-content{position:relative;display:grid;grid-template-columns:1fr .9fr;gap:42px;align-items:center;padding:64px 0 38px;min-height:390px}.hero-copy{max-width:650px}.eyebrow{font-size:11px;letter-spacing:.7px;color:var(--teal);font-weight:700}.eyebrow i{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--teal);box-shadow:0 0 16px var(--teal);margin-left:7px}.hero h1{font-size:clamp(32px,4.2vw,52px);line-height:1.45;margin:13px 0 14px;font-weight:800;letter-spacing:-1px}.hero h1 span{color:var(--teal)}.hero p{max-width:590px;color:#b8cbd1;font-size:14px;line-height:2.2}.actions{display:flex;gap:12px;margin-top:24px;flex-wrap:wrap}.btn{display:inline-flex;justify-content:center;align-items:center;gap:12px;padding:11px 18px;border-radius:12px;font-size:13px;font-weight:700;border:1px solid transparent;cursor:pointer;transition:.25s}.btn:hover{transform:translateY(-3px)}.primary{background:var(--teal);color:#042019;box-shadow:0 8px 28px #00d7b324}.ghost{border-color:#31515d;background:#071720a8}.trust{display:flex;gap:27px;margin-top:31px}.trust div{display:grid;gap:0;border-right:2px solid #167e70;padding-right:12px}.trust b{font-size:13px}.trust small{color:var(--muted);font-size:10px}.hero-side{position:relative;min-height:240px}.hero-photo{position:absolute;inset:0 0 0 0;background:linear-gradient(90deg,transparent,#04101990),url('assets/hse-industrial-hero.jpg') center/cover;border:1px solid #31505b;border-radius:24px;box-shadow:0 25px 80px #0007;min-height:250px;mask-image:linear-gradient(90deg,black 45%,transparent 100%)}.float-card{position:absolute;bottom:17px;right:10px;background:#071720e8;border:1px solid #2c515d;border-radius:14px;padding:12px 15px;display:flex;align-items:center;gap:10px;box-shadow:0 12px 30px #0006}.float-card b,.float-card small{display:block}.float-card b{font-size:12px}.float-card small{font-size:9px;color:var(--muted);direction:ltr}.pulse{width:10px;height:10px;background:var(--teal);border-radius:50%;box-shadow:0 0 0 7px #14d5b21e}.hero-bottom{position:relative;display:flex;align-items:center;gap:14px;padding:0 0 17px;color:#72909b;font-size:9px;letter-spacing:1.5px;direction:ltr}.hero-bottom .line{height:1px;background:#1b3b47;flex:1}.feature-strip{display:grid;grid-template-columns:1fr 1fr 1fr 1fr;gap:14px;padding-top:18px}.feature{position:relative;overflow:hidden;min-height:170px;border:1px solid var(--line);border-radius:17px;background:linear-gradient(140deg,#0b202b,#06131b);padding:17px;box-shadow:inset 0 1px #ffffff05;transition:.3s}.feature:hover,.product-card:hover,.service-grid article:hover,.project-card:hover{transform:translateY(-4px);border-color:#247e78}.feature h3{margin:4px 0 5px;font-size:16px}.feature p{margin:0 0 10px;color:#a7bdc4;font-size:11px;line-height:1.9}.feature a{color:var(--teal);font-size:11px;font-weight:700}.feature-head{display:flex;align-items:center;justify-content:space-between;direction:ltr;font-weight:700;color:var(--teal)}.tag{font-size:9px;background:#0e493f;color:#6bf5d4;padding:2px 7px;border-radius:7px}.emotion-body{display:flex;align-items:center;gap:14px;margin-top:10px}.ring{width:82px;height:82px;border:7px solid #159b8a;border-right-color:#1c3b46;border-radius:50%;display:grid;align-content:center;text-align:center;flex-shrink:0}.ring strong{font-size:17px;line-height:1.2}.ring small{font-size:9px;color:var(--muted)}.spark{flex:1;min-width:0}.spark svg{width:100%;height:60px;overflow:visible}.spark path{fill:none;stroke:var(--teal);stroke-width:3;stroke-linecap:round;stroke-dasharray:500;stroke-dashoffset:500;animation:draw 3s ease forwards}.spark small{display:block;font-size:8px;color:#7e9aa4}.feature-plan,.feature-doran{display:flex;align-items:center;gap:9px}.ficon{flex-shrink:0;width:35px;height:35px;border-radius:11px;display:grid;place-items:center;background:#063e50;color:#16d9e8;font-size:24px}.ficon.gold{background:#4a3320;color:#f5bc63}.feature-plan img,.feature-doran img{width:72px;height:108px;object-fit:cover;border-radius:9px;opacity:.85;align-self:flex-end}.feature-tandis{display:flex;align-items:center;gap:12px}.feature-tandis img{width:74px;height:135px;object-fit:cover;object-position:top;border-radius:9px;align-self:flex-end}.feature-tandis>div{flex:1}.section{padding-top:76px;padding-bottom:5px}.section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:23px}.section h2,.about-copy h2,.contact-copy h2,.assistant-intro h2{font-size:clamp(23px,3vw,32px);line-height:1.45;margin:5px 0 7px}.section-head p,.contact-copy>p,.assistant-intro p{font-size:13px;color:var(--muted);margin:0}.text-link{font-size:12px;color:var(--teal);white-space:nowrap}.filters{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:17px}.filter{background:#081a24;border:1px solid #1c3a45;color:#a9bec6;border-radius:30px;padding:7px 14px;font-size:11px;cursor:pointer}.filter.active,.filter:hover{background:#0b4a40;border-color:#18b99c;color:#9df9e4}.product-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.product-card{background:linear-gradient(160deg,#0c202a,#06131a);border:1px solid #1b3945;border-radius:15px;overflow:hidden;transition:.25s;min-width:0}.product-photo{height:142px;background:#0a1b24;display:grid;place-items:center;overflow:hidden}.product-photo img{width:100%;height:100%;object-fit:cover;transition:transform .45s}.product-card:hover .product-photo img{transform:scale(1.07)}.product-content{padding:11px}.product-content .category{font-size:9px;color:var(--teal)}.product-content h3{font-size:12px;margin:3px 0 7px;line-height:1.6}.product-content p{font-size:10px;color:#9bb1ba;min-height:38px;margin:0 0 10px}.product-bottom{display:flex;align-items:center;justify-content:space-between;gap:5px}.product-bottom small{font-size:9px;color:#c5d6db}.product-bottom button{border:1px solid #226e63;background:#0a302d;color:var(--teal);border-radius:9px;padding:5px 8px;font-size:10px;cursor:pointer}.notice{font-size:10px;color:#829ba5;margin-top:12px}.service-section{background:linear-gradient(180deg,#06151e,#081a23);border-block:1px solid #173541;margin-top:65px;padding:55px 0}.service-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.service-grid article{padding:21px;border:1px solid var(--line);border-radius:17px;background:#081922;transition:.3s}.num{color:var(--teal);font-size:12px;letter-spacing:1px}.service-grid h3{font-size:15px;margin:14px 0 7px}.service-grid p{font-size:11px;color:var(--muted);min-height:70px}.service-grid a{font-size:11px;color:var(--teal)}.project-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.project-card{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:18px;overflow:hidden;background:#091b25;transition:.3s}.project-card img{width:100%;height:210px;object-fit:cover;object-position:top;background:#0b1e28}.project-card>div{padding:17px}.project-label{font-size:9px;color:var(--teal);letter-spacing:1px;direction:ltr;display:block}.project-card h3{font-size:17px;margin:6px 0}.project-card p{font-size:11px;color:var(--muted);margin:0 0 10px}.project-card b,.project-card a{font-size:11px;color:var(--teal)}.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:42px;align-items:center}.about-image{position:relative}.about-image img{display:block;width:100%;height:330px;object-fit:cover;object-position:top;border-radius:20px;border:1px solid #23444f}.about-image span{position:absolute;bottom:14px;left:14px;background:#041019e8;border:1px solid #294853;padding:8px 11px;border-radius:9px;font-size:9px;direction:ltr;color:#b7ccd2}.about-copy p{font-size:13px;color:var(--muted);line-height:2.2}.about-copy ul{list-style:none;padding:0;display:grid;gap:9px;margin:20px 0 25px}.about-copy li{font-size:12px;color:#c8d9de}.about-copy li:before{content:'✓';color:var(--teal);margin-left:10px}.contact-section{display:grid;grid-template-columns:1fr .85fr;gap:42px;padding:70px 0}.contact-links{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:23px}.contact-links a{display:flex;align-items:center;gap:11px;padding:12px;border:1px solid var(--line);border-radius:12px;background:#081a23}.contact-links a>span{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#0a3934;color:var(--teal);font-weight:700}.contact-links b,.contact-links small{display:block}.contact-links b{font-size:12px}.contact-links small{font-size:10px;color:var(--muted);direction:ltr;text-align:right}.lead-form{background:linear-gradient(145deg,#0c202a,#07151d);border:1px solid #22434f;border-radius:20px;padding:24px}.lead-form h3{margin:0 0 15px}.lead-form label{display:block;font-size:11px;color:#b6cbd1;margin-bottom:12px}.lead-form input,.lead-form select,.lead-form textarea{display:block;width:100%;margin-top:5px;background:#04131b;border:1px solid #23424e;border-radius:10px;color:#e9f5f7;padding:10px 12px;outline:none;font-size:12px}.lead-form input:focus,.lead-form select:focus,.lead-form textarea:focus{border-color:var(--teal)}.trap{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important;opacity:0!important}.submit{width:100%}.form-status{font-size:10px;color:var(--muted);margin:10px 0 0}.assistant-section{display:grid;grid-template-columns:.8fr 1fr;gap:40px;align-items:center;border-top:1px solid #183440;margin-top:15px;padding-bottom:70px}.assistant-intro p{line-height:2.2}.chatbox{border:1px solid #21434f;border-radius:19px;background:#081a23;overflow:hidden;box-shadow:0 18px 45px #0003}.chat-head{display:flex;align-items:center;gap:10px;padding:14px 17px;background:#0b222d;border-bottom:1px solid #1c3a46}.bot-avatar{display:grid;place-items:center;width:38px;height:38px;background:#0a4a42;color:#62f4d7;border-radius:12px;font-size:22px}.chat-head b,.chat-head small{display:block}.chat-head b{font-size:12px}.chat-head small{font-size:9px;color:var(--muted)}.chat-head small i{display:inline-block;width:6px;height:6px;border-radius:50%;background:#e4b65c}.chat-head button{margin-right:auto;background:transparent;border:0;color:#9db4bd;font-size:20px;cursor:pointer}.chat-messages{height:250px;overflow:auto;padding:16px;display:flex;align-items:flex-start;flex-direction:column;gap:10px}.bubble{max-width:90%;font-size:12px;padding:10px 13px;border-radius:13px;line-height:1.9}.bubble.bot{background:#102b36;border:1px solid #1c3f4b;border-top-right-radius:4px}.bubble.user{align-self:flex-start;background:#0c5b4e;color:#eafff8;border-top-left-radius:4px}.quick-questions{display:flex;gap:7px;flex-wrap:wrap}.quick-questions button{background:#07151d;border:1px solid #2a4a56;color:#9dc5c9;border-radius:20px;padding:6px 10px;font-size:10px;cursor:pointer}.chat-input{display:flex;gap:8px;padding:12px;border-top:1px solid #1c3a46}.chat-input input{flex:1;min-width:0;border:1px solid #25444f;background:#04131b;border-radius:10px;padding:10px 12px;color:white;font-size:12px;outline:none}.chat-input button{width:42px;border:0;border-radius:10px;background:var(--teal);color:#03211a;font-size:18px;cursor:pointer}.chat-contact{display:flex;justify-content:space-between;gap:8px;padding:0 14px 13px;color:#819ba5;font-size:10px}.chat-contact a{color:var(--teal)}.footer{border-top:1px solid #1b3742;background:#020a10;padding:24px 0 80px}.footer-row{display:flex;align-items:center;justify-content:space-between;gap:20px}.footer-links{display:flex;gap:17px;color:#9bb0b8;font-size:11px}.footer-row>small{color:#647e88;font-size:9px}.mobile-contact{display:none}.to-top{position:fixed;left:18px;bottom:18px;width:40px;height:40px;border-radius:12px;border:1px solid #27505c;background:#0b222b;color:var(--teal);font-size:20px;display:none;z-index:30;cursor:pointer}.to-top.show{display:block}@keyframes draw{to{stroke-dashoffset:0}}@media(max-width:1050px){.headrow{gap:14px}.header nav{gap:13px}.feature-strip{grid-template-columns:repeat(2,1fr)}.product-grid{grid-template-columns:repeat(4,1fr)}.product-photo{height:150px}.service-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:720px){.wrap{width:calc(100% - 26px);max-width:560px;margin-inline:auto}.topinner span:last-child{display:none}.headrow{min-height:66px}.brand b{font-size:15px}.brand small{font-size:7px}.head-cta{display:none}.menu-toggle{display:block;margin-right:auto} .header nav{display:none;position:absolute;top:65px;left:12px;right:12px;background:#071720;border:1px solid #23434e;border-radius:14px;padding:15px;flex-direction:column;gap:13px}.header nav.open{display:flex}.hero-content{grid-template-columns:1fr;padding:43px 0 25px;gap:25px}.hero h1{font-size:34px}.hero p{font-size:12px}.hero-side{min-height:155px}.hero-photo{min-height:165px}.trust{gap:13px;justify-content:space-between}.trust b{font-size:11px}.trust small{font-size:9px}.hero-bottom{font-size:7px;gap:8px}.feature-strip{grid-template-columns:1fr 1fr;gap:9px}.feature{padding:12px;min-height:160px}.feature h3{font-size:13px}.feature p{font-size:10px}.feature-plan img,.feature-doran img{width:50px;height:83px}.feature-tandis img{width:50px;height:100px}.section{padding-top:52px}.section-head{align-items:start;flex-direction:column}.section-head p{font-size:11px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product-photo{height:145px}.product-content{padding:10px}.service-section{margin-top:48px;padding:42px 0}.service-grid{grid-template-columns:1fr 1fr;gap:9px}.service-grid article{padding:14px}.service-grid p{min-height:90px;font-size:10px}.project-grid{grid-template-columns:1fr}.project-card{display:grid;grid-template-columns:120px 1fr}.project-card img{height:100%;min-height:175px}.project-card>div{padding:13px}.project-card h3{font-size:14px}.about-grid,.contact-section,.assistant-section{grid-template-columns:1fr;gap:25px}.about-image img{height:240px}.contact-section{padding-top:50px}.contact-links{gap:7px}.contact-links a{padding:9px}.contact-links small{font-size:9px}.lead-form{padding:17px}.assistant-section{padding-bottom:45px}.chat-messages{height:230px}.footer-row{flex-direction:column;align-items:flex-start}.footer-links{flex-wrap:wrap}.mobile-contact{display:flex;position:fixed;z-index:40;bottom:0;right:0;left:0;background:#041019f2;border-top:1px solid #21434d;padding:8px 13px;gap:8px}.mobile-contact a{flex:1;text-align:center;padding:7px;border-radius:9px;background:#0a3933;color:var(--teal);font-size:12px}.mobile-contact a:last-child{background:var(--teal);color:#04221b}.to-top{bottom:65px}}@media(max-width:380px){.feature-strip{grid-template-columns:1fr}.feature{min-height:130px}.service-grid{grid-template-columns:1fr}.service-grid p{min-height:0}.trust{gap:8px}.trust b{font-size:10px}.hero h1{font-size:30px}}@media(max-width:720px){body{min-width:0}.wrap{width:calc(100% - 26px);max-width:560px;margin-left:auto;margin-right:auto}.hero-content,.feature-strip,.product-grid,.service-grid,.project-grid,.about-grid,.contact-section,.assistant-section{min-width:0;width:100%}.hero-content>* ,.feature-strip>* ,.product-grid>* ,.service-grid>* ,.project-grid>*{min-width:0}.hero-photo,.about-image img,.project-card img,.product-photo img{max-width:100%}.assistant-intro,.chatbox,.lead-form,.contact-links{min-width:0;max-width:100%}.chat-contact{flex-wrap:wrap}.chat-messages{min-width:0}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* HSE-Motion-8: responsive full-width safety overrides */
html, body { width:100% !important; min-width:0 !important; max-width:100% !important; margin:0 !important; padding:0; }
body { display:block !important; overflow-x:hidden !important; }
main, header, footer, section, .topline, .service-section { width:100%; max-width:100%; }
.wrap { box-sizing:border-box; width: min(1180px, calc(100% - 32px)) !important; max-width:1180px; margin-left:auto !important; margin-right:auto !important; }
@media (max-width:720px) {
  html, body { width:100% !important; min-width:0 !important; }
  main, .hero, .service-section, .section, .contact-section, .assistant-section, .footer, .header, .topline { width:100% !important; max-width:100% !important; }
  .wrap { width:calc(100% - 24px) !important; max-width:none !important; margin-left:auto !important; margin-right:auto !important; }
  .hero-content, .hero-bottom, .section-head, .product-grid, .service-grid, .project-grid, .about-grid, .contact-section, .assistant-section, .footer-row, .headrow, .topinner { box-sizing:border-box; width:100%; max-width:100%; }
  .hero-content { grid-template-columns:minmax(0,1fr) !important; }
  .feature-strip { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
  .product-grid { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
  .service-grid { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
  .project-grid { grid-template-columns:minmax(0,1fr) !important; }
  .about-grid, .contact-section, .assistant-section { grid-template-columns:minmax(0,1fr) !important; }
  img, svg, video, canvas { max-width:100%; }
}


/* FINAL LAYOUT PATCH v2: prevent narrow right-column rendering on mobile and desktop-mode browsers */
html, body { width:100% !important; max-width:100% !important; min-width:0 !important; margin:0 !important; }
body { display:block !important; overflow-x:clip !important; }
body > .topline, body > .header, body > main, body > .footer, body > footer { width:100% !important; max-width:100% !important; }
main { display:block !important; margin:0 !important; }
.wrap { box-sizing:border-box !important; margin-left:auto !important; margin-right:auto !important; }
@media screen and (max-width: 1100px) {
  .wrap { width:calc(100% - 28px) !important; max-width:none !important; }
  .topline, .header, main, .hero, .service-section, .section, .footer { width:100% !important; max-width:100% !important; }
  .hero-content, .hero-bottom, .feature-strip, .section-head, .product-grid, .service-grid, .project-grid, .about-grid, .contact-section, .assistant-section, .footer-row, .headrow, .topinner { box-sizing:border-box !important; width:100% !important; max-width:100% !important; }
  .hero-content { grid-template-columns:minmax(0,1fr) !important; }
  .about-grid, .contact-section, .assistant-section { grid-template-columns:minmax(0,1fr) !important; }
  .project-grid { grid-template-columns:minmax(0,1fr) !important; }
  img, svg, video, canvas { max-width:100% !important; }
}
@media screen and (max-width: 520px) {
  .feature-strip, .product-grid, .service-grid { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
  .project-card { min-width:0 !important; }
  .topinner, .headrow { gap:10px !important; }
}
