/* ── Motion & polish layer (works with classic + future themes) ── */
:root {
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --accent-a: var(--brand);
  --accent-b: #ff8a5c;
}
.theme-future { --accent-b: #4f8cff; }

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 1000;
  transform-origin: 0 50%;
  transform: scaleX(var(--progress, 0));
  background: linear-gradient(90deg, var(--accent-a), var(--accent-b));
  box-shadow: 0 0 12px var(--accent-a);
  pointer-events: none;
}

/* Navbar: condense + elevate on scroll */
nav#navbar {
  transition: height .35s var(--ease-out), box-shadow .35s var(--ease-out), background .35s var(--ease-out);
}
nav#navbar.is-scrolled {
  box-shadow: 0 10px 34px rgba(21, 35, 43, .12);
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
}
.theme-future nav#navbar.is-scrolled {
  background: rgba(10, 16, 28, .78);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .38);
}
.nav-star { transition: transform .6s var(--ease-spring); }
.nav-logo:hover .nav-star { transform: rotate(144deg) scale(1.08); }

/* Nav links: sliding underline (classic) */
.theme-classic .nav-links a { position: relative; border-bottom-color: transparent !important; }
.theme-classic .nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent-a), var(--accent-b));
  transform: scaleX(0);
  transform-origin: 100% 50%;
  transition: transform .4s var(--ease-out);
}
.theme-classic .nav-links a:hover::after,
.theme-classic .nav-links a.active::after { transform: scaleX(1); transform-origin: 0 50%; }

/* Buttons: shine sweep + soft lift */
.btn-primary, .btn-outline, .btn-white, .btn-white-outline, .nav-cta, .pact-detail {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), background .3s, color .3s, border-color .3s;
}
.btn-primary::before, .btn-white::before, .nav-cta::before, .pact-detail::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .75s var(--ease-out);
}
.btn-primary:hover::before, .btn-white:hover::before, .nav-cta:hover::before, .pact-detail:hover::before { transform: translateX(120%); }
.btn-primary:hover, .btn-white:hover, .nav-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(199, 53, 43, .28); }
.theme-future .btn-primary:hover, .theme-future .nav-cta:hover { box-shadow: 0 16px 40px rgba(79, 140, 255, .36); }
.btn-outline:hover, .btn-white-outline:hover { transform: translateY(-2px); }
.nav-cta { animation: ctaGlow 3.2s ease-in-out infinite; }
@keyframes ctaGlow {
  0%, 100% { box-shadow: 0 6px 16px rgba(199, 53, 43, .18); }
  50%      { box-shadow: 0 8px 26px rgba(199, 53, 43, .42); }
}
.theme-future .nav-cta { animation-name: ctaGlowFuture; }
@keyframes ctaGlowFuture {
  0%, 100% { box-shadow: 0 10px 26px rgba(79, 140, 255, .22); }
  50%      { box-shadow: 0 12px 40px rgba(96, 230, 181, .46); }
}

/* Click ripple */
.ripple {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  background: rgba(255, 255, 255, .5);
  transform: scale(0);
  animation: ripple .65s var(--ease-out) forwards;
}
@keyframes ripple { to { transform: scale(2.6); opacity: 0; } }

/* ── Reveal system ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(6px);
  transition:
    opacity .8s var(--ease-out) var(--d, 0ms),
    transform .9s var(--ease-out) var(--d, 0ms),
    filter .8s var(--ease-out) var(--d, 0ms);
}
.reveal.visible { opacity: 1; transform: none; filter: none; }
.product-card.reveal, .promo-card.reveal { transform: translateY(36px) scale(.96); }
.product-card.reveal.visible, .promo-card.reveal.visible { transform: none; }
.reveal.visible.product-card:hover,
.reveal.visible.promo-card:hover { transition-delay: 0ms; }

/* Section heading: animated accent bar */
.section-label { display: inline-flex; align-items: center; gap: 10px; }
.section-label::before {
  content: "";
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent-a), var(--accent-b));
  transition: width .9s var(--ease-out) .2s;
}
.reveal.visible .section-label::before,
.section-label.reveal.visible::before { width: 28px; }

/* ── Hero ── */
.hero-text.reveal { filter: none; transform: none; opacity: 1; }
.hero-text > * {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease-out), transform 1s var(--ease-out);
}
.hero-text.visible > * { opacity: 1; transform: none; }
.hero-text.visible > *:nth-child(1) { transition-delay: .05s; }
.hero-text.visible > *:nth-child(2) { transition-delay: .18s; }
.hero-text.visible > *:nth-child(3) { transition-delay: .32s; }
.hero-text.visible > *:nth-child(4) { transition-delay: .46s; }

.hero-tag { position: relative; }
.theme-classic .hero-tag::before {
  content: "";
  display: inline-block;
  width: 8px; height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  vertical-align: middle;
  background: var(--brand);
  animation: tagPulse 2s ease-out infinite;
}
.hero-future .hero-tag span { animation: tagPulse 2s ease-out infinite; }
@keyframes tagPulse {
  0%   { box-shadow: 0 0 0 0 rgba(199, 53, 43, .5); }
  70%  { box-shadow: 0 0 0 10px rgba(199, 53, 43, 0); }
  100% { box-shadow: 0 0 0 0 rgba(199, 53, 43, 0); }
}

/* Shimmering accent on hero heading emphasis */
.hero-text h1 em {
  background: linear-gradient(90deg, var(--brand), #ff7a4d, var(--brand));
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: textShimmer 5s linear infinite;
}
.hero-future .hero-text h1 {
  background-size: 200% 100%;
  animation: textShimmer 8s linear infinite;
}
@keyframes textShimmer { to { background-position: -200% 0; } }

/* Hero image: entrance + float + tilt + light sweep */
.hero-img { perspective: 1200px; }
.hero-img img, .hero-img > .hero-placeholder {
  animation: heroImgIn 1.2s var(--ease-out) .25s backwards;
  transform: rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg));
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
  will-change: transform;
}
.hero-img:hover img { box-shadow: 0 30px 70px rgba(21, 35, 43, .22); }
.hero-img { position: relative; }
.hero-img::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.35) 50%, transparent 65%);
  background-size: 250% 100%;
  background-position: 150% 0;
  mix-blend-mode: soft-light;
  animation: heroSweep 6s ease-in-out 1.6s infinite;
}
@keyframes heroImgIn {
  from { opacity: 0; transform: translateY(40px) scale(.94) rotate(-1.5deg); clip-path: inset(12% 12% 12% 12% round 24px); }
  to   { opacity: 1; transform: none; clip-path: inset(0 0 0 0 round 0); }
}
@keyframes heroSweep {
  0%, 60% { background-position: 150% 0; }
  100%    { background-position: -50% 0; }
}

/* Future hero command cards: cascading slide-in + hover */
.hero-command .command-card {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out), border-color .3s, box-shadow .3s;
}
.hero-command.visible .command-card { opacity: 1; transform: none; }
.hero-command.visible .command-card:nth-child(1) { transition-delay: .35s; }
.hero-command.visible .command-card:nth-child(2) { transition-delay: .5s; }
.hero-command.visible .command-card:nth-child(3) { transition-delay: .65s; }
.hero-command.visible .command-card:hover {
  transform: translateX(-6px);
  border-color: rgba(96, 230, 181, .5);
  transition-delay: 0s;
}
.hero-command.reveal { transform: none; filter: none; opacity: 1; }
.command-icon { transition: transform .5s var(--ease-spring); }
.command-card:hover .command-icon { transform: rotate(-8deg) scale(1.12); }

