/* ====================================================
   EXECUTIVE REVISION v3 — Mobile-First Stylesheet
   คุณอำนาจ บุตรเนียร — Financial Advisor
   Base: 375px → 768px → 1024px+
   ==================================================== */

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

/* ====================================================
   DESIGN TOKENS
   ==================================================== */
:root {
  --blue: #1a56aa;
  --blue-light: #2e7de9;
  --blue-pale: #e8f0fb;
  --blue-glass: rgba(26, 86, 170, 0.08);
  --navy: #0d1b3e;
  --navy-mid: #1c2e5a;
  --gold: #c8a84b;
  --green-line: #06c755;
  --white: #ffffff;
  --gray-50: #f8f9fb;
  --gray-100: #f0f2f5;
  --gray-200: #e2e6ed;
  --gray-400: #9aa5b4;
  --text: #0d1b3e;
  --text-body: #3a4557;
  --text-muted: #6b7a91;

  --font: 'Sarabun', sans-serif;
  --font-en: 'Inter', sans-serif;

  /* Premium easing (Apple/Google spec) */
  --ease: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-fast: cubic-bezier(0.4, 0, 0.2, 1);
  --dur: 0.38s;
  --dur-fast: 0.18s;
  --dur-slow: 0.55s;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-full: 999px;

  --shadow-sm: 0 2px 8px rgba(13, 27, 62, 0.07);
  --shadow-md: 0 8px 32px rgba(13, 27, 62, 0.13);
  --shadow-lg: 0 24px 64px rgba(13, 27, 62, 0.18);
  --shadow-blue: 0 8px 32px rgba(26, 86, 170, 0.28);

  /* Bar height — cleared by body padding-bottom */
  --bar-h: 68px;

  /* White space — +20% vs v2 */
  --section-py: 72px;
}

/* ====================================================
   RESET & BASE
   ==================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.75;
  overflow-x: hidden;
  padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom, 0px));
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  font-family: var(--font);
}

/* ====================================================
   UTILITIES
   ==================================================== */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 22px;
}

.section-py {
  padding: var(--section-py) 0;
}

.text-center {
  text-align: center;
}

.label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-pale);
  border-radius: var(--radius-full);
  padding: 5px 15px;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.55rem, 5vw, 2.5rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.28;
  margin-bottom: 10px;
}

.section-sub {
  font-size: 0.96rem;
  color: var(--text-muted);
  line-height: 1.82;
  max-width: 500px;
  margin: 0 auto;
}

/* ====================================================
   GLOBAL TAP FEEDBACK (48px touch targets + shadow)
   APPLE HIG STANDARD: min 48×48px
   ==================================================== */
button,
.btn,
.tappable,
.bottom-bar-btn,
.svc-card,
.art-card,
.faq-trigger,
.trust-chip,
.qc-chip,
.cookie-btn,
.read-more-btn {
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

/* Tap: scale + shadow melt */
.btn:active,
.bottom-bar-btn:active,
.qc-chip:active,
.cookie-btn:active,
.faq-trigger:active,
.svc-card:active,
.art-card:active {
  transform: scale(0.95) !important;
  box-shadow: 0 2px 8px rgba(13, 27, 62, 0.08) !important;
  transition: transform 80ms var(--ease-fast), box-shadow 80ms var(--ease-fast) !important;
}

/* ====================================================
   CTA BUTTONS
   ==================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  min-width: 48px;
  padding: 0 30px;
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur-fast);
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
  background: var(--blue-light);
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(26, 86, 170, 0.35);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.10);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.8);
}

.btn-gold {
  background: linear-gradient(135deg, #c8a84b, #e6c76a);
  color: var(--navy);
  box-shadow: 0 8px 24px rgba(200, 168, 75, 0.28);
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(200, 168, 75, 0.4);
}

.btn-ghost {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
  min-height: 50px;
  padding: 0 26px;
}

.btn-ghost:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
}

/* ====================================================
   SCROLL REVEAL
   ==================================================== */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.d1 {
  transition-delay: 0.07s;
}

.d2 {
  transition-delay: 0.14s;
}

.d3 {
  transition-delay: 0.21s;
}

.d4 {
  transition-delay: 0.28s;
}

/* ====================================================
   STICKY HEADER — Glassmorphism + Shrink on Scroll
   ==================================================== */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  padding: 18px 0;
  background: transparent;
  transition: background 0.4s var(--ease),
    box-shadow 0.4s var(--ease),
    padding 0.35s var(--ease),
    backdrop-filter 0.4s;
}

