/* Trang Hệ sinh thái. Bố cục hero theo ảnh mẫu Sheet (27/11/2026): chữ bên trái, vòng tròn 7 BU bên phải,
   nền sáng có núi rừng ở chân. Màu và cỡ chữ lấy từ thang chuẩn trong style.css. */

/* ---------- Hero ---------- */
.eco-hero{position:relative;isolation:isolate;overflow:hidden;background:var(--white)}
.eco-hero__bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center bottom;z-index:-1}
/* Lớp sáng sau cột chữ: phần núi rừng ở chân ảnh không làm chữ và số liệu khó đọc. */
.eco-hero::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,var(--white-70),transparent 55%)}
.eco-hero__grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:var(--sp-12);align-items:center;padding-block:var(--sp-12) calc(var(--sp-16) * 2)}
/* Đường dẫn, tiêu đề, dòng phụ: cùng kiểu mở đầu trang Giới thiệu (chủ dự án yêu cầu 28/11/2026). */
.eco-hero__copy .crumb{margin-bottom:var(--sp-8);color:var(--navy-900);font-size:var(--fs-15);letter-spacing:0}
.eco-hero__copy .crumb [aria-current]{font-weight:700}
.eco-hero__title{text-wrap:balance;font-size:var(--fs-h1);font-weight:800;line-height:var(--lh-tight);color:var(--navy)}
.eco-hero__title span,.eco-hero__title strong{display:block;font-weight:800}
.eco-hero__title strong{color:var(--green)}
.eco-hero__sub{margin-top:var(--sp-6);text-wrap:balance;font-size:var(--fs-sub);font-weight:700;line-height:var(--lh-tight);color:var(--navy)}
.eco-hero__sub::before{content:"";display:block;width:48px;height:var(--bw-accent);margin-bottom:var(--sp-6);border-radius:var(--r-xs);background:var(--green)}
.eco-hero__text{margin-top:var(--sp-6);max-width:60ch;color:var(--muted);font-size:var(--fs-14)}
.eco-hero__text p+p{margin-top:var(--sp-3)}
.eco-hero__stats{display:grid;grid-template-columns:repeat(3,minmax(0,auto));justify-content:start;gap:var(--sp-4) 0;margin-top:var(--sp-8)}
.eco-hero__stats li{display:flex;gap:var(--sp-3);align-items:flex-start;padding-inline:var(--sp-4);font-size:var(--fs-13);line-height:var(--lh-normal);color:var(--muted)}
.eco-hero__stats li:first-child{padding-left:0}
/* Nhãn số liệu đầu ngắn hơn hai nhãn sau: giới hạn bề rộng để cột ba đủ chỗ cho danh sách thị trường. */
.eco-hero__stats li:first-child span{max-width:9em}
.eco-hero__stats li+li{border-left:1px solid var(--line)}
.eco-hero__stats .ico{width:var(--ico-xl);height:var(--ico-xl);margin-top:var(--sp-05);color:var(--green)}
.eco-hero__stats b{display:block;font-size:var(--fs-24);line-height:var(--lh-tight);font-weight:800;color:var(--navy-900);white-space:nowrap;margin-bottom:var(--sp-1)}
.eco-hero__stats small{font-size:var(--fs-13);font-weight:600}
.eco-hero__cta{margin-top:var(--sp-10)}

/* ---------- Vòng tròn 7 BU ----------
   Mỗi ô là một liên kết SVG bo góc 6px (cả ô bấm được, Tab tới được), bấm thì cuộn mượt tới khối BU (html có
   scroll-behavior:smooth, tắt khi "giảm chuyển động"). Nhãn chữ là HTML đặt theo toạ độ cực (--x, --y), chỉ để nhìn. */
.eco-wheel{position:relative;width:100%;max-width:600px;margin-inline:auto;aspect-ratio:1;border-radius:50%;padding:var(--sp-3);background:var(--white-70);box-shadow:var(--shadow)}
.eco-wheel__art{display:block;width:100%;height:100%;overflow:visible}
#eco-tint stop{stop-color:var(--navy-900)}
.eco-wedge{transform-box:fill-box;transform-origin:center;transition:transform var(--t-med) ease;outline:0}
.eco-wedge image{transition:transform var(--t-slow) ease;transform-box:fill-box;transform-origin:center}
.eco-wedge__tint{transition:opacity var(--t-med) ease}
.eco-wedge__edge{fill:none;stroke:transparent;stroke-width:6}
.eco-wedge:focus-visible .eco-wedge__edge{stroke:var(--navy)}
.eco-wheel__segs li{position:absolute;left:var(--x);top:var(--y);transform:translate(-50%,-50%);width:24%;transition:transform var(--t-med) ease;pointer-events:none}
.eco-seg{display:flex;flex-direction:column;align-items:center;gap:var(--sp-1);padding:var(--sp-2);text-align:center;color:var(--white);font-size:var(--fs-13);line-height:var(--lh-tight);font-weight:500;text-shadow:var(--shadow-text)}
.eco-seg .ico{width:var(--ico-xl);height:var(--ico-xl);filter:drop-shadow(var(--shadow-text))}
.eco-seg b{font-size:var(--fs-20);font-weight:800;line-height:var(--lh-tight)}
.eco-seg__short{display:none}
.eco-wheel__core{position:absolute;left:50%;top:50%;width:40%;aspect-ratio:1;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--sp-1);padding:var(--sp-4);border-radius:50%;background:var(--white);box-shadow:var(--shadow);text-align:center;pointer-events:none}
.eco-wheel__core img{width:38%;height:auto}
.eco-wheel__core b{font-size:var(--fs-eco-core);line-height:var(--lh-none);font-weight:800;color:var(--navy)}
.eco-wheel__core span{font-size:var(--fs-14);text-wrap:balance;line-height:var(--lh-snug);font-weight:600;letter-spacing:var(--ls-eyebrow);color:var(--green)}

