/* ==============================================
   main.css — เรืองชัยพริ้นติ้ง
   Palette: Warm Paper #F7F3EE · Ink #1C1917 · Accent #D4501A (terracotta)
   Mobile-first · Editorial · Clean
   ============================================== */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@300;400;500;600;700&family=Sarabun:wght@300;400;500&display=swap');

/* ── Tokens ── */
:root {
  --bg:       #F7F3EE;
  --bg2:      #EFE9E1;
  --surface:  #FFFFFF;
  --ink:      #1C1917;
  --ink2:     #44403C;
  --muted:    #78716C;
  --accent:   #D4501A;
  --accent2:  #B8430F;
  --lime:     #5A7A1A;
  --stroke:   #E0D8CF;
  --stroke2:  #D0C8BE;

  --f-body:   'Noto Sans Thai', 'Sarabun', sans-serif;
  --f-head:   'Noto Sans Thai', sans-serif;

  --r:        12px;
  --r-sm:     8px;
  --gap:      12px;

  color-scheme: light;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-body);
  background: var(--bg);
  color: var(--ink);
  min-height: 100dvh;
  /* subtle paper texture */
  background-image:
    radial-gradient(circle at 20% 10%, rgba(212,80,26,.04) 0%, transparent 50%),
    radial-gradient(circle at 80% 90%, rgba(90,122,26,.03) 0%, transparent 50%);
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ── Layout ── */
.page-wrap {
  width: min(480px, 100%);
  margin: 0 auto;
  padding: 0 0 100px; /* เผื่อ floating CTA */
}

/* ── HEADER — full width ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  width: 100%;
  background: rgba(247,243,238,.72);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid rgba(224,216,207,.60);
  box-shadow: 0 2px 24px rgba(28,25,23,.08), 0 1px 4px rgba(28,25,23,.05);
}
.header-inner {
  width: min(480px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
}

/* ── NAV MENU (drawer) ── */
.nav-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(28,25,23,.35);
  backdrop-filter: blur(2px);
  z-index: 190;
  opacity: 0;
  transition: opacity .22s ease;
}
.nav-overlay.open { display: block; opacity: 1; }

.nav-drawer {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: 72vw; max-width: 280px;
  background: rgba(247,243,238,.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-right: 1px solid rgba(224,216,207,.70);
  box-shadow: 4px 0 32px rgba(28,25,23,.12);
  z-index: 210;
  transform: translateX(-100%);
  transition: transform .26s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column;
  padding: 0 0 32px;
  overflow-y: auto;
}
.nav-drawer.open { transform: translateX(0); }

.nav-drawer-head {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--stroke);
}
.nav-drawer-logo {
  width: 36px; height: 36px; border-radius: 0;
  overflow: hidden; flex: 0 0 auto;
  border: 1px solid var(--stroke2);
}
.nav-drawer-logo img { width: 100%; height: 100%; object-fit: cover; }
.nav-drawer-name {
  font-size: 14px; font-weight: 600; color: var(--ink);
  line-height: 1.2;
}
.nav-drawer-sub {
  font-size: 11px; color: var(--muted); margin-top: 1px;
}
.nav-close {
  margin-left: auto; flex: 0 0 auto;
  width: 32px; height: 32px;
  display: grid; place-items: center;
  background: var(--bg2); border: 1px solid var(--stroke);
  border-radius: 6px; cursor: pointer; color: var(--ink2);
  font-size: 16px; line-height: 1;
}

.nav-list {
  list-style: none; padding: 10px 0; flex: 1;
}
.nav-item a {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 18px;
  font-size: 15px; font-weight: 500; color: var(--ink);
  transition: background .1s;
}
.nav-item a:active { background: var(--bg2); }
.nav-item a.active { color: var(--accent); font-weight: 600; }
.nav-item .nav-icon {
  width: 34px; height: 34px; border-radius: 8px;
  display: grid; place-items: center;
  background: var(--bg2); border: 1px solid var(--stroke);
  flex: 0 0 auto; font-size: 16px;
}
.nav-divider {
  height: 1px; background: var(--stroke);
  margin: 6px 18px;
}
.nav-cta-wrap { padding: 12px 18px 0; }
.nav-cta {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--accent); color: #fff;
  font-size: 14px; font-weight: 600;
  padding: 13px; border-radius: var(--r);
  transition: background .15s;
}
.nav-cta:active { background: var(--accent2); }

