/* ztpawn main stylesheet — consumes tokens.css only.
 * No magic numbers (colors / spacings / radii) allowed below this line.
 */

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ---------- scroll-triggered reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-standard),
              transform 0.8s var(--ease-standard);
  will-change: opacity, transform;
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.40s; }
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-normal);
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--color-brand);
  text-decoration: none;
  transition: color var(--motion-fast) var(--ease-standard);
}
a:hover { color: var(--color-brand-hover); }
a:focus-visible {
  outline: 2px solid var(--color-brand);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--color-text-strong);
  letter-spacing: var(--tracking-tight);
  margin: 0;
}

p { margin: 0; }

ul { list-style: none; padding: 0; margin: 0; }

button { font-family: inherit; cursor: pointer; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: var(--space-4);
  padding: var(--space-2) var(--space-4);
  background: var(--color-brand);
  color: var(--color-brand-fg);
  border-radius: var(--radius-sm);
  z-index: 100;
  font-weight: var(--fw-semibold);
}
.skip-link:focus { top: var(--space-4); }

/* ------------ layout primitives ------------ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-px);
  padding-right: var(--container-px);
}

.eyebrow {
  font-size: var(--fs-eyebrow);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: var(--color-brand);
  margin-bottom: var(--space-3);
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--space-8);
}
.section-head .eyebrow { text-align: center; }
.section-head h2 {
  font-size: var(--fs-h2);
  line-height: var(--lh-snug);
  margin-bottom: var(--space-4);
}
.section-lede {
  color: var(--color-text-muted);
  font-size: var(--fs-body-lg);
  line-height: var(--lh-relaxed);
}

/* ------------ buttons ------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-md);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-body);
  line-height: 1;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--motion-fast) var(--ease-standard),
              background var(--motion-fast) var(--ease-standard),
              box-shadow var(--motion-fast) var(--ease-standard);
  min-height: 48px;            /* mid-age finger target */
  text-align: center;
  white-space: nowrap;
}
.btn-lg {
  padding: var(--space-4) var(--space-6);
  font-size: var(--fs-body-lg);
  min-height: 56px;
}
.btn-primary {
  background: var(--color-brand);
  color: var(--color-brand-fg);
}
.btn-primary:hover {
  background: var(--color-brand-hover);
  color: var(--color-brand-fg);
  transform: translateY(-1px);
  box-shadow: var(--shadow-2);
}
.btn-secondary {
  background: var(--color-bg-elevated);
  color: var(--color-text-strong);
  border-color: var(--color-border-strong);
}
.btn-secondary:hover {
  background: var(--color-bg-soft);
  color: var(--color-text-strong);
  transform: translateY(-1px);
  box-shadow: var(--shadow-1);
}
.btn-line {
  background: #06C755;
  color: #FFFFFF;
}
.btn-line:hover {
  background: #05a847;
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: var(--shadow-2);
}

/* ------------ header ------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 248, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--motion-normal) var(--ease-standard),
              background var(--motion-normal) var(--ease-standard);
}
.site-header[data-scrolled="true"] {
  border-bottom-color: var(--color-border);
  background: rgba(250, 250, 248, 0.95);
}
:root[data-theme="dark"] .site-header {
  background: rgba(20, 24, 31, 0.85);
}
:root[data-theme="dark"] .site-header[data-scrolled="true"] {
  background: rgba(20, 24, 31, 0.95);
  border-bottom-color: var(--color-border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  height: var(--header-h);
}
.brand img { height: 36px; width: auto; }
.site-nav { display: none; }
.site-nav > ul {
  display: flex;
  gap: 6px;
  align-items: center;
}
.site-nav > ul > li > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--color-text);
  font-weight: var(--fw-medium);
  font-size: 15px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  transition: color var(--motion-fast) var(--ease-standard),
              background var(--motion-fast) var(--ease-standard);
}
.site-nav > ul > li > a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  background: var(--color-brand);
  border-radius: 1px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--motion-fast) var(--ease-standard);
}
.site-nav > ul > li > a:hover { color: var(--color-brand); }
.site-nav > ul > li > a:hover::after,
.site-nav > ul > li.has-dropdown:hover > a::after,
.site-nav > ul > li.has-dropdown:focus-within > a::after {
  transform: scaleX(1);
}
.site-nav .caret {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  transition: transform var(--motion-fast) var(--ease-standard);
}
.has-dropdown { position: relative; }
.has-dropdown:hover > a .caret,
.has-dropdown:focus-within > a .caret { transform: rotate(180deg); }
.site-nav .dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 220px;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-3);
  padding: var(--space-2);
  display: grid;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--motion-fast) var(--ease-standard),
              transform var(--motion-fast) var(--ease-standard),
              visibility var(--motion-fast) var(--ease-standard);
  z-index: 60;
}
.site-nav .has-dropdown:hover .dropdown,
.site-nav .has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(2px);
}
.site-nav .dropdown li { display: block; }
.site-nav .dropdown a {
  display: block;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  color: var(--color-text);
  white-space: nowrap;
}
.site-nav .dropdown a:hover {
  background: var(--color-brand-soft);
  color: var(--color-brand);
}
.drawer-sub a {
  padding-left: var(--space-6) !important;
  font-size: var(--fs-body) !important;
  color: var(--color-text-muted) !important;
  border-bottom: 0 !important;
  padding-top: var(--space-2) !important;
  padding-bottom: var(--space-2) !important;
}
.nav-cta {
  display: none;
  font-weight: var(--fw-semibold);
  padding: var(--space-2) var(--space-4);
  background: var(--color-brand);
  color: var(--color-brand-fg);
  border-radius: var(--radius-md);
  font-size: var(--fs-small);
  min-height: 40px;
  align-items: center;
}
.nav-cta:hover { color: var(--color-brand-fg); background: var(--color-brand-hover); }

.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--motion-fast) var(--ease-standard),
              border-color var(--motion-fast) var(--ease-standard),
              transform var(--motion-fast) var(--ease-standard);
  flex-shrink: 0;
}
.theme-toggle:hover {
  background: var(--color-bg-soft);
  border-color: var(--color-brand);
  transform: rotate(15deg);
}
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: inline-block; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: inline-block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 0;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text-strong);
  border-radius: 2px;
  transition: transform var(--motion-fast) var(--ease-standard),
              opacity var(--motion-fast) var(--ease-standard);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ------------ mobile drawer ------------ */