/* ── Stats ── */
.stat { position: relative; overflow: hidden; }
.stat::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 0;
  width: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent-a), var(--accent-b));
  transform: translateX(-50%);
  transition: width .5s var(--ease-out);
}
.stat:hover::after { width: 60%; }
.stat-num { display: inline-block; transition: transform .4s var(--ease-spring); font-variant-numeric: tabular-nums; }
.stat:hover .stat-num { transform: scale(1.1); }

/* ── Cards ── */
.product-card, .promo-card, .chain-item, .service-card, .branch-card, .staff-card, .job-item {
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .3s;
}
.product-card:hover, .promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px rgba(21, 35, 43, .16);
  border-color: rgba(199, 53, 43, .25);
}
.theme-future .product-card:hover, .theme-future .promo-card:hover { border-color: rgba(96, 230, 181, .35); }
.chain-item:hover, .service-card:hover, .branch-card:hover, .staff-card:hover, .job-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(21, 35, 43, .12);
}

.product-img, .promo-img, .promo-card > img, .promo-card .promo-thumb { overflow: hidden; position: relative; }
.product-img img, .promo-card img {
  transition: transform 1.1s var(--ease-out), filter .6s;
}
.product-card:hover .product-img img,
.promo-card:hover img { transform: scale(1.08); filter: saturate(1.12); }
.product-img::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.4) 50%, transparent 60%);
  transform: translateX(-100%);
}
.product-card:hover .product-img::after { transform: translateX(100%); transition: transform .9s var(--ease-out); }
.product-emoji { display: inline-block; transition: transform .6s var(--ease-spring); }
.product-card:hover .product-emoji { transform: scale(1.18) rotate(-8deg); }

.badge { animation: badgeBob 2.6s ease-in-out infinite; }
@keyframes badgeBob {
  0%, 100% { transform: translateY(0) rotate(0); }
  50%      { transform: translateY(-3px) rotate(-3deg); }
}

.menu-chip, .cat-btn { transition: transform .25s var(--ease-spring), background .25s, color .25s, border-color .25s; }
.menu-chip:hover, .cat-btn:hover { transform: translateY(-2px); }

/* ── CTA band: living gradient ── */
.cta-band { position: relative; overflow: hidden; isolation: isolate; }
.cta-band::before {
  content: "";
  position: absolute;
  inset: -50%;
  z-index: -1;
  background:
    radial-gradient(circle at 30% 40%, rgba(255,255,255,.14), transparent 30%),
    radial-gradient(circle at 70% 60%, rgba(255,160,120,.16), transparent 32%);
  animation: ctaDrift 14s ease-in-out infinite alternate;
}
.theme-future .cta-band::before {
  background:
    radial-gradient(circle at 30% 40%, rgba(96,230,181,.16), transparent 30%),
    radial-gradient(circle at 70% 60%, rgba(79,140,255,.18), transparent 32%);
}
@keyframes ctaDrift {
  from { transform: translate(-6%, -4%) rotate(0deg); }
  to   { transform: translate(6%, 4%) rotate(12deg); }
}

/* Footer links */
.footer-col ul li a { display: inline-block; transition: transform .3s var(--ease-out), color .3s; }
.footer-col ul li a:hover { transform: translateX(5px); color: var(--brand); }
.footer-social a { transition: transform .4s var(--ease-spring), background .3s, color .3s; }
.footer-social a:hover { transform: translateY(-4px) rotate(-8deg); background: var(--brand); color: #fff; }
.theme-future .footer-social a:hover { background: var(--future-mint); color: #06101f; }

/* Page hero (inner pages) */
.page-hero h1, .page-hero p { animation: pageHeroIn 1s var(--ease-out) both; }
.page-hero p { animation-delay: .15s; }
@keyframes pageHeroIn {
  from { opacity: 0; transform: translateY(22px); filter: blur(6px); }
  to   { opacity: 1; transform: none; filter: none; }
}

/* Back to top */
.to-top {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 900;
  width: 48px; height: 48px;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  color: #fff;
  font-size: 20px;
  background: linear-gradient(135deg, var(--accent-a), var(--accent-b));
  box-shadow: 0 12px 28px rgba(21, 35, 43, .22);
  opacity: 0;
  transform: translateY(20px) scale(.8);
  pointer-events: none;
  transition: opacity .4s var(--ease-out), transform .4s var(--ease-spring);
}
.theme-future .to-top { color: #06101f; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { transform: translateY(-4px) scale(1.06); }

/* Accessibility: honour reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0ms !important;
  }
  .reveal, .hero-text > *, .hero-command .command-card { opacity: 1 !important; transform: none !important; filter: none !important; }
}

/* Touch devices: no hover tilt artefacts */
@media (hover: none) {
  .hero-img img, .hero-img > .hero-placeholder { transform: none; }
}

/* ═══ Round 2: stronger presence ═══ */

/* Page enter */
body { animation: pageEnter .7s var(--ease-out) both; }
@keyframes pageEnter { from { opacity: 0; } to { opacity: 1; } }

/* Aurora glow behind the classic hero */
.hero:not(.hero-future) { position: relative; isolation: isolate; overflow: hidden; }
.hero:not(.hero-future)::before,
.hero:not(.hero-future)::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 520px; height: 520px;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .55;
  pointer-events: none;
}
.hero:not(.hero-future)::before {
  left: -140px; top: -120px;
  background: radial-gradient(circle, rgba(255,150,130,.55), transparent 65%);
  animation: auroraA 16s ease-in-out infinite alternate;
}
.hero:not(.hero-future)::after {
  right: 10%; bottom: -220px;
  background: radial-gradient(circle, rgba(140,215,235,.6), transparent 65%);
  animation: auroraB 19s ease-in-out infinite alternate;
}
@keyframes auroraA { to { transform: translate(180px, 120px) scale(1.25); } }
@keyframes auroraB { to { transform: translate(-220px, -140px) scale(1.15); } }

/* Hero parallax (driven by --py from JS) */
.hero-img { translate: 0 calc(var(--py, 0) * -40px); }
.hero-text { translate: 0 calc(var(--py, 0) * 30px); }

/* Section title wipe-in */
.js .reveal .section-title {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.1s var(--ease-out) .1s;
}
.js .reveal.visible .section-title, .section-title.visible, .section-title.no-wipe { clip-path: inset(-10% -2% -10% 0); }

/* Cursor spotlight on cards */
.product-card, .promo-card, .chain-item, .service-card, .branch-card, .staff-card, .job-item, .contact-box, .command-card {
  position: relative;
}
.product-card::before, .promo-card::before, .chain-item::before, .service-card::before,
.branch-card::before, .staff-card::before, .job-item::before, .contact-box::before, .command-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity .4s;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(199, 53, 43, .10), transparent 45%);
}
.theme-future .product-card::before, .theme-future .promo-card::before, .theme-future .chain-item::before,
.theme-future .service-card::before, .theme-future .branch-card::before, .theme-future .staff-card::before,
.theme-future .job-item::before, .theme-future .contact-box::before, .theme-future .command-card::before {
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(96, 230, 181, .14), transparent 45%);
}
.product-card:hover::before, .promo-card:hover::before, .chain-item:hover::before, .service-card:hover::before,
.branch-card:hover::before, .staff-card:hover::before, .job-item:hover::before, .contact-box:hover::before,
.command-card:hover::before { opacity: 1; }

/* Chain step numbers: gradient + pop */
.chain-kicker {
  display: inline-block;
  transition: transform .5s var(--ease-spring);
}
.chain-item:hover .chain-kicker { transform: scale(1.25) rotate(-6deg); }

/* Category chips pop in */
.cat-btn.reveal { transform: translateY(14px) scale(.85); filter: none; }
.cat-btn.reveal.visible { transform: none; }

/* Images fade in as they load */
img.img-fade { opacity: 0; transition: opacity .8s var(--ease-out), transform 1.1s var(--ease-out), filter .6s; }
img.img-fade.is-loaded { opacity: 1; }