/* hamburger button */
.nav-toggle {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: none; border: 1px solid var(--stroke);
  border-radius: 8px; cursor: pointer; flex: 0 0 auto;
  color: var(--ink2);
}
/* header-inner defined above in layout section */
.logo-wrap {
  width: 52px; height: 52px;
  border-radius: 0;
  overflow: hidden;
  flex: 0 0 auto;
  border: none;
}
.logo-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.logo-fallback {
  width: 44px; height: 44px;
  border-radius: 0;
  background: var(--accent);
  display: grid; place-items: center;
  font-family: var(--f-head);
  font-weight: 800;
  font-size: 18px;
  color: #fff;
  flex: 0 0 auto;
}
.header-text h1 {
  font-family: var(--f-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}
.header-text p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 1px;
  line-height: 1.4;
}
.header-cta {
  margin-left: auto;
  flex: 0 0 auto;
  background: var(--accent);
  color: #fff;
  font-family: var(--f-body);
  font-size: 12px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--r-sm);
  white-space: nowrap;
  transition: background .15s;
}
.header-cta:active { background: var(--accent2); }

/* ── STATUS PILLS ── */
.status-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 8px 16px;
  overflow-x: auto;
  scrollbar-width: none;
  background: var(--bg);
  border-bottom: 1px solid var(--stroke);
}
.status-bar::-webkit-scrollbar { display: none; }
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
  border: 1px solid var(--stroke2);
  background: var(--surface);
  color: var(--ink2);
}
.status-pill .dot {
  width: 6px; height: 6px;
  border-radius: 999px;
}
.dot-green  { background: #22C55E; }
.dot-orange { background: var(--accent); }
.dot-blue   { background: #3B82F6; }

/* ── MAIN CONTENT ── */
.page-body {
  padding: 16px 16px 0;
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}

/* ── HERO CARD ── */
.hero-card {
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--r);
  padding: 18px 16px;
}
.hero-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.hero-title {
  font-family: var(--f-head);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink);
  letter-spacing: -.01em;
}
.hero-title mark {
  background: none;
  color: var(--accent);
}
.hero-body {
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink2);
}

/* ── SECTION HEADER ── */
.sec-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 10px;
}
.sec-title {
  font-family: var(--f-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}
.sec-link {
  font-size: 12px;
  color: var(--accent);
  font-weight: 500;
}

/* ── SERVICE CARDS ── */
.svc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.svc-card {
  position: relative;
  display: block;
  border-radius: var(--r);
  overflow: hidden;
  aspect-ratio: 4/3;
  border: 1px solid var(--stroke);
  background: var(--bg2);
  -webkit-tap-highlight-color: transparent;
}
.svc-card img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}
.svc-card:active img { transform: scale(1.04); }
.svc-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(28,25,23,.82) 0%,
    rgba(28,25,23,.30) 55%,
    transparent 100%);
}
.svc-card-body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 10px;
}
.svc-cat {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  margin-bottom: 2px;
}
.svc-name {
  font-family: var(--f-head);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
}
.svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  margin-top: 5px;
}
.svc-tag {
  font-size: 9px;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(255,255,255,.18);
  color: rgba(255,255,255,.85);
  backdrop-filter: blur(4px);
}
/* ── CONTACT SECTION ── */
.contact-section {
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--r);
  overflow: hidden;
}
.contact-section .sec-head { padding: 14px 14px 0; }

.btn-row {
  display: flex;
  flex-direction: column;
}
.cta-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-bottom: 1px solid var(--stroke);
  transition: background .1s;
  -webkit-tap-highlight-color: transparent;
  position: relative;
}
.cta-btn:last-child { border-bottom: none; }
.cta-btn:active { background: var(--bg2); }