.mobile-drawer {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--color-bg);
  z-index: 40;
  padding: var(--space-7) var(--container-px);
  overflow-y: auto;
}
.mobile-drawer[hidden] { display: none; }
.mobile-drawer ul { display: flex; flex-direction: column; gap: var(--space-2); }
.mobile-drawer a {
  display: block;
  padding: var(--space-4);
  font-size: var(--fs-body-lg);
  font-weight: var(--fw-semibold);
  color: var(--color-text-strong);
  border-bottom: 1px solid var(--color-border);
}
.mobile-drawer a:hover { color: var(--color-brand); }

/* ------------ storefront door intro animation (homepage only) ------------ */
.storefront-door {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  overflow: hidden;
  pointer-events: none;
}
.storefront-door::after {
  /* dark vignette behind the doors so the welcome text reads cleanly */
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.55) 100%);
  z-index: 1;
  pointer-events: none;
  transition: opacity 0.5s var(--ease-standard);
}
.door-half {
  flex: 1;
  background-image: url("/assets/store/store-3.jpg");
  background-size: 200% 100%;
  background-position: 0 center;
  transform: translateX(0);
  transition: transform 1.6s cubic-bezier(0.86, 0, 0.07, 1);
  will-change: transform;
}
.door-half--left  { background-position: left center; }
.door-half--right { background-position: right center; }

.door-welcome {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  color: #FFFFFF;
  text-align: center;
  z-index: 2;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
  transition: opacity 0.45s var(--ease-standard), transform 0.6s var(--ease-standard);
  padding: var(--space-5);
}
.door-eyebrow {
  font-size: clamp(14px, 1.6vw, 18px);
  font-weight: var(--fw-medium);
  letter-spacing: var(--tracking-wide);
  color: var(--color-accent);
  text-transform: uppercase;
  opacity: 0;
  animation: door-fade-up 0.8s var(--ease-standard) 0.15s forwards;
}
.door-brand {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 64px);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-tight);
  color: #FFFFFF;
  opacity: 0;
  animation: door-fade-up 0.9s var(--ease-standard) 0.35s forwards;
}
.door-tag {
  font-size: clamp(13px, 1.4vw, 16px);
  color: rgba(255, 255, 255, 0.85);
  opacity: 0;
  animation: door-fade-up 0.8s var(--ease-standard) 0.6s forwards;
}
.door-hint {
  margin-top: var(--space-5);
  font-size: clamp(12px, 1.3vw, 14px);
  color: var(--color-accent);
  letter-spacing: var(--tracking-wide);
  opacity: 0;
  animation: door-hint-pulse 1.4s var(--ease-standard) 0.95s forwards;
}
@keyframes door-fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
@keyframes door-hint-pulse {
  0%   { opacity: 0; transform: translateY(6px); }
  60%  { opacity: 1; transform: none; }
  100% { opacity: 0.55; transform: none; }
}

/* reveal layer: full-screen inside-shop photo (store-1) behind the doors */
.door-reveal {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("/assets/store/store-1.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.6s var(--ease-standard);
  pointer-events: none;
}

/* opening: doors slide outward + welcome fades + inside-shop photo fades in full-screen */
.storefront-door.is-opening .door-half--left  { transform: translateX(-100%); }
.storefront-door.is-opening .door-half--right { transform: translateX(100%); }
.storefront-door.is-opening .door-welcome     { opacity: 0; }
.storefront-door.is-opening::after            { opacity: 0; }
.storefront-door.is-opening .door-reveal      { opacity: 1; }

/* fade-out: the full-screen inside-shop photo fades straight out (NO scaling) to reveal the hero */
.storefront-door.is-zooming .door-reveal {
  animation: door-fade-out 0.9s var(--ease-standard) forwards;
}
@keyframes door-fade-out {
  from { opacity: 1; }
  to   { opacity: 0; }
}

.storefront-door.is-gone { display: none; }

/* respect reduced motion: skip the intro entirely */
@media (prefers-reduced-motion: reduce) {
  .storefront-door { display: none; }
}

/* ------------ hero (store-photo variant with overlay text) ------------ */
.hero--store {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-top: var(--space-9);
  padding-bottom: var(--space-9);
  background-color: #0A1310;
  min-height: 560px;
}
.hero--store .hero-carousel { z-index: 0; }
.hero--store .hero-slide {
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.4s var(--ease-standard);
}
.hero--store .hero-slide.is-active {
  opacity: 1;
  animation: kenburns 18s ease-in-out forwards;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(110deg, rgba(10, 14, 22, 0.85) 0%, rgba(10, 14, 22, 0.55) 50%, rgba(10, 14, 22, 0.35) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.45) 100%);
  pointer-events: none;
}
.hero--store .hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}
.hero--store .hero-dots { z-index: 3; }

