/* ==========================================================
   VIWI MX V43I-B — Exact public DOM cleanup / index style lock
   ========================================================== */

html.viwi-v43ib-ready body,
body.viwi-v43ib-scope{
  --viwi-o:#ff7a1a;
  --viwi-o2:#ff9f32;
  --viwi-cream:#fff7ef;
  --viwi-bg:#f8f2ec;
  --viwi-ink:#11131a;
  --viwi-muted:#5f6877;
  --viwi-line:rgba(17,24,39,.08);
  --viwi-dark:#070b11;
  font-family:inherit!important;
  color:var(--viwi-ink)!important;
  background:linear-gradient(180deg,#fff1e5 0,#f8f2ec 48%,#fff 100%)!important;
}

body.viwi-v43ib-scope *{
  box-sizing:border-box;
}

/* Hide previous generated visual junk, but not current V43I-B */
body.viwi-v43ib-scope .viwi-v43g-cta-row,
body.viwi-v43ib-scope .viwi-v43g-badgebar,
body.viwi-v43ib-scope .viwi-v43h-brand-top,
body.viwi-v43ib-scope .viwi-v43h-modules,
body.viwi-v43ib-scope .viwi-v43h-footer,
body.viwi-v43ib-scope .viwi-v43i-topbar,
body.viwi-v43ib-scope .viwi-v43i-modules,
body.viwi-v43ib-scope .viwi-v43i-footer{
  display:none!important;
}

/* One clean topbar */
.viwi-v43ib-topbar{
  width:min(1120px,calc(100% - 28px));
  margin:16px auto 18px!important;
  padding:13px 15px;
  border-radius:24px;
  background:rgba(255,255,255,.94);
  border:1px solid var(--viwi-line);
  box-shadow:0 14px 36px rgba(57,36,16,.07);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  position:relative!important;
  top:auto!important;
  z-index:30;
}

.viwi-v43ib-brand{
  display:flex;
  align-items:center;
  gap:11px;
  min-width:0;
}

.viwi-v43ib-logo{
  width:46px;
  height:46px;
  border-radius:16px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg,var(--viwi-o),var(--viwi-o2));
  color:#fff;
  font-weight:900;
  box-shadow:0 12px 24px rgba(255,122,26,.22);
  overflow:hidden;
  flex:0 0 auto;
}

.viwi-v43ib-logo img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
}

.viwi-v43ib-brand-title{
  font-size:14px;
  line-height:1.12;
  font-weight:850;
  color:var(--viwi-ink);
  white-space:nowrap;
}

.viwi-v43ib-brand-sub{
  font-size:11.5px;
  line-height:1.25;
  color:var(--viwi-muted);
  white-space:nowrap;
}

.viwi-v43ib-nav{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  align-items:center;
  gap:8px;
}

.viwi-v43ib-chip,
.viwi-v43ib-btn{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  min-height:38px!important;
  padding:9px 14px!important;
  border-radius:999px!important;
  border:1px solid rgba(255,122,26,.18)!important;
  background:#fff7ef!important;
  color:#3a2a17!important;
  text-decoration:none!important;
  font-size:12.5px!important;
  font-weight:780!important;
  letter-spacing:-.01em!important;
  line-height:1!important;
  box-shadow:none!important;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease!important;
}

.viwi-v43ib-chip:hover,
.viwi-v43ib-btn:hover{
  transform:translateY(-1px);
  box-shadow:0 10px 22px rgba(255,122,26,.14)!important;
}

.viwi-v43ib-chip.main,
.viwi-v43ib-btn.main{
  background:linear-gradient(135deg,var(--viwi-o),var(--viwi-o2))!important;
  color:#fff!important;
  border-color:rgba(255,122,26,.28)!important;
  box-shadow:0 12px 24px rgba(255,122,26,.20)!important;
}

.viwi-v43ib-btn.dark{
  background:var(--viwi-ink)!important;
  color:#fff!important;
  border-color:var(--viwi-ink)!important;
}

/* Main hero visual normalization */
body.viwi-v43ib-scope h1{
  font-size:clamp(28px,3.6vw,40px)!important;
  line-height:1.07!important;
  font-weight:820!important;
  letter-spacing:-.038em!important;
}

body.viwi-v43ib-scope h2{
  font-size:clamp(21px,2.5vw,30px)!important;
  line-height:1.12!important;
  font-weight:780!important;
  letter-spacing:-.032em!important;
}

body.viwi-v43ib-scope h3{
  font-size:16px!important;
  line-height:1.18!important;
  font-weight:760!important;
}

body.viwi-v43ib-scope p,
body.viwi-v43ib-scope li,
body.viwi-v43ib-scope label,
body.viwi-v43ib-scope input,
body.viwi-v43ib-scope textarea,
body.viwi-v43ib-scope select{
  font-size:13px!important;
  line-height:1.55!important;
}