.cta-btn.primary {
  background: var(--accent);
  border-bottom-color: var(--accent2);
}
.cta-btn.primary .cta-icon { background: rgba(255,255,255,.2); color: #fff; }
.cta-btn.primary .cta-title { color: #fff; }
.cta-btn.primary .cta-sub { color: rgba(255,255,255,.75); }
.cta-btn.primary .cta-chev { color: rgba(255,255,255,.6); }
.cta-btn.primary:active { background: var(--accent2); }

.cta-icon {
  width: 40px; height: 40px;
  border-radius: var(--r-sm);
  background: var(--bg2);
  border: 1px solid var(--stroke);
  display: grid; place-items: center;
  flex: 0 0 auto;
  color: var(--ink2);
}
.cta-icon.green { background: #F0FDF4; border-color: #BBF7D0; color: #16A34A; }
.cta-icon.blue  { background: #EFF6FF; border-color: #BFDBFE; color: #2563EB; }
.cta-icon.red   { background: #FFF7ED; border-color: #FED7AA; color: #EA580C; }
.cta-icon.star  { background: #FEFCE8; border-color: #FEF08A; color: #CA8A04; }

.cta-text { flex: 1; min-width: 0; }
.cta-title { font-size: 14px; font-weight: 600; color: var(--ink); }
.cta-sub   { font-size: 12px; color: var(--muted); margin-top: 1px; }
.cta-chev  { color: var(--stroke2); font-size: 20px; flex: 0 0 auto; }

/* ── LINE / QR SECTION ── */
.line-section {
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--r);
  padding: 14px;
}
.qr-row {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 10px;
}
.qr-box {
  width: 90px; height: 90px;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--stroke2);
  overflow: hidden;
  background: #fff;
  flex: 0 0 auto;
  padding: 6px;
}
.qr-box img { width: 100%; height: 100%; object-fit: contain; }
.qr-info { flex: 1; }
.qr-info p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 8px;
}
.qr-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #06C755;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 14px;
  border-radius: var(--r-sm);
  -webkit-tap-highlight-color: transparent;
}
.qr-btn:active { background: #05a847; }

/* 2-col mini buttons */
.mini-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 8px;
}
.mini-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 8px;
  border-radius: var(--r-sm);
  background: var(--bg2);
  border: 1px solid var(--stroke);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink2);
  -webkit-tap-highlight-color: transparent;
}
.mini-btn svg { color: var(--ink2); }
.mini-btn:active { background: var(--stroke); }

/* ── FOOTER ── */
.site-footer {
  padding: 20px 16px 24px;
  border-top: 1px solid var(--stroke);
  margin-top: 16px;
}
.footer-info h3 {
  font-family: var(--f-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}
.footer-info address {
  font-style: normal;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 10px;
}
.footer-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}
.footer-tag {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg2);
  border: 1px solid var(--stroke2);
  color: var(--ink2);
  text-decoration: none;
}
.footer-tag:active { background: var(--stroke); }
.footer-copy {
  font-size: 11px;
  color: var(--muted);
  opacity: .7;
}

/* ── BREADCRUMB ── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
  padding: 10px 16px;
  border-bottom: 1px solid var(--stroke);
}
.breadcrumb a { color: var(--accent); }
.bc-sep { opacity: .5; }

/* ── SPARK ANIMATION ── */
.spark {
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 999px;
  pointer-events: none;
  z-index: 10;
  background: radial-gradient(circle, #fff, rgba(255,120,80,.9), transparent 70%);
  transform: translate(-50%,-50%) scale(.9);
  animation: sparkPop .5s ease-out forwards;
}
@keyframes sparkPop {
  0%   { opacity: 0; transform: translate(-50%,-50%) scale(.2); }
  20%  { opacity: 1; transform: translate(-50%,-50%) scale(1); }
  100% { opacity: 0; transform: translate(-50%,-50%) scale(2.2); }
}

/* ── OPEN HOURS PILL ── */
.hours-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  color: #15803D;
  font-size: 12px;
  font-weight: 500;
  margin-top: 8px;
}

/* ── UTIL ── */
.card-section {
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--r);
  padding: 14px;
}

/* ── SAFE AREA bottom ── */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .page-wrap { padding-bottom: calc(40px + env(safe-area-inset-bottom)); }
}

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* ═══════════════════════════════════════
   💎 MEMBER CARD — สะสมแต้ม
   Adapted: gold tones on Warm Paper bg