/* ------------ hero (banner-only variant, image carries the text) ------------ */
.hero--banner {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  width: 100%;
  aspect-ratio: 12 / 5;
  background-color: #0A1310;
  min-height: 320px;
  max-height: 760px;
}
.hero--banner .hero-carousel { z-index: 0; }
.hero-content-banner {
  position: absolute;
  inset: auto 0 var(--space-7) 0;
  z-index: 2;
  display: flex;
  justify-content: center;
}
.hero-actions--floating {
  background: rgba(15, 20, 25, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: var(--space-3);
  border-radius: var(--radius-lg);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* legacy hero (kept for back-compat in case other pages reference it; .hero--banner above is the new default) */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: var(--space-9);
  padding-bottom: var(--space-9);
  isolation: isolate;
  background-color: #0A1310;
}
.hero-carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero--banner .hero-slide {
  background-size: cover;
  background-position: center;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.4s var(--ease-standard);
  transform-origin: 60% 55%;
}
.hero-slide.is-active {
  opacity: 1;
  animation: kenburns 18s ease-in-out forwards;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(110deg, rgba(10, 19, 16, 0.96) 0%, rgba(10, 19, 16, 0.82) 45%, rgba(10, 42, 34, 0.55) 100%),
    radial-gradient(ellipse 60% 70% at 30% 50%, rgba(0, 0, 0, 0.35) 0%, transparent 70%);
}
@keyframes kenburns {
  0%   { transform: scale(1.0); }
  100% { transform: scale(1.12); }
}
.hero-dots {
  position: absolute;
  bottom: var(--space-3);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--space-2);
  z-index: 3;
}
.hero-dot {
  width: 36px;
  height: 4px;
  border: 0;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  padding: 0;
  transition: background var(--motion-fast) var(--ease-standard),
              transform var(--motion-fast) var(--ease-standard);
}
.hero-dot:hover { background: rgba(255, 255, 255, 0.5); }
.hero-dot.is-active {
  background: var(--color-accent);
  transform: scaleY(1.5);
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide.is-active { animation: none; }
}
.hero-decor {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.hero-grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.35;
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}
.hero-glow-1 {
  width: 520px;
  height: 520px;
  top: -160px;
  right: -160px;
  background: radial-gradient(circle, rgba(181, 138, 46, 0.5) 0%, transparent 70%);
}
.hero-glow-2 {
  width: 360px;
  height: 360px;
  bottom: -120px;
  left: -80px;
  background: radial-gradient(circle, rgba(15, 76, 58, 0.6) 0%, transparent 70%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}
.hero-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: var(--space-5);
}
.hero-chip {
  display: inline-flex;
  align-items: center;
  padding: var(--space-2) var(--space-4);
  background: rgba(0, 0, 0, 0.55);
  color: var(--color-accent);
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  border-radius: var(--radius-sm);
  letter-spacing: var(--tracking-wide);
  border: 1px solid rgba(185, 144, 56, 0.35);
}
.hero-chip-row .hero-chip { margin-bottom: 0; }
.hero-chip--brand {
  background: var(--color-brand);
  color: var(--color-brand-fg);
  border-color: var(--color-brand);
}
.hero h1 {
  font-size: var(--fs-display);
  line-height: var(--lh-tight);
  color: var(--color-text-on-dark);
  margin-bottom: var(--space-5);
  font-weight: var(--fw-bold);
}
.hero-tagline-stack {
  position: relative;
  margin-bottom: var(--space-7);
  min-height: 4.5em;
}
.hero-tagline {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.6s var(--ease-standard), transform 0.6s var(--ease-standard);
  pointer-events: none;
}
.hero-tagline.is-active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.hero-tagline-main {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: var(--fw-semibold);
  color: var(--color-accent);
  letter-spacing: var(--tracking-tight);
}
.hero-tagline-sub {
  color: var(--color-text-muted-on-dark);
  font-size: var(--fs-body);
  line-height: var(--lh-relaxed);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}
.hero-meta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-text-muted-on-dark);
  font-size: var(--fs-small);
}
.hero-meta .dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--color-success);
  box-shadow: 0 0 0 4px rgba(22, 121, 79, 0.2);
  animation: pulse-dot 2s var(--ease-standard) infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 4px rgba(22, 121, 79, 0.18); }
  50%      { box-shadow: 0 0 0 8px rgba(22, 121, 79, 0.06); }
}

/* ------------ services ------------ */
.services { padding: var(--section-py) 0; background: var(--color-bg); }
.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  align-items: start;
}
.service-card {
  background: linear-gradient(135deg,
              var(--color-bg-elevated) 0%,
              var(--color-brand-soft) 55%,
              var(--color-bg-elevated) 100%);
  background-size: 220% 220%;
  background-position: 0% 0%;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--motion-normal) var(--ease-standard),
              box-shadow var(--motion-normal) var(--ease-standard),
              border-color var(--motion-normal) var(--ease-standard),
              background-position 0.7s var(--ease-standard);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-3);
  border-color: var(--color-brand);
  background-position: 100% 100%;
}
.service-card {
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  color: var(--color-text);
  text-decoration: none;
  position: relative;
}
.service-card:hover { color: var(--color-text); }
.service-card h3 { font-size: var(--fs-h3); color: var(--color-text-strong); }
.service-card p {
  color: var(--color-text-muted);
  line-height: var(--lh-normal);
}
.service-more {
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  color: var(--color-brand);
  margin-top: var(--space-2);
  transition: transform var(--motion-fast) var(--ease-standard);
  display: inline-block;
}
.service-card:hover .service-more {
  transform: translateX(4px);
}
.service-card .service-tag {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  padding: var(--space-1) var(--space-3);
  background: var(--color-brand);
  color: var(--color-brand-fg);
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  border-radius: var(--radius-full);
  margin: 0;
}
.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--color-brand-soft);
  color: var(--color-brand);
  transition: background var(--motion-fast) var(--ease-standard),
              color var(--motion-fast) var(--ease-standard),
              transform var(--motion-normal) var(--ease-standard);
}
.service-icon svg { width: 28px; height: 28px; }
.service-card:hover .service-icon {
  background: var(--color-brand);
  color: var(--color-brand-fg);
  transform: scale(1.08) rotate(-5deg);
}
.service-card--feature {
  border-color: var(--color-brand);
  border-width: 2px;
  background: linear-gradient(135deg,
              var(--color-brand-soft) 0%,
              var(--color-bg-elevated) 50%,
              var(--color-brand-soft) 100%);
  background-size: 220% 220%;
  background-position: 0% 0%;
}
.service-card--feature .service-icon {
  background: var(--color-brand);
  color: var(--color-brand-fg);
}

