/* ===================== IWA — Site Chrome (Header/Footer) ===================== */
:root{
  --iwa-violet:#7AF0B6;
  --iwa-rose:#FFEB88;
  --iwa-lilas:#FFEB88;
  --iwa-brume:#FFF7EC;

  --iwa-ink:#000000;
  --iwa-muted:rgba(0,0,0,.68);
  --iwa-line:rgba(0,0,0,.12);
  --iwa-panel:rgba(255,255,255,.78);

  --iwa-max:1200px;
}

/* Hide most theme headers/footers (Elementor + themes) */
body :is(
  header#masthead,
  header.site-header,
  .site-header,
  #header,
  .elementor-location-header,
  footer#colophon,
  footer.site-footer,
  .site-footer,
  #footer,
  .elementor-location-footer
){
  display:none !important;
}

.iwaChromeHeader{
  position:sticky;
  top:0;
  z-index:9999;
  isolation:isolate;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--iwa-ink);
  border-bottom:1px solid var(--iwa-line);
  background:
    radial-gradient(820px 280px at 10% 0%, rgba(122,240,182,.22), transparent 60%),
    radial-gradient(720px 320px at 92% 0%, rgba(255,235,136,.24), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,.84), rgba(255,247,236,.72));
  backdrop-filter: blur(10px);
}

.iwaChromeInner{
  max-width:var(--iwa-max);
  margin:0 auto;
  padding:12px 18px;
  display:flex;
  align-items:center;
  gap:16px;
}

.iwaChromeBrand{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  color:inherit;
  min-width:240px;
}

.iwaChromeLogo{
  width:42px;
  height:42px;
  border-radius:14px;
  object-fit:cover;
  box-shadow:0 14px 32px rgba(0,0,0,.10);
}

.iwaChromeName{
  font-weight:900;
  letter-spacing:-.01em;
  white-space:nowrap;
}

.iwaChromeNav{ flex:1; min-width:160px; }
.iwaChromeMenu{
  list-style:none;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin:0;
  padding:0;
}
.iwaChromeMenu a{
  display:inline-flex;
  align-items:center;
  padding:9px 12px;
  border-radius:999px;
  border:1px solid transparent;
  text-decoration:none;
  font-weight:900;
  color:var(--iwa-muted);
  background:transparent;
}
.iwaChromeMenu a:hover{
  color:var(--iwa-ink);
  border-color:var(--iwa-line);
  background:rgba(122,240,182,.16);
}

.iwaChromeActions{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}

.iwaChromeBtn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:14px;
  border:1px solid var(--iwa-line);
  font-weight:900;
  text-decoration:none;
  white-space:nowrap;
}
.iwaChromeBtn--ghost{
  color:var(--iwa-ink);
  background:rgba(255,255,255,.62);
}
.iwaChromeBtn--ghost:hover{ background:rgba(122,240,182,.14); }

.iwaChromeBtn--solid{
  color:#fff;
  background:linear-gradient(135deg, var(--iwa-violet), var(--iwa-rose));
  border-color:transparent;
  box-shadow:0 16px 34px rgba(122,240,182,.22);
}
.iwaChromeBtn--solid:hover{ filter:saturate(1.05) brightness(1.02); }

/* Ornaments */
.iwaChromeOrnaments{
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index:-1;
  overflow:hidden;
}
.iwaChromeOrn{
  position:absolute;
  width:240px;
  height:auto;
  opacity:.65;
}
.iwaChromeOrn--a{ left:-70px; top:-70px; transform:rotate(12deg); }
.iwaChromeOrn--b{ right:-90px; top:-90px; transform:rotate(-10deg); }

.iwaChromeFooter{
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--iwa-ink);
  border-top:1px solid var(--iwa-line);
  background:
    radial-gradient(900px 320px at 10% 10%, rgba(122,240,182,.18), transparent 60%),
    radial-gradient(720px 300px at 92% 0%, rgba(255,235,136,.20), transparent 62%),
    linear-gradient(180deg, rgba(255,247,236,.72), rgba(255,255,255,.40));
}

.iwaChromeFootInner{
  max-width:var(--iwa-max);
  margin:0 auto;
  padding:18px 18px;
  display:grid;
  grid-template-columns: 1.2fr 1fr;
  gap:14px;
  align-items:start;
}

.iwaChromeFootTitle{ display:block; font-weight:900; margin-bottom:6px; }
.iwaChromeFootText{ margin:0; color:var(--iwa-muted); line-height:1.55; }

.iwaChromeFootLinks{
  display:flex;
  flex-wrap:wrap;
  gap:10px 14px;
  justify-content:flex-end;
  align-items:center;
}
.iwaChromeFootLinks a{
  color:var(--iwa-muted);
  text-decoration:none;
  font-weight:900;
  padding:6px 8px;
  border-radius:12px;
  border:1px solid transparent;
}
.iwaChromeFootLinks a:hover{
  color:var(--iwa-ink);
  border-color:var(--iwa-line);
  background:rgba(255,255,255,.55);
}

.iwaChromeFootMeta{
  grid-column:1 / -1;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
  color:var(--iwa-muted);
}
.iwaChromeFootMeta a{ color:inherit; text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:3px; }
.iwaChromeDot{ opacity:.7; }

@media (max-width: 980px){
  .iwaChromeBrand{ min-width:unset; }
  .iwaChromeFootInner{ grid-template-columns:1fr; }
  .iwaChromeFootLinks{ justify-content:flex-start; }
}
@media (max-width: 720px){
  .iwaChromeInner{ padding:10px 14px; gap:12px; }
  .iwaChromeName{ display:none; }
}