═══════════════════════════════════════ */
.member-card {
  position: relative;
  display: block;
  text-decoration: none;
  border-radius: var(--r);
  overflow: hidden;
  padding: 20px 16px;
  border: 1.5px solid rgba(212,160,30,.55);
  background:
    radial-gradient(130% 180% at 8% 15%, rgba(255,220,60,.55), transparent 50%),
    radial-gradient(110% 140% at 88% 80%, rgba(255,140,30,.40), transparent 52%),
    radial-gradient(80% 100% at 50% 50%, rgba(255,200,80,.20), transparent 65%),
    linear-gradient(155deg, #FFF8DC, #FFE999, #FFCF5C);
  box-shadow:
    0 4px 20px rgba(200,130,20,.22),
    0 1px 4px rgba(200,130,20,.15),
    inset 0 1px 0 rgba(255,255,255,.80);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  -webkit-tap-highlight-color: transparent;
}

/* glow pulse ring */
.member-card::before {
  content: "";
  position: absolute; inset: -2px;
  border-radius: calc(var(--r) + 2px);
  background: linear-gradient(135deg, #FFD700, #FF9500, #FFD700, #FF9500);
  background-size: 300% 300%;
  z-index: 0;
  opacity: 0;
  animation: memberGlowPulse 2.4s ease-in-out infinite;
}
@keyframes memberGlowPulse {
  0%, 100% { opacity: 0; background-position: 0% 50%; }
  50%       { opacity: .55; background-position: 100% 50%; }
}

/* shimmer sweep — สว่างกว่าเดิม */
.member-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(105deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,.0) 30%,
    rgba(255,255,255,.85) 50%,
    rgba(255,255,255,.0) 70%,
    rgba(255,255,255,0) 100%);
  background-size: 250% 100%;
  background-position: -150% 0;
  pointer-events: none; z-index: 3;
  animation: memberShimmer 2.6s ease-in-out infinite;
}
@keyframes memberShimmer {
  0%        { background-position: -150% 0; }
  100%      { background-position: 250% 0; }
}
.member-card > * { position: relative; z-index: 4; }

.member-card:hover {
  transform: translateY(-3px) scale(1.005);
  border-color: rgba(212,160,30,.85);
  box-shadow:
    0 8px 32px rgba(200,130,20,.32),
    0 2px 8px rgba(200,130,20,.20),
    inset 0 1px 0 rgba(255,255,255,.90);
}
.member-card:active { transform: scale(.985); }

.member-top {
  display: flex; align-items: center; gap: 12px;
  padding-right: 52px;
}
.member-icon {
  width: 44px; height: 44px; border-radius: 10px;
  display: grid; place-items: center; flex: 0 0 auto;
  background: linear-gradient(135deg, #FFD846, #FF9628);
  font-size: 22px; line-height: 1;
}
.member-info { flex: 1; min-width: 0; }
.member-label {
  font-size: 10px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: #8A5000; margin-bottom: 3px;
}
.member-title {
  font-size: 17px; font-weight: 700;
  line-height: 1.2; color: #5C3200;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.member-sub {
  font-size: 12px; color: #7A5010;
  margin-top: 3px; line-height: 1.5;
}
.member-chips {
  display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px;
}
.member-chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 10px; border-radius: 999px;
  border: 1px solid rgba(180,120,20,.25);
  background: rgba(255,200,50,.15);
  font-size: 11px; color: #7A4A05; font-weight: 500;
  white-space: nowrap;
}
.member-chip .cdot {
  width: 5px; height: 5px; border-radius: 999px; flex: 0 0 auto;
  background: #D4851A;
}
.member-arrow {
  display: flex; align-items: center; gap: 5px;
  margin-top: 12px; font-size: 13px; font-weight: 600;
  color: #B8710A;
}
.member-arrow svg {
  fill: #D4851A; width: 15px; height: 15px; flex: 0 0 auto;
  transition: transform .15s ease;
}
.member-card:hover .member-arrow svg { transform: translateX(3px); }

.member-badge {
  position: absolute; top: 12px; right: 12px;
  background: linear-gradient(135deg, #FFD846, #FF9628);
  color: rgba(80,40,0,.88); font-size: 10px; font-weight: 800;
  letter-spacing: .10em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 999px;
  z-index: 3; white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  .member-card::after { animation: none; }
  .member-card, .member-card:hover { transform: none; }
}

/* ── FLOATING CTA ── */
.float-cta {
  position: fixed;
  bottom: 20px; right: 16px;
  z-index: 180;
  display: flex; flex-direction: column; gap: 10px;
  align-items: flex-end;
}
@supports (bottom: env(safe-area-inset-bottom)) {
  .float-cta { bottom: calc(20px + env(safe-area-inset-bottom)); }
}
.float-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  border-radius: 999px;
  font-size: 14px; font-weight: 600;
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,.20);
  transition: transform .15s ease, box-shadow .15s ease;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}