/* ------------ about ------------ */
.about {
  padding: var(--section-py) 0;
  background: var(--color-bg-soft);
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-7);
  align-items: center;
}
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}
.about-feature {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-5) var(--space-4);
  display: grid;
  gap: var(--space-2);
  transition: transform var(--motion-fast) var(--ease-standard),
              box-shadow var(--motion-fast) var(--ease-standard),
              border-color var(--motion-fast) var(--ease-standard);
}
.about-feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
  border-color: var(--color-accent);
}
.about-feature-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--color-brand-soft);
  color: var(--color-brand);
  margin-bottom: var(--space-1);
}
.about-feature-num {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 36px);
  font-weight: var(--fw-bold);
  color: var(--color-brand);
  letter-spacing: var(--tracking-tight);
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}
.about-feature-unit {
  font-size: 0.55em;
  font-weight: var(--fw-semibold);
  color: var(--color-accent);
}
.about-feature-label {
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  color: var(--color-text-strong);
}
.about-feature-desc {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  line-height: var(--lh-relaxed);
}

/* legacy stats panel — kept hidden; replaced by .about-features */
.about-stat,
.about-stat-row,
.about-stat-num,
.about-stat-label,
.about-stat-unit { display: none; }
.about-text h2 {
  font-size: var(--fs-h2);
  line-height: var(--lh-snug);
  margin-bottom: var(--space-5);
}
.about-text p {
  color: var(--color-text-muted);
  font-size: var(--fs-body-lg);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-4);
}
.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin-top: var(--space-6);
  padding: var(--space-6);
  background: var(--color-bg-elevated);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}
.trust-grid > div { display: grid; gap: var(--space-1); }
.trust-grid dt {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  font-weight: var(--fw-medium);
}
.trust-grid dd {
  margin: 0;
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  color: var(--color-text-strong);
}

[data-placeholder] {
  display: inline-block;
  padding: 2px 8px;
  background: var(--color-accent-soft);
  color: var(--color-accent);
  border-radius: var(--radius-sm);
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
}
.trust-note {
  display: inline-block;
  color: var(--color-text-strong);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-body);
}

/* ------------ Google reviews wall ------------ */
.reviews {
  padding: var(--section-py) 0;
  background: var(--color-bg-soft);
}
.reviews-summary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-4);
  padding: var(--space-3) var(--space-5);
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
}
.reviews-score {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: var(--fw-bold);
  color: var(--color-text-strong);
}
.reviews-stars { color: #FBBC05; letter-spacing: 2px; font-size: var(--fs-body-lg); }
.reviews-count { color: var(--color-text-muted); font-size: var(--fs-small); }

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
.review-card {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  box-shadow: var(--shadow-1);
  transition: transform var(--motion-fast) var(--ease-standard),
              box-shadow var(--motion-fast) var(--ease-standard);
}
.review-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
}
.review-head {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: var(--fw-semibold);
  font-size: var(--fs-body-lg);
  flex-shrink: 0;
  object-fit: cover;
  background: var(--color-bg-soft);
}
.review-meta { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.review-name {
  font-weight: var(--fw-semibold);
  color: var(--color-text-strong);
  font-size: var(--fs-body);
}
.review-date { font-size: var(--fs-small); color: var(--color-text-faint); }
.review-g { flex-shrink: 0; display: inline-flex; }
.review-stars { color: #FBBC05; letter-spacing: 1px; font-size: var(--fs-body); }
.review-text {
  color: var(--color-text-muted);
  line-height: var(--lh-relaxed);
  font-size: var(--fs-body);
}
.reviews-cta {
  text-align: center;
  margin-top: var(--space-7);
}
.reviews-note {
  margin-top: var(--space-3);
  font-size: var(--fs-small);
  color: var(--color-text-faint);
}

@media (min-width: 768px) {
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .reviews-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ------------ subpages (terms / service) ------------ */
.subpage {
  background: var(--color-bg);
  min-height: 50vh;
}
.breadcrumb {
  background: var(--color-bg-soft);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-3) 0;
  font-size: var(--fs-small);
}
.breadcrumb a {
  color: var(--color-text-muted);
  font-weight: var(--fw-medium);
}
.breadcrumb a:hover { color: var(--color-brand); }
.breadcrumb span:not([aria-hidden]) {
  color: var(--color-text-strong);
  font-weight: var(--fw-semibold);
}
.breadcrumb span[aria-hidden] {
  margin: 0 var(--space-2);
  color: var(--color-text-faint);
}

.subpage-hero {
  padding: var(--space-8) 0;
  background: linear-gradient(180deg, var(--color-bg-soft) 0%, var(--color-bg) 100%);
  border-bottom: 1px solid var(--color-border);
}
.subpage-hero .eyebrow { color: var(--color-brand); }
.subpage-hero h1 {
  font-size: var(--fs-h1);
  margin-bottom: var(--space-4);
  color: var(--color-text-strong);
}
.subpage-lede {
  color: var(--color-text-muted);
  font-size: var(--fs-body-lg);
  line-height: var(--lh-relaxed);
  max-width: 720px;
}

.terms-page { padding: var(--space-8) 0; }
.terms-block {
  max-width: 820px;
  margin: 0 auto var(--space-8);
}
.terms-block h2 {
  font-size: var(--fs-h2);
  margin-bottom: var(--space-5);
  color: var(--color-text-strong);
  padding-bottom: var(--space-3);
  border-bottom: 2px solid var(--color-accent);
}
.terms-block p {
  color: var(--color-text-muted);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-4);
  font-size: var(--fs-body);
}
.terms-dl {
  display: grid;
  gap: var(--space-4);
}
.terms-dl > div {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2);
  padding: var(--space-4);
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}
.terms-dl dt {
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  color: var(--color-brand);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}
.terms-dl dd {
  margin: 0;
  color: var(--color-text);
  line-height: var(--lh-relaxed);
}
.terms-block--example {
  background: var(--color-bg-soft);
  padding: var(--space-7) var(--space-6);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}
