/* Hooshnics Solutions V1 • Static prototype; XTRA/Elementor integration mounts only .hn-page--solutions.
   WordPress typography MUST resolve actual Vazir 400/500/700 from existing XTRA Child. No font binary shipped. */
:root {--hn-navy:#061d37;--hn-deep:#04182e;--hn-blue:#009ff3;--hn-cyan:#03b9fa;--hn-ink:#092242;--hn-muted:#61768d;--hn-border:#e7eff5;--hn-font-persian:"Vazir","Noto Sans Arabic",sans-serif;--hn-max:1364px}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:85px}
body.hn-preview-shell{margin:0;background:#fff;color:var(--hn-ink);font-family:var(--hn-font-persian);direction:rtl;font-weight:400}
.hn-preview-shell a{color:inherit;text-decoration:none}.hn-preview-shell button,.hn-preview-shell input{font:inherit}.hn-preview-shell button{cursor:pointer}.hn-preview-shell img{max-width:100%;display:block}
.hn-page--solutions{direction:rtl;font-family:var(--hn-font-persian);font-weight:400;font-size:15px;color:var(--hn-ink);background:#fff;isolation:isolate}
.hn-page--solutions *{box-sizing:border-box}.hn-page--solutions img{max-width:100%;display:block}.hn-page--solutions a{text-decoration:none}.hn-page--solutions button{font:inherit}.hn-page--solutions h1,.hn-page--solutions h2,.hn-page--solutions h3,.hn-page--solutions p{margin-block:0}
.hn-page--solutions h1,.hn-page--solutions h2,.hn-page--solutions h3{font-weight:700}
.hn-container{width:min(calc(100% - 68px),var(--hn-max));margin-inline:auto}
.hn-ico{width:21px;height:21px;display:inline-block;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle;flex:none}
.hn-preview-shell :is(a,button,input):focus-visible,.hn-page--solutions :is(a,button):focus-visible{outline:3px solid #58c5ff;outline-offset:3px}
.hn-skip{position:fixed;z-index:300;top:-100px;right:12px;background:#fff;padding:10px 18px;border:2px solid var(--hn-blue)}.hn-skip:focus{top:10px}
/* Global preview shell only: Codex MUST omit when adding page into XTRA */
.hn-preview-header{position:relative;z-index:40;height:62px;background:linear-gradient(100deg,#061c36 0%,#0c2747 55%,#081c38 100%);color:#fff;box-shadow:0 7px 25px #00182d20;border-radius:0 0 16px 16px;margin-inline:0}
.hn-nav-inner{height:100%;display:flex;gap:28px;align-items:center;justify-content:space-between}
.hn-brand{display:flex;align-items:center;max-width:200px;flex:none}.hn-brand img{width:172px;height:auto;object-fit:contain}
.hn-nav{display:flex;align-items:center;gap:25px;height:100%;white-space:nowrap}.hn-nav a{font-weight:700;color:#e9f2fa;font-size:13px;height:100%;display:inline-flex;align-items:center;position:relative}.hn-nav a:hover{color:#71d7ff}.hn-nav a.hn-current::after{content:"";height:3px;background:var(--hn-blue);position:absolute;bottom:6px;right:0;left:0}
.hn-nav-actions{display:flex;align-items:center;gap:14px;margin-inline-start:auto;direction:rtl}
.hn-btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:43px;padding:9px 19px;border:0;border-radius:11px;font-weight:700;font-size:13px;white-space:nowrap;transition:background .2s,transform .2s;cursor:pointer}
.hn-btn:hover{transform:translateY(-1px)}.hn-btn--blue{background:#009ff5;color:white!important;box-shadow:0 5px 15px #00aaff2b}.hn-btn--blue:hover{background:#0087db}.hn-btn--white{background:#fff;color:#06244a!important}.hn-btn--white:hover{background:#e9f8ff}
.hn-head-cta{min-height:36px;border-radius:22px;padding-inline:17px;font-size:12px}.hn-head-cta .hn-ico{width:14px;height:14px}
.hn-icon-btn{border:0;background:none;color:#fff;width:36px;height:36px;display:grid;place-items:center}
.hn-menu-button{display:none}.hn-preview-search{position:absolute;left:4%;top:64px;background:white;box-shadow:0 12px 25px #031a3a3d;border-radius:12px;padding:15px;display:flex;gap:12px;align-items:center;color:#092442;max-width:460px}.hn-preview-search[hidden]{display:none}.hn-preview-search input{padding:10px;border:1px solid #d9e6ee;border-radius:8px;min-width:150px}.hn-preview-search button{background:var(--hn-blue);color:white;padding:11px;border:none;border-radius:8px}
/* hero */
.hn-sol-hero{height:386px;overflow:hidden;position:relative;color:white;background:#061d34;isolation:isolate}
.hn-hero-photos{position:absolute;inset:0;z-index:-2;display:flex;direction:ltr;align-items:stretch;overflow:hidden}
.hn-hero-photo{height:100%;background-image:var(--hn-photo);background-repeat:no-repeat;background-size:cover;background-position:center;position:relative;flex:1 1 25%;transform:scale(1.04);border-inline-end:3px solid #bed5e3bb}
.hn-hero-photo--farm{background-position:36% center;clip-path:polygon(0 0,100% 0,75% 100%,0 100%);margin-right:-2.3%}
.hn-hero-photo--hospital{background-position:48% center;clip-path:polygon(22% 0,100% 0,77% 100%,0 100%);margin-right:-2.5%}
.hn-hero-photo--legal{background-position:center;clip-path:polygon(22% 0,100% 0,74% 100%,0 100%);margin-right:-2.4%}
.hn-hero-photo--digital{background-position:center;clip-path:polygon(22% 0,100% 0,100% 100%,0 100%);border:0}
.hn-hero-gradient{position:absolute;inset:0;background:linear-gradient(270deg,#061c36f5 0%,#08243bdc 21%,#07233b7c 44%,#07254312 73%),linear-gradient(0deg,#051b35e9 0%,#071c3100 47%);z-index:-1}
.hn-hero-inner{height:100%;position:relative;display:flex;align-items:center;justify-content:flex-start}
.hn-hero-copy{width:min(610px,50%);padding-bottom:10px;text-align:right;margin-right:0}
.hn-hero-copy h1{font-size:clamp(32px,2.95vw,45px);line-height:1.45;letter-spacing:-.5px;color:#fff;text-shadow:0 2px 12px #00152a8c}
.hn-hero-copy h1 span,.hn-cta-copy h2 span{color:var(--hn-cyan)}
.hn-hero-copy p{font-size:15px;line-height:2.05;margin-top:13px;color:#fff;font-weight:500;max-width:550px;text-shadow:0 2px 5px #001527}
.hn-hero-buttons{display:flex;gap:14px;margin-top:20px}.hn-hero-buttons .hn-btn{min-width:155px}
.hn-hero-icons{position:absolute;left:0;right:0;bottom:15px;display:grid;grid-template-columns:repeat(5,1fr);direction:ltr;max-width:880px;pointer-events:none}
.hn-hero-icons span{width:75px;height:72px;border:1px solid #00c3f7aa;border-radius:14px;color:#00caff;display:grid;place-items:center;background:#03274991;box-shadow:0 0 16px #00d3ff40;backdrop-filter:blur(2px);justify-self:center}
.hn-hero-icons .hn-ico{width:44px;height:44px;stroke-width:1.3}
/* horizontal categories */
.hn-sol-nav{height:105px;background:linear-gradient(#fff,#fbfdff);position:relative;z-index:3;display:flex;align-items:center;box-shadow:0 5px 15px #0a37540b}
.hn-sol-nav-scroller{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:12px;align-items:stretch}
.hn-sol-nav-item{min-width:0;min-height:73px;border:1px solid #eaf1f5;border-radius:12px;display:flex;align-items:center;justify-content:center;gap:9px;padding:10px;background:#fff;color:var(--hn-ink);font-weight:700;font-size:12px;box-shadow:0 3px 13px #123f5907;transition:border-color .2s,background .2s}
.hn-sol-nav-item:hover,.hn-sol-nav-item.is-active{border-color:#79d7ff;background:#f2fbff}
.hn-sol-nav-item .hn-ico{width:34px;height:34px;color:#00a7f7;stroke-width:1.5}
.hn-sol-nav-item span{max-width:155px;line-height:1.65}
/* sections */
.hn-section{position:relative;padding-block:35px 32px}
.hn-sol-services{padding-top:40px;padding-bottom:33px;background:linear-gradient(170deg,#fff 0%,#f8fcff 63%,#fff 100%)}
.hn-section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:22px}
.hn-section-head--right{justify-content:flex-start}
.hn-section-head h2{font-size:26px;line-height:1.5;color:#071e3b;letter-spacing:-.3px}
.hn-section-head p{font-size:13px;line-height:1.75;color:#718498;margin-top:3px}
.hn-section-more{display:inline-flex;align-items:center;gap:8px;color:#02a7f4;font-size:13px;font-weight:700;white-space:nowrap}
.hn-section-more .hn-ico{width:17px;height:17px}
.hn-main-service-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}
.hn-sol-card{border:1px solid #e6f0f6;border-radius:11px;background:#fff;box-shadow:0 5px 15px #092a4410;overflow:hidden;min-width:0;display:flex;flex-direction:column}
.hn-card-picture{height:156px;overflow:hidden;background:#e1eff8}
.hn-card-picture img{width:100%;height:100%;object-fit:cover;object-position:center}
.hn-card-content{padding:12px 14px 12px;display:flex;flex-direction:column;align-items:stretch;flex:1;min-height:232px}
.hn-card-content h3{font-size:17px;line-height:1.52;text-align:center;min-height:50px;max-width:285px;margin:auto auto 0}
.hn-card-intro{text-align:center;line-height:1.7;font-size:12px;color:#687e94;min-height:40px;margin-top:4px!important}
.hn-checklist{list-style:none;padding:0;margin:13px 0 10px;display:grid;gap:5px}
.hn-checklist li{font-size:12.2px;line-height:1.6;color:#59728d;display:flex;align-items:flex-start;gap:7px}
.hn-checklist .hn-ico{width:14px;height:14px;flex:0 0 14px;margin-top:2px;stroke-width:2.6;color:#05aef2}
.hn-card-link{font-size:13px;font-weight:700;color:#00a5ef!important;display:inline-flex;gap:9px;align-items:center;justify-content:flex-start;margin-top:auto;align-self:flex-start;line-height:1.5}
.hn-card-link .hn-ico{width:17px;height:17px}
.hn-card-link:hover{color:#0676ad!important}
.hn-secondary-solutions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin-top:16px}
.hn-wide-card{display:flex;flex-direction:row-reverse;min-height:242px;overflow:hidden;background:#fff;border:1px solid #eaf1f6;border-radius:11px;box-shadow:0 3px 11px #1639570c}
.hn-wide-card>img{width:44%;flex:0 0 44%;height:auto;object-fit:cover;object-position:center}
.hn-wide-info{padding:13px 13px 11px;min-width:0;display:flex;flex-direction:column;flex:1}
.hn-wide-info h3{font-size:17px;line-height:1.55;max-width:245px}
.hn-wide-info p{font-size:12px;line-height:1.65;color:#647c94;margin-top:7px}
.hn-wide-info .hn-checklist{margin:10px 0 7px;gap:4px}
.hn-wide-info .hn-checklist li{font-size:11px}
.hn-wide-info .hn-card-link{font-size:12px}
/* industries */
.hn-sol-industries{background:linear-gradient(180deg,#f3faff,#fff);padding-top:37px;padding-bottom:36px}
.hn-industry-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.hn-industry-card{border-radius:12px;background:#fff;overflow:hidden;border:1px solid #e5f0f7;box-shadow:0 6px 13px #0b335509}
.hn-industry-image{height:83px;overflow:hidden}.hn-industry-image img{width:100%;height:100%;object-fit:cover}
.hn-industry-text{padding:12px 14px 14px;min-height:186px;display:flex;flex-direction:column}
.hn-industry-text h3{font-size:16px;line-height:1.6;text-align:center}
.hn-industry-text .hn-checklist{margin:10px 0 8px}.hn-industry-text .hn-checklist li{font-size:11.5px;white-space:normal}.hn-industry-text .hn-card-link{align-self:center;font-size:12.5px}
/* process */
.hn-sol-process{padding-top:30px;padding-bottom:26px;background:#fff}
.hn-sol-process .hn-section-head{margin-bottom:17px}
.hn-steps{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px}
.hn-step{position:relative;min-width:0;display:flex;flex-direction:column;align-items:center;text-align:center;min-height:164px;padding:5px 5px 0}
.hn-step:not(:last-child)::after{content:'←';position:absolute;left:-18px;top:37px;color:#91adc3;font-size:24px;font-weight:300}
.hn-step-number{position:absolute;right:15%;top:0;background:#00a8f3;color:white;border-radius:50%;min-width:27px;height:27px;display:grid;place-items:center;font:700 13px Arial,sans-serif;box-shadow:0 3px 8px #00a6ea30}
.hn-step-icon{width:64px;height:64px;border-radius:50%;background:#f1faff;color:#00a6f4;display:grid;place-items:center;margin-bottom:7px}
.hn-step-icon .hn-ico{width:30px;height:30px}
.hn-step h3{font-size:13px;line-height:1.5;margin-bottom:5px;max-width:160px}
.hn-step p{font-size:11.5px;line-height:1.7;color:#6e8196;max-width:175px}
/* advantages */
.hn-sol-benefits{padding-top:25px;padding-bottom:21px;background:#f3faff}
.hn-sol-benefits .hn-section-head{margin-bottom:15px}
.hn-benefits-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
.hn-benefit{height:119px;background:#fff;border:1px solid #e5f1f9;border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:10px;text-align:center;box-shadow:0 4px 12px #0d426809}
.hn-benefit .hn-ico{color:#00a7ff;width:34px;height:34px;stroke-width:1.5;margin-bottom:9px}
.hn-benefit h3{font-size:12.8px;line-height:1.75}
/* CTA */
.hn-sol-cta{min-height:113px;background:linear-gradient(270deg,#04182ff0 0%,#0d3052cf 65%,#061b31bd 100%),url('./assets/images/farm-panorama.jpg') center 59%/cover;color:white;display:flex;align-items:center}
.hn-cta-inner{display:flex;align-items:center;justify-content:space-between;gap:28px;padding-block:16px}
.hn-cta-copy h2{font-size:23px;line-height:1.5}.hn-cta-copy p{font-size:13px;line-height:1.65;color:#e1f3fc;margin-top:5px}
.hn-cta-buttons{display:flex;gap:14px;flex-shrink:0}
.hn-cta-buttons .hn-btn{min-width:185px}
/* preview footer */
.hn-preview-footer{background:linear-gradient(135deg,#041b33 0%,#061d37 65%,#021628 100%);color:#fff;padding-top:22px}
.hn-footer-grid{display:grid;grid-template-columns:1.1fr 1.2fr 1fr 1.4fr;gap:26px;align-items:start;padding-bottom:29px}
.hn-footer-grid h3{font-size:15px;margin:5px 0 13px;font-weight:700}
.hn-footer-links{display:flex;flex-direction:column;align-items:start;gap:7px}.hn-footer-links a{font-size:12px;color:#c7d6e6;line-height:1.4}.hn-footer-links a:hover{color:#69ceff}
.hn-footer-about img{width:200px;height:auto;margin:-2px 0 9px}.hn-footer-about p{font-size:12px;line-height:1.9;color:#c5d4e5;max-width:320px}
.hn-footer-contacts p{font-size:12px;margin:8px 0;color:#d0e0ef}.hn-footer-contacts .hn-btn{margin-top:15px;border-radius:13px;padding:7px 16px;min-height:36px}.hn-fixture-label{font-style:italic;color:#8eb4d0!important}
.hn-social-icons{display:flex;gap:9px;direction:ltr;justify-content:flex-end;margin-top:9px}.hn-social-icons span{width:26px;height:26px;border-radius:50%;border:1px solid #0b97cc;display:grid;place-items:center;font:700 12px Arial,sans-serif}
.hn-footer-bottom{border-top:1px solid #174765;padding-block:13px;font-size:11px;color:#b6cadb}.hn-footer-bottom .hn-container{display:flex;align-items:center;justify-content:space-between;gap:20px}.hn-footer-bottom a{margin-inline:10px;color:#b6cadb}
/* responsive */
@media (min-width:1441px){.hn-sol-hero{height:402px}}
@media (max-width:1200px){.hn-container{width:min(calc(100% - 44px),var(--hn-max))}.hn-nav{gap:14px}.hn-nav a{font-size:12px}.hn-hero-copy{width:53%}.hn-hero-copy h1{font-size:34px}.hn-main-service-grid{gap:10px}.hn-card-content h3{font-size:15px}.hn-checklist li{font-size:11px}.hn-sol-nav-item{font-size:10.5px;gap:4px}.hn-sol-nav-item .hn-ico{width:28px;height:28px}.hn-cta-copy h2{font-size:20px}}
@media (max-width:980px){.hn-menu-button{display:grid}.hn-head-cta{display:none}.hn-nav{position:absolute;top:62px;inset-inline:0;height:auto;padding:16px 25px 22px;background:#062643;display:none;flex-direction:column;align-items:stretch;gap:0;box-shadow:0 14px 24px #071e3533}.hn-nav.is-open{display:flex}.hn-nav a{min-height:43px}.hn-nav a.hn-current::after{left:auto;right:0;width:25px;bottom:0}.hn-nav-actions{margin-inline-start:0}.hn-hero-copy{width:57%}.hn-hero-icons{max-width:70%}.hn-hero-icons span{width:62px;height:62px}.hn-sol-nav{height:auto;padding-block:11px}.hn-sol-nav-scroller{display:flex;overflow-x:auto;scroll-snap-type:x proximity;gap:10px;scrollbar-width:thin}.hn-sol-nav-item{min-width:178px;scroll-snap-align:start}.hn-main-service-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.hn-card-picture{height:175px}.hn-card-content{min-height:230px}.hn-secondary-solutions{grid-template-columns:1fr;gap:14px}.hn-wide-card{min-height:190px}.hn-wide-card>img{width:35%;flex-basis:35%}.hn-industry-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hn-industry-image{height:115px}.hn-steps{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:20px}.hn-step:nth-child(3)::after{display:none}.hn-benefits-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.hn-footer-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:650px){html{scroll-padding-top:70px}.hn-container{width:calc(100% - 30px)}.hn-preview-header{height:60px;border-radius:0 0 9px 9px}.hn-brand img{width:142px}.hn-nav{top:60px}.hn-sol-hero{min-height:540px;height:auto}.hn-hero-photos{height:58%;bottom:auto;opacity:.78}.hn-hero-photo--hospital,.hn-hero-photo--legal{display:none}.hn-hero-photo--farm{flex-basis:55%}.hn-hero-photo--digital{flex-basis:55%}.hn-hero-gradient{background:linear-gradient(0deg,#071b35 5%,#061e36d9 42%,#041c3459 75%,#041c341d 100%)}.hn-hero-inner{align-items:flex-end;padding-top:175px;padding-bottom:35px}.hn-hero-copy{width:100%;text-align:right;padding:0}.hn-hero-copy h1{font-size:31px;line-height:1.6}.hn-hero-copy p{font-size:13px;line-height:1.95;margin-top:10px}.hn-hero-buttons{margin-top:17px;flex-wrap:wrap}.hn-hero-buttons .hn-btn{min-width:0;flex:1;padding:9px 10px;font-size:12px}.hn-hero-icons{left:0;right:auto;top:54px;bottom:auto;max-width:none;width:100%;grid-template-columns:repeat(5,1fr);gap:2px;align-items:start}.hn-hero-icons span{width:40px;height:40px;border-radius:10px}.hn-hero-icons .hn-ico{width:27px;height:27px}.hn-sol-nav-scroller{margin-right:0}.hn-section{padding-block:29px}.hn-section-head{align-items:flex-start;gap:8px}.hn-section-head h2{font-size:21px}.hn-section-head p{font-size:12px}.hn-section-more{font-size:11px;align-self:flex-end}.hn-main-service-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.hn-card-picture{height:112px}.hn-card-content{padding:10px 8px;min-height:286px}.hn-card-content h3{font-size:13px;line-height:1.5;min-height:57px}.hn-card-intro{font-size:10.5px;min-height:55px}.hn-checklist{gap:5px}.hn-checklist li{font-size:10.2px;line-height:1.7}.hn-checklist .hn-ico{width:12px;height:12px;flex-basis:12px;margin-top:2px}.hn-card-link{font-size:10.5px;gap:4px}.hn-secondary-solutions{gap:10px;margin-top:14px}.hn-wide-card{min-height:205px}.hn-wide-card>img{width:35%;flex-basis:35%;object-position:center}.hn-wide-info{padding:10px 9px}.hn-wide-info h3{font-size:14px}.hn-wide-info p,.hn-wide-info .hn-checklist li{font-size:10px}.hn-industry-grid{gap:9px}.hn-industry-image{height:75px}.hn-industry-text{padding:10px 8px;min-height:215px}.hn-industry-text h3{font-size:13px}.hn-industry-text .hn-checklist li{font-size:10px}.hn-steps{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:15px}.hn-step:nth-child(3)::after{display:block}.hn-step:nth-child(even)::after{display:none}.hn-step{min-height:156px}.hn-step h3{font-size:12px}.hn-step p{font-size:10.5px}.hn-benefits-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.hn-benefit{height:117px}.hn-benefit h3{font-size:12px}.hn-cta-inner{flex-direction:column;align-items:stretch;gap:15px;text-align:right}.hn-cta-copy h2{font-size:20px}.hn-cta-copy p{font-size:12px}.hn-cta-buttons{justify-content:stretch}.hn-cta-buttons .hn-btn{min-width:0;flex:1;font-size:11px;padding-inline:9px}.hn-footer-grid{gap:20px}.hn-footer-grid h3{font-size:13px}.hn-footer-links a,.hn-footer-contacts p{font-size:11px}.hn-footer-about img{width:145px}.hn-footer-about p{font-size:11px}.hn-footer-bottom .hn-container{flex-direction:column;align-items:center;text-align:center;gap:7px}}
@media (max-width:360px){.hn-container{width:calc(100% - 22px)}.hn-main-service-grid{grid-template-columns:1fr}.hn-card-picture{height:158px}.hn-card-content{min-height:0;padding:13px}.hn-card-content h3{min-height:0}.hn-card-intro{min-height:0}.hn-card-content .hn-checklist li{font-size:12px}.hn-sol-nav-item{min-width:155px}.hn-industry-grid{grid-template-columns:1fr}.hn-industry-image{height:125px}.hn-industry-text{min-height:0}.hn-industry-text .hn-checklist li{font-size:12px}.hn-footer-grid{grid-template-columns:1fr 1fr}.hn-hero-copy h1{font-size:28px}}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}.hn-page--solutions *, .hn-preview-shell *{transition:none!important;animation:none!important}}

.hn-tick{width:14px;height:14px;flex:0 0 14px;display:inline-grid;place-items:center;background:#08aaf3;color:#fff;border-radius:50%;font:bold 10px Arial,sans-serif;margin-top:3px;line-height:1}

/* Explicit photographic sources ensure portable rendering without inline CSS variables. */
.hn-hero-photo--farm{background-image:url("./assets/images/hero-farm.webp")}
.hn-hero-photo--hospital{background-image:url("./assets/images/hero-health.webp")}
.hn-hero-photo--legal{background-image:url("./assets/images/hero-law.webp")}
.hn-hero-photo--digital{background-image:url("./assets/images/hero-digital.webp")}
/* Hero photo painting order: explicitly above background, beneath overlay/copy. */
.hn-hero-photos{z-index:0}
.hn-hero-gradient{z-index:1}
.hn-hero-inner{z-index:2}


/* v1.1 documented visual fix: contiguous four-image hero and photo-side icons. */
.hn-sol-hero{isolation:isolate}
.hn-hero-photos{position:absolute;inset:0;z-index:0;display:block;overflow:hidden;pointer-events:none;direction:ltr}
.hn-hero-photo{position:absolute;top:0;bottom:0;height:100%;border:0;margin:0;transform:none;background-repeat:no-repeat;background-size:cover;background-position:center;flex:none}
/* Shared top/bottom seam coordinates keep polygons contiguous with no dark gutters. */
.hn-hero-photo--farm{left:0;width:27%;clip-path:polygon(0 0,100% 0,74.074% 100%,0 100%);background-position:35% 50%}
.hn-hero-photo--hospital{left:20%;width:28%;clip-path:polygon(25% 0,100% 0,71.4286% 100%,0 100%);background-position:50% 50%}
.hn-hero-photo--legal{left:40%;width:28%;clip-path:polygon(28.5714% 0,100% 0,64.2857% 100%,0 100%);background-position:50% 52%}
.hn-hero-photo--digital{left:58%;width:42%;clip-path:polygon(23.8095% 0,100% 0,100% 100%,0 100%);background-position:40% 50%}
.hn-hero-gradient{z-index:1;background:linear-gradient(270deg,#061a31f8 0%,#071d35ef 16%,#062038b6 32%,#05203b35 57%,#06243905 80%),linear-gradient(0deg,#03182cc9 0%,transparent 46%)}
.hn-hero-inner{position:relative;z-index:2}
.hn-hero-copy{position:relative;z-index:3}
/* Photo-only overlays sit on LEFT half, never on top of the right-hand copy/CTAs. */
.hn-sol-hero>.hn-hero-icons{position:absolute;z-index:3;bottom:12px;top:auto;left:4.4%;right:auto;width:61.1%;max-width:880px;height:auto;direction:ltr;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));pointer-events:none}
.hn-sol-hero>.hn-hero-icons span{width:72px;height:70px;border-radius:12px;justify-self:center;border-color:#03bbf3b8;background:#0734537a;box-shadow:0 0 14px #00baff28;backdrop-filter:blur(3px)}
.hn-sol-hero>.hn-hero-icons .hn-ico{width:40px;height:40px}
@media(max-width:980px){.hn-sol-hero>.hn-hero-icons{left:3%;width:58%;max-width:none}.hn-sol-hero>.hn-hero-icons span{width:52px;height:52px}.hn-sol-hero>.hn-hero-icons .hn-ico{width:31px;height:31px}}
@media(max-width:650px){
.hn-hero-photos{height:58%;bottom:auto;opacity:.85}
.hn-hero-photo--hospital,.hn-hero-photo--legal{display:block}
.hn-hero-photo--farm{left:0;width:33%;clip-path:none}
.hn-hero-photo--hospital{left:33%;width:25%;clip-path:none}
.hn-hero-photo--legal{left:58%;width:22%;clip-path:none}
.hn-hero-photo--digital{left:80%;width:20%;clip-path:none}
.hn-hero-gradient{background:linear-gradient(0deg,#071b35 2%,#061e36e8 42%,#041c345b 77%,#041c341c 100%)}
.hn-sol-hero>.hn-hero-icons{top:60px;bottom:auto;left:4%;width:92%;max-width:none;gap:2px}
.hn-sol-hero>.hn-hero-icons span{width:41px;height:41px;border-radius:9px}
.hn-sol-hero>.hn-hero-icons .hn-ico{width:27px;height:27px}
}

/* Reference icon ordering: LTR visual farm→hospital→law→organization→analytics */
.hn-sol-hero>.hn-hero-icons{direction:rtl}

/* Keep photographic icon overlays away from CTAs at tablet widths. */
@media (min-width:981px) and (max-width:1200px){.hn-sol-hero>.hn-hero-icons{left:2%;width:45%;}}
@media (min-width:651px) and (max-width:980px){.hn-sol-hero>.hn-hero-icons{left:2%;width:38%;}}

/* V1.2 mobile geometry: keep every meaningful box inside the local viewport.
 * These rules fix the layout sources of clipping; the page-level overflow guard
 * in the child shell is only a last-resort boundary for decorative pixels. */
.hn-page--solutions,
.hn-page--solutions .hn-container,
.hn-page--solutions .hn-section,
.hn-page--solutions .hn-section-head,
.hn-page--solutions .hn-sol-card,
.hn-page--solutions .hn-wide-card,
.hn-page--solutions .hn-industry-card,
.hn-page--solutions .hn-step,
.hn-page--solutions .hn-benefit,
.hn-page--solutions .hn-card-content,
.hn-page--solutions .hn-wide-info,
.hn-page--solutions .hn-industry-text,
.hn-page--solutions .hn-hero-copy,
.hn-page--solutions .hn-hero-buttons,
.hn-page--solutions .hn-cta-inner,
.hn-page--solutions .hn-cta-copy,
.hn-page--solutions .hn-cta-buttons {
	min-width: 0;
	max-width: 100%;
}
.hn-page--solutions h1,
.hn-page--solutions h2,
.hn-page--solutions h3,
.hn-page--solutions p,
.hn-page--solutions a,
.hn-page--solutions button,
.hn-page--solutions li,
.hn-page--solutions span {
	max-width: 100%;
	overflow-wrap: anywhere;
}
.hn-sol-nav-scroller { width: 100%; max-width: 100%; min-width: 0; }
.hn-sol-nav-item { flex: 0 0 auto; }

@media (max-width:650px) {
	/* A block hero prevents RTL flex sizing from pushing the copy past the edge. */
	.hn-sol-hero { width: 100%; max-width: 100%; }
	.hn-sol-hero .hn-container { width: 100%; max-width: 100%; padding-inline: 15px; }
	.hn-hero-inner { display: block; width: 100%; height: 100%; padding: 175px 0 30px; }
	.hn-hero-copy { width: 100%; max-width: 100%; margin: 0; padding: 0; }
	.hn-hero-copy h1 { max-width: 100%; font-size: clamp(24px, 7.8vw, 31px); line-height: 1.55; }
	.hn-hero-copy p { width: 100%; max-width: 100%; }
	.hn-hero-buttons {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		width: 100%;
		max-width: 100%;
		gap: 9px;
	}
	.hn-hero-buttons .hn-btn,
	.hn-cta-buttons .hn-btn {
		width: 100%;
		min-width: 0;
		max-width: 100%;
		white-space: normal;
		padding-inline: 8px;
	}
	.hn-sol-nav { width: 100%; max-width: 100%; }
	.hn-sol-nav-scroller { overflow-x: auto; overflow-y: hidden; overscroll-behavior-inline: contain; padding-inline: 0; }
	.hn-section-head { display: flex; flex-direction: column; align-items: stretch; width: 100%; }
	.hn-section-more { align-self: flex-start; }
	.hn-main-service-grid,
	.hn-secondary-solutions,
	.hn-industry-grid { grid-template-columns: minmax(0, 1fr); width: 100%; }
	.hn-sol-card,
	.hn-wide-card,
	.hn-industry-card { width: 100%; }
	.hn-wide-card { flex-direction: row-reverse; }
	.hn-wide-card > img { min-width: 0; max-width: 42%; flex-basis: 42%; }
	.hn-wide-info { width: 58%; }
	.hn-steps,
	.hn-benefits-grid { width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hn-step p,
	.hn-step h3,
	.hn-benefit h3 { max-width: 100%; }
	.hn-cta-inner { width: 100%; max-width: 100%; }
	.hn-cta-buttons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
}

@media (max-width:360px) {
	.hn-sol-hero .hn-container { padding-inline: 11px; }
	.hn-hero-inner { padding-top: 165px; }
	.hn-hero-buttons,
	.hn-cta-buttons { grid-template-columns: minmax(0, 1fr); }
	.hn-wide-card { flex-direction: column; }
	.hn-wide-card > img,
	.hn-wide-info { width: 100%; max-width: 100%; flex-basis: auto; }
	.hn-wide-card > img { height: 150px; }
}
