/* ICODE MEDIA HOME V4 · Clean rebuild */
.hv4-home{
  --bg:#f6f7f7;
  --paper:#ffffff;
  --soft:#eef1f2;
  --ink:#111417;
  --muted:#626a70;
  --copper:#c66f3d;
  --copper2:#a9562c;
  --navy:#0f2933;
  --line:rgba(17,20,23,.10);
  --shadow:0 24px 70px rgba(14,30,36,.08);
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  background:var(--bg)!important;
  color:var(--ink)!important;
  font-family:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;
}
.hv4-home *{box-sizing:border-box}
.hv4-home img{display:block;max-width:100%;height:auto}
.hv4-shell{width:min(1240px,calc(100% - 64px));margin:0 auto}
.hv4-section{position:relative;width:100%;padding:104px 0}
.hv4-kicker{
  display:inline-flex;align-items:center;gap:10px;
  color:var(--copper2)!important;font-size:11px!important;font-weight:800!important;
  letter-spacing:.12em!important;text-transform:uppercase
}
.hv4-kicker:before{content:"";width:28px;height:2px;border-radius:99px;background:var(--copper)}
.hv4-title{
  margin:16px 0 0!important;color:var(--ink)!important;
  font-family:"Manrope","Inter",sans-serif!important;
  font-size:clamp(42px,4.6vw,68px)!important;line-height:.98!important;
  letter-spacing:-.055em!important;font-weight:800!important;text-wrap:balance
}
.hv4-title em{color:var(--copper)!important;font-style:normal}
.hv4-copy{
  margin:0!important;color:var(--muted)!important;font-size:17px!important;
  line-height:1.7!important
}
.hv4-head{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,420px);
  gap:48px;align-items:end;margin-bottom:46px
}
.hv4-head .hv4-copy{max-width:420px}