/* GLASSMORPHISM state — triggered by JS .scrolled class */
#site-header.scrolled {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06), 0 4px 24px rgba(13, 27, 62, 0.08);
  padding: 10px 0;
  /* Shrink */
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* Logo — shrinks with header */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  transition: transform var(--dur) var(--ease);
}

#site-header.scrolled .logo {
  transform: scale(0.92);
  transform-origin: left center;
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 800;
  font-family: var(--font-en);
  flex-shrink: 0;
  transition: all var(--dur) var(--ease);
}

.logo-name {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--white);
  transition: color var(--dur-fast);
  line-height: 1.2;
}

.logo-sub {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.68);
  transition: color var(--dur-fast);
}

#site-header.scrolled .logo-name {
  color: var(--navy);
}

#site-header.scrolled .logo-sub {
  color: var(--text-muted);
}

/* Desktop nav */
.nav-links {
  display: none;
  gap: 2px;
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  transition: all var(--dur-fast);
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
}

#site-header.scrolled .nav-links a {
  color: var(--text-body);
}

#site-header.scrolled .nav-links a:hover {
  color: var(--blue);
  background: var(--blue-pale);
}

.header-cta-desktop {
  display: none;
}

/* Hamburger — 48px touch target */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  min-width: 48px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  transition: background var(--dur-fast);
}

.hamburger:hover {
  background: rgba(255, 255, 255, 0.1);
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--dur-fast);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

#site-header.scrolled .hamburger span {
  background: var(--navy);
}

/* ====================================================
   FULL-SCREEN MOBILE NAV — Staggered Reveal
   ==================================================== */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 950;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  /* Start hidden */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
}

.mobile-nav.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-nav-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--white);
  font-size: 1.4rem;
  cursor: pointer;
  min-width: 48px;
  min-height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--dur-fast);
}

.mobile-nav-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Nav links area */
.mobile-nav-links {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 32px 32px;
  gap: 4px;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  min-height: 64px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  /* Staggered entrance animation */
  opacity: 0;
  transform: translateY(22px);
  transition: color var(--dur-fast), opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

/* Each link animates in with delay (set via JS or nth-child) */
.mobile-nav.open .mobile-nav-link:nth-child(1) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.04s;
}

.mobile-nav.open .mobile-nav-link:nth-child(2) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.09s;
}

.mobile-nav.open .mobile-nav-link:nth-child(3) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.14s;
}

.mobile-nav.open .mobile-nav-link:nth-child(4) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.19s;
}

.mobile-nav.open .mobile-nav-link:nth-child(5) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.24s;
}

.mobile-nav.open .mobile-nav-link:nth-child(6) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.29s;
}

.mobile-nav-link:last-child {
  border-bottom: none;
}

.mobile-nav-link:hover {
  color: var(--gold);
}

.mobile-nav-link:active {
  color: var(--gold);
  transform: scale(0.97) !important;
}

.nav-arrow {
  font-size: 1rem;
  opacity: 0.4;
  transition: transform var(--dur-fast), opacity var(--dur-fast);
}

.mobile-nav-link:hover .nav-arrow {
  opacity: 1;
  transform: translateX(6px);
}

/* Nav footer — contact info inside menu */
.mobile-nav-footer {
  padding: 24px 32px calc(32px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.03);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  transition-delay: 0.32s;
}

.mobile-nav.open .mobile-nav-footer {
  opacity: 1;
  transform: translateY(0);
}

.nav-footer-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
  margin-bottom: 14px;
}

.nav-quick-contacts {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.nav-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: transform 80ms, box-shadow 80ms;
}

.nav-contact-btn:active {
  transform: scale(0.95);
}

.nav-phone-btn {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-line-btn {
  background: var(--green-line);
  color: var(--white);
}

.nav-cta-menu {
  width: 100%;
  justify-content: center;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  color: var(--white);
  box-shadow: var(--shadow-blue);
}

/* ====================================================
   STICKY BOTTOM BAR
   ==================================================== */
#bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  height: var(--bar-h);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-top: 1px solid var(--gray-200);
  box-shadow: 0 -4px 24px rgba(13, 27, 62, 0.09);
}