.terms-example {
  background: var(--color-bg-elevated);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  border: 1px solid var(--color-border);
  margin-bottom: var(--space-4);
}
.terms-example dl { display: grid; gap: var(--space-3); }
.terms-example > dl > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: var(--space-2);
  border-bottom: 1px dashed var(--color-border);
  gap: var(--space-4);
}
.terms-example > dl > div:last-child { border-bottom: 0; }
.terms-example dt { color: var(--color-text-muted); font-size: var(--fs-body); }
.terms-example dd {
  margin: 0;
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  color: var(--color-text-strong);
  font-size: var(--fs-body-lg);
}
.terms-example dd strong {
  color: var(--color-brand);
  font-size: 1.15em;
}
.terms-note {
  background: var(--color-accent-soft);
  border-left: 3px solid var(--color-accent);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-sm);
  font-size: var(--fs-small);
  color: var(--color-text-strong);
  line-height: var(--lh-relaxed);
}
.terms-block--cta {
  text-align: center;
  background: linear-gradient(135deg, var(--color-brand-soft) 0%, var(--color-accent-soft) 100%);
  padding: var(--space-7) var(--space-5);
  border-radius: var(--radius-lg);
}
.terms-block--cta h2 { border-bottom: 0; padding-bottom: 0; }
.terms-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
  margin-top: var(--space-4);
}

@media (min-width: 768px) {
  .terms-dl > div { grid-template-columns: 200px 1fr; align-items: baseline; }
}

/* ------------ service subpage ------------ */
.service-tagline {
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 22px);
  color: var(--color-brand);
  font-style: italic;
  margin-bottom: var(--space-4);
  font-weight: var(--fw-medium);
}
.subpage-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-5);
}
.service-section {
  padding: var(--space-8) 0;
}
.service-section--soft {
  background: var(--color-bg-soft);
}
.service-section h2 {
  font-size: var(--fs-h2);
  text-align: center;
  margin-bottom: var(--space-7);
  color: var(--color-text-strong);
}
.service-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  max-width: 1000px;
  margin: 0 auto;
}
.service-feature {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  border-left: 3px solid var(--color-brand);
}
.service-feature h3 {
  font-size: var(--fs-body-lg);
  margin-bottom: var(--space-2);
  color: var(--color-text-strong);
}
.service-feature p {
  color: var(--color-text-muted);
  font-size: var(--fs-body);
  line-height: var(--lh-relaxed);
}
.service-docs {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  gap: var(--space-3);
}
.service-docs li {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  color: var(--color-text);
  font-size: var(--fs-body);
  position: relative;
  padding-left: var(--space-7);
}
.service-docs li::before {
  content: "✓";
  position: absolute;
  left: var(--space-4);
  color: var(--color-brand);
  font-weight: var(--fw-bold);
}
.service-docs-note {
  max-width: 720px;
  margin: var(--space-5) auto 0;
  text-align: center;
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  line-height: var(--lh-relaxed);
}
.service-flow {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  max-width: 1000px;
  margin: 0 auto;
  counter-reset: flow-counter;
  list-style: none;
  padding: 0;
}
.flow-step {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-5);
  text-align: center;
  position: relative;
}
.flow-step-num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: var(--fw-bold);
  color: var(--color-brand);
  background: var(--color-brand-soft);
  width: 64px;
  height: 64px;
  line-height: 64px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-3);
}
.flow-step-title {
  font-size: var(--fs-h3);
  margin-bottom: var(--space-2);
  color: var(--color-text-strong);
}
.flow-step-desc {
  color: var(--color-text-muted);
  font-size: var(--fs-body);
  line-height: var(--lh-relaxed);
}
.service-cta {
  padding: var(--space-9) 0;
  background: linear-gradient(135deg, var(--color-bg-dark) 0%, #2A2C44 100%);
  color: var(--color-text-on-dark);
  text-align: center;
}
.service-cta h2 {
  font-size: var(--fs-h2);
  color: var(--color-text-on-dark);
  margin-bottom: var(--space-3);
}
.service-cta p {
  color: var(--color-text-muted-on-dark);
  font-size: var(--fs-body-lg);
  max-width: 720px;
  margin: 0 auto var(--space-5);
  line-height: var(--lh-relaxed);
}
.service-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
}