.viwi-v43ib-hero-lock{
  width:min(1120px,calc(100% - 28px))!important;
  margin:18px auto!important;
  padding:24px 26px!important;
  border-radius:26px!important;
  background:
    radial-gradient(circle at 88% 12%,rgba(255,122,26,.18),transparent 32%),
    linear-gradient(135deg,#fff,#fff9f3 55%,#ffe4c9)!important;
  border:1px solid rgba(255,122,26,.12)!important;
  box-shadow:0 18px 42px rgba(47,34,20,.08)!important;
  overflow:hidden!important;
}

.viwi-v43ib-kicker{
  display:inline-flex;
  align-items:center;
  gap:7px;
  border-radius:999px;
  padding:7px 11px;
  background:#fff7ef;
  border:1px solid rgba(255,122,26,.18);
  color:#9b4a06;
  font-size:11.5px;
  line-height:1;
  font-weight:850;
  letter-spacing:.03em;
  text-transform:uppercase;
}

.viwi-v43ib-minirow{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:7px;
  margin:13px 0 12px;
}

.viwi-v43ib-rating,
.viwi-v43ib-badge{
  display:inline-flex;
  align-items:center;
  gap:5px;
  border-radius:999px;
  padding:5.5px 9px;
  font-size:11px;
  line-height:1;
  font-weight:800;
  white-space:nowrap;
}

.viwi-v43ib-rating{
  background:#fff;
  border:1px solid var(--viwi-line);
  color:var(--viwi-ink);
}

.viwi-v43ib-rating small{
  font-size:10px;
  color:#657083;
  font-weight:760;
}

.viwi-v43ib-badge{
  background:#fff7ef;
  border:1px solid rgba(255,122,26,.16);
  color:#934703;
}

.viwi-v43ib-badge.green{
  background:#eefaf2;
  border-color:rgba(21,128,61,.14);
  color:#15803d;
}

.viwi-v43ib-badge.dark{
  background:#10131b;
  color:#fff;
  border-color:#10131b;
}

.viwi-v43ib-cta-row{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
  margin:18px 0 6px;
}

.viwi-v43ib-note{
  margin-top:14px;
  padding:11px 13px;
  border-radius:18px;
  border:1px dashed rgba(255,122,26,.24);
  background:rgba(255,255,255,.70);
  color:#566176;
  font-size:12.5px!important;
}

/* Form visual only */
body.viwi-v43ib-scope input,
body.viwi-v43ib-scope textarea,
body.viwi-v43ib-scope select{
  border-radius:14px!important;
  border:1px solid rgba(16,19,27,.10)!important;
  background:#fff!important;
}

body.viwi-v43ib-scope button,
body.viwi-v43ib-scope input[type="submit"],
body.viwi-v43ib-scope .btn,
body.viwi-v43ib-scope a[class*="btn"]{
  border-radius:999px!important;
  font-weight:800!important;
}

/* Modules/footer */
.viwi-v43ib-modules{
  width:min(1120px,calc(100% - 28px));
  margin:20px auto!important;
  padding:22px 20px;
  border-radius:26px;
  background:#fff;
  border:1px solid var(--viwi-line);
  box-shadow:0 14px 32px rgba(35,26,16,.06);
}

.viwi-v43ib-modules-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  margin-top:14px;
}

.viwi-v43ib-module{
  border-radius:18px;
  background:#fffaf5;
  border:1px solid rgba(255,122,26,.12);
  padding:14px;
}

.viwi-v43ib-module h3{
  margin:0 0 6px!important;
  font-size:15px!important;
}

.viwi-v43ib-module p{
  margin:0 0 11px!important;
  font-size:12.5px!important;
}

.viwi-v43ib-footer{
  width:min(1120px,calc(100% - 28px));
  margin:24px auto 0!important;
  padding:24px 20px 16px;
  border-radius:28px 28px 0 0;
  background:#070b11;
  color:#fff;
}

.viwi-v43ib-footer-grid{
  display:grid;
  grid-template-columns:1.3fr 1fr 1fr 1fr;
  gap:18px;
}

.viwi-v43ib-footer h4{
  margin:0 0 10px!important;
  color:#ff9d2f!important;
  font-size:14px!important;
  font-weight:820!important;
}

.viwi-v43ib-footer p,
.viwi-v43ib-footer a,
.viwi-v43ib-footer li{
  color:rgba(255,255,255,.88)!important;
  font-size:12.5px!important;
  line-height:1.5!important;
  text-decoration:none!important;
}

.viwi-v43ib-footer ul{
  list-style:none;
  padding:0;
  margin:0;
  display:flex;
  flex-direction:column;
  gap:8px;
}

.viwi-v43ib-footer-bottom{
  margin-top:16px;
  padding-top:14px;
  border-top:1px solid rgba(255,255,255,.08);
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  gap:10px;
}

/* Hide detected legacy hero/header duplicates after JS marks them */
.viwi-v43ib-hide-legacy{
  display:none!important;
}

@media(max-width:980px){
  .viwi-v43ib-topbar{align-items:flex-start;flex-direction:column}
  .viwi-v43ib-nav{justify-content:flex-start}
  .viwi-v43ib-modules-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .viwi-v43ib-footer-grid{grid-template-columns:1fr 1fr}
}

@media(max-width:640px){
  .viwi-v43ib-topbar,
  .viwi-v43ib-hero-lock,
  .viwi-v43ib-modules,
  .viwi-v43ib-footer{
    width:calc(100% - 22px)!important;
  }
  .viwi-v43ib-hero-lock{padding:19px 16px!important}
  .viwi-v43ib-brand-sub{white-space:normal}
  .viwi-v43ib-modules-grid{grid-template-columns:1fr}
  .viwi-v43ib-footer-grid{grid-template-columns:1fr}
}