.bottom-bar-inner {
  display: flex;
  height: 100%;
  align-items: stretch;
}

.bottom-bar-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  min-height: var(--bar-h);
  border-right: 1px solid var(--gray-200);
  transition: color var(--dur-fast), background var(--dur-fast);
  text-decoration: none;
}

.bottom-bar-btn:last-child {
  border-right: none;
}

.bottom-bar-btn .bar-icon {
  font-size: 1.25rem;
  line-height: 1;
}

.bottom-bar-btn:hover {
  color: var(--blue);
  background: var(--blue-pale);
}

.bar-line {
  background: var(--green-line);
  color: var(--white) !important;
}

.bar-primary {
  background: var(--blue);
  color: var(--white) !important;
}

.bar-line:hover {
  background: #05a540;
}

.bar-primary:hover {
  background: var(--blue-light);
}

/* ====================================================
   COOKIE CONSENT (PDPA)
   ==================================================== */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  background: rgba(13, 27, 62, 0.97);
  backdrop-filter: blur(16px);
  padding: 16px 0 calc(16px + env(safe-area-inset-bottom, 0px));
  transform: translateY(110%);
  transition: transform 0.4s var(--ease);
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}

#cookie-banner.show {
  transform: translateY(0);
}

.cookie-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  min-width: 200px;
}

.cookie-text a {
  color: #6db3f2;
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 0 18px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  min-height: 48px;
  display: flex;
  align-items: center;
}

.cookie-accept {
  background: var(--blue);
  color: var(--white);
}

.cookie-decline {
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

/* ====================================================
   SECTION 1: HERO — Full-Bleed Portrait + Gradient Overlay + Parallax
   ==================================================== */
#hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 76px;
}

/* Full-bleed portrait background — JS adds translateY for parallax */
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('advisor_portrait.png') center top / cover no-repeat;
  z-index: 0;
  will-change: transform;
  /* 60fps compositing */
  transform-origin: center top;
}

/* Multi-layer gradient overlay:
   Left: heavy navy for text legibility
   Right: lighter to show portrait
   Bottom: vignette */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right,
      rgba(13, 27, 62, 0.93) 0%,
      rgba(13, 27, 62, 0.78) 38%,
      rgba(26, 86, 170, 0.50) 65%,
      rgba(13, 27, 62, 0.22) 100%),
    linear-gradient(to top,
      rgba(13, 27, 62, 0.75) 0%,
      transparent 40%);
  background-blend-mode: normal;
}

/* BLA blue accent strip at very left edge */
.hero-bg::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, var(--blue-light), var(--blue), transparent);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-inner {
  max-width: 540px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: var(--radius-full);
  padding: 8px 17px;
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
}

.hero-dot {
  width: 7px;
  height: 7px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2.2s ease-in-out infinite;
  box-shadow: 0 0 8px rgba(200, 168, 75, 0.6);
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1)
  }

  50% {
    opacity: .5;
    transform: scale(1.6)
  }
}

.hero-h1 {
  font-size: clamp(1.85rem, 6.5vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.22;
  margin-bottom: 16px;
  letter-spacing: -0.4px;
  text-shadow: 0 2px 16px rgba(13, 27, 62, 0.4);
}

.hero-h1 em {
  color: var(--gold);
  font-style: normal;
}

.hero-sub {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.80);
  line-height: 1.88;
  margin-bottom: 32px;
  max-width: 440px;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
}

.hero-ctas .btn {
  width: 100%;
}

.hero-stats {
  display: flex;
  gap: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-stat-num {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--white);
  font-family: var(--font-en);
  line-height: 1;
  text-shadow: 0 2px 8px rgba(13, 27, 62, 0.3);
}

.hero-stat-lbl {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.62);
  margin-top: 4px;
}

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bob 2.5s ease-in-out infinite;
}

.scroll-cue::after {
  content: '';
  display: block;
  width: 1px;
  height: 38px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.3), transparent);
}

@keyframes bob {

  0%,
  100% {
    transform: translateX(-50%) translateY(0)
  }

  50% {
    transform: translateX(-50%) translateY(-7px)
  }
}

/* ====================================================
   SECTION 2: TRUST STRIP — Snap to Center + Peek
   ==================================================== */