/* eligibility list (service-page) */
.elig-list {
  max-width: 880px;
  margin: 0 auto;
  display: grid;
  gap: var(--space-2);
}
.elig-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-1);
  padding: var(--space-4) var(--space-5);
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color var(--motion-fast) var(--ease-standard);
}
.elig-row:hover { border-color: var(--color-brand); }
.elig-row dt {
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  color: var(--color-brand);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}
.elig-row dd {
  margin: 0;
  font-size: var(--fs-body);
  color: var(--color-text);
  line-height: var(--lh-relaxed);
}
@media (min-width: 768px) {
  .elig-row { grid-template-columns: 180px 1fr; align-items: baseline; }
}

/* service notes list (important caveats) */
.service-notes {
  max-width: 880px;
  margin: 0 auto;
  display: grid;
  gap: var(--space-3);
}
.service-notes li {
  position: relative;
  padding: var(--space-3) var(--space-4) var(--space-3) var(--space-7);
  background: var(--color-bg-elevated);
  border-left: 3px solid var(--color-accent);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-size: var(--fs-body);
  line-height: var(--lh-relaxed);
}
.service-notes li::before {
  content: "!";
  position: absolute;
  left: var(--space-4);
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  background: var(--color-accent);
  color: #fff;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--fw-bold);
  font-size: var(--fs-small);
}

@media (min-width: 768px) {
  .service-features { grid-template-columns: repeat(2, 1fr); }
  .service-flow { grid-template-columns: repeat(4, 1fr); }
}

/* ------------ blog list ------------ */
.blog-list { padding: var(--space-8) 0; }
.post-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  max-width: 1000px;
  margin: 0 auto;
}
.post-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-decoration: none;
  color: var(--color-text);
  transition: transform var(--motion-fast) var(--ease-standard),
              box-shadow var(--motion-fast) var(--ease-standard),
              border-color var(--motion-fast) var(--ease-standard);
}
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
  border-color: var(--color-brand);
  color: var(--color-text);
}
.post-cat {
  align-self: flex-start;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  color: #fff;
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
}
.post-title {
  font-size: var(--fs-h3);
  line-height: var(--lh-snug);
  color: var(--color-text-strong);
}
.post-excerpt {
  color: var(--color-text-muted);
  line-height: var(--lh-relaxed);
  font-size: var(--fs-body);
}
.post-meta {
  font-size: var(--fs-small);
  color: var(--color-text-faint);
  font-weight: var(--fw-medium);
}
.blog-more-note {
  text-align: center;
  margin-top: var(--space-7);
  color: var(--color-text-muted);
  font-size: var(--fs-small);
}

/* ------------ blog article ------------ */
.article-hero {
  padding: var(--space-8) 0 var(--space-6);
  background: linear-gradient(180deg, var(--color-bg-soft) 0%, var(--color-bg) 100%);
  border-bottom: 1px solid var(--color-border);
}
.article-cat {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  color: #fff;
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-4);
}
.article-hero h1 {
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: var(--lh-snug);
  color: var(--color-text-strong);
  max-width: 820px;
}
.article-meta {
  margin-top: var(--space-3);
  color: var(--color-text-faint);
  font-size: var(--fs-small);
}
.article-body {
  max-width: 760px;
  padding-top: var(--space-7);
  padding-bottom: var(--space-8);
}
.article-lede {
  font-size: var(--fs-body-lg);
  line-height: var(--lh-relaxed);
  color: var(--color-text);
  font-weight: var(--fw-medium);
  padding: var(--space-5);
  background: var(--color-brand-soft);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-6);
}
.article-body h2 {
  font-size: var(--fs-h3);
  color: var(--color-text-strong);
  margin: var(--space-7) 0 var(--space-3);
  padding-bottom: var(--space-2);
  border-bottom: 2px solid var(--color-accent);
}
.article-body p {
  color: var(--color-text);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-4);
  font-size: var(--fs-body);
}
.article-body ul {
  display: grid;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
  padding-left: var(--space-2);
}
.article-body li {
  position: relative;
  padding-left: var(--space-5);
  color: var(--color-text);
  line-height: var(--lh-relaxed);
}
.article-body li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--color-brand);
  font-weight: var(--fw-bold);
}
.article-note {
  background: linear-gradient(135deg, var(--color-brand-soft) 0%, var(--color-accent-soft) 100%);
  border-left: 4px solid var(--color-brand);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  margin: var(--space-6) 0;
  color: var(--color-text-strong);
  line-height: var(--lh-relaxed);
}
.article-cta {
  margin-top: var(--space-7);
  padding: var(--space-6);
  background: var(--color-bg-dark);
  border-radius: var(--radius-lg);
  text-align: center;
  color: var(--color-text-on-dark);
}
.article-cta p { color: var(--color-text-on-dark); font-size: var(--fs-body-lg); margin-bottom: var(--space-4); }
.article-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
}
.article-disclaimer {
  margin-top: var(--space-6);
  font-size: var(--fs-small);
  color: var(--color-text-faint);
  line-height: var(--lh-relaxed);
}