/* Product detail page */
.product-detail-img { animation: detailImgIn 1s var(--ease-out) both; }
@keyframes detailImgIn { from { opacity: 0; transform: scale(.94) translateY(20px); } to { opacity: 1; transform: none; } }
.product-thumb { transition: transform .3s var(--ease-spring), border-color .3s, box-shadow .3s; }
.product-thumb:hover { transform: translateY(-3px) scale(1.04); }

/* Magnetic buttons (offset set by JS) */
.btn-primary, .nav-cta { translate: var(--tx, 0) var(--ty, 0); }

@media (prefers-reduced-motion: reduce) {
  .section-title { clip-path: none !important; }
  .hero-img, .hero-text, .btn-primary, .nav-cta { translate: none !important; }
  img.img-fade { opacity: 1 !important; }
}
@media (max-width: 980px) {
  .hero-img, .hero-text { translate: none; }
  .hero:not(.hero-future)::before, .hero:not(.hero-future)::after { width: 320px; height: 320px; }
}

/* ═══ Illustrations ═══ */
.chain-illus, .service-illus {
  display: block;
  width: 100%;
  max-width: 260px;
  height: auto;
  aspect-ratio: 3 / 2;
  margin: -6px auto 14px;
  transition: transform .6s var(--ease-spring);
}
.chain-item:hover .chain-illus, .service-card:hover .service-illus { transform: translateY(-6px) scale(1.04); }
.cold-chain .chain-item { text-align: left; }
.cta-illus {
  flex: 1 1 280px;
  min-width: 0;
  max-width: 360px;
  height: auto;
  aspect-ratio: 360 / 150;
  border-radius: 16px;
  background: rgba(255, 255, 255, .05);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
}
.theme-future .chain-illus, .theme-future .service-illus { filter: drop-shadow(0 12px 24px rgba(0,0,0,.35)); }
@media (max-width: 980px) {
  .cta-illus { width: 100%; max-width: none; flex-basis: auto; }
  .chain-illus, .service-illus { max-width: 220px; }
}

/* ═══ Vue islands: product browser + inquiry list ═══ */

/* Search */
.product-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 640px;
  margin: 22px 0 18px;
  padding: 6px 6px 6px 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  box-shadow: 0 10px 30px rgba(21, 35, 43, .06);
  transition: border-color .3s, box-shadow .3s;
}
.product-search:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(199, 53, 43, .12), 0 14px 34px rgba(21, 35, 43, .08); }
.theme-future .product-search:focus-within { box-shadow: 0 0 0 4px rgba(96, 230, 181, .14); }
.product-search-icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--muted); pointer-events: none; }
.product-search input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent;
  font: inherit; font-size: 16px; color: var(--ink); padding: 10px 0;
}
.product-search input::-webkit-search-cancel-button { display: none; }
.product-search button[type=submit] {
  border: 0; border-radius: 10px; padding: 10px 20px; cursor: pointer;
  font: inherit; font-weight: 700; color: #fff; background: var(--brand);
  transition: transform .25s var(--ease-spring), background .2s;
}
.theme-future .product-search button[type=submit] { color: #06101f; }
.product-search button[type=submit]:hover { transform: translateY(-1px); background: var(--brand-dark); }
.product-search-clear {
  border: 0; background: var(--ice); color: var(--muted); width: 28px; height: 28px; border-radius: 50%;
  cursor: pointer; font-size: 18px; line-height: 1; display: grid; place-items: center;
}
.product-search.is-busy::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
  background-size: 50% 100%; background-repeat: no-repeat;
  animation: searchBusy 1s linear infinite;
}
@keyframes searchBusy { from { background-position: -50% 0; } to { background-position: 150% 0; } }