#trust {
  background: var(--white);
  padding: 28px 0;
  border-bottom: 1px solid var(--gray-200);
}

.trust-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 22px;
  -webkit-overflow-scrolling: touch;
  padding: 6px 22px 10px;
  scrollbar-width: none;
}

.trust-scroll::-webkit-scrollbar {
  display: none;
}

.trust-chip {
  scroll-snap-align: center;
  /* SNAP TO CENTER */
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-full);
  padding: 11px 20px;
  white-space: nowrap;
  cursor: default;
  transition: background var(--dur-fast), border-color var(--dur-fast), transform 80ms;
}

.trust-chip:hover {
  background: var(--blue-pale);
  border-color: rgba(26, 86, 170, 0.2);
}

.trust-chip-icon {
  font-size: 1.2rem;
  line-height: 1;
}

.trust-chip-text {
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--navy);
}

.trust-chip-sub {
  font-size: 0.70rem;
  color: var(--text-muted);
  margin-top: 1px;
}

/* ====================================================
   SECTION 3: SERVICES CAROUSEL
   Snap to start, 80vw card, peek ~15%
   Staggered entrance from right via JS
   ==================================================== */
#services {
  background: var(--gray-50);
  padding: var(--section-py) 0;
}

.services-head {
  padding: 0 22px;
  margin-bottom: 24px;
}

.carousel-wrap {
  position: relative;
}

.carousel-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 8px 22px 20px;
  scroll-padding-left: 22px;
  scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

/* ---- Service Cards ---- */
.svc-card {
  scroll-snap-align: start;
  flex-shrink: 0;
  width: calc(82vw);
  max-width: 340px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  /* Entrance animation — JS triggers .card-visible */
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.48s var(--ease), transform 0.48s var(--ease),
    box-shadow var(--dur) var(--ease);
}

.svc-card.card-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger delays */
.svc-card:nth-child(1).card-visible {
  transition-delay: 0.00s;
}

.svc-card:nth-child(2).card-visible {
  transition-delay: 0.07s;
}

.svc-card:nth-child(3).card-visible {
  transition-delay: 0.14s;
}

.svc-card:nth-child(4).card-visible {
  transition-delay: 0.21s;
}

.svc-card:nth-child(5).card-visible {
  transition-delay: 0.28s;
}

.svc-card:hover {
  box-shadow: var(--shadow-md);
}

.svc-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-sm);
  background: var(--blue-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  margin-bottom: 18px;
  transition: background var(--dur-fast);
}

.svc-card:hover .svc-icon {
  background: var(--blue);
}

.svc-title {
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 9px;
}

.svc-desc {
  font-size: 0.89rem;
  color: var(--text-muted);
  line-height: 1.78;
  flex: 1;
}

.svc-cta {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--blue);
  min-height: 44px;
  transition: gap var(--dur-fast);
}

.svc-card:hover .svc-cta {
  gap: 10px;
}

/* Carousel dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 6px;
  padding: 0 22px;
}

.cdot {
  width: 6px;
  height: 6px;
  border-radius: 3px;
  background: var(--gray-200);
  cursor: pointer;
  transition: all var(--dur) var(--ease);
}

.cdot.active {
  width: 22px;
  background: var(--blue);
}

/* ====================================================
   SECTION 4: KNOWLEDGE CAROUSEL
   ==================================================== */
#knowledge {
  background: var(--white);
  padding: var(--section-py) 0;
}

.knowledge-head {
  padding: 0 22px;
  margin-bottom: 24px;
}

.knowledge-cta {
  padding: 0 22px;
  margin-top: 22px;
}

.art-card {
  scroll-snap-align: start;
  flex-shrink: 0;
  width: calc(78vw);
  max-width: 300px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.48s var(--ease), transform 0.48s var(--ease),
    box-shadow var(--dur) var(--ease);
}

.art-card.card-visible {
  opacity: 1;
  transform: translateX(0);
}

.art-card:nth-child(1).card-visible {
  transition-delay: 0.00s;
}

.art-card:nth-child(2).card-visible {
  transition-delay: 0.09s;
}

.art-card:nth-child(3).card-visible {
  transition-delay: 0.18s;
}

.art-card:hover {
  box-shadow: var(--shadow-md);
}

.art-img {
  position: relative;
  height: 172px;
  overflow: hidden;
}

