/* v1.1.44 — New Home hero + tools, from the owner's own files (hero-section.html,
   tools-section.html). Everything is scoped under .nh-hero / .nh-tools so no
   selector touches the rest of the site; variables live on the wrappers, not
   :root; keyframes carry the nh- prefix. The floating badges (.float) and the
   "Aim Higher!" tag were removed on the owner's order — the tag text is
   already inside the hero image, so keeping it would show it twice.
   v1.1.45: the coral circle (blob) and dashed ring were removed on the owner's
   order, and the image was made bigger to cover the right side (reference shot).
   v1.1.46: hero image re-made in high resolution (EDSR 4x, WebP).
   v1.1.47: image made BIGGER — visual column widened (grid .9fr 1.1fr).
   v1.1.48: hero image replaced with the owner's high-resolution original (1614px).
   v1.1.49: same image renamed (img-hero-aim-hd.webp) to bypass a stale hosting cache.
   The hero image is a flat illustration on a light background, so it blends
   into the gradient with mix-blend-mode: multiply. Loaded on the front page
   only (see functions.php). */

.nh-hero{
  --orange:#E8442E;
  --orange-dark:#C9331F;
  --ink:#1d1d2b;
  --muted:#4b4b5c;
  --bg-1:#F9D3CA;
  --bg-2:#FDEEEA;
  --white:#fff;
  position:relative;max-width:1240px;margin:24px auto 0;overflow:hidden;
  border-radius:24px;
  background:linear-gradient(110deg,var(--bg-1) 0%,var(--bg-2) 55%,#FBE0D9 100%);
  background-size:200% 200%;
  animation:nh-bgShift 14s ease-in-out infinite;
  display:grid;grid-template-columns:.9fr 1.1fr;align-items:center;
  gap:20px;padding:56px 56px 0 56px;min-height:420px;
  font-family:'Poppins',system-ui,sans-serif;color:var(--ink);
}
@keyframes nh-bgShift{0%,100%{background-position:0% 50%}50%{background-position:100% 50%}}

.nh-hero .copy{position:relative;z-index:3;padding-bottom:56px}
.nh-hero .pill{
  display:inline-flex;align-items:center;gap:8px;
  background:#fff;border:1.5px solid #F5B8AD;color:var(--orange);
  font-weight:600;font-size:13px;padding:7px 16px;border-radius:999px;
  box-shadow:0 6px 18px rgba(232,68,46,.15);
  animation:nh-pillPop .8s cubic-bezier(.2,1.4,.4,1) both;
}
.nh-hero .pill svg{width:15px;height:15px;animation:nh-zap 2.4s ease-in-out infinite}
@keyframes nh-pillPop{from{opacity:0;transform:scale(.6) translateY(10px)}to{opacity:1;transform:none}}
@keyframes nh-zap{0%,100%{transform:rotate(0) scale(1)}50%{transform:rotate(-14deg) scale(1.25)}}

.nh-hero h1{
  font-size:clamp(34px,5vw,60px);font-weight:800;line-height:1.08;
  letter-spacing:-1.5px;margin:20px 0 16px;
}
.nh-hero h1 .w{display:inline-block;opacity:0;transform:translateY(40px) rotate(4deg);
      animation:nh-wordUp .7s cubic-bezier(.2,.9,.3,1.2) forwards}
.nh-hero h1 .w:nth-child(1){animation-delay:.15s}
.nh-hero h1 .w:nth-child(2){animation-delay:.3s}
.nh-hero h1 .w:nth-child(3){animation-delay:.45s}
@keyframes nh-wordUp{to{opacity:1;transform:none}}

.nh-hero .achieve{color:var(--orange);position:relative}
.nh-hero .achieve svg{
  position:absolute;left:0;bottom:-10px;width:100%;height:14px;overflow:visible
}
.nh-hero .achieve path{
  fill:none;stroke:var(--orange);stroke-width:5;stroke-linecap:round;
  stroke-dasharray:260;stroke-dashoffset:260;
  animation:nh-draw 1s .95s ease-out forwards;
}
@keyframes nh-draw{to{stroke-dashoffset:0}}

.nh-hero .sub{max-width:470px;font-size:16px;line-height:1.65;color:var(--muted);margin-bottom:22px;
     animation:nh-fade .8s .7s both}
.nh-hero .sub b{color:var(--ink);font-weight:600}
@keyframes nh-fade{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}

.nh-hero .chips{display:flex;flex-wrap:wrap;gap:18px;margin-bottom:28px;list-style:none}
.nh-hero .chips li{
  display:flex;align-items:center;gap:8px;font-size:13.5px;font-weight:500;
  opacity:0;animation:nh-chip .5s cubic-bezier(.2,1.5,.4,1) forwards;
}
.nh-hero .chips li:nth-child(1){animation-delay:1.0s}
.nh-hero .chips li:nth-child(2){animation-delay:1.15s}
.nh-hero .chips li:nth-child(3){animation-delay:1.3s}
.nh-hero .tick{
  width:20px;height:20px;border-radius:50%;background:#2fb872;display:grid;place-items:center;
}
.nh-hero .tick svg{width:11px;height:11px;stroke:#fff;stroke-width:3.5;fill:none;stroke-linecap:round;stroke-linejoin:round;
          stroke-dasharray:20;stroke-dashoffset:20;animation:nh-tick .5s forwards}
.nh-hero .chips li:nth-child(1) .tick svg{animation-delay:1.3s}
.nh-hero .chips li:nth-child(2) .tick svg{animation-delay:1.45s}
.nh-hero .chips li:nth-child(3) .tick svg{animation-delay:1.6s}
@keyframes nh-tick{to{stroke-dashoffset:0}}
@keyframes nh-chip{from{opacity:0;transform:scale(.7)}to{opacity:1;transform:none}}

.nh-hero .btns{display:flex;flex-wrap:wrap;gap:14px;animation:nh-fade .8s 1.2s both}
.nh-hero .btn{
  position:relative;overflow:hidden;display:inline-flex;align-items:center;gap:10px;
  font:600 14.5px 'Poppins',sans-serif;padding:14px 26px;border-radius:999px;
  text-decoration:none;cursor:pointer;border:0;transition:transform .25s,box-shadow .25s;
}
.nh-hero .btn:focus-visible{outline:3px solid var(--ink);outline-offset:3px}
.nh-hero .btn-primary{background:var(--orange);color:#fff;box-shadow:0 10px 24px rgba(232,68,46,.35)}
.nh-hero .btn-primary:hover{background:var(--orange-dark);transform:translateY(-3px);box-shadow:0 16px 30px rgba(232,68,46,.45)}
.nh-hero .btn-primary::after{
  content:"";position:absolute;top:0;left:-70%;width:45%;height:100%;
  background:linear-gradient(100deg,transparent,rgba(255,255,255,.55),transparent);
  transform:skewX(-20deg);animation:nh-shine 3.2s 2s infinite;
}
@keyframes nh-shine{0%{left:-70%}35%,100%{left:140%}}
.nh-hero .btn .arrow{transition:transform .25s}
.nh-hero .btn:hover .arrow{transform:translateX(5px)}

.nh-hero .visual{position:relative;align-self:end;height:100%;min-height:380px;display:flex;justify-content:center;align-items:center}

.nh-hero .hero-img{
  position:relative;z-index:2;display:block;width:100%;max-width:100%;height:auto;
  object-fit:contain;transform-origin:bottom center;
  mix-blend-mode:multiply;
  animation:nh-imgIn 1s .4s cubic-bezier(.2,.9,.3,1.1) both, nh-sway 6s 1.4s ease-in-out infinite;
}
@keyframes nh-imgIn{from{opacity:0;transform:translateX(70px) scale(.92)}to{opacity:1;transform:none}}
@keyframes nh-sway{0%,100%{transform:rotate(-1.2deg)}50%{transform:rotate(1.2deg) translateY(-6px)}}

.nh-hero .spark{position:absolute;z-index:1;color:#EE7461;animation:nh-twinkle 2.6s ease-in-out infinite}
.nh-hero .s1{left:8%;top:10%;font-size:20px}
.nh-hero .s2{right:46%;bottom:14%;font-size:14px;animation-delay:.9s}
.nh-hero .s3{right:3%;bottom:10%;font-size:18px;animation-delay:1.7s}
@keyframes nh-twinkle{0%,100%{opacity:.2;transform:scale(.6) rotate(0)}50%{opacity:1;transform:scale(1.2) rotate(90deg)}}

/* ===== TOOLS ===== */
.nh-tools{
  --red:#E8442E;
  --red-dark:#C9331F;
  --blush:#FDEEEA;
  --blush-deep:#F9D3CA;
  --ink:#1d1d2b;
  --muted:#5a5a6b;
  position:relative;max-width:1240px;margin:28px auto 0;overflow:hidden;
  border-radius:24px;padding:48px 40px 52px;text-align:center;
  background:linear-gradient(180deg,#fff 0%,var(--blush) 100%);
  border:1.5px solid var(--blush-deep);
  font-family:'Poppins',system-ui,sans-serif;color:var(--ink);
}
.nh-tools .dot{position:absolute;border-radius:50%;background:var(--blush-deep);opacity:.55;animation:nh-drift 11s ease-in-out infinite}
.nh-tools .d1{width:90px;height:90px;left:-30px;top:30px}
.nh-tools .d2{width:46px;height:46px;right:6%;top:18px;animation-delay:-4s}
.nh-tools .d3{width:120px;height:120px;right:-40px;bottom:30px;animation-delay:-7s}
.nh-tools .d4{width:34px;height:34px;left:9%;bottom:24px;animation-delay:-2s}
@keyframes nh-drift{0%,100%{transform:translate(0,0)}50%{transform:translate(14px,-18px)}}

.nh-tools .head{position:relative;z-index:2;margin-bottom:34px}
.nh-tools .pill{
  display:inline-flex;align-items:center;gap:8px;background:#fff;color:var(--red);
  border:1.5px solid #F5B8AD;font-weight:600;font-size:13px;padding:6px 16px;border-radius:999px;
  box-shadow:0 6px 16px rgba(232,68,46,.15);animation:nh-pop .7s cubic-bezier(.2,1.4,.4,1) both;
}
.nh-tools .pill i{font-style:normal;display:inline-block;animation:nh-starSpin 4s linear infinite}
@keyframes nh-starSpin{to{transform:rotate(360deg)}}
@keyframes nh-pop{from{opacity:0;transform:scale(.6)}to{opacity:1;transform:none}}

.nh-tools h2{font-size:clamp(26px,3.6vw,38px);font-weight:700;letter-spacing:-.8px;margin:14px 0 8px;position:relative;display:inline-block}
.nh-tools h2::after{
  content:"";position:absolute;left:0;bottom:-6px;height:4px;width:100%;border-radius:4px;background:var(--red);
  transform:scaleX(0);transform-origin:left;animation:nh-line .9s .5s cubic-bezier(.6,0,.2,1) forwards;
}
@keyframes nh-line{to{transform:scaleX(1)}}
.nh-tools .sub{color:var(--muted);font-size:15.5px;margin-top:10px}

.nh-tools .grid{
  position:relative;z-index:2;list-style:none;
  display:grid;grid-template-columns:repeat(5,1fr);gap:16px;
}
.nh-tools .grid li{
  opacity:0;transform:translateY(26px) scale(.94);
  animation:nh-cardIn .6s cubic-bezier(.2,.9,.3,1.15) forwards;
  animation-delay:calc(.35s + var(--i) * .08s);
}
@keyframes nh-cardIn{to{opacity:1;transform:none}}

.nh-tools .card{
  position:relative;isolation:isolate;overflow:hidden;height:100%;
  display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;
  padding:20px 14px 18px;border-radius:16px;text-decoration:none;color:var(--ink);
  background:var(--blush);border:1.5px solid var(--blush-deep);
  transition:transform .3s,box-shadow .3s,border-color .3s;
}
.nh-tools .card:focus-visible{outline:3px solid var(--ink);outline-offset:3px}
.nh-tools .card::before{
  content:"";position:absolute;z-index:-1;left:50%;top:38px;width:20px;height:20px;border-radius:50%;
  background:var(--red);transform:translate(-50%,-50%) scale(0);
  transition:transform .6s cubic-bezier(.6,0,.2,1);
}
.nh-tools .card:hover,.nh-tools .card:focus-visible{transform:translateY(-6px);border-color:var(--red);box-shadow:0 16px 28px rgba(232,68,46,.28)}
.nh-tools .card:hover::before,.nh-tools .card:focus-visible::before{transform:translate(-50%,-50%) scale(22)}

.nh-tools .ico{
  width:44px;height:44px;border-radius:50%;background:#fff;color:var(--red);
  display:grid;place-items:center;margin-bottom:6px;
  box-shadow:0 4px 10px rgba(232,68,46,.18);
  transition:transform .5s cubic-bezier(.2,1.5,.4,1);
}
.nh-tools .ico svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.nh-tools .ico b{font-size:13px;font-weight:800;letter-spacing:-.5px}
.nh-tools .card:hover .ico,.nh-tools .card:focus-visible .ico{transform:rotate(-12deg) scale(1.12)}

.nh-tools .card h3{font-size:13.5px;font-weight:600;line-height:1.3;transition:color .3s .1s}
.nh-tools .card p{font-size:11.5px;color:var(--muted);line-height:1.4;transition:color .3s .1s}
.nh-tools .card:hover h3,.nh-tools .card:hover p,.nh-tools .card:focus-visible h3,.nh-tools .card:focus-visible p{color:#fff}

/* ===== RESPONSIVE ===== */
@media (max-width:1050px){.nh-tools .grid{grid-template-columns:repeat(3,1fr)}}
@media (max-width:900px){
  .nh-hero{grid-template-columns:1fr;padding:40px 24px 0}
  .nh-hero .copy{padding-bottom:10px}
  .nh-hero .visual{min-height:340px}
}
@media (max-width:680px){
  .nh-tools{padding:36px 18px 40px}
  .nh-tools .grid{grid-template-columns:repeat(2,1fr);gap:12px}
}
@media (max-width:480px){
  .nh-hero,.nh-tools{margin-left:12px;margin-right:12px}
  .nh-hero .btn{width:100%;justify-content:center}
}
@media (max-width:360px){.nh-tools .grid{grid-template-columns:1fr}}
@media (prefers-reduced-motion:reduce){
  .nh-hero *,.nh-hero *::before,.nh-hero *::after,.nh-tools *,.nh-tools *::before,.nh-tools *::after{animation-duration:.01ms!important;animation-iteration-count:1!important;animation-delay:0s!important;transition-duration:.01ms!important}
  .nh-hero h1 .w,.nh-hero .chips li,.nh-hero .pill,.nh-hero .sub,.nh-hero .btns,.nh-hero .hero-img{opacity:1!important;transform:none!important}
  .nh-hero .achieve path{stroke-dashoffset:0!important}
  .nh-hero .tick svg{stroke-dashoffset:0!important}
  .nh-tools .grid li{opacity:1;transform:none}
  .nh-tools h2::after{transform:scaleX(1)}
}