/* Rê chuột hoặc Tab tới một ô: cả ô phóng lên, ảnh sáng hơn, nhãn phóng theo. */
.eco-wedge:is(:hover,:focus-visible){transform:scale(1.05)}
.eco-wedge:is(:hover,:focus-visible) image{transform:scale(1.04)}
.eco-wedge:is(:hover,:focus-visible) .eco-wedge__tint{opacity:.6}
.eco-wheel:has(.eco-wedge[data-bu="1"]:is(:hover,:focus-visible)) .eco-seg[data-bu="1"],
.eco-wheel:has(.eco-wedge[data-bu="2"]:is(:hover,:focus-visible)) .eco-seg[data-bu="2"],
.eco-wheel:has(.eco-wedge[data-bu="3"]:is(:hover,:focus-visible)) .eco-seg[data-bu="3"],
.eco-wheel:has(.eco-wedge[data-bu="4"]:is(:hover,:focus-visible)) .eco-seg[data-bu="4"],
.eco-wheel:has(.eco-wedge[data-bu="5"]:is(:hover,:focus-visible)) .eco-seg[data-bu="5"],
.eco-wheel:has(.eco-wedge[data-bu="6"]:is(:hover,:focus-visible)) .eco-seg[data-bu="6"],
.eco-wheel:has(.eco-wedge[data-bu="7"]:is(:hover,:focus-visible)) .eco-seg[data-bu="7"]{transform:translate(-50%,-50%) scale(1.05)}

/* ---------- Khối BU: giữ bố cục, ô chữ nền xanh nhạt, thêm hàng giá trị nổi bật ----------
   --green-50 trước chỉ dùng cho ô chữ khối Dự án ở Trang chủ; từ 27/11/2026 dùng thêm cho ô chữ các khối BU
   (chủ dự án yêu cầu, ảnh mẫu Sheet). Chữ phụ #556274 trên nền này đạt 5,4:1. */
.bu,.bu-flip{background:var(--green-50)}
/* Gạch trắng 2px giữa hero và khối BU1, cùng kiểu khe giữa các khối BU (chủ dự án yêu cầu 28/11/2026). */
.eco-hero+.bu{margin-top:2px}
/* Bấm ô trong vòng tròn: khối BU dừng sát dưới thanh menu (html đã cộng sẵn chiều cao menu + 16px). */
.bu{scroll-margin-top:calc(-1 * var(--sp-4))}
.bu-vals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:var(--sp-6)}
.bu-vals li{display:flex;gap:var(--sp-2);align-items:center;padding-inline:var(--sp-3);font-size:var(--fs-14);line-height:var(--lh-snug);font-weight:500;color:var(--navy-900)}
.bu-vals li:first-child{padding-left:0}
.bu-vals li+li{border-left:1px solid var(--green-40)}
.bu-vals span,.eco-hero__stats span{text-wrap:balance}
.bu-vals .ico{width:var(--ico-xl);height:var(--ico-xl);stroke-width:1.5;color:var(--green)}
.bu-copy .bu-vals+.btn{margin-top:var(--sp-8)}

@media (max-width:1180px){
  .eco-hero__stats{grid-template-columns:repeat(3,minmax(0,1fr))}
  .eco-hero__stats li{padding-inline:var(--sp-4)}
  .eco-hero__stats b{white-space:normal}
  .eco-seg{font-size:var(--fs-12)}
  .eco-seg b{font-size:var(--fs-16)}
  .eco-seg .ico{width:var(--ico-lg);height:var(--ico-lg)}
}
@media (max-width:900px){
  .eco-hero__grid{grid-template-columns:1fr;gap:var(--sp-10);padding-block:var(--sp-8) var(--sp-12)}
}
@media (max-width:640px){
  .eco-hero__stats{grid-template-columns:1fr;gap:var(--sp-4)}
  .eco-hero__stats li,.eco-hero__stats li:first-child{padding:0}
  .eco-hero__stats li+li{border-left:0;border-top:1px solid var(--line);padding-top:var(--sp-4)}
  .eco-hero__stats b{white-space:nowrap}
  .eco-hero__cta{width:100%}
  .eco-wheel{padding:var(--sp-2)}
  .eco-seg{gap:var(--sp-05);padding:var(--sp-1)}
  .eco-seg .ico{width:var(--ico-lg);height:var(--ico-lg)}
  .eco-seg b{font-size:var(--fs-14)}
  .eco-seg__long{display:none}
  .eco-seg__short{display:block}
  .eco-wheel__core{padding:var(--sp-2);gap:0}
  .eco-wheel__core img{width:30%}
  .eco-wheel__core span{font-size:var(--fs-12);letter-spacing:var(--ls-label)}
  .bu-vals{grid-template-columns:1fr;gap:var(--sp-3)}
  .bu-vals li,.bu-vals li:first-child{padding:0}
  .bu-vals li+li{border-left:0}
}
@media (prefers-reduced-motion:reduce){
  .eco-wedge image,.eco-wedge__tint{transition:none}
  .eco-wedge image{transform:none}
}