.art-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.art-card:hover .art-img img {
  transform: scale(1.06);
}

.art-cat {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.67rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--white);
  background: var(--blue);
  padding: 4px 11px;
  border-radius: var(--radius-full);
}

.art-body {
  padding: 18px 18px 20px;
}

.art-title {
  font-size: 0.91rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.5;
  margin-bottom: 10px;
}

.art-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--gray-400);
}

.art-read {
  color: var(--blue);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 3px;
}

/* ====================================================
   SECTION 5: ABOUT & VISION
   ==================================================== */
#about {
  background: var(--gray-50);
  padding: var(--section-py) 0;
}

.about-img-wrap {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 28px;
  box-shadow: var(--shadow-md);
}

.about-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.about-quote {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 16px;
}

.about-quote em {
  color: var(--blue);
  font-style: normal;
}

.about-body {
  font-size: 0.96rem;
  color: var(--text-body);
  line-height: 1.88;
}

.read-more-wrap {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.55s var(--ease);
}

.read-more-wrap.open {
  max-height: 700px;
}

.read-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--blue);
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px 0;
  margin-top: 10px;
  min-height: 48px;
}

.read-more-btn .arrow {
  transition: transform var(--dur) var(--ease);
  display: inline-block;
}

.read-more-btn.open .arrow {
  transform: rotate(180deg);
}

.about-trust {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 22px;
}

.abt-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 18px;
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.abt-icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--blue-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.abt-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue);
}

.abt-val {
  font-size: 0.88rem;
  color: var(--text-body);
  margin-top: 1px;
}

/* ====================================================
   SECTION 6: FAQ ACCORDION
   ==================================================== */
#faq {
  background: var(--white);
  padding: var(--section-py) 0;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 28px;
}

.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--white);
  transition: box-shadow var(--dur-fast), border-color var(--dur-fast);
}

.faq-item.open {
  box-shadow: var(--shadow-sm);
  border-color: rgba(26, 86, 170, 0.22);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  min-height: 64px;
  /* 48px+ */
  transition: background var(--dur-fast);
}

.faq-trigger:hover {
  background: var(--gray-50);
}

.faq-item.open .faq-trigger {
  background: var(--blue-pale);
}

.faq-q {
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.45;
}

.faq-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--blue);
  flex-shrink: 0;
  transition: transform var(--dur) var(--ease), background var(--dur-fast), color var(--dur-fast);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--blue);
  color: var(--white);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.48s var(--ease), padding 0.32s var(--ease);
}

.faq-item.open .faq-body {
  max-height: 400px;
  padding: 0 20px 20px;
}

.faq-a {
  font-size: 0.91rem;
  color: var(--text-body);
  line-height: 1.82;
}

/* ====================================================
   JOIN TEAM
   ==================================================== */
#join-team {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: var(--section-py) 0;
  position: relative;
  overflow: hidden;
}

#join-team::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 360px;
  height: 360px;
  background: rgba(26, 86, 170, 0.18);
  border-radius: 50%;
}

.join-content {
  position: relative;
  z-index: 1;
}

.join-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(200, 168, 75, 0.14);
  border: 1px solid rgba(200, 168, 75, 0.3);
  border-radius: var(--radius-full);
  padding: 6px 15px;
  margin-bottom: 18px;
}

.join-title {
  font-size: clamp(1.55rem, 5vw, 2.3rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 15px;
}

.join-body {
  font-size: 0.96rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.88;
  margin-bottom: 26px;
}

.join-perks {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 30px;
}

.join-perk {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.84);
}

.join-perk-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(26, 86, 170, 0.38);
  border: 1px solid rgba(26, 86, 170, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  color: #6db3f2;
  flex-shrink: 0;
}

.income-preview {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius-md);
  padding: 26px;
}

.income-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.income-row:last-of-type {
  border-bottom: none;
}

.income-tier-name {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.62);
}

.income-tier-val {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--gold);
  font-family: var(--font-en);
}

/* ====================================================
   SECTION 7: CONTACT FORM
   ==================================================== */
#contact {
  background: var(--gray-50);
  padding: var(--section-py) 0;
}

.contact-head {
  margin-bottom: 30px;
}

.quick-contact {
  display: flex;
  gap: 10px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}

.qc-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all var(--dur-fast);
}

