/* =========================================================================
   HeatSol — ESG page
   Legacy heat-sol.com composition (hero → intro → visual → statement → cards)
   restyled with the flex-inspired light design system.
   ========================================================================= */
.esg-root .hs-nav a.is-current,
.esg-root .hs-drawer a.is-current {
  color: var(--hs-fg);
  font-weight: 700;
}

/* ---- Hero banner -------------------------------------------------------- */
.esg-hero {
  background: var(--hs-bg2);
}
.esg-hero__grad {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 82% 8%, rgba(225, 80, 37, .10), transparent 52%),
    radial-gradient(100% 80% at 8% 100%, rgba(225, 80, 37, .06), transparent 55%),
    var(--hs-bg2);
}
.esg-hero__pattern {
  position: absolute; inset: 0; opacity: .5;
  background-image:
    radial-gradient(rgba(17, 17, 19, .08) 1px, transparent 1.4px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%, #000 75%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 30%, #000 75%, transparent);
}
.esg-hero .pr-hero__inner { align-self: flex-end; width: 100%; }
.esg-hero__eyebrow {
  font-size: 14px; letter-spacing: .02em; color: var(--hs-accent); font-weight: 700;
}
.esg-hero__title {
  margin: 14px 0 0;
  font-size: clamp(40px, 5.6vw, 76px); font-weight: 800;
  letter-spacing: -.03em; line-height: 1.08; color: var(--hs-fg);
}

/* ---- Category tabs ------------------------------------------------------ */
.esg-tabs .pr-tabs__inner { justify-content: center; }

/* ---- Panel -------------------------------------------------------------- */
.esg-panel { padding: 0 0 0; }
.esg-panel.is-enter { animation: esgFade .55s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes esgFade { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---- Intro -------------------------------------------------------------- */
.esg-intro {
  text-align: center;
  padding: clamp(64px, 9vw, 120px) 0 0;
}
.esg-intro__eyebrow {
  font-size: 14px; letter-spacing: .02em; font-weight: 700; color: var(--hs-accent);
}
.esg-intro__headline {
  margin: 18px auto 0; max-width: 920px;
  font-size: clamp(26px, 4.4vw, 50px); font-weight: 700;
  letter-spacing: -.025em; line-height: 1.28; color: var(--hs-fg);
}

/* ---- Wide visual band --------------------------------------------------- */
.esg-banner {
  position: relative; overflow: hidden;
  margin-top: clamp(40px, 6vw, 76px);
  height: clamp(230px, 36vw, 420px);
  border-radius: var(--hs-r-lg); border: none;
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(60% 90% at 28% 36%, rgba(225, 80, 37, .14), transparent 58%),
    radial-gradient(70% 100% at 80% 74%, rgba(225, 80, 37, .08), transparent 60%),
    linear-gradient(135deg, #FDEFE9, #F7F8FA);
}
.esg-banner__emblem {
  color: var(--hs-accent); line-height: 0;
}
.esg-banner__emblem svg {
  width: clamp(116px, 18vw, 210px); height: auto;
  filter: drop-shadow(0 12px 32px rgba(225, 80, 37, .18));
}
.esg-banner__leaf {
  position: absolute; left: 13%; bottom: 16%; color: rgba(225, 80, 37, .55); line-height: 0;
}
.esg-banner__leaf svg { width: clamp(40px, 6vw, 72px); height: auto; }
.esg-banner__spark {
  position: absolute; right: 16%; top: 22%;
  width: clamp(48px, 7vw, 84px); aspect-ratio: 1; border-radius: 50%;
  border: 2px solid rgba(225, 80, 37, .30);
}

/* ---- Statement ---------------------------------------------------------- */
.esg-statement {
  display: grid; grid-template-columns: minmax(120px, 196px) 1fr;
  gap: clamp(28px, 5vw, 64px); align-items: center;
  padding: clamp(56px, 8vw, 104px) 0;
}
.esg-statement__badge {
  width: 100%; max-width: 196px; aspect-ratio: 1; border-radius: 30px;
  display: flex; align-items: center; justify-content: center;
  color: var(--hs-accent);
  border: none;
  background: var(--hs-accent-soft);
}
.esg-statement__badge svg { width: 46%; height: auto; }
.esg-statement__title {
  margin: 0;
  font-size: clamp(20px, 2.5vw, 30px); font-weight: 700;
  letter-spacing: -.01em; line-height: 1.5; color: var(--hs-fg);
}
.esg-statement__text p {
  margin: 18px 0 0;
  font-size: clamp(15px, 1.3vw, 17px); line-height: 1.75; color: var(--hs-body);
}

/* ---- Feature cards ------------------------------------------------------ */
.esg-cardsec {
  background: var(--hs-bg2);
  padding: clamp(64px, 9vw, 112px) 0;
}
.esg-cards {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(30px, 4vw, 56px);
}
.esg-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.esg-card__media {
  position: relative;
  width: clamp(150px, 18vw, 208px); aspect-ratio: 1; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: none;
  background: var(--hs-accent-soft);
  transition: transform .35s cubic-bezier(.16, 1, .3, 1), box-shadow .35s;
}
.esg-card:hover .esg-card__media { transform: translateY(-6px); box-shadow: var(--hs-shadow-md); }
.esg-card__icon { color: var(--hs-accent); line-height: 0; }
.esg-card__icon svg { width: clamp(56px, 7vw, 82px); height: auto; }
.esg-card__n {
  margin-top: 26px; font-size: 13px; font-weight: 700; letter-spacing: .02em; color: var(--hs-accent);
}
.esg-card__title {
  margin: 8px 0 0; font-size: clamp(19px, 2vw, 24px); font-weight: 700;
  letter-spacing: -.01em; color: var(--hs-fg);
}
.esg-card__desc {
  margin: 14px 0 0; max-width: 320px;
  font-size: 15px; line-height: 1.7; color: var(--hs-muted);
}

/* ---- Responsive --------------------------------------------------------- */
@media (max-width: 900px) {
  .esg-cards { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .esg-statement {
    grid-template-columns: 1fr; justify-items: center; text-align: center;
    gap: 28px;
  }
  .esg-statement__badge { max-width: 150px; }
}
@media (max-width: 640px) {
  .esg-banner { height: clamp(200px, 52vw, 300px); border-radius: 18px; }
  .esg-statement__title { font-size: 21px; }
}