.pb-meta { font-size: 13px; color: var(--muted); margin-bottom: 16px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; min-height: 22px; }
.pb-spinner { width: 14px; height: 14px; border: 2px solid var(--line); border-top-color: var(--brand); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.pb-hit { background: linear-gradient(transparent 55%, rgba(255, 196, 0, .45) 0); color: inherit; padding: 0 1px; border-radius: 2px; }
.pb-empty { text-align: center; padding: 48px 20px; display: grid; gap: 12px; justify-items: center; }
.pb-empty-icon { font-size: 40px; animation: badgeBob 2.4s ease-in-out infinite; }
.pb-more { display: grid; justify-items: center; gap: 8px; margin-top: 32px; }
.pb-more small { color: var(--muted); font-size: 12px; }
.products-grid.is-loading { opacity: .55; transition: opacity .2s; }

/* Cards rendered by Vue: staggered enter, instant leave */
.pcard-enter-active { transition: opacity .55s var(--ease-out), transform .6s var(--ease-out); transition-delay: calc(var(--i, 0) * 35ms); }
.pcard-enter-from { opacity: 0; transform: translateY(26px) scale(.96); }
.pcard-leave-active { display: none; transition: none !important; }

/* Floating list button */
.inq-fab {
  position: fixed; left: 22px; bottom: 22px; z-index: 950;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 12px 10px 16px; border: 0; border-radius: 999px; cursor: pointer;
  font: inherit; font-weight: 700; font-size: 14px; color: #fff;
  background: linear-gradient(135deg, var(--accent-a), var(--accent-b));
  box-shadow: 0 16px 36px rgba(199, 53, 43, .32);
  transition: transform .3s var(--ease-spring), box-shadow .3s;
}
.theme-future .inq-fab { color: #06101f; box-shadow: 0 16px 36px rgba(79, 140, 255, .34); }
.inq-fab:hover { transform: translateY(-3px); }
.inq-fab.bump { animation: fabBump .55s var(--ease-spring); }
@keyframes fabBump { 0% { transform: scale(1); } 40% { transform: scale(1.18); } 100% { transform: scale(1); } }
.inq-fab-icon { font-size: 18px; }
.inq-badge {
  min-width: 26px; height: 26px; padding: 0 7px; border-radius: 13px;
  display: grid; place-items: center; background: #fff; color: var(--brand); font-size: 13px;
}
.inq-pop-enter-active, .inq-pop-leave-active { transition: opacity .35s, transform .45s var(--ease-spring); }
.inq-pop-enter-from, .inq-pop-leave-to { opacity: 0; transform: translateY(30px) scale(.7); }

/* Drawer */
html.inq-lock { overflow: hidden; }
.inq-backdrop { position: fixed; inset: 0; z-index: 1000; background: rgba(10, 18, 24, .45); backdrop-filter: blur(3px); }
.inq-fade-enter-active, .inq-fade-leave-active { transition: opacity .3s; }
.inq-fade-enter-from, .inq-fade-leave-to { opacity: 0; }
.inq-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 1001;
  width: min(420px, 100%); display: flex; flex-direction: column;
  background: var(--paper); color: var(--ink);
  box-shadow: -24px 0 60px rgba(10, 18, 24, .25);
}
.inq-slide-enter-active, .inq-slide-leave-active { transition: transform .45s var(--ease-out); }
.inq-slide-enter-from, .inq-slide-leave-to { transform: translateX(105%); }
.inq-head { display: flex; justify-content: space-between; align-items: flex-start; padding: 22px 22px 14px; border-bottom: 1px solid var(--line); }
.inq-head h3 { font-family: 'Prompt', sans-serif; font-size: 20px; font-weight: 600; }
.inq-head small { color: var(--muted); }
.inq-close { border: 0; background: var(--ice); color: var(--ink); width: 36px; height: 36px; border-radius: 50%; font-size: 22px; cursor: pointer; transition: transform .3s var(--ease-spring); }
.inq-close:hover { transform: rotate(90deg); }
.inq-list { list-style: none; flex: 1; overflow-y: auto; padding: 8px 14px; position: relative; }
.inq-list li {
  display: grid; grid-template-columns: 56px 1fr auto auto; gap: 10px; align-items: center;
  padding: 10px 8px; border-bottom: 1px dashed var(--line);
}
.inq-list img { width: 56px; height: 42px; object-fit: cover; border-radius: 8px; }
.inq-meta { min-width: 0; display: grid; }
.inq-meta a { font-weight: 600; font-size: 14px; line-height: 1.35; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.inq-meta small { color: var(--brand); font-size: 12px; }
.inq-qty { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.inq-qty button { border: 0; background: transparent; color: var(--ink); width: 28px; height: 32px; font-size: 16px; cursor: pointer; }
.inq-qty button:hover { background: var(--ice); }
.inq-qty input { width: 38px; border: 0; text-align: center; font: inherit; font-weight: 700; background: transparent; color: var(--ink); -moz-appearance: textfield; }
.inq-qty input::-webkit-inner-spin-button, .inq-qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.inq-remove { border: 0; background: transparent; color: var(--muted); font-size: 20px; cursor: pointer; width: 28px; height: 28px; border-radius: 50%; }
.inq-remove:hover { background: rgba(199, 53, 43, .1); color: var(--brand); }
.inq-item-enter-active, .inq-item-leave-active { transition: opacity .35s, transform .4s var(--ease-out); }
.inq-item-enter-from { opacity: 0; transform: translateX(30px); }
.inq-item-leave-to { opacity: 0; transform: translateX(-30px); }
.inq-item-leave-active { position: absolute; left: 14px; right: 14px; }
.inq-item-move { transition: transform .4s var(--ease-out); }
.inq-empty { flex: 1; display: grid; place-content: center; justify-items: center; gap: 14px; color: var(--muted); text-align: center; padding: 30px; }
.inq-empty-icon { font-size: 52px; animation: badgeBob 2.4s ease-in-out infinite; }
.inq-foot { padding: 14px 18px 20px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.inq-foot textarea {
  width: 100%; resize: vertical; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px;
  font: inherit; font-size: 14px; background: var(--soft); color: var(--ink);
}
.inq-foot textarea:focus { outline: 2px solid var(--brand); outline-offset: -1px; }
.inq-send { width: 100%; justify-content: center; text-align: center; border: 0; cursor: pointer; font: inherit; font-weight: 700; padding: 13px; background: #06c755 !important; color: #fff !important; }
.inq-send:hover { background: #05b04b !important; box-shadow: 0 14px 30px rgba(6, 199, 85, .3) !important; }
.inq-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.inq-row .btn-outline { text-align: center; justify-content: center; font: inherit; font-size: 13px; cursor: pointer; padding: 10px 8px; }
.inq-foot button:disabled { opacity: .45; cursor: not-allowed; transform: none !important; }
.inq-clear { border: 0; background: none; color: var(--muted); font: inherit; font-size: 12px; cursor: pointer; text-decoration: underline; justify-self: center; }

/* Toast */
.inq-toast {
  position: fixed; left: 50%; bottom: 90px; z-index: 1100; transform: translateX(-50%);
  max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 12px;
  background: #15232b; color: #fff; font-size: 14px; box-shadow: 0 16px 40px rgba(0, 0, 0, .25);
}
.inq-toast.is-top { bottom: auto; top: 20px; }
.inq-toast-enter-active, .inq-toast-leave-active { transition: opacity .3s, transform .4s var(--ease-spring); }
.inq-toast-enter-from, .inq-toast-leave-to { opacity: 0; transform: translate(-50%, 16px); }

@media (max-width: 560px) {
  .inq-fab { left: 16px; bottom: 16px; }
  .inq-fab-label { display: none; }
  .product-search button[type=submit] { padding: 10px 14px; }
  .inq-list li { grid-template-columns: 48px 1fr auto; }
  .inq-list li .inq-remove { grid-column: 3; grid-row: 1; }
  .inq-list li .inq-qty { grid-column: 2 / 4; justify-self: start; }
}

/* ═══ Menu sets (sets.php + homepage teaser) ═══ */
.sets-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.sets-jump a {
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper);
  font-size: 14px; font-weight: 600; transition: transform .3s var(--ease-spring), border-color .2s, color .2s;
}
.sets-jump a:hover { transform: translateY(-2px); border-color: var(--brand); color: var(--brand); }
.sets-list { display: grid; gap: 28px; }
.set-card {
  scroll-margin-top: 110px;
  border: 1px solid var(--line); border-radius: 18px; background: var(--paper);
  padding: 26px; box-shadow: 0 18px 44px rgba(21, 35, 43, .07);
}
.set-head { display: grid; grid-template-columns: 180px 1fr auto; gap: 24px; align-items: center; margin-bottom: 22px; }
.set-head h2 { font-family: 'Prompt', sans-serif; font-size: 24px; font-weight: 600; margin-bottom: 6px; }
.set-head p { color: var(--muted); margin-bottom: 10px; }
.set-menus { display: flex; flex-wrap: wrap; gap: 6px; }
.set-cover { position: relative; height: 120px; }
.set-cover img {
  position: absolute; width: 110px; height: 82px; object-fit: cover; border-radius: 14px;
  border: 3px solid var(--paper); box-shadow: 0 10px 24px rgba(21, 35, 43, .16);
  transition: transform .5s var(--ease-spring);
}
.set-cover img:nth-child(1) { left: 0; top: 0; transform: rotate(-8deg); z-index: 1; }
.set-cover img:nth-child(2) { left: 64px; top: 30px; transform: rotate(6deg); z-index: 2; }
.set-cover img:nth-child(3) { left: 24px; top: 46px; transform: rotate(-2deg); z-index: 3; }
.set-card:hover .set-cover img:nth-child(1) { transform: rotate(-14deg) translate(-6px, -4px); }
.set-card:hover .set-cover img:nth-child(2) { transform: rotate(12deg) translate(8px, -2px); }
.set-card:hover .set-cover img:nth-child(3) { transform: rotate(0) translateY(6px); }
.set-size { display: flex; gap: 6px; background: var(--soft); padding: 5px; border-radius: 14px; border: 1px solid var(--line); }
.set-size button {
  border: 0; background: transparent; border-radius: 10px; padding: 8px 12px; cursor: pointer;
  font: inherit; font-weight: 700; font-size: 13px; color: var(--muted); display: grid; line-height: 1.3;
  transition: background .25s, color .25s, transform .25s var(--ease-spring);
}
.set-size button small { font-weight: 400; font-size: 11px; }
.set-size button.active { background: var(--brand); color: #fff; box-shadow: 0 8px 18px rgba(199, 53, 43, .25); }
.theme-future .set-size button.active { color: #06101f; }
.set-size button:not(.active):hover { color: var(--ink); transform: translateY(-1px); }
.set-slots { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.set-slot { border: 1px dashed var(--line); border-radius: 14px; padding: 14px; background: var(--soft); }
.set-slot h3 { font-size: 13px; font-weight: 700; color: var(--brand); letter-spacing: .02em; margin-bottom: 8px; }
.set-slot ul { list-style: none; display: grid; gap: 8px; }
.set-slot li {
  display: grid; grid-template-columns: auto 1fr; gap: 8px 10px; align-items: center;
  background: var(--paper); border-radius: 12px; padding: 8px 10px; border: 1px solid var(--line);
  transition: opacity .25s, border-color .25s;
}
#setsApp .set-slot li { grid-template-columns: auto 1fr; }
.set-slot li.off { opacity: .45; }
.set-slot li > img { width: 52px; height: 39px; object-fit: cover; border-radius: 8px; }
.set-slot li > a { font-weight: 600; font-size: 14px; line-height: 1.35; }
.set-slot li > small { grid-column: 2; color: var(--brand); font-size: 12px; margin-top: -6px; }
.set-item { display: grid; grid-template-columns: 52px 1fr; gap: 10px; align-items: center; min-width: 0; }
.set-item img { width: 52px; height: 39px; object-fit: cover; border-radius: 8px; }
.set-item-meta { display: grid; min-width: 0; }
.set-item-meta a { font-weight: 600; font-size: 14px; line-height: 1.35; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.set-item-meta small { color: var(--brand); font-size: 12px; }
.set-row-tools { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 8px; padding-left: 32px; }
.set-swap {
  border: 1px solid var(--line); background: transparent; color: var(--muted); border-radius: 999px;
  padding: 5px 12px; font: inherit; font-size: 12px; font-weight: 600; cursor: pointer;
  display: inline-flex; align-items: center; gap: 5px;
  transition: color .2s, border-color .2s, transform .4s var(--ease-spring);
}
.set-swap:hover { color: var(--brand); border-color: var(--brand); }
.set-swap:active { transform: scale(.94); }
.set-swap svg { transition: transform .5s var(--ease-spring); }
.set-swap:hover svg { transform: rotate(180deg); }
.inq-qty.disabled { opacity: .5; }
.set-check { position: relative; width: 22px; height: 22px; cursor: pointer; }
.set-check input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.set-check span {
  position: absolute; inset: 0; border-radius: 7px; border: 2px solid var(--line); background: var(--paper);
  transition: background .2s, border-color .2s;
}
.set-check input:checked + span { background: var(--brand); border-color: var(--brand); }
.set-check input:checked + span::after {
  content: ""; position: absolute; left: 6px; top: 2px; width: 6px; height: 11px;
  border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg);
}
.set-check input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.set-swap-enter-active, .set-swap-leave-active { transition: opacity .22s, transform .28s var(--ease-out); }
.set-swap-enter-from { opacity: 0; transform: translateY(10px); }
.set-swap-leave-to { opacity: 0; transform: translateY(-10px); }
.set-actions { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.set-summary { color: var(--muted); }
.set-summary strong { color: var(--ink); font-size: 18px; }
.set-actions .btn-primary { border: 0; cursor: pointer; font: inherit; font-weight: 700; }
.set-actions .btn-primary:disabled { opacity: .5; cursor: not-allowed; }

/* Homepage teaser */
.sets-teaser { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 30px; }
.sets-teaser a {
  position: relative; display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: center;
  padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .3s;
}
.sets-teaser a:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(21, 35, 43, .12); border-color: rgba(199, 53, 43, .3); }
.sets-teaser .set-cover { height: 90px; }
.sets-teaser .set-cover img { width: 78px; height: 58px; border-radius: 10px; }
.sets-teaser .set-cover img:nth-child(2) { left: 42px; top: 22px; }
.sets-teaser .set-cover img:nth-child(3) { left: 16px; top: 34px; }
.sets-teaser a:hover .set-cover img:nth-child(1) { transform: rotate(-14deg) translate(-4px, -3px); }
.sets-teaser a:hover .set-cover img:nth-child(2) { transform: rotate(12deg) translate(6px, -2px); }
.sets-teaser h3 { font-family: 'Prompt', sans-serif; font-size: 17px; font-weight: 600; margin-bottom: 4px; }
.sets-teaser small { color: var(--muted); }
.sets-teaser .go { color: var(--brand); font-weight: 700; font-size: 13px; display: inline-block; margin-top: 6px; transition: transform .3s var(--ease-out); }
.sets-teaser a:hover .go { transform: translateX(5px); }

@media (max-width: 980px) {
  .set-head { grid-template-columns: 130px 1fr; }
  .set-size { grid-column: 1 / -1; justify-content: stretch; }
  .set-size button { flex: 1; }
  .set-cover img { width: 86px; height: 64px; }
  .set-cover img:nth-child(2) { left: 44px; }
  .sets-teaser { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .set-card { padding: 18px 14px; border-radius: 14px; }
  .set-head { grid-template-columns: 1fr; }
  .set-cover { height: 100px; }
  .set-slots { grid-template-columns: 1fr; }
  .set-row-tools { padding-left: 0; }
  .set-actions .btn-primary { width: 100%; text-align: center; }
}
.menu-chip-link { transition: background .2s, color .2s, transform .25s var(--ease-spring); }
.menu-chip-link:hover { background: var(--brand); color: #fff; border-color: var(--brand); transform: translateY(-2px); }

/* ═══ Lean product card ═══ */
.product-info h3 a { color: inherit; }
.product-info h3 a:hover { color: var(--brand); }
.product-price.is-ask { color: var(--muted); font-weight: 600; }
.product-img-placeholder { width: 100%; height: 100%; background: var(--soft); }
.product-card .product-actions { margin-top: auto; padding-top: 12px; }
.product-card .pact-inquiry { flex: 1; }

/* ═══ Video facade (about page) ═══ */
.video-facade {
  position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: 12px; background: #000; cursor: pointer;
}
.video-facade img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: transform .6s var(--ease-out), opacity .3s; }
.video-facade:hover img { transform: scale(1.03); opacity: 1; }
.video-play { position: absolute; inset: 0; display: grid; place-items: center; }
.video-play svg { filter: drop-shadow(0 6px 16px rgba(0,0,0,.35)); transition: transform .3s var(--ease-out); }
.video-facade:hover .video-play svg { transform: scale(1.08); }
.video-facade-frame { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 12px; display: block; }
.video-caption { margin-top: 14px; font-size: 14px; color: rgba(255,255,255,.72); }
.video-side { display: grid; gap: 14px; align-content: start; }
.video-channel { text-align: center; }

/* ═══ Careers ═══ */
.dept-branch    { --dept: #c8102e; --dept-soft: rgba(200, 16, 46, .08); }
.dept-warehouse { --dept: #1f7ab8; --dept-soft: rgba(31, 122, 184, .09); }
.dept-logistics { --dept: #c76a06; --dept-soft: rgba(217, 119, 6, .1); }
.dept-office    { --dept: #3d4fb8; --dept-soft: rgba(61, 79, 184, .09); }
.dept-sales     { --dept: #13804a; --dept-soft: rgba(19, 128, 74, .09); }

/* Hero */
.careers-hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding-top: 88px; padding-bottom: 88px;
  background: #0b2238; color: #fff;
}
.careers-hero::before, .careers-hero::after {
  content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(60px); pointer-events: none;
}
.careers-hero::before {
  width: 620px; height: 620px; right: -120px; top: -260px;
  background: radial-gradient(circle, rgba(70, 150, 230, .55), transparent 65%);
  animation: careersGlowA 18s ease-in-out infinite alternate;
}
.careers-hero::after {
  width: 520px; height: 520px; left: -160px; bottom: -300px;
  background: radial-gradient(circle, rgba(200, 16, 46, .45), transparent 65%);
  animation: careersGlowB 22s ease-in-out infinite alternate;
}
@keyframes careersGlowA { to { transform: translate(-160px, 120px) scale(1.15); } }
@keyframes careersGlowB { to { transform: translate(180px, -90px) scale(1.2); } }
.careers-hero-inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: center; position: relative; }
.careers-hero-inner::before {
  content: ""; position: absolute; inset: -88px -100vw; z-index: -1; opacity: .35; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%);
}
.careers-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px; border-radius: 999px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); font-size: 13px; font-weight: 600; letter-spacing: .02em;
}
.careers-live { width: 8px; height: 8px; border-radius: 50%; background: #2ee28a; box-shadow: 0 0 0 0 rgba(46, 226, 138, .6); animation: careersLive 2s ease-out infinite; }
@keyframes careersLive { 70% { box-shadow: 0 0 0 9px rgba(46, 226, 138, 0); } 100% { box-shadow: 0 0 0 0 rgba(46, 226, 138, 0); } }
.careers-hero h1 { font-size: 52px; line-height: 1.15; font-weight: 700; letter-spacing: -.02em; margin: 18px 0 14px; color: #fff; }
.careers-hero p { font-size: 18px; line-height: 1.75; color: rgba(255,255,255,.78); max-width: 560px; }
.careers-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.careers-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.careers-stat {
  padding: 22px 20px; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: transform .4s var(--ease-out), background .3s;
}
.careers-stat:hover { transform: translateY(-4px); background: rgba(255,255,255,.1); }
.careers-stat .stat-num { display: block; font-size: 40px; font-weight: 700; line-height: 1.1; color: #fff; }
.careers-stat small { color: rgba(255,255,255,.7); font-size: 14px; }

/* Filters */
.job-filters {
  position: sticky; top: 72px; z-index: 20; display: grid; gap: 10px;
  margin: 26px 0 14px; padding: 14px; border-radius: 16px;
  background: color-mix(in srgb, var(--paper) 92%, transparent); border: 1px solid var(--line);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(14, 42, 71, .06);
}
.job-search { display: flex; align-items: center; gap: 10px; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--muted); }
.job-search:focus-within { border-color: var(--navy, var(--brand)); box-shadow: 0 0 0 3px rgba(14, 42, 71, .1); }
.job-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 15px; padding: 11px 0; color: var(--ink); }
.job-chip-row { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.job-chip-row::-webkit-scrollbar { display: none; }
.job-chip {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--paper); color: var(--ink); font: inherit; font-size: 14px; font-weight: 500; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .25s var(--ease-spring);
}
.job-chip span:not(.job-chip-icon) { font-size: 12px; color: var(--muted); background: var(--soft); border-radius: 999px; padding: 0 7px; }
.job-chip:hover:not(:disabled) { border-color: var(--navy, var(--brand)); transform: translateY(-1px); }
.job-chip.active { background: var(--navy, var(--brand)); border-color: var(--navy, var(--brand)); color: #fff; }
.job-chip.active span:not(.job-chip-icon) { background: rgba(255,255,255,.18); color: #fff; }
.job-chip.with-icon.active { background: var(--dept); border-color: var(--dept); }
.job-chip:disabled { opacity: .4; cursor: default; }
.job-chip-icon { display: inline-flex; color: var(--dept); }
.job-chip-icon svg { width: 16px; height: 16px; }
.job-chip.active .job-chip-icon { color: #fff; }
.job-result { display: flex; align-items: center; gap: 10px; color: var(--muted); margin: 6px 2px 16px; }
.job-result strong { color: var(--ink); }
.job-reset { border: 0; background: none; color: var(--brand); font: inherit; font-size: 14px; cursor: pointer; text-decoration: underline; }

/* Cards */
.job-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.job-card {
  position: relative; display: flex; flex-direction: column; gap: 12px; cursor: pointer;
  padding: 22px 22px 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); overflow: hidden;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), border-color .3s;
}
.job-card::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--dept);
  transform: scaleY(.35); transform-origin: top; transition: transform .45s var(--ease-out);
}
.job-card:hover, .job-card:focus-visible { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(14, 42, 71, .12); border-color: color-mix(in srgb, var(--dept) 35%, var(--line)); outline: none; }
.job-card:hover::after, .job-card:focus-visible::after { transform: scaleY(1); }
.job-card-head { display: grid; grid-template-columns: 46px 1fr auto; gap: 14px; align-items: center; }
.job-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; color: var(--dept); background: var(--dept-soft); transition: transform .45s var(--ease-spring); }
.job-card:hover .job-icon { transform: rotate(-6deg) scale(1.06); }
.job-dept { font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--dept); }
.job-card h3 { font-size: 18px; font-weight: 700; line-height: 1.35; color: var(--navy, var(--ink)); }
.job-urgent { align-self: start; font-size: 12px; font-weight: 700; color: #fff; background: var(--brand); padding: 3px 9px; border-radius: 6px; }
.job-summary { color: var(--muted); font-size: 15px; line-height: 1.65; }
.job-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.job-tag { font-size: 12.5px; padding: 3px 9px; border-radius: 6px; background: var(--soft); color: var(--ink); border: 1px solid var(--line); }
.job-tag.is-open { background: var(--dept-soft); color: var(--dept); border-color: transparent; font-weight: 700; }
.job-tag.is-license { background: #fff7e6; color: #9a5a00; border-color: #fde3b0; }
.job-card-foot { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line); display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.job-card-foot small { color: var(--muted); }
.job-go { color: var(--dept); font-weight: 700; font-size: 14px; white-space: nowrap; }
.job-go span { display: inline-block; transition: transform .3s var(--ease-out); }
.job-card:hover .job-go span { transform: translateX(5px); }
.job-empty { text-align: center; padding: 40px 16px; color: var(--muted); display: grid; gap: 14px; justify-items: center; }
.jobc-enter-active { transition: opacity .45s var(--ease-out), transform .5s var(--ease-out); transition-delay: calc(min(var(--i, 0), 8) * 40ms); }
.jobc-enter-from { opacity: 0; transform: translateY(18px) scale(.97); }
.jobc-leave-active { display: none; transition: none !important; }
.jobc-move { transition: transform .45s var(--ease-out); }

/* Server-rendered fallback details */
.job-more summary { cursor: pointer; color: var(--brand); font-weight: 600; font-size: 14px; }
.job-more h4 { margin: 12px 0 4px; font-size: 14px; color: var(--navy, var(--ink)); }
.job-more ul { padding-left: 18px; color: var(--muted); font-size: 14px; }
.job-meta-line { margin-top: 10px; font-size: 13px; color: var(--muted); }

/* Modal */
.job-modal-backdrop {
  position: fixed; inset: 0; z-index: 1050; display: grid; place-items: center; padding: 24px;
  background: rgba(8, 20, 34, .55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.job-modal {
  width: min(780px, 100%); max-height: calc(100vh - 48px); display: flex; flex-direction: column;
  background: var(--paper); color: var(--ink); border-radius: 20px; overflow: hidden;
  box-shadow: 0 40px 90px rgba(0,0,0,.35); border-top: 5px solid var(--dept);
}
.job-modal-head { display: grid; grid-template-columns: 52px 1fr auto; gap: 16px; align-items: center; padding: 24px 26px 18px; }
.job-modal-head .job-icon { width: 52px; height: 52px; }
.job-modal-head h2 { font-size: 24px; font-weight: 700; line-height: 1.3; color: var(--navy, var(--ink)); }
.job-modal-close { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--soft); color: var(--ink); font-size: 24px; cursor: pointer; transition: transform .3s var(--ease-spring); }
.job-modal-close:hover { transform: rotate(90deg); }
.job-modal-scroll { overflow-y: auto; padding: 0 26px 10px; }
.job-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
.job-facts div { padding: 12px 14px; border-radius: 12px; background: var(--soft); border: 1px solid var(--line); }
.job-facts dt { font-size: 12px; color: var(--muted); margin-bottom: 2px; }
.job-facts dd { font-weight: 600; font-size: 14px; line-height: 1.45; }
.job-modal-summary { font-size: 16px; line-height: 1.7; margin-bottom: 16px; }
.job-modal-cols { display: grid; gap: 18px; }
.job-modal-cols h3 { font-size: 16px; font-weight: 700; color: var(--dept); margin-bottom: 8px; }
.job-modal-cols ul { list-style: none; display: grid; gap: 7px; }
.job-modal-cols li { position: relative; padding-left: 20px; line-height: 1.6; }
.job-modal-cols li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--dept); }
.job-modal-cols ul.is-check li::before { width: 9px; height: 5px; border-radius: 0; background: none; border: solid var(--dept); border-width: 0 0 2px 2px; transform: rotate(-45deg); top: .55em; left: 3px; }
.job-modal-foot { display: flex; gap: 10px; flex-wrap: wrap; padding: 16px 26px 22px; border-top: 1px solid var(--line); background: var(--paper); }
.job-modal-foot .btn-primary, .job-modal-foot .btn-outline { cursor: pointer; font: inherit; font-weight: 600; }
.jobm-enter-active, .jobm-leave-active { transition: opacity .3s; }
.jobm-enter-active .job-modal, .jobm-leave-active .job-modal { transition: transform .4s var(--ease-out), opacity .3s; }
.jobm-enter-from, .jobm-leave-to { opacity: 0; }
.jobm-enter-from .job-modal, .jobm-leave-to .job-modal { transform: translateY(30px) scale(.97); opacity: 0; }

/* Why + steps */
.why-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.why-card { padding: 24px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); transition: transform .4s var(--ease-out), box-shadow .4s; }
.why-card:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(14, 42, 71, .08); }
.why-icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; color: var(--navy, var(--brand)); background: var(--ice); margin-bottom: 14px; }
.why-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; color: var(--navy, var(--ink)); }
.why-card p { color: var(--muted); font-size: 14.5px; }
.hire-steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 36px; position: relative; counter-reset: none; }
.hire-steps::before {
  content: ""; position: absolute; left: 12%; right: 12%; top: 22px; height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--navy, var(--brand)));
  transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease-out) .2s;
}
.hire-steps.visible::before { transform: scaleX(1); }
.hire-steps li { position: relative; display: grid; justify-items: center; text-align: center; gap: 4px; }
.hire-steps span {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 18px;
  background: var(--paper); color: var(--navy, var(--brand)); border: 2px solid var(--navy, var(--brand)); margin-bottom: 6px; position: relative; z-index: 1;
}
.hire-steps li:last-child span { background: var(--brand); border-color: var(--brand); color: #fff; }
.hire-steps strong { font-size: 15px; color: var(--navy, var(--ink)); }
.hire-steps small { color: var(--muted); font-size: 13px; }

/* Apply */
.apply-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: 22px; align-items: start; }
.apply-card { padding: 30px; border-radius: 20px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(14, 42, 71, .08); }
.apply-card h2 { font-size: 26px; font-weight: 700; color: var(--navy, var(--ink)); margin: 4px 0 8px; }
.apply-card > p { color: var(--muted); margin-bottom: 18px; }
.apply-line-btn { display: inline-block; margin-top: 8px; }
.apply-form { display: grid; gap: 14px; }
.af-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.apply-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
.apply-form label b { color: var(--brand); }
.apply-form input, .apply-form select, .apply-form textarea {
  width: 100%; font: inherit; font-size: 15px; font-weight: 400; color: var(--ink); background: var(--paper);
  border: 1px solid #cbd5e1; border-radius: 10px; padding: 0 12px; min-height: 46px; transition: border-color .2s, box-shadow .2s;
}
.apply-form textarea { resize: vertical; padding: 11px 12px; }
.apply-form :is(input, select, textarea):focus { outline: 0; border-color: var(--navy, var(--brand)); box-shadow: 0 0 0 3px rgba(14, 42, 71, .12); }
.af-error { color: var(--brand); font-weight: 600; font-size: 14px; }
.af-send { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0 !important; cursor: pointer; font: inherit; font-weight: 700; padding: 14px; background: #06c755 !important; color: #fff !important; }
.af-send:hover { background: #05b04b !important; }
.af-sent { padding: 12px 14px; border-radius: 10px; background: #e8f8ef; color: #12663a; font-size: 14px; }
.af-note { font-size: 13px; color: var(--muted); }
.af-reveal-enter-active, .af-reveal-leave-active { transition: opacity .3s, transform .35s var(--ease-out); }
.af-reveal-enter-from, .af-reveal-leave-to { opacity: 0; transform: translateY(-6px); }
.apply-info { padding: 26px; border-radius: 20px; background: var(--navy, #10252e); color: rgba(255,255,255,.8); }
.apply-info h3 { color: #fff; font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.apply-info h4 { color: #fff; font-size: 15px; font-weight: 700; margin: 18px 0 4px; }
.apply-info p { font-size: 14.5px; line-height: 1.7; }
.apply-phone { display: inline-block; margin-top: 14px; padding: 10px 16px; border-radius: 10px; background: rgba(255,255,255,.1); color: #fff; font-weight: 700; border: 1px solid rgba(255,255,255,.18); }
.apply-phone:hover { background: rgba(255,255,255,.18); }

@media (max-width: 980px) {
  .careers-hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .careers-hero h1 { font-size: 38px; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .apply-grid { grid-template-columns: 1fr; }
  .job-facts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .careers-hero { padding-top: 56px; padding-bottom: 56px; }
  .careers-hero h1 { font-size: 31px; }
  .careers-stat .stat-num { font-size: 30px; }
  .job-filters { top: 64px; margin-left: -6px; margin-right: -6px; }
  .job-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .hire-steps { grid-template-columns: 1fr 1fr; row-gap: 22px; }
  .hire-steps::before { display: none; }
  .af-row { grid-template-columns: 1fr; }
  .apply-card { padding: 22px 18px; }
  .job-modal-backdrop { padding: 0; align-items: end; }
  .job-modal { max-height: 92vh; border-radius: 20px 20px 0 0; }
  .job-facts { grid-template-columns: 1fr 1fr; }
  .job-modal-head, .job-modal-scroll, .job-modal-foot { padding-left: 18px; padding-right: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .careers-hero::before, .careers-hero::after, .careers-live { animation: none; }
}

/* ═══ 404 ═══ */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.notfound-inner { max-width: 640px; display: grid; justify-items: center; gap: 14px; }
.notfound-code {
  font-size: clamp(96px, 18vw, 168px); font-weight: 800; line-height: 1; letter-spacing: -.04em;
  background: linear-gradient(135deg, var(--navy, #10252e), var(--brand)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.notfound h1 { font-size: 30px; font-weight: 700; color: var(--navy, var(--ink)); }
.notfound p { color: var(--muted); }
.notfound-search { width: 100%; margin: 10px 0 4px; }
.notfound-links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* ═══ Product detail polish ═══ */
.product-detail-img { background: var(--soft) !important; }
.product-detail-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.product-detail-cta .cta-main { grid-column: 1 / -1; text-align: center; justify-content: center; }
.product-detail-cta .btn-outline { text-align: center; justify-content: center; }
.related-section .related-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 26px; }

/* Profit calculator */
.profit-calc { margin-top: 18px; }
.pc-box { border: 1px solid var(--line); border-radius: 14px; background: var(--paper); overflow: hidden; }
.pc-box summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  color: var(--navy, var(--ink)); background: var(--ice);
}
.pc-box summary::-webkit-details-marker { display: none; }
.pc-box summary::after { content: "▾"; margin-left: auto; color: var(--muted); transition: transform .3s; }
.pc-box[open] summary::after { transform: rotate(180deg); }
.pc-box summary span { display: grid; line-height: 1.3; }
.pc-box summary strong { font-size: 15px; }
.pc-box summary small { color: var(--muted); font-size: 12.5px; }
.pc-body { padding: 16px; display: grid; gap: 14px; }
.pc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pc-grid label { display: grid; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--ink); align-content: start; }
.pc-grid label small { font-weight: 400; color: var(--muted); }
.pc-grid > label { min-width: 0; }
.profit-calc, .pc-box, .pc-body, .product-detail-info, .product-detail-cta > * { min-width: 0; }
.pc-grid input { width: 100%; min-width: 0; font: inherit; font-size: 15px; padding: 0 12px; min-height: 42px; border: 1px solid #cbd5e1; border-radius: 10px; background: var(--paper); color: var(--ink); }
.pc-grid input:focus { outline: 0; border-color: var(--navy, var(--brand)); box-shadow: 0 0 0 3px rgba(14, 42, 71, .12); }
.pc-chip { justify-self: start; border: 1px dashed var(--line); background: var(--soft); color: var(--navy, var(--brand)); border-radius: 999px; padding: 3px 10px; font: inherit; font-size: 12px; cursor: pointer; }
.pc-hint, .pc-empty { font-size: 13px; color: var(--muted); }
.pc-results { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.pc-results div { padding: 10px 12px; border-radius: 10px; background: var(--soft); border: 1px solid var(--line); display: grid; gap: 2px; }
.pc-results small { font-size: 12px; color: var(--muted); }
.pc-results strong { font-size: 17px; color: var(--navy, var(--ink)); }
.pc-results .is-pos strong { color: #13804a; }
.pc-results .is-neg strong { color: var(--brand); }
.pc-meter { display: grid; gap: 6px; font-size: 13.5px; }
.pc-meter-bar { height: 8px; border-radius: 999px; background: var(--soft); overflow: hidden; border: 1px solid var(--line); }
.pc-meter-bar span { display: block; height: 100%; border-radius: inherit; transition: width .5s var(--ease-out); }
.pc-meter.is-good .pc-meter-bar span { background: #13804a; }
.pc-meter.is-ok .pc-meter-bar span { background: #d97706; }
.pc-meter.is-high .pc-meter-bar span { background: var(--brand); }

/* Promotion detail */
.promo-detail { background: var(--soft); }
.promo-detail-wrap { max-width: 800px; margin: 0 auto; }
.promo-article { margin-top: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.promo-hero-img { margin: 0; background: var(--soft); display: grid; place-items: center; }
/* promo posters often carry text: show the whole image, never crop */
.promo-hero-img img { width: 100%; height: auto; max-height: 760px; object-fit: contain; display: block; }
.promo-article-head { padding: 28px 32px 6px; }
.promo-date-chip { display: inline-block; font-size: 13px; font-weight: 600; color: var(--navy, var(--brand)); background: var(--ice); border-radius: 6px; padding: 4px 10px; margin-bottom: 12px; }
.promo-article-head h1 { font-size: 30px; font-weight: 700; line-height: 1.3; color: var(--navy, var(--ink)); }
.promo-article-body { padding: 10px 32px 4px; font-size: 16px; line-height: 1.9; color: var(--ink); }
.promo-article-cta { display: flex; flex-wrap: wrap; gap: 10px; padding: 20px 32px 6px; }
.promo-follow { padding: 6px 32px 28px; font-size: 13.5px; color: var(--muted); }
.promo-follow a { color: var(--brand); font-weight: 600; }
.promo-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 24px; }
.promo-img-empty { aspect-ratio: 16 / 9; background: var(--ice); }

/* Inquiry history (reorder) */
.inq-history { margin: 0 14px 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); }
.inq-history-toggle, .inq-history-title {
  width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 10px 12px;
  border: 0; background: transparent; font: inherit; font-size: 13.5px; font-weight: 700; color: var(--navy, var(--ink)); cursor: pointer;
}
.inq-history-title { cursor: default; }
.inq-history ul { list-style: none; padding: 0 8px 8px; display: grid; gap: 6px; }
.inq-history li { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; align-items: center; padding: 8px 10px; background: var(--paper); border-radius: 10px; border: 1px solid var(--line); }
.inq-h-meta { display: grid; min-width: 0; }
.inq-h-meta strong { font-size: 13px; }
.inq-h-meta small { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inq-h-btn { padding: 6px 12px !important; font-size: 13px !important; cursor: pointer; font: inherit; }
.inq-fab-icon { flex: 0 0 auto; }

@media (max-width: 980px) {
  .related-section .related-grid { grid-template-columns: 1fr 1fr; }
  .promo-grid-3 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .pc-grid { grid-template-columns: 1fr; }
  .pc-results { grid-template-columns: 1fr 1fr; }
  .promo-article-head, .promo-article-body, .promo-article-cta, .promo-follow { padding-left: 18px; padding-right: 18px; }
  .promo-article-head h1 { font-size: 24px; }
  .related-section .related-grid { grid-template-columns: 1fr; }
}

/* Inquiry: send via LINE or the Facebook Page (Messenger) */
.inq-send-row { display: grid; gap: 8px; }
.inq-send-row.has-fb { grid-template-columns: 1fr 1fr; }
.inq-send, .inq-send-fb { display: inline-flex !important; align-items: center; justify-content: center; gap: 8px; }
.inq-send-fb { border: 0; cursor: pointer; font: inherit; font-weight: 700; padding: 13px; background: #0866ff !important; color: #fff !important; }
.inq-send-fb:hover { background: #0757d6 !important; box-shadow: 0 14px 30px rgba(8, 102, 255, .28) !important; }
.inq-send-fb:disabled { opacity: .45; cursor: not-allowed; }
@media (max-width: 380px) { .inq-send-row.has-fb { grid-template-columns: 1fr; } }

/* ═══ Facebook Page gallery (homepage) ═══ */
.fb-gallery-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.fb-gallery-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.fb-chat { background: #0866ff !important; border-color: #0866ff !important; color: #fff !important; }
.fb-chat:hover { background: #0757d6 !important; }
.fb-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 28px; }
.fb-tile { position: relative; display: block; border-radius: 14px; overflow: hidden; aspect-ratio: 720 / 527; background: var(--soft); isolation: isolate; }
.fb-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.fb-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(8, 20, 34, .78)); z-index: 1; transition: opacity .4s; }
.fb-tile-cap { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 2; display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; color: #fff; }
.fb-tile-cap strong { font-size: 16px; font-weight: 700; line-height: 1.3; text-shadow: 0 2px 8px rgba(0,0,0,.35); }
.fb-tile-cap small { font-size: 12.5px; font-weight: 600; white-space: nowrap; opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .3s var(--ease-out); }
.fb-tile:hover img, .fb-tile:focus-visible img { transform: scale(1.06); }
.fb-tile:hover .fb-tile-cap small, .fb-tile:focus-visible .fb-tile-cap small { opacity: 1; transform: none; }
/* 8 tiles fill 3 full rows of 4: one 2×2 feature + one 2×1 wide + 6 singles */
.fb-tile:nth-child(1) { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.fb-tile:nth-child(8) { grid-column: span 2; aspect-ratio: auto; }
/* spanning tiles take their height from the grid rows, not from the photo */
.fb-tile:nth-child(1) img, .fb-tile:nth-child(8) img { position: absolute; inset: 0; }
@media (max-width: 980px) {
  .fb-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fb-tile:nth-child(1) { grid-row: auto; aspect-ratio: 720 / 527; }
  .fb-tile:nth-child(8) { aspect-ratio: 720 / 300; }
  .fb-tile-cap small { opacity: 1; transform: none; }
}
@media (max-width: 560px) {
  .fb-gallery { gap: 10px; }
  .fb-tile-cap strong { font-size: 14px; }
  .fb-tile-cap small { display: none; }
}
/* photos that already carry the dish name: no duplicate caption, just a pill */
.fb-tile.has-text::after { background: linear-gradient(180deg, transparent 70%, rgba(8, 20, 34, .35)); }
.fb-tile.has-text .fb-tile-cap strong { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.fb-tile.has-text .fb-tile-cap { justify-content: flex-end; }
.fb-tile.has-text .fb-tile-cap small { background: rgba(8, 20, 34, .72); padding: 4px 10px; border-radius: 999px; }
@media (max-width: 560px) { .fb-tile.has-text .fb-tile-cap small { display: inline-block; } }
