/* NAKAJP consolidated global bundle: nakajp-global-interactions.css
 * Phase 4.6 safe cascade consolidation.
 * Source order preserved exactly.
 */


/* ===== BEGIN SOURCE: nakajp-mobile-interaction-system.css ===== */
:root{
  --mobile-header-height:64px;
  --mobile-header-compact-height:56px;
  --mobile-action-height:72px;
  --mobile-action-gap:8px;
  --mobile-action-radius:16px;
  --mobile-action-bg:#f4f0e9;
  --mobile-action-ink:#3f3328;
  --mobile-action-accent:#4a3a2c;
  --mobile-action-line:rgba(74,58,44,.24);
  --mobile-safe-bottom:env(safe-area-inset-bottom,0px);
}
html{scroll-padding-top:calc(var(--mobile-header-height) + 12px)}
[id]{scroll-margin-top:calc(var(--mobile-header-height) + 12px)}
.nakajp-system-header{position:sticky;top:0;z-index:1200;background:rgba(255,255,255,.96);backdrop-filter:saturate(150%) blur(12px);-webkit-backdrop-filter:saturate(150%) blur(12px);border-bottom:1px solid rgba(25,34,28,.09);transition:box-shadow .2s ease,background-color .2s ease}
.nakajp-system-header.is-compact{box-shadow:0 8px 24px rgba(25,34,28,.09)}
.nakajp-system-header__inner{min-height:72px;transition:min-height .2s ease}
.nakajp-system-header.is-compact .nakajp-system-header__inner{min-height:64px}
.nakajp-mobile-actions,.nakajp-mobile-zalo{display:none}
@media (max-width:767px){
  body{padding-bottom:calc(var(--mobile-action-height) + var(--mobile-safe-bottom) + 12px)!important;overflow-x:hidden}
  .nakajp-system-header{height:var(--mobile-header-height)}
  .nakajp-system-header__inner{height:var(--mobile-header-height);min-height:var(--mobile-header-height)!important;padding:0 16px!important;display:flex;align-items:center;justify-content:space-between}
  .nakajp-system-header.is-compact{height:var(--mobile-header-compact-height)}
  .nakajp-system-header.is-compact .nakajp-system-header__inner{height:var(--mobile-header-compact-height);min-height:var(--mobile-header-compact-height)!important}
  .nakajp-system-header__logo{display:flex;align-items:center;max-width:42vw;height:100%}
  .nakajp-system-header__logo img{display:block;width:auto!important;max-width:100%!important;height:auto!important;max-height:34px!important;object-fit:contain}
  .nakajp-system-header__phone{display:none!important}
  .nakajp-system-header__toggle{display:grid!important;place-items:center;width:44px;height:44px;margin:0;padding:0;border:1px solid rgba(25,34,28,.16);border-radius:12px;background:#fff;color:#17241c;font-size:0;line-height:1;flex:0 0 44px}
  .nakajp-system-header__toggle::before{content:"";width:20px;height:14px;background:linear-gradient(currentColor 0 0) top/100% 2px no-repeat,linear-gradient(currentColor 0 0) center/100% 2px no-repeat,linear-gradient(currentColor 0 0) bottom/100% 2px no-repeat}
  .nakajp-system-header__toggle[aria-expanded="true"]::before{height:20px;background:linear-gradient(currentColor 0 0) center/100% 2px no-repeat;transform:rotate(45deg)}
  .nakajp-system-header__toggle[aria-expanded="true"]::after{content:"";position:absolute;width:20px;height:2px;background:currentColor;transform:rotate(-45deg)}
  .nakajp-system-header__nav{position:fixed!important;top:var(--mobile-header-height)!important;left:12px!important;right:12px!important;display:none!important;flex-direction:row!important;gap:8px!important;padding:10px!important;background:#fff!important;border:1px solid rgba(25,34,28,.12)!important;border-radius:14px!important;box-shadow:0 18px 48px rgba(25,34,28,.16)!important;max-height:none;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scrollbar-width:none;z-index:1201}
  .nakajp-system-header.is-compact .nakajp-system-header__nav{top:var(--mobile-header-compact-height)!important}
  .nakajp-system-header__nav::-webkit-scrollbar{display:none}
  .nakajp-system-header__nav.is-open{display:flex!important}
  .nakajp-system-header__nav a{display:flex!important;align-items:center;justify-content:center;flex:1 0 auto;min-width:76px;min-height:44px;padding:10px 12px!important;border:1px solid rgba(74,58,44,.14);border-radius:10px!important;background:#fbf8f3;white-space:nowrap!important;text-align:center;font-size:13px;line-height:1.15}
  .fixed-contact,.floating-contact,.floating,.mobile-sticky,.mobile-sticky-cta,.phase4-mobile-page-nav{display:none!important}
  .nakajp-mobile-actions{position:fixed;left:0;right:0;bottom:0;z-index:1250;display:grid;grid-template-columns:minmax(112px,.8fr) minmax(0,1.6fr);gap:var(--mobile-action-gap);height:calc(var(--mobile-action-height) + var(--mobile-safe-bottom));padding:10px 12px calc(10px + var(--mobile-safe-bottom));background:rgba(244,240,233,.97);border-top:1px solid var(--mobile-action-line);box-shadow:0 -10px 30px rgba(63,51,40,.12);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
  .nakajp-mobile-actions a{min-width:0;height:52px;display:flex;align-items:center;justify-content:center;text-align:center;padding:0 10px;border-radius:var(--mobile-action-radius);font:700 clamp(11px,3.25vw,14px)/1.1 inherit;text-decoration:none!important;white-space:nowrap;overflow:hidden;text-overflow:clip}
  .nakajp-mobile-actions__phone{color:var(--mobile-action-ink)!important;background:#fffdf9!important;border:1px solid var(--mobile-action-line)!important}
  .nakajp-mobile-actions__primary{color:#fff!important;background:var(--mobile-action-accent)!important;border:1px solid var(--mobile-action-accent)!important}
  .nakajp-mobile-zalo{position:fixed;right:14px;bottom:calc(var(--mobile-action-height) + var(--mobile-safe-bottom) + 14px);z-index:1240;display:grid;width:48px;height:48px;place-items:center;border-radius:50%;background:#0877ff;color:#fff!important;text-decoration:none!important;box-shadow:0 8px 24px rgba(8,119,255,.28);font:800 11px/1 sans-serif;border:2px solid #fff}
}
@media (max-width:374px){
  .nakajp-mobile-actions{grid-template-columns:104px minmax(0,1fr);padding-left:8px;padding-right:8px}
  .nakajp-mobile-actions a{padding-left:7px;padding-right:7px;font-size:11px}
}
@media (min-width:768px){
  .nakajp-system-header__toggle{display:none}
}


@media (min-width:768px){
  .nakajp-system-header{height:auto}
  .nakajp-system-header__inner{
    width:min(calc(100% - 48px),1180px);
    min-height:72px;
    margin:0 auto;
    padding:10px 0;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:28px;
  }
  .nakajp-system-header__logo{
    display:flex;
    align-items:center;
    flex:0 0 auto;
    width:180px;
    max-width:20vw;
  }
  .nakajp-system-header__logo img{
    display:block;
    width:100%!important;
    height:auto!important;
    max-height:48px!important;
    object-fit:contain;
    object-position:left center;
  }
  .nakajp-system-header__nav{
    position:static!important;
    display:flex!important;
    align-items:center;
    justify-content:center;
    flex-wrap:wrap;
    gap:22px;
    margin-left:auto;
  }
  .nakajp-system-header__nav a{
    display:inline-flex;
    align-items:center;
    min-height:40px;
    color:inherit;
    text-decoration:none;
    white-space:nowrap;
  }
  .nakajp-system-header__phone{
    display:inline-flex!important;
    align-items:center;
    justify-content:center;
    min-height:44px;
    padding:10px 18px;
    border-radius:999px;
    white-space:nowrap;
    text-decoration:none!important;
    flex:0 0 auto;
  }
}
/* ===== END SOURCE: nakajp-mobile-interaction-system.css ===== */


/* ===== BEGIN SOURCE: nakajp-related-content.css ===== */
/* Phase74 — shared related-content component. */
.nakajp-related {
  padding: 56px 0;
  background: #f7f3ed;
}
.nakajp-related .container {
  width: min(100% - 32px, 1120px);
  margin-inline: auto;
}
.nakajp-related__eyebrow {
  margin: 0 0 8px;
  color: #7a5b42;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.nakajp-related h2 {
  margin: 0;
  color: #382f28;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.2;
}
.nakajp-related__intro {
  max-width: 680px;
  margin: 12px 0 24px;
  color: #685d54;
  line-height: 1.65;
}
.nakajp-related__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.nakajp-related__card {
  display: block;
  min-width: 0;
  padding: 20px;
  border: 1px solid rgba(74, 57, 43, .14);
  border-radius: 18px;
  background: #fffdf9;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(53, 39, 28, .06);
}
.nakajp-related__card h3 {
  margin: 0 0 8px;
  color: #3a3028;
  font-size: 17px;
  line-height: 1.35;
}
.nakajp-related__card p {
  margin: 0;
  color: #6d6157;
  font-size: 14px;
  line-height: 1.6;
}
.nakajp-related__card:hover,
.nakajp-related__card:focus-visible {
  border-color: rgba(108, 76, 52, .42);
  transform: translateY(-1px);
}
[id] {
  scroll-margin-top: calc(var(--mobile-header-height, 64px) + 12px);
}
@media (max-width: 767.98px) {
  .nakajp-related { padding: 42px 0; }
  .nakajp-related .container { width: min(100% - 24px, 1120px); }
  .nakajp-related__grid { grid-template-columns: 1fr; }
  .nakajp-related__card { padding: 17px; }
}
@media (min-width: 768px) and (max-width: 1023.98px) {
  .nakajp-related__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* PHASE 2.5 — scoped two-item related-content balance */
@media (min-width: 769px) {
  .page-dich-vu-tu-van-tham-dinh-bao-gia-chuyen-sau .nakajp-related__grid,
  .page-nha-bi-toi-bat-tien .nakajp-related__grid,
  .page-nha-dep-nhung-song-met .nakajp-related__grid,
  .page-vao-o-roi-moi-thay-bat-tien .nakajp-related__grid,
  .page-zero-gap-thiet-ke-khong-lech-thuc-te .nakajp-related__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100%, 900px);
    margin-inline: auto;
  }
}
/* ===== END SOURCE: nakajp-related-content.css ===== */

/* =========================================================
   PHASE 5.1 — GLOBAL JAPANESE NATURE + MOTION SYSTEM
   Canonical shared CSS: nakajp-global-interactions.css
   Progressive enhancement only. Content remains visible without JS.
========================================================= */

:root {
  --jp-forest: #2f4336;
  --jp-moss: #435a49;
  --jp-sage: #899789;
  --jp-green-mist: #eef2ec;
  --jp-green-soft: #e4ebe3;
  --jp-green-ink: #26362c;
  --jp-green-line: rgba(67, 90, 73, 0.18);
  --jp-green-glow: rgba(137, 151, 137, 0.16);

  --jp-motion-fast: 180ms;
  --jp-motion-base: 420ms;
  --jp-motion-slow: 680ms;
  --jp-motion-image: 900ms;
  --jp-stagger-step: 60ms;
  --jp-ease-out: cubic-bezier(.22, 1, .36, 1);
  --jp-ease-soft: cubic-bezier(.25, .8, .25, 1);
}

/* Nature utilities: secondary brand layer, never the only palette. */
.jp-nature-motion-enabled .jp-nature-section--mist {
  background:
    radial-gradient(circle at 88% 12%, var(--jp-green-glow), transparent 34%),
    linear-gradient(180deg, var(--jp-green-mist), #f6f7f3) !important;
  color: var(--jp-green-ink);
}

.jp-nature-motion-enabled .jp-nature-section--soft {
  background:
    linear-gradient(135deg, rgba(137, 151, 137, .10), transparent 44%),
    var(--jp-green-soft) !important;
  color: var(--jp-green-ink);
}

.jp-nature-motion-enabled .jp-nature-section--forest {
  background:
    radial-gradient(circle at 100% 0%, rgba(137,151,137,.16), transparent 34%),
    linear-gradient(145deg, #26362c, var(--jp-forest) 58%, #243229) !important;
  color: #f8f4eb;
}

.jp-nature-motion-enabled .jp-nature-section--forest > :not(.anchor-alias),
.jp-nature-motion-enabled .jp-nature-section--forest .container {
  position: relative;
  z-index: 1;
}

.jp-nature-motion-enabled .jp-nature-section--forest h2,
.jp-nature-motion-enabled .jp-nature-section--forest > h2,
.jp-nature-motion-enabled .jp-nature-section--forest .section-title,
.jp-nature-motion-enabled .jp-nature-section--forest .eyebrow {
  color: #fbf7ef !important;
}

.jp-nature-motion-enabled .jp-nature-section--forest > p,
.jp-nature-motion-enabled .jp-nature-section--forest .section-intro {
  color: rgba(248, 244, 235, .82) !important;
}

.jp-nature-accent {
  color: var(--jp-moss) !important;
}

.jp-nature-line {
  border-color: var(--jp-green-line) !important;
}

.jp-nature-number {
  color: var(--jp-moss) !important;
}

.jp-nature-callout,
.jp-nature-panel {
  background: rgba(255,255,255,.78);
  border: 1px solid var(--jp-green-line);
  box-shadow: 0 14px 34px rgba(38,54,44,.08);
}

.jp-nature-section--forest .jp-nature-callout,
.jp-nature-section--forest .jp-nature-panel {
  background: #f8f5ef;
  color: #302a24;
  border-color: rgba(255,255,255,.18);
}

/* Stable data-attribute motion API. Visible by default. */
[data-jp-reveal],
[data-jp-hero],
[data-jp-stagger-item] {
  opacity: 1;
  transform: none;
  clip-path: inset(0 0 0 0);
}

.jp-motion-ready [data-jp-reveal]:not(.is-visible),
.jp-motion-ready [data-jp-stagger-item]:not(.is-visible) {
  opacity: 0;
  will-change: transform, opacity;
}

.jp-motion-ready [data-jp-reveal="fade-up"]:not(.is-visible),
.jp-motion-ready [data-jp-stagger-item]:not(.is-visible) {
  transform: translate3d(0, 18px, 0);
}

.jp-motion-ready [data-jp-reveal="fade-left"]:not(.is-visible) {
  transform: translate3d(-24px, 0, 0);
}

.jp-motion-ready [data-jp-reveal="fade-right"]:not(.is-visible) {
  transform: translate3d(24px, 0, 0);
}

.jp-motion-ready [data-jp-reveal="soft-scale"]:not(.is-visible) {
  transform: scale(.985);
}

.jp-motion-ready [data-jp-reveal="image-mask"]:not(.is-visible) {
  opacity: .72;
  clip-path: inset(0 100% 0 0);
  transform: scale(1.01);
}

.jp-motion-ready [data-jp-reveal="line-draw"]:not(.is-visible) {
  opacity: 1;
  transform: scaleX(0);
  transform-origin: left center;
}

.jp-motion-ready [data-jp-reveal].is-visible,
.jp-motion-ready [data-jp-stagger-item].is-visible {
  opacity: 1;
  transform: none;
  clip-path: inset(0 0 0 0);
  transition:
    opacity var(--jp-motion-slow) var(--jp-ease-out),
    transform var(--jp-motion-slow) var(--jp-ease-out),
    clip-path var(--jp-motion-image) var(--jp-ease-out);
  transition-delay: var(--jp-motion-delay, 0ms);
}

.jp-motion-ready [data-jp-reveal="image-mask"].is-visible {
  transition-duration: var(--jp-motion-image);
}

.jp-motion-ready [data-jp-reveal="line-draw"].is-visible {
  transition:
    transform var(--jp-motion-slow) var(--jp-ease-out);
  transition-delay: var(--jp-motion-delay, 0ms);
}

/* Hero remains readable on first paint; JS only adds a short entrance. */
.jp-motion-ready [data-jp-hero]:not(.is-visible) {
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  will-change: transform, opacity;
}

.jp-motion-ready [data-jp-hero="soft-scale"]:not(.is-visible) {
  transform: scale(.985);
}

.jp-motion-ready [data-jp-hero].is-visible {
  opacity: 1;
  transform: none;
  transition:
    opacity var(--jp-motion-base) var(--jp-ease-out),
    transform var(--jp-motion-slow) var(--jp-ease-out);
  transition-delay: var(--jp-motion-delay, 0ms);
}

.jp-motion-line {
  display: block;
  width: 100%;
  height: 1px;
  margin: 24px 0 0;
  background: var(--jp-green-line);
}

/* Quiet micro-interactions. */
.jp-nature-motion-enabled a[data-cta],
.jp-nature-motion-enabled .btn,
.jp-nature-motion-enabled button {
  transition:
    transform var(--jp-motion-fast) var(--jp-ease-soft),
    box-shadow var(--jp-motion-fast) var(--jp-ease-soft),
    border-color var(--jp-motion-fast) var(--jp-ease-soft),
    background-color var(--jp-motion-fast) var(--jp-ease-soft);
}

@media (hover:hover) and (pointer:fine) {
  .jp-nature-motion-enabled a[data-cta]:hover,
  .jp-nature-motion-enabled .btn:hover,
  .jp-nature-motion-enabled button:hover:not(:disabled) {
    transform: translateY(-1px);
  }

  .jp-nature-motion-enabled [data-jp-interactive]:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(38,54,44,.10);
  }
}

.jp-nature-motion-enabled a[data-cta]:active,
.jp-nature-motion-enabled .btn:active,
.jp-nature-motion-enabled button:active:not(:disabled) {
  transform: translateY(1px);
}

.jp-nature-motion-enabled :is(a,button,input,select,textarea,summary):focus-visible {
  outline: 3px solid rgba(67,90,73,.34);
  outline-offset: 3px;
}

.jp-nature-motion-enabled input:focus,
.jp-nature-motion-enabled select:focus,
.jp-nature-motion-enabled textarea:focus {
  border-color: var(--jp-moss);
  box-shadow: 0 0 0 3px rgba(67,90,73,.10);
}

/* Compact navigation nature indicator without recolouring the whole header. */
.jp-nature-motion-enabled .nakajp-system-header__nav a {
  position: relative;
}

.jp-nature-motion-enabled .nakajp-system-header__nav a::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 5px;
  left: 12px;
  height: 1px;
  background: var(--jp-moss);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--jp-motion-fast) var(--jp-ease-out);
}

.jp-nature-motion-enabled .nakajp-system-header__nav a:hover::after,
.jp-nature-motion-enabled .nakajp-system-header__nav a:focus-visible::after,
.jp-nature-motion-enabled .nakajp-system-header__nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

/* Reduced motion: all content is immediately visible and stable. */
@media (prefers-reduced-motion: reduce) {
  .jp-motion-ready [data-jp-reveal],
  .jp-motion-ready [data-jp-hero],
  .jp-motion-ready [data-jp-stagger-item] {
    opacity: 1 !important;
    transform: none !important;
    clip-path: inset(0 0 0 0) !important;
    transition: none !important;
    animation: none !important;
    will-change: auto !important;
  }

  .jp-nature-motion-enabled *,
  .jp-nature-motion-enabled *::before,
  .jp-nature-motion-enabled *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0ms !important;
  }
}

@media (max-width: 767px) {
  .jp-motion-ready [data-jp-reveal="fade-left"]:not(.is-visible),
  .jp-motion-ready [data-jp-reveal="fade-right"]:not(.is-visible) {
    transform: translate3d(0, 16px, 0);
  }

  .jp-motion-line {
    margin-top: 18px;
  }
}


/* =========================================================
   PHASE 5.1C — GLOBAL VISIBLE NATURE SIGNATURE
   Canonical shared layer. Visual only; no content or tracking logic.
========================================================= */

:root {
  --jp-green-mist-visible: #e8efe6;
  --jp-green-soft-visible: #dde8de;
  --jp-green-surface: #f5f7f2;
  --jp-forest-deep: #24352b;
  --jp-nature-shadow: 0 24px 64px rgba(38, 54, 44, .14);
}

/* Nature bands are visible without JavaScript. */
.jp-nature-band--visible {
  position: relative;
  isolation: isolate;
}

.jp-nature-band--visible.jp-nature-section--mist {
  background:
    radial-gradient(circle at 88% 8%, rgba(137,151,137,.25), transparent 31%),
    radial-gradient(circle at 6% 92%, rgba(67,90,73,.08), transparent 27%),
    linear-gradient(145deg, var(--jp-green-mist-visible), #f3f6f1 62%, #edf2eb) !important;
  color: var(--jp-green-ink);
}

.jp-nature-band--visible.jp-nature-section--soft {
  background:
    radial-gradient(circle at 8% 12%, rgba(255,255,255,.72), transparent 32%),
    linear-gradient(135deg, var(--jp-green-soft-visible), #edf3eb 54%, #f7f8f4) !important;
  color: var(--jp-green-ink);
}

.jp-nature-band--visible.jp-nature-section--forest {
  background:
    radial-gradient(circle at 92% 8%, rgba(137,151,137,.24), transparent 30%),
    radial-gradient(circle at 5% 100%, rgba(184,148,77,.10), transparent 28%),
    linear-gradient(145deg, var(--jp-forest-deep), var(--jp-forest) 56%, #26382d) !important;
  color: #f8f4eb;
}

.jp-nature-band--visible.jp-nature-section--mist :is(h1,h2,h3,h4,h5,h6),
.jp-nature-band--visible.jp-nature-section--soft :is(h1,h2,h3,h4,h5,h6) {
  color: #2d352f;
}

.jp-nature-band--visible.jp-nature-section--mist :is(p,li),
.jp-nature-band--visible.jp-nature-section--soft :is(p,li) {
  color: #4b554e;
}

.jp-nature-band--visible.jp-nature-section--forest :is(h1,h2,h3,h4,h5,h6) {
  color: #fbf7ef;
}

.jp-nature-band--visible.jp-nature-section--forest > p,
.jp-nature-band--visible.jp-nature-section--forest .section-intro,
.jp-nature-band--visible.jp-nature-section--forest .eyebrow {
  color: rgba(248,244,235,.86);
}

/* Visible nature visual treatment: halo/frame only, never a green image filter. */
.jp-nature-visual {
  position: relative;
  isolation: isolate;
  filter: none !important;
}

.jp-nature-visual::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    radial-gradient(circle at 18% 16%, rgba(137,151,137,.28), transparent 43%),
    radial-gradient(circle at 84% 84%, rgba(67,90,73,.12), transparent 36%);
  opacity: .95;
}

.jp-nature-visual--light {
  box-shadow:
    0 0 0 1px rgba(67,90,73,.12),
    0 28px 70px rgba(67,90,73,.14);
}

.jp-nature-visual--material {
  background:
    linear-gradient(145deg, rgba(255,255,255,.76), rgba(232,239,230,.78));
  box-shadow:
    0 0 0 1px rgba(67,90,73,.13),
    0 24px 58px rgba(38,54,44,.11);
}

.jp-nature-visual :is(img,video,picture) {
  filter: none !important;
}

.jp-nature-accent,
.jp-nature-number,
.jp-nature-accent-zone :is(.reason-number,.tier-number,.spec-index,.lp004-selector-step__number,.lp006-process-number,.lp006-row-number) {
  color: var(--jp-moss) !important;
}

.jp-nature-accent-zone :is(.process-step,.workflow-step,.step,.timeline-step) {
  border-color: var(--jp-green-line) !important;
}

.jp-nature-accent-zone :is(.process-step,.workflow-step,.step,.timeline-step)::before {
  border-color: var(--jp-moss);
  background-color: var(--jp-moss);
}

.jp-nature-accent-zone :is(.process-step,.workflow-step,.step,.timeline-step) :is(h3,h4,strong) {
  color: var(--jp-green-ink);
}

/* Page-specific nature signatures. */
.page-index #team.jp-nature-band--visible {
  border-block: 1px solid rgba(67,90,73,.10);
}

.page-index #workflow.jp-nature-section--forest .step {
  background: transparent !important;
  color: #f7f3ea;
  border: 0 !important;
  border-top: 1px solid rgba(255,255,255,.22) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.page-index #workflow.jp-nature-section--forest .step :is(h3,h4,strong) {
  color: #fbf7ef !important;
}

.page-index #workflow.jp-nature-section--forest .step p {
  color: rgba(248,244,235,.80) !important;
}

.page-thiet-ke-phong-cach-nhat #style-details .lp004-selector-step__number {
  color: var(--jp-moss) !important;
}

.page-thiet-ke-phong-cach-nhat #style-details :is(button,[role="button"]).is-active,
.page-thiet-ke-phong-cach-nhat #style-details :is(button,[role="button"])[aria-pressed="true"],
.page-thiet-ke-phong-cach-nhat #style-details .active {
  border-color: var(--jp-moss) !important;
  background: var(--jp-green-soft) !important;
  color: var(--jp-green-ink) !important;
}

.page-dich-vu-tu-van-tham-dinh-bao-gia-chuyen-sau #problem.jp-nature-section--soft .speech,
.page-dich-vu-tu-van-tham-dinh-bao-gia-chuyen-sau #problem.jp-nature-section--soft .mini-quote-doc {
  border-color: rgba(67,90,73,.16);
}