.float-btn:active { transform: scale(.95); }
.float-btn.call  { background: var(--accent); }
.float-btn.line  {
  background: #06C755;
  box-shadow: 0 4px 16px rgba(6,199,85,.35);
}
.float-btn svg { flex: 0 0 auto; }

/* เมื่อ scroll ลงมาให้ label หาย เหลือแค่ icon */
.float-cta.compact .float-btn { padding: 13px; }
.float-cta.compact .float-label { display: none; }

/* ═══════════════════════════════════════
   ① SOCIAL PROOF BAR
═══════════════════════════════════════ */
.proof-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 10px 16px;
  background: var(--surface);
  border-bottom: 1px solid var(--stroke);
  overflow-x: auto;
  scrollbar-width: none;
}
.proof-bar::-webkit-scrollbar { display: none; }
.proof-item {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 14px;
  white-space: nowrap;
}
.proof-stars {
  color: #F59E0B;
  font-size: 12px;
  letter-spacing: 1px;
}
.proof-num {
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.proof-text {
  font-size: 12px;
  color: var(--ink2);
}
.proof-text strong { color: var(--ink); font-weight: 600; }
.proof-sep {
  width: 1px;
  height: 24px;
  background: var(--stroke2);
  flex: 0 0 auto;
}

/* ═══════════════════════════════════════
   ② TRUST BADGES ROW
═══════════════════════════════════════ */
.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 6px;
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--r);
  text-align: center;
}
.trust-icon {
  font-size: 22px;
  line-height: 1;
}
.trust-label {
  font-size: 10.5px;
  font-weight: 500;
  color: var(--ink2);
  line-height: 1.4;
}

/* ═══════════════════════════════════════
   ③ PORTFOLIO STRIP
═══════════════════════════════════════ */
.portfolio-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
}
.portfolio-strip::-webkit-scrollbar { display: none; }
.port-item {
  flex: 0 0 130px;
  scroll-snap-align: start;
  border-radius: var(--r-sm);
  overflow: hidden;
  border: 1px solid var(--stroke);
  background: var(--bg2);
  position: relative;
  -webkit-tap-highlight-color: transparent;
}
.port-item img {
  width: 130px;
  height: 100px;
  object-fit: cover;
  display: block;
  transition: transform .3s ease;
}
.port-item:active img { transform: scale(1.05); }
.port-label {
  padding: 6px 8px;
  font-size: 11px;
  font-weight: 500;
  color: var(--ink2);
  background: var(--surface);
  border-top: 1px solid var(--stroke);
}

/* ═══════════════════════════════════════
   ④ FAQ ACCORDION
═══════════════════════════════════════ */
.faq-section { padding-bottom: 6px; }
.faq-list { display: flex; flex-direction: column; }
.faq-item {
  border-bottom: 1px solid var(--stroke);
}
.faq-item:last-child { border-bottom: none; }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  text-align: left;
  -webkit-tap-highlight-color: transparent;
}
.faq-q:active { color: var(--accent); }

.faq-icon {
  flex: 0 0 auto;
  width: 20px; height: 20px;
  border-radius: 999px;
  background: var(--bg2);
  border: 1px solid var(--stroke2);
  display: grid; place-items: center;
  font-size: 13px;
  color: var(--muted);
  transition: transform .2s ease, background .2s ease;
}
.faq-icon::after { content: '+'; }
.faq-q[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.faq-a {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink2);
  padding-bottom: 14px;
  padding-right: 8px;
}
.faq-a a { color: var(--accent); text-decoration: underline; }

/* animate open */
.faq-a:not([hidden]) {
  animation: faqOpen .2s ease forwards;
}
@keyframes faqOpen {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .faq-a:not([hidden]) { animation: none; }
  .port-item:active img { transform: none; }
}

/* ── Hero rotating text ── */
.hero-title, .hero-body {
  transition: opacity .35s ease;
}

