/* Product pages (Bustan, Amiko). Loaded after style.css. Each page sets its palette below. */
.bustan { --g1: #1B8A5A; --g1-rgb: 27, 138, 90; --g1-dark: #167349; --g-soft: #EEF7F0; --g-line: rgba(27, 138, 90, 0.18); --glow: rgba(139, 197, 63, 0.22); --band: linear-gradient(135deg, #0F4D35, #1B8A5A 60%, #5BA83F); --band-eyebrow: #CFEFB8; }
.amiko { --g1: #7C4DFF; --g1-rgb: 124, 77, 255; --g1-dark: #6A3AE6; --g-soft: #F6F0FF; --g-line: rgba(124, 77, 255, 0.18); --glow: rgba(255, 111, 168, 0.22); --band: linear-gradient(135deg, #5B2DD0, #8B4DFF 55%, #FF6FA8); --band-eyebrow: #FFD3E6; }
.product .eyebrow { color: var(--g1); }

/* Hero */
.b-hero { padding-top: 72px; background: radial-gradient(70% 90% at 85% 10%, var(--glow), transparent 60%), linear-gradient(180deg, var(--g-soft), var(--bg)); overflow: hidden; }
.b-hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(24px, 5vw, 72px); align-items: center; padding-block: clamp(48px, 7vw, 96px); }
.b-logo { height: clamp(84px, 9vw, 120px); width: auto; margin-bottom: 24px; }
.b-hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); margin-bottom: 18px; }
.b-hero .lead { max-width: 520px; margin-bottom: 30px; }
.b-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-green { background: var(--g1); color: #fff; box-shadow: 0 8px 24px rgba(var(--g1-rgb), 0.3); }
.btn-green:hover { background: var(--g1-dark); box-shadow: 0 12px 30px rgba(var(--g1-rgb), 0.4); }
.btn-outline-green { background: transparent; color: var(--g1); border: 1.5px solid var(--g1); }
.btn-outline-green:hover { background: rgba(var(--g1-rgb), 0.08); }
.b-photo { display: block; width: 100%; max-width: 520px; height: auto; aspect-ratio: 1 / 1; object-fit: cover; justify-self: center; border-radius: 28px; box-shadow: 0 30px 60px rgba(11, 21, 48, 0.16); }

/* Features */
.b-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.b-feature { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: clamp(26px, 3.4vw, 40px); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.b-feature:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(11, 21, 48, 0.08); border-color: var(--g-line); }
.b-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--g-soft); margin-bottom: 20px; }
.b-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--g1); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.b-feature h3 { font-size: 1.3rem; margin-bottom: 10px; }
.b-feature p { margin: 0; color: var(--muted); }

/* Climate band */
.b-band { position: relative; overflow: hidden; color: #fff; background: var(--band); padding-block: clamp(64px, 9vw, 112px); }
.b-band::before { content: ''; position: absolute; width: 520px; height: 520px; right: -140px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 236, 160, 0.55), transparent 65%); }
.b-band .container { position: relative; }
.b-band .eyebrow { color: var(--band-eyebrow); }
.b-band h2 { max-width: 820px; color: #fff; font-size: clamp(2rem, 4.6vw, 3.4rem); }
.b-band p { font-size: 1.15rem; color: rgba(255, 255, 255, 0.88); margin: 0; max-width: 620px; }

/* Steps */
.b-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; counter-reset: b; }
.b-step { position: relative; padding-top: 64px; }
.b-step::before { counter-increment: b; content: '0' counter(b); position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--g1); color: #fff; font-family: var(--font-heading); font-weight: 600; font-size: 0.9rem; box-shadow: 0 0 0 6px var(--g-soft); }
.b-step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.b-step p { margin: 0; color: var(--muted); font-size: 0.97rem; }

/* CTA */
.b-cta { text-align: center; background: var(--g-soft); padding-block: clamp(64px, 9vw, 112px); }
.b-cta h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
.b-cta p { max-width: 520px; margin: 0 auto 28px; color: var(--muted); }
.b-cta .b-actions { justify-content: center; }

@media (max-width: 860px) {
  .b-hero-grid { grid-template-columns: 1fr; }
  .b-photo { max-width: 380px; }
  .b-features, .b-steps { grid-template-columns: 1fr; }
}