@media (min-width: 768px) {
  .post-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ------------ terms / 借款須知 (homepage section) ------------ */
.terms { padding: var(--section-py) 0; background: var(--color-bg); }
.terms-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
  margin-bottom: var(--space-7);
}
.terms-item {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  display: grid;
  gap: var(--space-2);
}
.terms-key {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  font-weight: var(--fw-semibold);
}
.terms-val {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: var(--fw-bold);
  color: var(--color-text-strong);
  letter-spacing: var(--tracking-tight);
}
.terms-note {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  line-height: var(--lh-relaxed);
}
.terms-cta {
  padding: var(--space-6);
  background: var(--color-brand-soft);
  border-radius: var(--radius-lg);
  display: grid;
  gap: var(--space-5);
}
.terms-cta p {
  color: var(--color-text-strong);
  line-height: var(--lh-relaxed);
  font-size: var(--fs-body);
  margin: 0;
}
.terms-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

/* ------------ faq ------------ */
.faq { padding: var(--section-py) 0; background: var(--color-bg-soft); }
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: var(--space-3);
}
.faq-list details {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color var(--motion-fast) var(--ease-standard),
              box-shadow var(--motion-fast) var(--ease-standard);
}
.faq-list details[open] {
  border-color: var(--color-border-strong);
  box-shadow: var(--shadow-1);
}
.faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: var(--space-4) var(--space-5);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-body-lg);
  color: var(--color-text-strong);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  font-size: 24px;
  font-weight: var(--fw-regular);
  color: var(--color-text-muted);
  transition: transform var(--motion-fast) var(--ease-standard);
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-body {
  padding: 0 var(--space-5) var(--space-5);
  color: var(--color-text-muted);
  line-height: var(--lh-relaxed);
}

/* ------------ contact ------------ */
.contact { padding: var(--section-py) 0; background: var(--color-bg); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-7);
}
.contact-text h2 {
  font-size: var(--fs-h2);
  line-height: var(--lh-snug);
  margin-bottom: var(--space-5);
}
.contact-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}
.contact-list > div {
  display: grid;
  gap: var(--space-1);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--color-border);
}
.contact-list dt {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  font-weight: var(--fw-medium);
}
.contact-list dd {
  margin: 0;
  font-size: var(--fs-body-lg);
  font-weight: var(--fw-semibold);
  color: var(--color-text-strong);
}
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.contact-map {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-bg-soft);
  display: flex;
  flex-direction: column;
}
.contact-map iframe {
  display: block;
  width: 100%;
  flex: 1;
  min-height: 320px;
  border: 0;
}
.contact-map-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4);
  background: var(--color-brand);
  color: var(--color-brand-fg);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-body);
  min-height: 56px;
  text-decoration: none;
}
.contact-map-cta:hover {
  background: var(--color-brand-hover);
  color: var(--color-brand-fg);
}

/* ------------ footer ------------ */
.site-footer {
  background: var(--color-bg-dark);
  color: var(--color-text-on-dark);
  padding: var(--space-9) 0 var(--space-5);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-7);
  padding-bottom: var(--space-7);
  border-bottom: 1px solid var(--color-border-on-dark);
}
.footer-col h4 {
  font-size: var(--fs-body-lg);
  color: var(--color-text-on-dark);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-4);
  letter-spacing: var(--tracking-tight);
}
.footer-brand-col img { height: 40px; width: auto; margin-bottom: var(--space-4); }
.footer-addr {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  color: var(--color-text-muted-on-dark);
  font-size: var(--fs-small);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-2);
}
.footer-addr a {
  color: var(--color-text-on-dark);
  font-weight: var(--fw-medium);
}
.footer-addr a:hover { color: var(--color-accent); }
.footer-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--color-accent);
  margin-top: 1px;
}
.footer-socials {
  display: flex;
  gap: var(--space-2);
  margin-top: var(--space-4);
}
.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-text-on-dark);
  transition: background var(--motion-fast) var(--ease-standard),
              color var(--motion-fast) var(--ease-standard),
              transform var(--motion-fast) var(--ease-standard);
}
.footer-socials a:hover {
  background: var(--color-accent);
  color: var(--color-bg-dark);
  transform: translateY(-2px);
}

.footer-list {
  display: grid;
  gap: var(--space-3);
}
.footer-list a {
  color: var(--color-text-muted-on-dark);
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  position: relative;
  padding-left: var(--space-3);
}
.footer-list a::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--color-accent);
}
.footer-list a:hover { color: var(--color-text-on-dark); }

.footer-terms { display: grid; gap: var(--space-3); margin: 0; }
.footer-terms > div {
  display: grid;
  gap: var(--space-1);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--color-border-on-dark);
}
.footer-terms > div:last-child { border-bottom: 0; padding-bottom: 0; }
.footer-terms dt {
  font-size: var(--fs-small);
  color: var(--color-accent);
  font-weight: var(--fw-semibold);
}
.footer-terms dd {
  margin: 0;
  font-size: var(--fs-small);
  color: var(--color-text-muted-on-dark);
  line-height: var(--lh-relaxed);
}
.footer-terms-note {
  margin-top: var(--space-3);
  font-size: var(--fs-small);
  color: var(--color-text-faint);
  line-height: var(--lh-relaxed);
}
.footer-terms-note a {
  color: var(--color-accent);
  font-weight: var(--fw-semibold);
  white-space: nowrap;
}

.footer-persona-line {
  margin: 0 0 var(--space-5);
  font-size: 14px;
  color: var(--color-text-muted-on-dark);
  letter-spacing: 0.04em;
  line-height: var(--lh-relaxed);
}
.footer-persona-line strong {
  color: var(--color-brand);
  font-weight: var(--fw-semibold);
}

