/* ============================================================
   SKEAL — sections.css  (header · hero · stats · products · onboarding)
   ============================================================ */

/* ---------------- HEADER ---------------- */
.hdr { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 16px 0; transition: padding .25s ease, background .25s ease, box-shadow .25s ease; }
.hdr.scrolled { padding: 9px 0; background: rgba(244,246,243,.86); backdrop-filter: saturate(1.3) blur(16px); box-shadow: 0 1px 0 rgba(19,45,70,.06), 0 6px 22px rgba(19,45,70,.05); }
.hdr-inner { display: flex; align-items: center; gap: 22px; }
.hdr-logo { flex: none; }
.hdr-nav { display: flex; gap: 26px; margin-left: 18px; }
.hdr-nav a { font-weight: 600; font-size: 15.5px; color: var(--ink-soft); transition: color .15s; white-space: nowrap; }
.hdr-nav a.on { color: var(--ink); font-weight: 700; }
.hdr-nav a:hover { color: var(--green-ink); }
.hdr-actions { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.lang-switch { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 3px; box-shadow: var(--shadow-sm); }
.lang-btn { border: 0; background: transparent; font-family: var(--body); font-weight: 700; font-size: 12.5px; color: var(--muted); padding: 6px 12px; border-radius: 999px; cursor: pointer; transition: all .15s; }
.lang-btn.on { background: var(--ink); color: #fff; }
.hdr-login { font-weight: 700; font-size: 15.5px; color: var(--ink); white-space: nowrap; }
.hdr-login:hover { color: var(--green-ink); }
.hdr-cta { padding: 12px 20px; font-size: 15px; }
@media (max-width: 1200px) { .hdr-nav { gap: 18px; } .hdr-nav a { font-size: 14.5px; } }
@media (max-width: 1020px) { .hdr-nav, .hdr-login { display: none; } }

/* ---------------- HERO ---------------- */
.hero { padding: 116px 0 28px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 48px); align-items: center; min-height: 72vh; }
.hero-copy { max-width: 600px; position: relative; z-index: 3; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; font-family: var(--body); font-weight: 600; font-size: 14.5px; color: var(--ink); background: rgba(255,255,255,.7); border: 1.5px solid transparent; border-radius: 999px; padding: 11px 20px 11px 17px; background-image: linear-gradient(#f7f9f6,#f7f9f6), var(--grad); background-origin: border-box; background-clip: padding-box, border-box; box-shadow: var(--shadow-sm); }
.hero-h1 { font-size: clamp(36px, 4.2vw, 56px); margin: 22px 0 0; letter-spacing: -0.035em; line-height: 1.06; font-weight: 800; max-width: 13ch; }
.hero-h1 .hl { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.hero-sub { font-size: clamp(16px, 1.35vw, 19px); color: var(--ink-soft); margin-top: 22px; max-width: 33em; }
.hero-cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.hero-dots { display: flex; align-items: center; gap: 12px; margin-top: 44px; }
.hero-dot { height: 20px; min-width: 20px; border-radius: 999px; border: 0; cursor: pointer; padding: 0; background: #d4ddd6; transition: all .35s cubic-bezier(.22,1,.36,1); display: inline-flex; align-items: center; }
.hero-dot.on { padding: 0 20px; height: 38px; box-shadow: var(--shadow-sm); }
.hero-dot.on.t-green { background: var(--green); color: #fff; }
.hero-dot.on.t-blue { background: var(--blue); color: #fff; }
.hero-dot.on.t-school { background: var(--yellow); color: #3a2c05; }
.hero-dot.on span { font-family: var(--body); font-weight: 700; font-size: 14.5px; white-space: nowrap; }

/* phone stage */
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; z-index: 1; }
.phero-stage { position: relative; width: 100%; max-width: 640px; aspect-ratio: 1 / 1.02; }
.phero-bg { display: none; }
.phero-grid { position: absolute; inset: -8% -6%; z-index: 0; background-image: linear-gradient(rgba(19,45,70,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(19,45,70,.05) 1px, transparent 1px); background-size: 46px 46px; -webkit-mask-image: radial-gradient(70% 64% at 52% 48%, #000 8%, rgba(0,0,0,.35) 48%, transparent 76%); mask-image: radial-gradient(70% 64% at 52% 48%, #000 8%, rgba(0,0,0,.35) 48%, transparent 76%); }
.phero-sparkle { position: absolute; left: 30%; top: 6%; width: clamp(40px, 6vw, 78px); z-index: 4; filter: drop-shadow(0 2px 8px rgba(19,45,70,.12)); animation: pheroSpark 3.6s ease-in-out infinite; }
@keyframes pheroSpark { 0%,100% { transform: scale(1) rotate(0); opacity: .92; } 50% { transform: scale(1.16) rotate(14deg); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .phero-sparkle { animation: none; } }

.phero-phone { position: absolute; left: 52%; top: 50%; transform: translate(-50%, -50%); height: 99%; aspect-ratio: 633 / 1306; z-index: 1; }
.phero-illus { position: absolute; height: auto; max-width: none; transform: translateX(-50%); z-index: 1; }
.phero-flash { position: absolute; left: 50%; top: 40%; width: 150%; aspect-ratio: 1; transform: translate(-50%,-50%); z-index: 2; pointer-events: none; opacity: 0; }
.phero-flash svg { width: 100%; height: 100%; filter: drop-shadow(0 0 30px rgba(255,255,255,.9)); }
.phero-flash::before { content: ""; position: absolute; inset: 18%; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.95) 0%, rgba(255,255,255,.5) 40%, transparent 70%); }
.phero-frame { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; }
.phero-ui { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  .phero-flash { animation: pheroFlash 2.6s ease-out infinite; }
}
@keyframes pheroFlash { 0%,38% { opacity: 0; transform: translate(-50%,-50%) scale(.6); } 46% { opacity: .95; transform: translate(-50%,-50%) scale(1.05); } 60%,100% { opacity: 0; transform: translate(-50%,-50%) scale(1.1); } }

.phero-chips { position: absolute; top: 5.5%; left: 9%; right: 9%; display: flex; justify-content: space-between; align-items: flex-start; gap: 6px; }
.phero-chip { display: flex; flex-direction: column; text-align: center; line-height: 1.18; }
.phero-chip.card { background: rgba(255,255,255,.72); backdrop-filter: blur(7px); border-radius: 15px; padding: 8px 12px; box-shadow: 0 4px 14px rgba(19,45,70,.16); }
.phero-chip.plain { padding: 8px 4px; }
.phero-chip b { font-family: var(--display); font-weight: 700; font-size: clamp(10px, .95vw, 13.5px); color: var(--ink); white-space: nowrap; }
.phero-chip span { font-size: clamp(9px, .85vw, 11.5px); color: var(--ink-soft); }

.phero-brackets { position: absolute; left: 16%; right: 16%; top: 32%; height: 33%; }
.phero-brackets .rc { position: absolute; width: 30px; height: 30px; border: 3.5px solid var(--bc); }
.phero-brackets .tl { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.phero-brackets .tr { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.phero-brackets .bl { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.phero-brackets .br { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.phero-scan { position: absolute; left: 6px; right: 6px; height: 3px; border-radius: 3px; top: 6px; animation: pheroScan 2.6s cubic-bezier(.55,0,.45,1) infinite; }
@keyframes pheroScan { 0% { top: 6px; opacity: 0; } 12% { opacity: .95; } 88% { opacity: .95; } 50% { top: calc(100% - 9px); } 100% { top: 6px; opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .phero-scan { animation: none; opacity: 0; } }

.phero-dish { position: absolute; left: 6%; right: 6%; bottom: 4%; background: rgba(28,44,62,.5); backdrop-filter: blur(7px); border-radius: 18px; padding: 11px 17px; box-shadow: 0 8px 22px rgba(19,45,70,.26); }
.phero-dish-kind { font-size: clamp(9.5px, .92vw, 12px); color: rgba(255,255,255,.74); text-align: center; margin-bottom: 3px; }
.phero-dish-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.phero-dish-name { font-family: var(--display); font-weight: 700; font-size: clamp(12px, 1.15vw, 16px); color: #fff; line-height: 1.16; text-shadow: 0 1px 5px rgba(0,0,0,.3); }
.phero-dish-pct { font-family: var(--display); font-weight: 800; font-size: clamp(24px, 2.7vw, 38px); letter-spacing: -0.02em; flex: none; text-shadow: 0 1px 6px rgba(0,0,0,.25); }

/* partners */
.hero-partners { display: flex; align-items: center; gap: clamp(20px, 4vw, 60px); margin-top: 18px; flex-wrap: wrap; }
.hero-partners-label { font-weight: 600; font-size: 16px; color: var(--ink-soft); }
.hero-partners-logos { display: flex; align-items: center; gap: clamp(28px, 5vw, 72px); flex-wrap: wrap; margin-left: auto; }
.hero-partner { height: 46px; width: auto; opacity: .62; filter: grayscale(1); }

@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 8px; min-height: 0; }
  .hero-visual { margin-top: 6px; }
  .phero-stage { max-width: 460px; }
  .hero-partners-logos { margin-left: 0; }
}
@media (max-width: 600px) {
  .hero { padding-top: 96px; }
  .hero-h1 { font-size: clamp(34px, 9vw, 44px); }
  .hero-partner { height: 36px; }
}

/* ============================================================
   SHARED section system
   ============================================================ */
.sec { padding: clamp(56px, 7vw, 92px) 0; }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 12px; }
.sec-head.left { text-align: left; margin-left: 0; }
.kick { font-family: var(--body); font-weight: 700; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 8px; }
.kick::before, .kick::after { content: "–"; opacity: .8; }
.kick.green { color: var(--green); }
.kick.blue { color: var(--blue); }
.kick.coral { color: #ff7a6b; }
.kick.left::before { content: ""; }
.sec-h2 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 800; letter-spacing: -0.025em; margin: 14px 0 0; line-height: 1.1; }
.sec-h2 .g { color: var(--green); }
.sec-h2 .b { color: var(--blue); }
.sec-sub { font-size: 17px; color: var(--muted); margin: 16px auto 0; max-width: 60ch; }
.sec-head.left .sec-sub { margin-left: 0; }

/* card primitives */
.card-w { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.card-navy { position: relative; background: linear-gradient(160deg,#1a3a57,var(--ink) 55%,var(--ink-2)); border-radius: var(--r-lg); box-shadow: var(--shadow-navy); color: rgba(255,255,255,.84); overflow: hidden; isolation: isolate; }
.card-navy::before { content: ""; position: absolute; inset: 0; background: url("../assets/mountain-bg.jpg") center 55%/cover; opacity: .22; mix-blend-mode: luminosity; z-index: -1; }
.card-navy::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(26,58,87,.5), rgba(13,34,53,.82)); z-index: -1; }
.card-navy h2, .card-navy h3 { color: #fff; }

/* ---------------- 2. STATS / PROBLEM ---------------- */
.stats-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.stat-c { padding: 28px; }
.stat-ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 22px; }
.stat-ic.grey { background: #eef2f6; }
.stat-ic.green { background: var(--green); }
.stat-ic.yellow { background: var(--yellow); }
.stat-c h3 { font-size: 21px; font-weight: 700; }
.stat-c p { font-size: 15px; color: var(--muted); margin-top: 16px; line-height: 1.5; }
.stats-wide { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.wide-c { padding: 30px 32px; }
.wide-c .wic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px; }
.wide-c h3 { font-size: 21px; font-weight: 700; }
.denut-bar { height: 12px; border-radius: 999px; background: #e9eef3; margin: 22px 0 18px; overflow: hidden; }
.denut-bar i { display: block; height: 100%; width: 50%; border-radius: 999px; background: var(--green); }
.denut-nums { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.denut-nums .n { font-family: var(--display); font-weight: 800; font-size: 44px; letter-spacing: -0.03em; }
.denut-nums .lbl { font-size: 15px; color: var(--muted); }
.waste-c { color: #fff; }
.waste-c .wic { background: rgba(28,142,244,.22); }
.waste-row { display: flex; align-items: center; gap: 22px; margin-top: 24px; }
.waste-gauge { width: 96px; height: 56px; flex: none; position: relative; }
.waste-gauge svg { width: 100%; height: 100%; }
.waste-gauge .gtxt { position: absolute; bottom: 0; left: 0; right: 0; text-align: center; font-weight: 800; font-size: 17px; color: #fff; }
.waste-big { font-family: var(--display); font-weight: 800; font-size: 52px; letter-spacing: -0.03em; color: var(--green); line-height: 1; }
.waste-big-sub { font-size: 14px; color: rgba(255,255,255,.72); }

/* ---------------- 3. PRODUCTS ---------------- */
.prod { position: relative; }
.prod-watermark { position: absolute; top: -10px; right: 0; width: clamp(180px, 22vw, 300px); opacity: .5; pointer-events: none; }
.prod-head { max-width: 640px; }
.prod-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 44px; align-items: stretch; }
.prod-card { border-radius: var(--r-xl); padding: clamp(26px,3vw,40px); display: flex; flex-direction: column; }
.prod-card.white { background: #fff; border: 1px solid var(--line-soft); box-shadow: var(--shadow); }
.prod-label { font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.prod-card.navy .prod-label { color: rgba(255,255,255,.5); }
.prod-card h3 { font-size: clamp(22px,2.4vw,28px); font-weight: 800; margin: 14px 0 0; line-height: 1.12; }
.prod-ph { font-weight: 700; color: var(--ink); margin-top: 20px; font-size: 15.5px; }
.prod-p { color: var(--muted); font-size: 15px; line-height: 1.55; margin-top: 6px; }
.prod-card.navy .prod-p, .prod-card.navy .prod-concl { color: rgba(255,255,255,.8); }
.prod-app-media { display: flex; align-items: center; gap: 18px; margin-top: auto; padding-top: 26px; flex-wrap: wrap; }
.prod-tablet { width: 150px; flex: none; }
.prod-video { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.prod-video-label { font-size: 13px; font-weight: 700; color: var(--green-ink); }
.prod-video-btn { width: 56px; height: 40px; border-radius: 11px; background: var(--green); display: grid; place-items: center; box-shadow: 0 6px 16px rgba(34,197,94,.4); }
.prod-chips { display: flex; flex-wrap: wrap; gap: 10px; flex: 1; min-width: 150px; }
.prod-chip { background: #eef2f6; border-radius: 999px; padding: 9px 15px; font-size: 13.5px; font-weight: 600; color: var(--ink-soft); }
.prod-bullets { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-direction: column; gap: 12px; }
.prod-bullets li { position: relative; padding-left: 20px; font-size: 15px; line-height: 1.5; color: rgba(255,255,255,.86); }
.prod-bullets li::before { content: "•"; position: absolute; left: 4px; color: var(--green); font-weight: 800; }
.prod-concl { font-size: 15px; line-height: 1.55; margin-top: 20px; }
.prod-shot { margin-top: 22px; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.prod-shot img, .prod-shot image-slot { width: 100%; display: block; }
.prod-shot image-slot { height: 280px; }
.prod-cta-wrap { display: flex; justify-content: center; margin-top: 40px; }

/* ---------------- 4. ONBOARDING (PDF layout: 4 across, one expanded) ---------------- */
.onb-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 50px; align-items: start; }
.onb-ghost { position: relative; text-align: left; background: rgba(255,255,255,.45); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: 26px 22px 30px; cursor: pointer; display: flex; flex-direction: column; transition: background .2s, box-shadow .2s, transform .2s; min-height: 280px; }
.onb-ghost:hover { background: #fff; box-shadow: var(--shadow); transform: translateY(-3px); }
.onb-gnum { font-family: var(--display); font-weight: 800; font-size: 40px; letter-spacing: -0.03em; color: #c2ccd4; }
.onb-gt { font-family: var(--display); font-weight: 700; font-size: 18px; color: #8b97a3; margin-top: 30px; line-height: 1.2; }
.onb-gs { font-size: 14px; color: #9aa6b1; margin-top: 10px; }
.onb-gmore { position: absolute; bottom: 20px; left: 22px; width: 30px; height: 30px; border-radius: 50%; background: var(--green-wash); display: grid; place-items: center; opacity: 0; transition: opacity .2s; }
.onb-ghost:hover .onb-gmore { opacity: 1; }
.onb-active { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; align-self: stretch; transform: translateY(-14px); }
.onb-active-photo { width: 100%; height: 230px; object-fit: cover; display: block; }
.onb-active-num { height: 130px; display: grid; place-items: center; background: linear-gradient(150deg,#1a3a57,var(--ink)); }
.onb-active-num span { font-family: var(--display); font-weight: 800; font-size: 56px; color: #fff; letter-spacing: -0.03em; }
.onb-active-body { padding: 22px 24px 28px; }
.onb-active-body h3 { font-family: var(--display); font-weight: 800; font-size: 19px; color: var(--ink); line-height: 1.2; }
.onb-items { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-direction: column; gap: 12px; }
.onb-items li { position: relative; padding-left: 20px; font-size: 14px; color: var(--muted); line-height: 1.5; }
.onb-items li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.onb-items li b { color: var(--ink); }
.onb-foot { text-align: center; font-size: 14px; color: var(--faint); margin-top: 30px; }
@media (max-width: 860px) { .onb-row { grid-template-columns: 1fr 1fr; } .onb-active { transform: none; } }
@media (max-width: 520px) { .onb-row { grid-template-columns: 1fr; } }
@media (max-width: 980px) {
  .stats-cards { grid-template-columns: 1fr; } .stats-wide { grid-template-columns: 1fr; }
  .prod-grid { grid-template-columns: 1fr; }
}