/* ── MEMBER CARD v2 — Indigo / Reflex Blue ── */
/* ══ MEMBER CARD v3 — Indigo Aurora (FAST) ══ */
.member-card {
  border: 1.5px solid rgba(99,102,241,.55) !important;
  background:
    linear-gradient(155deg, #0f0c29, #1e1b4b, #302b63, #24243e) !important;
  box-shadow:
    0 4px 24px rgba(79,70,229,.35),
    0 1px 4px rgba(79,70,229,.25),
    inset 0 1px 0 rgba(165,180,252,.20) !important;
  isolation: isolate;
}

/* glow pulse ring — fast 1.2s */
.member-card::before {
  background: linear-gradient(90deg,
    #4f46e5, #7c3aed, #2563eb, #4f46e5) !important;
  background-size: 400% 100% !important;
  animation: memberGlowPulse 1.2s linear infinite !important;
}
@keyframes memberGlowPulse {
  0%   { opacity: .6; background-position: 0% 50%; }
  50%  { opacity: .9; }
  100% { opacity: .6; background-position: 400% 50%; }
}

/* shimmer fast 1.4s */
.member-card::after {
  background: linear-gradient(105deg,
    transparent 0%,
    transparent 25%,
    rgba(148,163,252,.80) 48%,
    rgba(255,255,255,.30) 50%,
    rgba(148,163,252,.80) 52%,
    transparent 75%,
    transparent 100%) !important;
  background-size: 250% 100% !important;
  animation: memberShimmer 1.4s linear infinite !important;
}
@keyframes memberShimmer {
  0%   { background-position: -150% 0; }
  100% { background-position: 250% 0; }
}

/* aurora blob layer — fast 0.9s rotate */
.member-card .member-aurora {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  overflow: hidden; border-radius: inherit;
}
.member-card .member-aurora::before,
.member-card .member-aurora::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(32px);
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
/* blob 1 — blue-violet */
.member-card .member-aurora::before {
  width: 180%; height: 180%;
  top: -60%; left: -40%;
  background: conic-gradient(
    from 0deg,
    rgba(99,102,241,.55),
    rgba(139,92,246,.50),
    rgba(59,130,246,.45),
    rgba(79,70,229,.55),
    rgba(99,102,241,.55)
  );
  animation: auroraSpin1 0.9s linear infinite;
}
/* blob 2 — violet-cyan accent */
.member-card .member-aurora::after {
  width: 160%; height: 160%;
  bottom: -50%; right: -30%;
  background: conic-gradient(
    from 180deg,
    rgba(59,130,246,.40),
    rgba(139,92,246,.45),
    rgba(99,102,241,.40),
    rgba(16,185,129,.25),
    rgba(59,130,246,.40)
  );
  animation: auroraSpin2 1.1s linear infinite;
}
@keyframes auroraSpin1 {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes auroraSpin2 {
  from { transform: rotate(360deg); }
  to   { transform: rotate(0deg); }
}

/* text */
.member-label  { color: rgba(165,180,252,.90) !important; }
.member-title  { color: #e0e7ff !important; font-weight: 700 !important; }
.member-sub    { color: rgba(199,210,254,.75) !important; }
.member-chip {
  border-color: rgba(129,140,248,.35) !important;
  background: rgba(99,102,241,.22) !important;
  color: rgba(199,210,254,.92) !important;
  backdrop-filter: blur(4px);
}
.member-chip .cdot { background: #a5b4fc !important; }
.member-arrow  { color: rgba(165,180,252,.92) !important; }
.member-arrow svg { fill: #a5b4fc !important; }
.member-badge {
  background: linear-gradient(90deg, #6366f1, #4f46e5, #7c3aed) !important;
  background-size: 200% 100% !important;
  color: #fff !important;
  animation: badgeShift 2s linear infinite !important;
}
@keyframes badgeShift {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}
.member-icon {
  background: linear-gradient(135deg, #4f46e5, #7c3aed) !important;
  box-shadow: 0 0 16px rgba(99,102,241,.50) !important;
}
@media (prefers-reduced-motion: reduce) {
  .member-card::before,
  .member-card::after,
  .member-card .member-aurora::before,
  .member-card .member-aurora::after,
  .member-badge {
    animation: none !important;
  }
}

/* ── Footer copyright ── */
.footer-copy {
  font-size: 12px;
  color: var(--ink2);
  font-weight: 600;
  text-align: center;
  margin: 16px 0 0;
  opacity: .85;
}
