/* Medobal Green: interactive effects */
.fx-progress { position: fixed; top: 0; left: 0; width: 100%; height: 3px; z-index: 80; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, #6ee09a, #c2a45a); pointer-events: none; }

.rv { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } }

/* cards: smooth tilt return */
.sig-card, .vcard, .product-card { transition: transform .25s ease, box-shadow .25s ease, border-color .2s; will-change: transform; }
.sig-card:hover, .vcard:hover, .product-card:hover { box-shadow: 0 18px 40px rgba(12,31,20,.22); }
.rv.in.sig-card, .rv.in.vcard, .rv.in.product-card { transition: transform .25s ease, box-shadow .25s ease, opacity .7s ease; }

/* numbers band */
.numbers { background: linear-gradient(135deg, #0c1f14, #1c5a2b); color: #fff; padding: 46px 20px; }
.numbers ul { list-style: none; margin: 0 auto; padding: 0; max-width: 1100px; display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); text-align: center; }
.numbers b { display: block; font-family: var(--serif, Georgia, serif); font-size: clamp(40px, 5vw, 60px); line-height: 1.05; color: #f0d98a; }
.numbers span { display: block; margin-top: 6px; font-size: 14px; letter-spacing: .04em; color: #cfe8d6; text-transform: uppercase; }

/* variety explorer */
.explorer { margin-top: 44px; padding: 26px; border: 1px solid var(--line, #e5e0d0); border-radius: 22px; background: #fff; }
.explorer .more-h { margin-top: 0; }
.ex-lead { margin: 4px 0 16px; color: var(--muted-text, #6b6757); }
.ex-tabs { display: inline-flex; gap: 6px; padding: 4px; border-radius: 26px; background: #f1eee3; margin-bottom: 18px; flex-wrap: wrap; }
.ex-tabs button { border: 0; background: transparent; padding: 9px 16px; border-radius: 22px; font: 600 14px inherit; cursor: pointer; color: #3b3b33; }
.ex-tabs button.is-active { background: #1c5a2b; color: #fff; }
.ex-bars { display: grid; gap: 10px; }
.ex-row { display: grid; grid-template-columns: 120px 1fr 110px; align-items: center; gap: 14px; padding: 10px 12px; border: 2px solid transparent; border-radius: 14px; background: #faf9f4; cursor: pointer; text-align: left; font: inherit; transition: border-color .2s, background .2s, opacity .3s, transform .2s; }
.ex-row:hover { border-color: #b9d6c2; transform: translateX(2px); }
.ex-row.is-sel { border-color: #1c5a2b; background: #eef7f1; }
.ex-row.is-pick { border-color: #6ee09a; background: #effaf3; }
.ex-row.is-dim { opacity: .4; }
.ex-name { font-weight: 700; }
.ex-track { display: block; height: 16px; border-radius: 8px; background: #e8e4d4; overflow: hidden; }
.ex-fill { display: block; height: 100%; width: 0; border-radius: 8px; background: linear-gradient(90deg, #2d8a4a, #c2a45a); transition: width .8s cubic-bezier(.2,.7,.2,1); }
.ex-val { text-align: right; color: #1c5a2b; font-size: 15px; }
.ex-find { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 18px; }
.ex-find b { margin-right: 6px; }
.ex-find button { border: 1px solid #1c5a2b; color: #1c5a2b; background: #fff; border-radius: 18px; padding: 8px 14px; font: 600 13.5px inherit; cursor: pointer; }
.ex-find button:hover, .ex-find button.is-active { background: #1c5a2b; color: #fff; }
.ex-detail { margin-top: 16px; padding: 16px 18px; border-radius: 16px; background: #0f2a1a; color: #fff; min-height: 56px; }
.ex-detail h3 { margin: 0 0 6px; font-family: var(--serif, Georgia, serif); font-size: 24px; }
.ex-detail p { margin: 0 0 10px; color: #dcebe0; }
.ex-detail .ex-hint { margin: 0; color: #b9d0c0; }
.ex-detail.pop { animation: fxpop .35s ease; }
@keyframes fxpop { from { transform: scale(.985); opacity: .5; } to { transform: none; opacity: 1; } }
@media (max-width: 640px) { .ex-row { grid-template-columns: 84px 1fr 78px; gap: 8px; } .explorer { padding: 16px; } }

/* product search */
.pfind { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.pfind input { flex: 1; max-width: 520px; height: 48px; border: 1px solid #d6d1be; border-radius: 24px; padding: 0 20px; font-size: 16px; background: #fff; }
.pfind input:focus { outline: 2px solid #6ee09a; border-color: transparent; }
.pfind-count { color: var(--muted-text, #6b6757); font-size: 14px; }
.pfind-none { margin-top: 18px; color: var(--muted-text, #6b6757); }
.is-search-hidden { display: none !important; }

/* hero: slow zoom + parallax smoothing */
.page-hero .ph-imgs img, .hero-visual img { will-change: transform; }

/* language switch */
.lang-switch { display: inline-flex; align-items: center; gap: 2px; margin-left: 12px; }
.lang-switch a { padding: 2px 8px; border-radius: 10px; font-size: 12px; font-weight: 700; letter-spacing: .04em; color: #cfe8d6; text-decoration: none; }
.lang-switch a:hover { color: #fff; background: rgba(255,255,255,.12); }
.lang-switch a.is-cur { background: rgba(255,255,255,.2); color: #fff; }
.menu .lang-switch { display: flex; margin: 18px 0 0; gap: 8px; }
.menu .lang-switch a { font-size: 15px; padding: 8px 14px; border: 1px solid rgba(255,255,255,.3); border-radius: 18px; color: #fff; }
.menu .lang-switch a.is-cur { background: #6ee09a; color: #0c1f14; border-color: #6ee09a; }

.lang-suggest { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 16px; padding: 10px 16px; background: #0c1f14; color: #e9f3ea; font-size: 14px; text-align: center; }
.lang-suggest .lang-go { background: #6ee09a; color: #0c1f14; font-weight: 700; padding: 6px 14px; border-radius: 16px; text-decoration: none; }
.lang-suggest button { background: transparent; border: 1px solid rgba(255,255,255,.4); color: #e9f3ea; border-radius: 16px; padding: 5px 12px; cursor: pointer; font: inherit; }
.legal-note { margin: 8px 0 18px; padding: 8px 12px; border-left: 3px solid #c2a45a; background: #fbf6e6; color: #5a5640; font-size: 14px; font-style: italic; }