.footer-meta {
  padding-top: var(--space-6);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  column-gap: 22px;
  row-gap: 6px;
  font-size: 12px;
  color: var(--color-text-faint);
  letter-spacing: 0.03em;
}
.footer-meta p {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.footer-meta-license { opacity: 0.75; }
.footer-meta-copyright { color: var(--color-text-muted-on-dark); }
.footer-meta-copyright a {
  color: var(--color-text-on-dark);
  font-weight: var(--fw-semibold);
}
.footer-meta-copyright a:hover { color: var(--color-accent); }
.footer-meta-dot {
  display: inline-block;
  color: var(--color-text-faint);
  opacity: 0.5;
}
.footer-credit { opacity: 0.8; }
.footer-credit a {
  color: var(--color-accent);
  font-weight: var(--fw-semibold);
}
.footer-credit a:hover { color: var(--color-text-on-dark); }
/* visual divider between groups when on same row */
.footer-meta-copyright::before,
.footer-credit::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 11px;
  background: currentColor;
  opacity: 0.25;
  margin-right: 16px;
}
@media (max-width: 640px) {
  .footer-meta-copyright::before,
  .footer-credit::before { display: none; }
  .footer-meta p { white-space: normal; }
}

/* ------------ floating LINE CTA (desktop right-bottom) ------------ */
.floating-cta {
  position: fixed;
  bottom: var(--space-5);
  right: var(--space-5);
  z-index: 40;
  display: none;  /* shown ≥ 768px via breakpoint */
}
.floating-cta-btn {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  background: #06C755;
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(6, 199, 85, 0.40), 0 4px 8px rgba(0, 0, 0, 0.12);
  transition: transform var(--motion-fast) var(--ease-standard),
              box-shadow var(--motion-fast) var(--ease-standard);
  cursor: pointer;
}
.floating-cta-btn:hover {
  transform: translateY(-3px);
  color: #FFFFFF;
  box-shadow: 0 14px 36px rgba(6, 199, 85, 0.55), 0 6px 12px rgba(0, 0, 0, 0.15);
}
.floating-cta-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-full);
  background: #06C755;
  opacity: 0.55;
  animation: fab-pulse 2.4s var(--ease-standard) infinite;
  pointer-events: none;
  z-index: -1;
}
@keyframes fab-pulse {
  0%   { transform: scale(1);   opacity: 0.55; }
  100% { transform: scale(1.55); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .floating-cta-btn::before { animation: none; opacity: 0; }
}

.floating-cta-bubble {
  position: absolute;
  bottom: 76px;
  right: 0;
  width: 280px;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.18);
  transform-origin: bottom right;
  animation: bubble-in 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.floating-cta-bubble[hidden] { display: none; }
.floating-cta-bubble::after {
  content: "";
  position: absolute;
  bottom: -8px;
  right: 22px;
  width: 0; height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-top: 9px solid var(--color-bg-elevated);
  filter: drop-shadow(0 1px 0 var(--color-border));
}
@keyframes bubble-in {
  from { opacity: 0; transform: scale(0.7) translateY(8px); }
  to   { opacity: 1; transform: none; }
}
.floating-cta-bubble.is-leaving {
  animation: bubble-out 0.3s var(--ease-standard) forwards;
}
@keyframes bubble-out {
  to { opacity: 0; transform: scale(0.9) translateY(8px); }
}
.floating-cta-bubble-close {
  position: absolute;
  top: var(--space-2);
  right: var(--space-2);
  background: transparent;
  border: 0;
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.floating-cta-bubble-close:hover {
  background: var(--color-bg-soft);
  color: var(--color-text);
}
.floating-cta-bubble-title {
  font-weight: var(--fw-semibold);
  color: var(--color-text-strong);
  font-size: var(--fs-body);
  margin: 0 0 var(--space-1);
  padding-right: var(--space-5);
}
.floating-cta-bubble-desc {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  line-height: var(--lh-relaxed);
  margin: 0 0 var(--space-3);
}
.floating-cta-bubble-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  color: #06C755;
  font-weight: var(--fw-semibold);
  font-size: var(--fs-body);
}
.floating-cta-bubble-link:hover { color: #05a847; }

/* ------------ mobile sticky CTA bar ------------ */
.mobile-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--color-border-strong);
  border-top: 1px solid var(--color-border-strong);
  z-index: 30;
  box-shadow: 0 -4px 20px rgba(15, 20, 25, 0.08);
}
.mobile-cta-bar a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  height: var(--mobile-cta-h);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-body);
  color: var(--color-text-strong);
  background: var(--color-bg-elevated);
}
.mobile-cta-bar a:first-child {
  background: var(--color-brand);
  color: var(--color-brand-fg);
}
.mobile-cta-bar a:first-child:hover { background: var(--color-brand-hover); color: var(--color-brand-fg); }

/* page content sits above sticky bar */
body { padding-bottom: var(--mobile-cta-h); }

/* ============== breakpoints ============== */

@media (min-width: 768px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .about-inner {
    grid-template-columns: 5fr 7fr;
    gap: var(--space-8);
  }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .testimonial-grid { grid-template-columns: repeat(3, 1fr); }
  .terms-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-inner { grid-template-columns: 5fr 7fr; gap: var(--space-8); }
  .contact-list { grid-template-columns: 1fr 1fr; gap: var(--space-5); }
  .contact-map iframe { min-height: 480px; }
  .footer-inner { grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: var(--space-7); }
}

@media (min-width: 1024px) {
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .terms-grid { grid-template-columns: repeat(3, 1fr); }
  .site-nav { display: block; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .mobile-cta-bar { display: none; }
  body { padding-bottom: 0; }
  .hero { padding-top: var(--space-10); padding-bottom: var(--space-10); }
  .floating-cta { display: block; }
}