.jp-visible-nature-page .process-grid.jp-nature-accent-zone .process-step,
.jp-visible-nature-page .workflow-timeline.jp-nature-accent-zone .workflow-step {
  box-shadow: none;
}

@media (max-width: 767px) {
  .jp-nature-visual::before {
    inset: 0;
    opacity: .72;
  }

  .jp-nature-visual--light,
  .jp-nature-visual--material {
    box-shadow:
      0 0 0 1px rgba(67,90,73,.11),
      0 18px 42px rgba(67,90,73,.10);
  }

  .jp-nature-band--visible.jp-nature-section--mist,
  .jp-nature-band--visible.jp-nature-section--soft {
    background:
      radial-gradient(circle at 100% 0%, rgba(137,151,137,.20), transparent 30%),
      linear-gradient(155deg, var(--jp-green-mist-visible), #f4f7f2 70%) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .jp-nature-visual,
  .jp-nature-visual::before {
    transition: none !important;
    animation: none !important;
  }
}


/* Phase 5.1C motion safety: visible state wins over legacy page reveal rules. */
.jp-motion-ready [data-jp-reveal].is-visible,
.jp-motion-ready [data-jp-hero].is-visible,
.jp-motion-ready [data-jp-stagger-item].is-visible,
.jp-motion-reduced [data-jp-reveal],
.jp-motion-reduced [data-jp-hero],
.jp-motion-reduced [data-jp-stagger-item] {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  clip-path: inset(0 0 0 0) !important;
}

body.jp-visible-nature-page { overflow-x: clip; }
