/*
Theme Name: FERSHED Official Responsive
Theme URI: https://fershed.com
Author: FERSHED LLC
Description: FERSHED official corporate design with original HECCI and ROKA product assets.
Version: 5.8.0
Requires PHP: 7.4
Text Domain: fershed
*/
:root{--navy:#071c48;--blue:#0879df;--edge:#d9e8f7}*,*::before,*::after{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-width:320px;color:var(--navy);font:16px/1.45 Arial,Helvetica,sans-serif;background:#fff}img{display:block;max-width:100%}a{color:inherit;text-decoration:none}.wrap{width:min(1480px,calc(100% - 64px));margin-inline:auto}
.site-header{height:82px;background:#fff;box-shadow:0 1px 9px #001a3a16;position:relative;z-index:20}.header-inner{height:100%;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{flex-shrink:0}.brand img{width:260px;height:auto;max-height:66px;object-fit:contain}.nav{display:flex;align-items:center;gap:clamp(18px,2.4vw,38px);font-size:14px;font-weight:700}.nav a:hover{color:#0879df}.nav .contact-btn{padding:12px 20px;background:#0879df;border-radius:9px;color:#fff}.menu-toggle{display:none;background:#edf6ff;border:0;border-radius:8px;padding:5px 12px;font-size:26px;color:var(--navy)}
/* Hero is ONE bounded grid. No skewed text overlay and no absolute-positioned columns. */
.hero{display:grid;grid-template-columns:minmax(0,26%) minmax(0,25%) minmax(0,25%) minmax(0,24%);height:clamp(340px,29vw,455px);width:100%;max-width:1920px;margin-inline:auto;overflow:hidden;isolation:isolate}.hero-copy,.panel{min-width:0;min-height:0;position:relative;overflow:hidden}.hero-copy{display:flex;flex-direction:column;justify-content:center;padding:28px clamp(20px,3vw,52px);background:linear-gradient(145deg,#f1faff 0%,#d7efff 65%,#b2dfff 100%)}.hero-copy::before{content:"";position:absolute;inset:auto -8% -4% 0;height:40%;background:url('assets/globe.png') left bottom / auto 100% no-repeat;opacity:.5;pointer-events:none}.hero-copy>*{position:relative;z-index:1}.hero h1{margin:0 0 16px;font-size:clamp(23px,2.45vw,43px);line-height:1.12;letter-spacing:-.9px;font-style:italic;font-weight:800}.headline-line{display:block;white-space:normal}.headline-line.highlight{color:#086ce5}.hero p{font-size:clamp(12px,1.08vw,17px);line-height:1.38;margin:0;max-width:330px}.accent-line{width:78px;height:5px;background:#117cf8;border-radius:10px;margin-top:20px;display:block}
.panel{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;border-left:4px solid #fff;padding:clamp(65px,6.4vw,90px) 12px 12px;transition:filter .2s}.panel:hover{filter:brightness(1.04)}.panel::before{content:"";position:absolute;inset:0;z-index:-1}.panel-hecci::before{background:linear-gradient(#07153b33,#07153b55),url('assets/stage-background.svg') center / cover no-repeat}.panel-roka::before{background:url('assets/field-background.svg') center / cover no-repeat}.panel-tech::before{background:url('assets/office-background.svg') center / cover no-repeat}.panel .panel-logo{position:absolute;top:clamp(13px,1.6vw,25px);left:50%;transform:translateX(-50%);width:auto;max-width:76%;height:auto;max-height:clamp(32px,4.2vw,58px);object-fit:contain;z-index:3}.panel-hecci .panel-logo{filter:brightness(0) invert(1);max-width:72%}.panel-roka .panel-logo{mix-blend-mode:multiply}.panel-tech .panel-logo{max-width:84%}.panel .product{display:block;position:relative;z-index:2;flex:1;min-height:0;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 9px 9px #061a3840)}.panel-hecci .product{width:85%;height:100%}.panel-roka .product{width:100%;height:100%}.panel-tech .erp{width:min(94%,400px);height:65%;margin:0 auto 8px;flex-shrink:0;position:relative;z-index:2;background:#fff;border:7px solid #132d50;border-radius:10px;box-shadow:0 12px 18px #092a5045;overflow:hidden}.erp-bar{height:23%;background:#0c305c;color:#fff;font-size:clamp(10px,.95vw,15px);font-weight:700;padding:10px}.erp-body{height:77%;display:flex}.erp-menu{width:31%;background:#123d72;color:#fff;padding:10px 5px;font-size:clamp(7px,.68vw,11px);line-height:2}.erp-charts{flex:1;display:flex;align-items:end;gap:5px;padding:15px 10px}.erp-charts i{flex:1;background:#168cf0;border-radius:3px 3px 0 0}
.brands{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;padding-block:18px 24px}.brand-card{height:170px;min-width:0;position:relative;overflow:hidden;border:1px solid var(--edge);border-radius:16px;box-shadow:0 6px 15px #12345b1c;background:linear-gradient(110deg,#fff 44%,#d4ecff);display:flex;align-items:center}.brand-card.roka-card{background:linear-gradient(110deg,#fff 44%,#def6e4)}.brand-card.tech-card{background:linear-gradient(110deg,#fff 44%,#d2eaff)}.brand-card:hover{box-shadow:0 12px 22px #12345b30}.brand-content{width:64%;min-width:0;position:relative;z-index:2;padding:13px 12px 13px 20px}.brand-content img{width:auto;height:auto;max-width:175px;max-height:43px;object-fit:contain;object-position:left}.brand-content h2{font-size:clamp(14px,1.15vw,18px);line-height:1.12;font-style:italic;margin:7px 0}.brand-content p{font-size:clamp(11px,.87vw,13px);line-height:1.3;margin:0}.brand-content .domain{font-size:12px;font-weight:bold;color:#0566cc;margin-top:7px}.brand-card .card-product{position:absolute;right:6px;bottom:0;width:43%;height:95%;object-fit:contain;object-position:right bottom}.brand-card.roka-card .card-product{width:49%;height:85%;right:0}.card-arrow{position:absolute;right:10px;bottom:12px;z-index:4;width:39px;height:39px;border:3px solid #fff;border-radius:50%;background:#0879df;color:#fff;font-size:26px;line-height:1;display:grid;place-items:center;box-shadow:0 2px 7px #1234}.mini-screen{position:absolute;right:15px;bottom:22px;width:40%;height:93px;background:#112c55;border:7px solid #163a63;border-radius:8px;transform:rotate(-4deg);padding:10px;display:flex;align-items:end;gap:6px;box-shadow:0 8px 12px #1234}.mini-screen i{flex:1;background:#1895fa;border-radius:2px 2px 0 0}
.global{background:linear-gradient(100deg,#f4faff,#d9edff);overflow:hidden}.global-inner{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.9fr) minmax(0,.85fr);align-items:center;gap:20px;min-height:155px}.global h2{font-size:clamp(23px,2.3vw,38px);line-height:1.14;font-style:italic;letter-spacing:-.5px;margin:0}.global h2 span{color:#086fe5}.global-facts{display:flex;justify-content:space-around;align-items:center}.global-facts div{font-size:12px;font-weight:bold;line-height:1.15;text-align:center;min-width:0;flex:1;border-right:1px solid #c0d6ee;padding:0 8px}.global-facts div:last-child{border:0}.global-facts b{display:block;font-size:27px;color:#086fe5;margin-bottom:8px}.globe{align-self:stretch;min-height:155px;background:url('assets/globe.png') center bottom / cover no-repeat;mask-image:linear-gradient(90deg,transparent,#000 30%)}.about{padding-block:48px 56px;max-width:1000px}.about h2{font-size:30px;margin:0 0 16px}.about p{line-height:1.65;color:#354e70;margin:0}.site-footer{background:#071d48;color:#fff;padding:20px 0 12px}.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:14px;font-size:14px}.footer-inner strong{font-size:20px;font-style:italic}.footer-inner a:hover{text-decoration:underline}.subfooter{font-size:11px;opacity:.8;text-align:center;margin-top:12px}
@media(min-width:1921px){.hero{border-radius:0 0 12px 12px}}
@media(max-width:1100px){.wrap{width:calc(100% - 42px)}.hero{grid-template-columns:minmax(0,28%) repeat(3,minmax(0,24%));height:360px}.hero-copy{padding:20px 17px}.hero h1{font-size:clamp(22px,2.6vw,31px)}.hero p{font-size:12px}.panel{padding:60px 7px 10px}.panel .panel-logo{max-height:42px}.panel-tech .erp{height:55%;border-width:5px}.brands{gap:12px}.brand-content{padding-left:13px;width:67%}.brand-content img{max-width:135px;max-height:36px}.brand-card{height:158px}.brand-card .card-product{width:42%}.global-inner{grid-template-columns:1.2fr 1fr .7fr}.global-facts div{font-size:10px}.footer-inner{font-size:12px}}
@media(max-width:760px){.site-header{height:70px}.brand img{width:215px}.menu-toggle{display:block}.nav{display:none;position:absolute;top:70px;left:0;right:0;padding:18px 6%;background:#fff;box-shadow:0 12px 20px #1233;flex-direction:column;align-items:stretch;gap:17px}.nav.open{display:flex}.hero{height:auto;grid-template-columns:repeat(3,minmax(0,1fr))}.hero-copy{grid-column:1/-1;min-height:260px;padding:30px 6%}.hero h1{font-size:clamp(32px,6vw,43px)}.hero p{font-size:15px;max-width:490px}.panel{height:clamp(210px,34vw,280px);padding:52px 5px 8px;border-left:0;border-top:4px solid white}.panel+.panel{border-left:3px solid white}.panel .panel-logo{top:12px;max-height:34px;max-width:90%}.panel-tech .erp{height:53%;border-width:4px}.erp-bar{padding:4px;font-size:8px}.erp-menu{padding:4px;font-size:6px}.erp-charts{padding:7px;gap:3px}.brands{grid-template-columns:1fr;gap:14px}.brand-card{height:160px}.brand-content img{max-width:180px;max-height:42px}.brand-content h2{font-size:17px}.brand-content p{font-size:13px}.global-inner{grid-template-columns:1fr;gap:12px;padding-block:26px}.global-facts{max-width:440px;width:100%}.globe{position:absolute;right:0;bottom:0;width:45%;height:100px;min-height:0;opacity:.27;pointer-events:none}.global h2{position:relative;z-index:1}.global-facts{position:relative;z-index:1}.footer-inner{flex-wrap:wrap;justify-content:center;text-align:center;gap:12px 25px}}
@media(max-width:450px){.wrap{width:calc(100% - 28px)}.hero{grid-template-columns:1fr}.hero-copy{min-height:260px}.panel{height:260px;padding:60px 12px 10px;border-left:0!important}.panel .panel-logo{max-height:42px;top:13px}.panel .product{max-width:78%}.panel-roka .product{max-width:94%}.panel-tech .erp{max-width:300px;height:65%;margin-bottom:12px}.brand-card{height:165px}.brand-content{width:66%}.brand-content img{max-width:155px}.global-facts div{font-size:10px;padding:0 5px}.global-facts b{font-size:23px}.about{padding-block:34px}.about h2{font-size:25px}}

/* v5.4 — single alignment grid shared by every section */
:root{--site-width:1200px;--site-gutter:24px}
.wrap{width:min(var(--site-width),calc(100% - 2 * var(--site-gutter)));max-width:var(--site-width);margin-inline:auto}
.site-header .header-inner,.brands.wrap,.global-inner.wrap,.about.wrap,.footer-inner.wrap{width:min(var(--site-width),calc(100% - 2 * var(--site-gutter)));max-width:var(--site-width);margin-left:auto;margin-right:auto}
.hero{width:min(var(--site-width),calc(100% - 2 * var(--site-gutter)));max-width:var(--site-width);margin:0 auto;grid-template-columns:minmax(0,27%) minmax(0,25%) minmax(0,25%) minmax(0,23%);height:clamp(315px,31vw,395px);border-radius:0 0 10px 10px}
.hero-copy{padding:22px clamp(17px,2vw,28px)}
.hero h1{font-size:clamp(24px,2.45vw,35px);letter-spacing:-.7px;line-height:1.14}
.hero p{font-size:clamp(12px,1vw,14px);max-width:260px}
.panel{padding:60px 8px 12px}
.panel .panel-logo{max-height:48px}
.panel .product{min-height:0;object-fit:contain;object-position:center bottom}
.panel-hecci .product{width:88%}
.panel-roka .product{width:100%}
.panel-tech .erp{width:95%;height:60%}
.brands{gap:16px;padding-top:14px;padding-bottom:20px}
.brand-card{height:155px}
.global-inner{min-height:145px}
.about.wrap{padding-top:44px;padding-bottom:48px}
@media(min-width:1921px){.hero{border-radius:0 0 10px 10px}}
@media(max-width:1100px) and (min-width:761px){.hero{grid-template-columns:27% 25% 25% 23%;height:clamp(290px,34vw,355px)}.hero h1{font-size:clamp(23px,2.8vw,30px)}.hero-copy{padding:16px}.hero p{font-size:12px}.panel{padding:55px 6px 9px}.panel .panel-logo{max-height:38px}.panel-tech .erp{height:53%}.brand-card{height:150px}.brand-content{width:67%}}
@media(max-width:760px){:root{--site-gutter:16px}.hero{height:auto;grid-template-columns:repeat(3,minmax(0,1fr))}.hero-copy{grid-column:1/-1;min-height:235px;padding:25px}.hero h1{font-size:clamp(29px,6vw,39px)}.hero p{font-size:14px;max-width:430px}.panel{height:clamp(195px,32vw,260px);padding:49px 5px 8px}.panel .panel-logo{max-height:33px}.panel-tech .erp{height:54%}.brands{grid-template-columns:1fr}.brand-card{height:155px}.global-inner{min-height:0}.about.wrap{padding-top:32px;padding-bottom:38px}}
@media(max-width:450px){:root{--site-gutter:14px}.hero{grid-template-columns:1fr}.hero-copy{min-height:245px}.panel{height:245px;padding:54px 8px 8px}.panel .panel-logo{max-height:40px}.panel-tech .erp{height:65%}.brand-card{height:158px}}

/* v5.5: Restore atmospheric photographic backgrounds from the approved visual
   without altering the real product photographs or the unified v5.4 layout. */
.panel::before{z-index:0;pointer-events:none;inset:0;background-repeat:no-repeat;background-size:cover;background-position:center;opacity:1}
.panel-hecci::before{background-image:linear-gradient(180deg,rgba(2,12,51,.12),rgba(4,13,55,.48)),url('assets/stage-photo-bg.jpg');background-position:center}
.panel-roka::before{background-image:linear-gradient(180deg,rgba(210,243,255,.18),rgba(61,138,39,.17)),url('assets/field-photo-bg.jpg');background-position:center}
.panel-tech::before{background-image:linear-gradient(180deg,rgba(239,248,255,.25),rgba(208,231,246,.18)),url('assets/office-photo-bg.jpg');background-position:center}
.panel .panel-logo,.panel .product,.panel .erp{z-index:2}
.panel-hecci{background:#061c4e}.panel-roka{background:#bce8ef}.panel-tech{background:#e6f4fc}
/* Products remain complete and fully inside their own panels. */
.panel .product{object-fit:contain;object-position:center bottom;min-width:0;min-height:0}
.panel-roka .product{width:100%;max-height:100%}
@media(max-width:760px){.panel::before{background-position:center}}

/* v5.6: approved hero image used at its native aspect ratio; no per-panel
   cover scaling, duplicate logo, or mismatched background fragments. */
.official-hero{width:min(var(--site-width),calc(100% - 2 * var(--site-gutter)));max-width:var(--site-width);margin-inline:auto;position:relative;overflow:hidden;line-height:0;border-radius:0 0 10px 10px}
.official-hero>img{width:100%;height:auto;display:block;aspect-ratio:1535/388;object-fit:fill}
.official-link{position:absolute;top:0;bottom:0;z-index:2}
.official-link-hecci{left:24%;width:27%}
.official-link-roka{left:47%;width:30%}
.official-link-tech{left:73%;right:0}
.hero{display:none}
@media(max-width:760px){
  .official-hero{display:none}
  .hero{display:grid}
  .panel-hecci::before{background-image:linear-gradient(#06153920,#06153955),url('assets/official-hecci-mobile.webp');background-position:center;background-size:cover}
  .panel-roka::before{background-image:linear-gradient(#e5f6ff12,#c6eab422),url('assets/official-roka-mobile.webp');background-position:center;background-size:cover}
  .panel-tech::before{background-image:linear-gradient(#ffffff30,#e6f4fc30),url('assets/official-tech-mobile.webp');background-position:center;background-size:cover}
}

/* v5.7: the previous .hero markup has been removed to prevent double banners. */
.fershed-mobile-hero{display:none!important}
.official-hero{display:block!important}
@media(max-width:760px){
 .official-hero{display:none!important}
 .fershed-mobile-hero{display:grid!important;grid-template-columns:1fr 1fr;gap:4px;width:min(var(--site-width),calc(100% - 2 * var(--site-gutter)));margin:0 auto}
 .fm-intro{grid-column:1/-1;padding:30px 22px;background:linear-gradient(145deg,#eff9ff,#b8e3ff);border-radius:8px}
 .fm-intro h1{font-size:clamp(28px,7vw,42px);font-style:italic;line-height:1.12;margin:0 0 12px}
 .fm-intro h1 span{color:#0879df}.fm-intro p{font-size:14px;max-width:440px}
 .fm-brand{position:relative;min-width:0;height:240px;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:7px}
 .fm-brand .fm-logo{position:absolute;top:12px;left:50%;transform:translateX(-50%);width:auto;max-width:78%;height:auto;max-height:43px;object-fit:contain;z-index:2}
 .fm-product{width:95%;height:80%;object-fit:contain;object-position:center bottom;margin-top:40px;position:relative;z-index:1}
 .fm-hecci{background:linear-gradient(140deg,#122b68,#071a48)}.fm-hecci .fm-logo{filter:brightness(0) invert(1)}
 .fm-roka{background:linear-gradient(#c3edff,#94c976)}
 .fm-tech{background:linear-gradient(#eff9ff,#b4ddf8)}
 .fm-erp{background:#10345c;border:5px solid #163f6e;border-radius:8px;color:white;padding:18px 8px;font-size:12px;width:90%;margin-top:45px}
 .fm-erp span{display:block;font-size:28px;letter-spacing:8px;color:#1a95f4;margin-top:10px}
}
@media(max-width:440px){.fershed-mobile-hero{grid-template-columns:1fr}.fm-brand{height:250px}}

/* v5.8: one identical official banner on desktop, tablet and mobile. */
.official-hero{display:block!important;width:min(var(--site-width),calc(100% - 2 * var(--site-gutter)));max-width:var(--site-width);margin-inline:auto;overflow:hidden}
.official-hero>img{display:block;width:100%;height:auto;aspect-ratio:auto;object-fit:contain}
.fershed-mobile-hero{display:none!important}
@media(max-width:760px){
 .official-hero{display:block!important}
 .official-hero>img{width:100%;height:auto;max-width:none}
 .brands{grid-template-columns:1fr}
}