.qc-phone {
  background: var(--navy);
  color: var(--white);
}

.qc-line {
  background: var(--green-line);
  color: var(--white);
}

.qc-phone:hover {
  background: var(--navy-mid);
}

.qc-line:hover {
  background: #05a540;
}

.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px 22px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}

.form-card-title {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 22px;
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--text-body);
  margin-bottom: 7px;
}

.form-label span {
  color: #e53935;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 1rem;
  color: var(--text);
  background: var(--gray-50);
  outline: none;
  appearance: none;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast), background var(--dur-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26, 86, 170, 0.12);
  background: var(--white);
}

.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: #e53935;
  box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.10);
}

.form-err {
  font-size: 0.76rem;
  color: #e53935;
  margin-top: 5px;
  display: none;
}

.form-err.show {
  display: block;
}

.form-textarea {
  min-height: 106px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-submit {
  width: 100%;
  min-height: 58px;
  border: none;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  color: var(--white);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: var(--shadow-blue);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(26, 86, 170, .36);
}

.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.form-pdpa {
  font-size: 0.74rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 11px;
}

.form-success {
  display: none;
  text-align: center;
  padding: 28px 0;
}

.form-success.show {
  display: block;
}

.form-success-icon {
  font-size: 2.6rem;
  margin-bottom: 12px;
}

.form-success-title {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 7px;
}

.form-success-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ====================================================
   FOOTER
   ==================================================== */
footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.62);
  padding: 48px 0 28px;
}

.footer-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.footer-name {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--white);
}

.footer-sub {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.48);
  margin-top: 2px;
}

.footer-about {
  font-size: 0.86rem;
  line-height: 1.82;
  color: rgba(255, 255, 255, 0.48);
  margin-bottom: 28px;
  max-width: 360px;
}

.footer-links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

.footer-links-row a {
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.48);
  transition: color var(--dur-fast);
}

.footer-links-row a:hover {
  color: var(--white);
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  margin-bottom: 22px;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.28);
}

.footer-bla-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-full);
  padding: 5px 14px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.48);
  width: fit-content;
}

.bla-dot {
  width: 7px;
  height: 7px;
  background: var(--blue-light);
  border-radius: 50%;
}

/* ====================================================
   RESPONSIVE — 768px+ (Tablet)
   ==================================================== */
@media (min-width: 768px) {
  :root {
    --bar-h: 0px;
  }

  #bottom-bar {
    display: none;
  }

  body {
    padding-bottom: 0;
  }

  .hero-ctas {
    flex-direction: row;
  }

  .hero-ctas .btn {
    width: auto;
  }

  .svc-card {
    width: 300px;
    max-width: 300px;
  }

  .art-card {
    width: 280px;
    max-width: 280px;
  }

  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

/* ====================================================
   RESPONSIVE — 1024px+ (Desktop)
   ==================================================== */
@media (min-width: 1024px) {
  .hamburger {
    display: none;
  }

  .nav-links {
    display: flex;
  }

  .header-cta-desktop {
    display: flex;
  }

  #site-header {
    padding: 20px 0;
  }

  #site-header.scrolled {
    padding: 10px 0;
  }

  .hero-bg::before {
    background:
      linear-gradient(to right,
        rgba(13, 27, 62, 0.90) 0%,
        rgba(13, 27, 62, 0.72) 35%,
        rgba(26, 86, 170, 0.42) 58%,
        rgba(13, 27, 62, 0.15) 100%),
      linear-gradient(to top, rgba(13, 27, 62, 0.60) 0%, transparent 35%);
  }

  #about .about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
  }

  #about .about-img-wrap {
    margin-bottom: 0;
    aspect-ratio: 4/5;
  }

  #join-team .join-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
  }

  .carousel-track {
    padding: 8px 40px 20px;
    scroll-padding-left: 40px;
  }

  .trust-scroll {
    padding: 6px 40px 10px;
  }

  .services-head {
    padding: 0 40px;
  }

  .knowledge-head {
    padding: 0 40px;
  }

  .knowledge-cta {
    padding: 0 40px;
  }

  .container {
    padding: 0 40px;
  }

  .form-card {
    padding: 44px;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .hero-h1 {
    font-size: 3.2rem;
  }

  .hero-stats {
    gap: 44px;
  }
}