/* =====================================================
   WOWTIGER Homepage — Sungrow-inspired white/green design
   Loaded IN ADDITION to style.css, only on the homepage.
   ===================================================== */

/* (topbar + solid-nav + brand vars are now global in style.css) */

/* ---- HERO: full-screen, minimal, big ---- */
.h-hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; background: var(--hero-ink); }
.h-hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transform: scale(1.06); transition: opacity 1.4s ease, transform 7s ease; }
.h-hero-slide.active { opacity: 1; transform: scale(1); }
.h-hero-slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,20,16,.82) 0%, rgba(6,20,16,.55) 45%, rgba(6,20,16,.15) 100%); }
.h-hero-inner { position: relative; z-index: 2; max-width: 760px; padding-top: 60px; }
.h-hero-eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--green); font-size: .82rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 26px; }
.h-hero-eyebrow::before { content: ''; width: 34px; height: 2px; background: var(--green); }
.h-hero h1 { color: #fff; font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 900; line-height: 1.04; letter-spacing: -.02em; margin-bottom: 24px; }
.h-hero h1 em { color: var(--green); font-style: normal; }
.h-hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: rgba(255,255,255,.78); line-height: 1.7; max-width: 600px; margin-bottom: 40px; }
.h-hero-actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.btn-xl { padding: 16px 34px; font-size: 1rem; border-radius: 4px; }
.btn-ghost-white { border: 1.5px solid rgba(255,255,255,.4); color: #fff; }
.btn-ghost-white:hover { background: #fff; color: var(--hero-ink); border-color: #fff; }
/* hero slide dots */
.h-hero-dots { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: 10px; }
.h-hero-dot { width: 34px; height: 3px; background: rgba(255,255,255,.28); border-radius: 2px; cursor: pointer; transition: background .3s; }
.h-hero-dot.active { background: var(--green); }

/* ---- DATA WALL (Sungrow-style giant trust numbers) ---- */
.h-datawall { background: var(--white); border-bottom: 1px solid var(--border); }
.h-datawall .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.h-data { padding: 56px 32px; text-align: center; border-right: 1px solid var(--border); position: relative; }
.h-data:last-child { border-right: none; }
.h-data-num { font-size: clamp(2.4rem, 4vw, 3.4rem); font-weight: 900; color: var(--hero-ink); line-height: 1; letter-spacing: -.02em; }
.h-data-num .u { color: var(--green); }
.h-data-label { font-size: .86rem; color: var(--muted); margin-top: 12px; letter-spacing: .02em; }
@media (max-width: 760px) { .h-datawall .container { grid-template-columns: repeat(2, 1fr); } .h-data:nth-child(2) { border-right: none; } .h-data { border-bottom: 1px solid var(--border); } }

/* ---- Generic light section w/ generous whitespace ---- */
.h-section { padding: 120px 0; }
.h-head { max-width: 720px; margin: 0 auto 64px; text-align: center; }
.h-eyebrow { display: inline-block; color: var(--green-deep); font-size: .8rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 16px; }
.h-title { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 900; color: var(--hero-ink); letter-spacing: -.02em; line-height: 1.12; }
.h-sub { font-size: 1.08rem; color: var(--muted); line-height: 1.7; margin-top: 18px; }
.h-head-left { margin: 0 0 56px; text-align: left; }

/* ---- Scenario product cards (big imagery, overlay) ---- */
.h-scenes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.h-scene { position: relative; border-radius: 12px; overflow: hidden; min-height: 340px; display: flex; align-items: flex-end; padding: 36px; color: #fff; background-size: cover; background-position: center; isolation: isolate; }
.h-scene::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(6,20,16,.9) 0%, rgba(6,20,16,.35) 55%, rgba(6,20,16,.1) 100%); transition: background .4s; }
.h-scene:hover::after { background: linear-gradient(to top, rgba(0,122,90,.92) 0%, rgba(6,20,16,.4) 60%, rgba(6,20,16,.1) 100%); }
.h-scene-bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; transition: transform .6s ease; }
.h-scene:hover .h-scene-bg { transform: scale(1.06); }
.h-scene-cat { font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--green); margin-bottom: 10px; }
.h-scene-title { font-size: 1.5rem; font-weight: 800; margin-bottom: 8px; }
.h-scene-desc { font-size: .92rem; color: rgba(255,255,255,.8); line-height: 1.6; max-width: 90%; }
.h-scene-arrow { position: absolute; top: 32px; right: 32px; width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.35); display: flex; align-items: center; justify-content: center; transition: all .3s; }
.h-scene:hover .h-scene-arrow { background: var(--green); border-color: var(--green); transform: rotate(-45deg); }
.h-scene-arrow svg { width: 18px; height: 18px; }
.h-scene-tall { grid-row: span 2; min-height: 100%; }
@media (max-width: 820px) { .h-scenes { grid-template-columns: 1fr; } .h-scene-tall { grid-row: auto; } }