/* Hero */
.hv4-hero{
  min-height:780px;padding:148px 0 92px;
  display:flex;align-items:center;
  background:
    radial-gradient(circle at 86% 10%,rgba(15,41,51,.075),transparent 28%),
    radial-gradient(circle at 12% 0,rgba(198,111,61,.065),transparent 24%),
    #f6f7f7
}
.hv4-hero-grid{
  display:grid;grid-template-columns:minmax(0,.93fr) minmax(480px,1.07fr);
  gap:70px;align-items:center
}
.hv4-hero h1{
  margin:0!important;color:var(--ink)!important;
  font-family:"Manrope","Inter",sans-serif!important;
  font-size:clamp(64px,6.1vw,94px)!important;line-height:.88!important;
  letter-spacing:-.07em!important;font-weight:800!important
}
.hv4-hero h1 span{display:block;color:inherit!important}
.hv4-hero h1 .accent{color:var(--copper)!important}
.hv4-hero .hv4-copy{max-width:620px;margin-top:26px!important;font-size:18px!important}
.hv4-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:31px}
.hv4-btn{
  min-height:52px;padding:0 19px;border-radius:12px;
  display:inline-flex;align-items:center;justify-content:center;gap:12px;
  text-decoration:none!important;font-size:12px!important;font-weight:800!important;
  transition:.2s ease
}
.hv4-btn.primary{background:var(--ink);border:1px solid var(--ink);color:#fff!important}
.hv4-btn.primary:hover{background:var(--copper);border-color:var(--copper);transform:translateY(-2px)}
.hv4-btn.ghost{background:#fff;border:1px solid var(--line);color:var(--ink)!important}
.hv4-btn.ghost:hover{border-color:rgba(198,111,61,.38);color:var(--copper2)!important;transform:translateY(-2px)}
.hv4-proof{display:flex;flex-wrap:wrap;gap:9px 18px;margin-top:28px;color:#778087;font-size:10px;font-weight:800;letter-spacing:.08em}
.hv4-proof span{display:flex;align-items:center;gap:14px}
.hv4-proof span:not(:last-child):after{content:"";width:3px;height:3px;border-radius:50%;background:var(--copper)}

.hv4-studio{
  position:relative;min-height:550px;padding:30px;border-radius:30px;
  display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;
  background:
    radial-gradient(circle at 90% 8%,rgba(198,111,61,.22),transparent 31%),
    linear-gradient(150deg,#102e38,#0b2028 68%);
  border:1px solid rgba(255,255,255,.06);box-shadow:0 34px 90px rgba(15,41,51,.18)
}
.hv4-studio:before{
  content:"";position:absolute;inset:0;opacity:.24;pointer-events:none;
  background-image:linear-gradient(rgba(255,255,255,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.045) 1px,transparent 1px);
  background-size:48px 48px
}
.hv4-studio>*{position:relative;z-index:2}
.hv4-studio-top{display:flex;justify-content:space-between;gap:20px;color:#a9bbc0;font-size:9px;font-weight:800;letter-spacing:.12em}
.hv4-studio-top b{color:#e6a47e!important}
.hv4-studio-word{
  margin:28px 0;color:#fff;font-family:"Manrope","Inter",sans-serif;
  font-size:clamp(53px,4.5vw,76px);line-height:.86;letter-spacing:-.06em;font-weight:800
}
.hv4-studio-word span{display:block}
.hv4-studio-word span:nth-child(2){color:#e5a078}
.hv4-cap-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.hv4-cap{
  min-height:67px;padding:13px 14px;border-radius:13px;
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  text-decoration:none!important;background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.09);transition:.2s ease
}
.hv4-cap span{color:#f3f7f8!important;font-size:12px!important;font-weight:700!important}
.hv4-cap b{color:#e5a078!important;font-size:13px!important}
.hv4-cap:hover{transform:translateY(-2px);background:rgba(255,255,255,.105);border-color:rgba(229,160,120,.35)}

/* Partners */
.hv4-partners{padding:72px 0;background:#eef1f2;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.hv4-partner-head{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:28px}
.hv4-partner-head h2{margin:10px 0 0!important;color:var(--ink)!important;font-family:"Manrope","Inter",sans-serif!important;font-size:clamp(34px,3.2vw,50px)!important;line-height:1!important;letter-spacing:-.045em!important}
.hv4-partner-head p{max-width:430px;margin:0!important;color:var(--muted)!important;font-size:15px!important;line-height:1.65!important}
.hv4-logos{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:11px}
.hv4-logo{min-height:108px;padding:18px;border-radius:15px;display:grid;place-items:center;background:#fff;border:1px solid rgba(17,20,23,.08)}
.hv4-logo img{max-width:100%;max-height:68px;width:auto;height:auto;object-fit:contain}

/* About */
.hv4-about{background:#f6f7f7}
.hv4-about-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);gap:78px;align-items:start}
.hv4-about-copy{padding-top:30px}
.hv4-about-copy .hv4-copy{font-size:18px!important}
.hv4-text-link{display:inline-flex;margin-top:24px;color:var(--copper2)!important;text-decoration:none!important;font-size:12px!important;font-weight:800!important}
.hv4-stats{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,1fr);margin-top:5px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.hv4-stat{padding:28px 22px}
.hv4-stat+.hv4-stat{border-left:1px solid var(--line)}
.hv4-stat strong{display:block;color:var(--ink)!important;font-family:"Manrope","Inter",sans-serif!important;font-size:clamp(30px,3vw,46px)!important;line-height:1!important;letter-spacing:-.04em!important}
.hv4-stat span{display:block;margin-top:8px;color:#7c858b!important;font-size:10px!important;font-weight:800!important;letter-spacing:.08em!important;text-transform:uppercase}

/* Work */
.hv4-work{background:#fff}
.hv4-work-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.hv4-project{
  position:relative;min-height:470px;border-radius:22px;overflow:hidden;
  background:#e9edef;border:1px solid rgba(17,20,23,.08);text-decoration:none!important;
  box-shadow:0 18px 50px rgba(14,30,36,.07)
}
.hv4-project img{position:absolute;inset:0;width:100%!important;height:100%!important;object-fit:cover!important;filter:none!important;transition:transform .45s ease}
.hv4-project:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(7,14,18,0) 42%,rgba(7,14,18,.78) 100%)}
.hv4-project-copy{position:absolute;z-index:2;left:24px;right:24px;bottom:22px;display:flex;align-items:end;justify-content:space-between;gap:20px}
.hv4-project-copy small{display:block;color:#e6a47e!important;font-size:9px!important;font-weight:800!important;letter-spacing:.1em!important}
.hv4-project-copy h3{margin:7px 0 0!important;color:#fff!important;font-family:"Manrope","Inter",sans-serif!important;font-size:clamp(25px,2.2vw,34px)!important;line-height:1!important;letter-spacing:-.035em!important}
.hv4-project-copy b{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;flex:0 0 auto;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.18);color:#fff!important}
.hv4-project:hover img{transform:scale(1.025)}
.hv4-project:hover .hv4-project-copy b{background:var(--copper);border-color:var(--copper)}
.hv4-work-foot{display:flex;justify-content:flex-end;margin-top:22px}

/* ERP */
.hv4-erp{background:#0f2933;color:#fff}
.hv4-erp .hv4-kicker{color:#e7a47d!important}
.hv4-erp .hv4-kicker:before{background:#e7a47d}
.hv4-erp-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:70px;align-items:center}
.hv4-erp .hv4-title{color:#fff!important}
.hv4-erp .hv4-title em{color:#e8a47c!important}
.hv4-erp .hv4-copy{margin-top:23px!important;max-width:560px;color:#b9c9ce!important}
.hv4-erp-pills{display:flex;flex-wrap:wrap;gap:8px;margin-top:25px}
.hv4-erp-pills span{padding:9px 11px;border-radius:999px;background:rgba(255,255,255,.065);border:1px solid rgba(255,255,255,.10);color:#e7eef0!important;font-size:10px!important;font-weight:750!important}
.hv4-erp-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:28px}
.hv4-erp .hv4-btn.primary{background:#fff;border-color:#fff;color:#0f2933!important}
.hv4-erp .hv4-btn.primary:hover{background:#e6a47e;border-color:#e6a47e}
.hv4-erp .hv4-btn.ghost{background:rgba(255,255,255,.065);border-color:rgba(255,255,255,.12);color:#fff!important}
.hv4-dashboard{padding:18px;border-radius:22px;background:#f6f8f8;border:1px solid rgba(255,255,255,.12);box-shadow:0 30px 80px rgba(1,15,20,.28)}
.hv4-dash-top{display:flex;justify-content:space-between;align-items:center;padding:3px 3px 14px;color:#6c757b;font-size:9px;font-weight:800;letter-spacing:.08em}
.hv4-dash-top b{color:#c66f3d!important}
.hv4-dash-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.hv4-kpi{padding:13px;border-radius:12px;background:#fff;border:1px solid rgba(17,20,23,.07)}
.hv4-kpi small{display:block;color:#8a9399!important;font-size:8px!important;font-weight:800!important}
.hv4-kpi strong{display:block;margin-top:8px;color:#111417!important;font-family:"Manrope","Inter",sans-serif!important;font-size:17px!important}
.hv4-dash-main{display:grid;grid-template-columns:1.25fr .75fr;gap:9px;margin-top:9px}
.hv4-chart,.hv4-flow{min-height:230px;padding:15px;border-radius:13px;background:#fff;border:1px solid rgba(17,20,23,.07)}
.hv4-chart small,.hv4-flow small{color:#7f898f!important;font-size:8px!important;font-weight:800!important;letter-spacing:.08em!important}
.hv4-bars{height:165px;margin-top:18px;display:flex;align-items:flex-end;gap:9px;border-bottom:1px solid #e8ecee}
.hv4-bars i{flex:1;border-radius:5px 5px 0 0;background:linear-gradient(180deg,#c66f3d,#e8b392)}
.hv4-bars i:nth-child(1){height:37%}.hv4-bars i:nth-child(2){height:55%}.hv4-bars i:nth-child(3){height:46%}.hv4-bars i:nth-child(4){height:72%}.hv4-bars i:nth-child(5){height:64%}.hv4-bars i:nth-child(6){height:88%}
.hv4-flow-list{margin-top:15px;display:grid;gap:8px}
.hv4-flow-list span{display:flex;align-items:center;gap:9px;color:#4e575d!important;font-size:10px!important}
.hv4-flow-list b{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:#eef1f2;color:#c66f3d!important;font-size:8px!important}

/* Services */
.hv4-services{background:#f6f7f7}
.hv4-service-list{border-top:1px solid var(--line)}
.hv4-service{
  min-height:90px;padding:0 8px;display:grid;grid-template-columns:48px minmax(230px,1fr) minmax(220px,.7fr) 30px;
  gap:16px;align-items:center;border-bottom:1px solid var(--line);text-decoration:none!important;transition:.2s ease
}
.hv4-service>span{color:#8c9499!important;font-size:10px!important;font-weight:800!important}
.hv4-service>strong{color:var(--ink)!important;font-family:"Manrope","Inter",sans-serif!important;font-size:clamp(20px,1.8vw,28px)!important;letter-spacing:-.03em!important}
.hv4-service>small{color:#757e84!important;font-size:11px!important}
.hv4-service>b{color:var(--copper)!important;font-size:17px!important}
.hv4-service:hover{padding-left:16px;padding-right:16px;background:#fff}
.hv4-service:hover>strong{color:var(--copper2)!important}

/* Blog */
.hv4-blog{background:#fff}
.hv4-blog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.hv4-post{min-height:250px;padding:24px;border-radius:18px;display:flex;flex-direction:column;text-decoration:none!important;background:#f4f6f6;border:1px solid rgba(17,20,23,.08);transition:.2s ease}
.hv4-post small{color:#899197!important;font-size:10px!important;font-weight:800!important}
.hv4-post h3{margin:20px 0 0!important;color:var(--ink)!important;font-family:"Manrope","Inter",sans-serif!important;font-size:24px!important;line-height:1.12!important;letter-spacing:-.035em!important}
.hv4-post span{margin-top:auto;padding-top:26px;color:var(--copper2)!important;font-size:11px!important;font-weight:800!important}
.hv4-post:hover{transform:translateY(-3px);background:#fff;border-color:rgba(198,111,61,.30);box-shadow:0 16px 36px rgba(14,30,36,.06)}

/* Contact */
.hv4-contact{background:#eef1f2}
.hv4-contact-grid{display:grid;grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);gap:72px;align-items:start}
.hv4-contact .hv4-copy{margin-top:22px!important;max-width:540px}
.hv4-direct{display:flex;gap:9px;flex-wrap:wrap;margin-top:25px}
.hv4-direct a{padding:10px 12px;border-radius:10px;background:#fff;border:1px solid var(--line);color:#394147!important;text-decoration:none!important;font-size:11px!important;font-weight:750!important}
.hv4-form{padding:26px;border-radius:20px;background:#fff;border:1px solid rgba(17,20,23,.08);box-shadow:0 18px 48px rgba(14,30,36,.06)}
.hv4-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}
.hv4-form label{display:grid;gap:7px;min-width:0}
.hv4-form label.full{grid-column:1/-1}
.hv4-form label span{color:#6d767c!important;font-size:9px!important;font-weight:800!important;letter-spacing:.08em!important}
.hv4-form input,.hv4-form select,.hv4-form textarea{
  width:100%;min-width:0;padding:13px 14px;border-radius:10px;background:#f7f8f8;border:1px solid rgba(17,20,23,.10);
  color:#111417;font-family:"Inter",sans-serif;font-size:14px;outline:none
}
.hv4-form textarea{min-height:120px;resize:vertical}
.hv4-form input:focus,.hv4-form select:focus,.hv4-form textarea:focus{border-color:rgba(198,111,61,.55);box-shadow:0 0 0 3px rgba(198,111,61,.08)}
.hv4-form button{width:100%;min-height:50px;margin-top:13px;border:0;border-radius:11px;background:#111417;color:#fff;font-family:"Inter",sans-serif;font-weight:800;cursor:pointer}
.hv4-form button:hover{background:#c66f3d}

/* Responsive */
@media(max-width:1050px){
  .hv4-shell{width:min(100% - 48px,1240px)}
  .hv4-hero-grid,.hv4-about-grid,.hv4-erp-grid,.hv4-contact-grid{grid-template-columns:1fr;gap:42px}
  .hv4-hero{padding-top:126px}
  .hv4-studio{max-width:760px}
  .hv4-head{grid-template-columns:1fr;gap:20px}
  .hv4-head .hv4-copy{max-width:640px}
  .hv4-logos{grid-template-columns:repeat(3,minmax(0,1fr))}
  .hv4-service{grid-template-columns:42px 1fr 30px}
  .hv4-service>small{display:none}
}
@media(max-width:760px){
  .hv4-shell{width:calc(100% - 36px)}
  .hv4-section{padding:72px 0}
  .hv4-hero{min-height:0;padding:110px 0 62px}
  .hv4-hero h1{font-size:clamp(48px,14vw,64px)!important}
  .hv4-hero .hv4-copy{font-size:16px!important}
  .hv4-actions{display:grid;grid-template-columns:1fr}
  .hv4-actions a{width:100%}
  .hv4-proof{gap:8px 12px}
  .hv4-studio{min-height:460px;padding:22px;border-radius:23px}
  .hv4-studio-word{font-size:clamp(48px,15vw,68px)}
  .hv4-cap-grid{grid-template-columns:1fr 1fr}
  .hv4-cap{min-height:62px;padding:11px}
  .hv4-cap span{font-size:10px!important}
  .hv4-partner-head{display:block}
  .hv4-partner-head p{margin-top:15px!important}
  .hv4-logos{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .hv4-logo{min-height:96px;padding:14px}
  .hv4-title{font-size:clamp(36px,10vw,46px)!important}
  .hv4-stats{grid-template-columns:1fr}
  .hv4-stat+.hv4-stat{border-left:0;border-top:1px solid var(--line)}
  .hv4-work-grid{grid-template-columns:1fr}
  .hv4-project{min-height:390px}
  .hv4-erp-grid{gap:34px}
  .hv4-dash-kpis{grid-template-columns:1fr 1fr}
  .hv4-dash-main{grid-template-columns:1fr}
  .hv4-service{min-height:78px;padding-left:0;padding-right:0}
  .hv4-service>strong{font-size:19px!important}
  .hv4-blog-grid{grid-template-columns:1fr}
  .hv4-post{min-height:210px}
  .hv4-form-grid{grid-template-columns:1fr}
  .hv4-form label.full{grid-column:auto}
}
@media(max-width:430px){
  .hv4-shell{width:calc(100% - 28px)}
  .hv4-cap-grid{grid-template-columns:1fr}
  .hv4-project{min-height:330px}
}
@media(prefers-reduced-motion:reduce){
  .hv4-home *, .hv4-home *:before,.hv4-home *:after{transition:none!important;animation:none!important}
}

/* ICODE-V41-PARTNERS-START */
/* Partner marks are intentionally given more visual weight. */
.hv4-partners{
  background:#ECEFF0!important;
}
.hv4-logos{
  gap:13px!important;
}
.hv4-logo{
  min-height:128px!important;
  padding:15px!important;
  overflow:hidden!important;
  background:linear-gradient(145deg,#F3E8DD,#E6D5C5)!important;
  border:1px solid rgba(137,83,49,.18)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.55),0 10px 24px rgba(79,51,34,.045)!important;
}
.hv4-logo img{
  width:100%!important;
  max-width:190px!important;
  max-height:100px!important;
  object-fit:contain!important;
  transform:scale(1.22)!important;
  transform-origin:center!important;
  filter:saturate(1.28) contrast(1.22) brightness(.96)!important;
  opacity:1!important;
}
.hv4-logo:hover{
  background:linear-gradient(145deg,#F8EFE7,#EAD8C7)!important;
  border-color:rgba(198,111,61,.36)!important;
}
.hv4-logo:hover img{
  transform:scale(1.28)!important;
}
.hv4-live-demo{
  background:linear-gradient(135deg,#E9BE99,#DDA06E)!important;
  border-color:#DDA06E!important;
  color:#24160E!important;
}
.hv4-live-demo:hover{
  background:linear-gradient(135deg,#F0CBAA,#E4AA79)!important;
  border-color:#D09463!important;
  color:#1D120C!important;
}
@media(max-width:760px){
  .hv4-logo{min-height:108px!important}
  .hv4-logo img{max-height:86px!important;transform:scale(1.18)!important}
}
/* ICODE-V41-PARTNERS-END */