/* Bustan: numbered callouts over the photo, revealed in sequence */
.b-stage { position: relative; max-width: 820px; margin-inline: auto; container-type: inline-size; }
.b-frame { position: relative; border-radius: 28px; overflow: hidden; box-shadow: 0 30px 60px rgba(11, 21, 48, 0.16); }
.b-frame img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
.b-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.b-lines line { stroke: #fff; stroke-width: 0.3; stroke-linecap: round; filter: drop-shadow(0 0 0.6px rgba(0, 0, 0, 0.6)); }
.b-dot { position: absolute; left: var(--x); top: var(--y); display: grid; place-items: center; width: max(22px, 3.2cqw); height: max(22px, 3.2cqw); border-radius: 50%; background: var(--g1); color: #fff; border: 2px solid #fff; font-family: var(--font-heading); font-weight: 600; font-size: max(11px, 1.4cqw); box-shadow: 0 4px 14px rgba(11, 21, 48, 0.3); transform: translate(-50%, -50%); }
.b-tags { position: absolute; inset: 0; pointer-events: none; }
.b-tag { position: absolute; left: var(--l); top: var(--t); width: var(--w); pointer-events: auto; padding: 1.5cqw 1.8cqw; border-radius: max(12px, 1.9cqw); color: #fff; background: rgba(12, 28, 22, 0.62); border: 1px solid rgba(255, 255, 255, 0.24); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 10px 30px rgba(11, 21, 48, 0.25); }
.b-tag h3 { display: flex; align-items: flex-start; gap: 0.8cqw; font-size: clamp(10.5px, 1.5cqw, 14px); line-height: 1.25; margin-bottom: 0.7cqw; letter-spacing: 0; }
.b-tag p { margin: 0; font-size: clamp(10px, 1.3cqw, 12.5px); line-height: 1.4; color: rgba(255, 255, 255, 0.86); }
.b-num { flex: none; display: grid; place-items: center; width: max(16px, 2.2cqw); height: max(16px, 2.2cqw); border-radius: 50%; background: var(--g1); color: #fff; font-size: max(9px, 1.15cqw); font-weight: 600; }
.b-chips { display: flex; flex-wrap: wrap; gap: 0.5cqw 0.6cqw; margin-top: 0.9cqw !important; }
.b-chips span { padding: 0.2cqw 0.8cqw; border-radius: 999px; background: rgba(255, 255, 255, 0.16); font-size: clamp(9px, 1.1cqw, 11px); }

.js .b-lines line { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .7s ease calc(var(--i) * 350ms + 250ms); }
.js .b-dot { transform: translate(-50%, -50%) scale(0); transition: transform .5s cubic-bezier(.3, 1.6, .5, 1) calc(var(--i) * 350ms); }
.js .b-tag { opacity: 0; transform: translateY(12px) scale(0.96); transition: opacity .6s ease calc(var(--i) * 350ms + 400ms), transform .6s cubic-bezier(.2, .7, .2, 1) calc(var(--i) * 350ms + 400ms); }
.js .b-stage.in .b-lines line { stroke-dashoffset: 0; }
.js .b-stage.in .b-dot { transform: translate(-50%, -50%) scale(1); }
.js .b-stage.in .b-tag { opacity: 1; transform: none; }
.b-dot::after { content: ''; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid #fff; opacity: 0; }
.js .b-stage.in .b-dot::after { animation: b-pulse 2.4s ease-out calc(var(--i) * 350ms + 900ms) infinite; }
@keyframes b-pulse { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(2.2); opacity: 0; } }

@media (max-width: 720px) {
  .b-stage { max-width: 520px; container-type: normal; }
  .b-lines { display: none; }
  .b-dot { width: 24px; height: 24px; font-size: 12px; }
  .b-tags { position: static; display: grid; gap: 12px; margin-top: 18px; pointer-events: auto; }
  .b-tag { position: static; width: auto; padding: 16px 18px; border-radius: 16px; color: var(--navy); background: var(--surface); border: 1px solid var(--line); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .b-tag h3 { font-size: 1.02rem; gap: 10px; margin-bottom: 6px; }
  .b-tag p { font-size: 0.95rem; color: var(--muted); }
  .b-num { width: 22px; height: 22px; font-size: 0.75rem; }
  .b-chips span { padding: 3px 10px; font-size: 0.78rem; background: var(--g-soft); color: var(--g1); }
  .b-chips { gap: 6px; margin-top: 10px !important; }
  .js .b-tag { transition-delay: calc(var(--i) * 120ms + 200ms); }
}
@media (prefers-reduced-motion: reduce) {
  .js .b-lines line, .js .b-dot, .js .b-tag { transition: none; }
  .js .b-stage.in .b-dot::after { animation: none; }
}