/* ---- Feature row (why WOWTIGER) ---- */
.h-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.h-feature { text-align: left; }
.h-feature-ic { width: 54px; height: 54px; border-radius: 12px; background: rgba(0,168,124,.1); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.h-feature-ic svg { width: 28px; height: 28px; color: var(--green-deep); }
.h-feature h4 { font-size: 1.08rem; font-weight: 800; color: var(--hero-ink); margin-bottom: 8px; }
.h-feature p { font-size: .9rem; color: var(--muted); line-height: 1.65; }
@media (max-width: 820px) { .h-features { grid-template-columns: repeat(2, 1fr); } }

/* ---- Split showcase (image + copy) ---- */
.h-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 72px; align-items: center; }
.h-split-media { border-radius: 14px; overflow: hidden; aspect-ratio: 4/3; background-size: cover; background-position: center; box-shadow: var(--shadow-lg); }
.h-check { display: flex; flex-direction: column; gap: 18px; margin: 30px 0 34px; }
.h-check li { display: flex; gap: 14px; align-items: flex-start; }
.h-check-ic { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--green); display: flex; align-items: center; justify-content: center; margin-top: 2px; }
.h-check-ic svg { width: 13px; height: 13px; color: #fff; }
.h-check strong { display: block; color: var(--hero-ink); font-size: 1rem; }
.h-check span { font-size: .9rem; color: var(--muted); }
@media (max-width: 820px) { .h-split { grid-template-columns: 1fr; gap: 40px; } }

/* ---- Dark global band ---- */
.h-global { background: var(--hero-ink); padding: 120px 0; color: #fff; }
.h-global .h-title { color: #fff; }
.h-global .h-sub { color: rgba(255,255,255,.6); }
.h-global-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.h-office { padding: 26px; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; background: rgba(255,255,255,.03); transition: all .3s; }
.h-office:hover { background: rgba(0,200,147,.08); border-color: rgba(0,200,147,.35); transform: translateY(-4px); }
.h-office-flag { font-size: 2rem; margin-bottom: 14px; }
.h-office-country { font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--green); }
.h-office-name { font-size: .96rem; color: rgba(255,255,255,.85); margin-top: 4px; }
@media (max-width: 820px) { .h-global-grid { grid-template-columns: 1fr 1fr; } }

/* ---- Partner strip ---- */
.h-partner { margin-top: 40px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding: 24px 28px; border: 1px solid rgba(0,200,147,.25); border-radius: 12px; background: rgba(0,200,147,.05); }
.h-partner-tick { background: rgba(0,200,147,.15); border: 1px solid rgba(0,200,147,.4); color: var(--green); font-size: .78rem; font-weight: 800; padding: 5px 12px; border-radius: 4px; white-space: nowrap; }
.h-partner-txt { flex: 1; min-width: 240px; }
.h-partner-txt strong { color: #fff; font-size: 1rem; }
.h-partner-txt span { display: block; color: rgba(255,255,255,.6); font-size: .88rem; margin-top: 4px; }

/* ---- News teaser ---- */
.h-news { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; }
.h-news-lead { position: relative; border-radius: 14px; overflow: hidden; min-height: 360px; display: flex; align-items: flex-end; padding: 36px; color: #fff; background-size: cover; background-position: center; isolation: isolate; }
.h-news-lead::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(6,20,16,.92), rgba(6,20,16,.2)); }
.h-news-badge { display: inline-block; background: var(--green); color: var(--hero-ink); font-size: .72rem; font-weight: 800; padding: 4px 12px; border-radius: 4px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; }
.h-news-lead h3 { font-size: 1.4rem; font-weight: 800; line-height: 1.3; }
.h-news-lead p { font-size: .9rem; color: rgba(255,255,255,.75); margin-top: 10px; }
.h-news-side { display: flex; flex-direction: column; gap: 24px; }
.h-news-item { border-bottom: 1px solid var(--border); padding-bottom: 22px; }
.h-news-item:last-child { border-bottom: none; }
.h-news-meta { font-size: .76rem; color: var(--green-deep); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.h-news-item h4 { font-size: 1.02rem; font-weight: 700; color: var(--hero-ink); line-height: 1.45; margin-top: 8px; transition: color .2s; }
.h-news-item:hover h4 { color: var(--green-deep); }
@media (max-width: 900px) { .h-news { grid-template-columns: 1fr; } }

/* ---- Final CTA ---- */
.h-cta { position: relative; padding: 120px 0; text-align: center; color: #fff; overflow: hidden; background: linear-gradient(120deg, var(--green-deep), var(--hero-ink)); }
.h-cta h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 900; letter-spacing: -.02em; margin-bottom: 18px; }
.h-cta p { font-size: 1.1rem; color: rgba(255,255,255,.8); max-width: 620px; margin: 0 auto 36px; line-height: 1.7; }
.h-cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---- section tint helper ---- */
.h-tint { background: #F4F8F6; }
