/* ============================================================
   Pruksa Money — Design System (Fintech Minimal)
   Navy #15205A + Gold #BF9B30 on white, font Sarabun
   ============================================================ */
:root {
  --navy: #15205a;
  --navy-700: #1d2b73;
  --navy-600: #2a3a90;
  --navy-50: #eef1fb;
  --gold: #bf9b30;
  --gold-600: #a9851f;
  --gold-50: #faf4e3;
  --ink: #1a2233;
  --muted: #5a6377;
  --line: #e7eaf3;
  --bg: #ffffff;
  --bg-alt: #f6f7fb;
  --white: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px -12px rgba(21, 32, 90, 0.18);
  --shadow-sm: 0 4px 14px -6px rgba(21, 32, 90, 0.16);
  --container: 1160px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Sarabun', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--navy-600); }
h1, h2, h3, h4 { line-height: 1.25; font-weight: 700; color: var(--navy); letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.2rem; }
p { color: var(--muted); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 820px; }
.ico { width: 22px; height: 22px; flex: none; }
.ico.sm { width: 16px; height: 16px; }
.text-gold { color: var(--gold); }
.muted { color: var(--muted); }
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff;
  padding: 10px 16px; z-index: 200; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ── Eyebrow / section heads ── */
.eyebrow {
  display: inline-block; font-weight: 700; font-size: 0.82rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gold-600);
  padding-bottom: 6px; position: relative; margin-bottom: 6px;
}
.eyebrow::after { content: ''; position: absolute; left: 0; bottom: 0; width: 34px; height: 2px; background: var(--gold); }
.eyebrow.light { color: #e9cf7e; }
.eyebrow.light::after { background: var(--gold); }
.section-head { max-width: 680px; margin: 0 auto 44px; text-align: center; }
.section-head .eyebrow::after { left: 50%; transform: translateX(-50%); }
.section-sub { margin-top: 10px; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  font-weight: 600; font-size: 1rem; padding: 13px 24px; border-radius: 999px;
  border: 1.5px solid transparent; cursor: pointer; transition: all 0.22s var(--ease);
  font-family: inherit; line-height: 1; white-space: nowrap;
}
.btn .ico { width: 19px; height: 19px; }
.btn-sm { padding: 9px 16px; font-size: 0.92rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-700); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-gold { background: var(--gold); color: #2a2208; }
.btn-gold:hover { background: var(--gold-600); color: #2a2208; transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-outline:hover { border-color: var(--navy); color: var(--navy); background: var(--navy-50); }
.btn-ghost { background: var(--navy-50); color: var(--navy); }
.btn-ghost:hover { background: #e2e7fa; color: var(--navy); }
.btn-ghost-light { background: rgba(255,255,255,0.12); color: #fff; border-color: rgba(255,255,255,0.3); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.22); color: #fff; }

/* ── Top banner (อัปโหลดได้) ── */
.top-banner { display: block; line-height: 0; background: var(--navy-50); }
/* แบนเนอร์เต็มกว้างหน้าจอเสมอ + สูงตามรูปจริง (ไม่ครอป) — คุมหน้าตาที่ตัวรูปได้เต็มที่ */
.top-banner img { display: block; width: 100%; height: auto; }
/* ── แบนเนอร์ใต้ Hero (คลิกไปเว็บอื่น เปิดแท็บใหม่) ── */
.section-banner { padding: 26px 0 0; }
.home-banner { display: block; line-height: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform 0.2s, box-shadow 0.2s; }
.home-banner:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.home-banner img { width: 100%; height: auto; display: block; }

/* ── Entry popup ── */
.entry-popup { position: fixed; inset: 0; background: rgba(10,16,40,0.7); z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; }
.entry-popup[hidden] { display: none; } /* ให้ปุ่มปิด/เข้าเว็บ (el.hidden=true) ซ่อนป๊อปอัพได้จริง */
.entry-popup-box { position: relative; max-width: 520px; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.entry-popup-box img { width: 100%; border-radius: 16px; box-shadow: 0 24px 60px -20px rgba(0,0,0,0.6); }
.entry-popup-close { position: absolute; top: -14px; right: -14px; width: 38px; height: 38px; border-radius: 50%; border: none; background: #fff; color: var(--navy); font-size: 22px; cursor: pointer; box-shadow: var(--shadow-sm); line-height: 1; }
.entry-popup-enter { min-width: 220px; }

/* ── Topbar ── */
.topbar { background: var(--navy); color: #cfd6f2; font-size: 0.85rem; }
.topbar-inner { display: flex; align-items: center; gap: 14px; min-height: 40px; flex-wrap: wrap; }
.topbar-item { display: inline-flex; align-items: center; gap: 6px; color: #cfd6f2; }
.topbar-item:hover { color: #fff; }
.topbar-sep { opacity: 0.4; }
.topbar-social { margin-left: auto; display: inline-flex; gap: 8px; }
.topbar-social a { width: 26px; height: 26px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,0.1); color: #fff; }
.topbar-social svg { width: 14px; height: 14px; }
.topbar-social a:hover { background: var(--gold); color: #2a2208; }

/* ── Header ── */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); transition: box-shadow 0.25s; }
.site-header.scrolled { box-shadow: 0 6px 22px -16px rgba(21,32,90,0.5); }
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 70px; }
.brand-logo { height: 38px; width: auto; }
.main-nav { display: flex; gap: 4px; margin-left: 10px; }
.main-nav a { font-weight: 600; font-size: 0.97rem; color: var(--ink); padding: 8px 13px; border-radius: 8px; position: relative; }
.main-nav a:hover { color: var(--navy); background: var(--navy-50); }
.main-nav a[aria-current="page"] { color: var(--navy); }
.main-nav a[aria-current="page"]::after { content: ''; position: absolute; left: 13px; right: 13px; bottom: 2px; height: 2px; background: var(--gold); }
/* ── Dropdown groups ── */
.nav-group { position: relative; }
.nav-group-btn { font: inherit; font-weight: 600; font-size: 0.97rem; color: var(--ink); padding: 8px 13px; border-radius: 8px; background: none; border: none; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; }
.nav-group-btn:hover, .nav-group.active .nav-group-btn { color: var(--navy); background: var(--navy-50); }
.nav-chevron { width: 13px; height: 13px; transition: transform 0.2s; }
.nav-group:hover .nav-chevron, .nav-group:focus-within .nav-chevron { transform: rotate(180deg); }
.nav-group::after { content: ''; position: absolute; top: 100%; left: 0; right: 0; height: 8px; } /* สะพาน hover กันดรอปดาวหลุด */
.nav-dropdown { position: absolute; top: calc(100% + 8px); left: 0; min-width: 200px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 40px -16px rgba(21,32,90,0.35); padding: 6px; display: flex; flex-direction: column; gap: 2px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity 0.18s, transform 0.18s, visibility 0.18s; z-index: 50; }
.nav-group:hover .nav-dropdown, .nav-group:focus-within .nav-dropdown { opacity: 1; visibility: visible; transform: none; }
.nav-dropdown a { padding: 9px 12px; border-radius: 8px; font-size: 0.95rem; font-weight: 500; color: var(--ink); white-space: nowrap; }
.nav-dropdown a:hover { background: var(--navy-50); color: var(--navy); }
.nav-dropdown a[aria-current="page"] { color: var(--navy); background: var(--navy-50); }
.header-cta { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: 0.25s; }
.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); }

/* ── Hero ── */
.hero { position: relative; background: radial-gradient(120% 120% at 85% -10%, #eef1fb 0%, #ffffff 46%); overflow: hidden; }
.hero::before { content: ''; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; background: radial-gradient(circle, rgba(191,155,48,0.13), transparent 70%); border-radius: 50%; }
.hero-inner { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 50px; align-items: center; padding: 64px 22px 72px; }
.hero-inner.solo { grid-template-columns: 1fr; max-width: 820px; }
.calc-info { width: 100%; border-radius: var(--radius); display: block; box-shadow: var(--shadow-sm); }
.hero-copy h1 { margin: 14px 0 18px; }
.hero-copy > p { font-size: 1.1rem; max-width: 560px; color: #4a5268; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0 22px; }
.hero-trust { display: flex; flex-direction: column; gap: 8px; }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 0.95rem; }
.hero-trust .ico { color: var(--gold-600); }
.hero-card { background: linear-gradient(165deg, var(--navy) 0%, var(--navy-700) 100%); color: #fff; border-radius: 22px; padding: 36px 32px; box-shadow: 0 30px 60px -28px rgba(21,32,90,0.6); position: relative; }
.hero-card .emblem { width: 84px; height: 84px; border-radius: 20px; background: #fff; display: flex; align-items: center; justify-content: center; padding: 10px; margin-bottom: 18px; box-shadow: var(--shadow-sm); }
.hero-card h2 { color: #fff; font-size: 1.5rem; }
.hero-card-sub { color: var(--gold); letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.78rem; font-weight: 600; margin-top: 2px; }
.hero-card-list { list-style: none; margin: 22px 0; display: flex; flex-direction: column; gap: 12px; }
.hero-card-list li { display: flex; align-items: center; gap: 10px; color: #dfe4f7; font-size: 0.98rem; }
.hero-card-list .ico { color: var(--gold); width: 19px; height: 19px; }

/* ── Stats strip ── */
.stats-strip { background: var(--navy); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 30px 18px; text-align: center; border-right: 1px solid rgba(255,255,255,0.1); }
.stat:last-child { border-right: none; }
.stat-value { display: block; font-size: 1.9rem; font-weight: 800; color: #fff; line-height: 1.1; }
.stat-label { display: block; color: #aeb8e0; font-size: 0.92rem; margin-top: 6px; }

/* ── Sections ── */
.section { padding: 76px 0; }
.section-alt { background: var(--bg-alt); }
.section-navy { background: var(--navy); }
.section-navy h2 { color: #fff; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }

/* ── Cards ── */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d7ddee; }
.card-icon { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 14px; background: var(--navy-50); color: var(--navy); margin-bottom: 16px; }
.card-icon .ico { width: 26px; height: 26px; }
.card-icon.has-img { padding: 0; overflow: hidden; background: var(--bg-alt); }
.card-icon.has-img img { width: 100%; height: 100%; object-fit: cover; }
.service-card h3 { margin-bottom: 8px; }
.badge { display: inline-block; font-size: 0.78rem; font-weight: 700; color: var(--navy); background: var(--navy-50); padding: 4px 11px; border-radius: 999px; margin-bottom: 12px; }
.card-img { aspect-ratio: 1 / 1; border-radius: var(--radius-sm); overflow: hidden; margin: -4px 0 16px; background: var(--bg-alt); }
.card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s var(--ease); }
.card:hover .card-img img { transform: scale(1.04); }
.review-avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex: none; border: 2px solid var(--gold-50); }
.badge-gold { color: var(--gold-600); background: var(--gold-50); }
.link-more { display: inline-flex; align-items: center; gap: 6px; color: var(--navy); font-weight: 600; font-size: 0.95rem; margin-top: 14px; }
.link-more .ico { width: 17px; height: 17px; transition: transform 0.2s; }
.link-more:hover .ico { transform: translateX(4px); }

/* การ์ดบทความที่คลิกได้ทั้งใบ */
a.article-card { display: block; color: inherit; text-decoration: none; }
a.article-card h3 { transition: color 0.2s; }
a.article-card:hover h3 { color: var(--navy); }

/* ── หน้ารายละเอียดบทความ ── */
.article-detail .link-back { display: inline-flex; align-items: center; gap: 6px; color: var(--navy); font-weight: 600; font-size: 0.95rem; margin-bottom: 20px; }
.article-detail .link-back .ico { width: 17px; height: 17px; transform: rotate(180deg); }
.article-detail .link-back:hover { text-decoration: underline; }
.article-detail h1 { margin: 12px 0 16px; font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.article-lead { font-size: 1.12rem; color: var(--muted); margin-bottom: 26px; line-height: 1.7; }
.article-cover { border-radius: var(--radius); overflow: hidden; margin-bottom: 30px; background: var(--bg-alt); }
.article-cover img { width: 100%; height: auto; display: block; }
.article-body { line-height: 1.85; color: var(--ink); font-size: 1.05rem; }
.article-body h2 { margin: 30px 0 12px; font-size: 1.35rem; color: var(--navy); }
.article-body p { margin-bottom: 16px; color: var(--ink); }

/* ── Calculator ── */
.calc-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.calc-copy .note { font-size: 0.88rem; margin-top: 14px; color: #8089a0; }
.calc-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.calc-card h3 { margin-bottom: 20px; }
.calc-card label { display: block; font-weight: 600; color: var(--ink); margin-bottom: 8px; font-size: 0.95rem; }
.calc-card input { width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); font-size: 1.05rem; font-family: inherit; color: var(--ink); transition: border-color 0.2s; }
.calc-card input:focus { outline: none; border-color: var(--navy-600); box-shadow: 0 0 0 3px var(--navy-50); }
.calc-card select { width: 100%; padding: 14px 46px 14px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); font-size: 1.05rem; font-family: inherit; font-weight: 600; color: var(--navy); cursor: pointer; background-color: #fff; background-image: linear-gradient(180deg, #fff, var(--navy-50)), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%2315205a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center, right 14px center; -webkit-appearance: none; -moz-appearance: none; appearance: none; transition: border-color 0.2s, box-shadow 0.2s; }
.calc-card select:hover { border-color: var(--gold); }
.calc-card select:focus { outline: none; border-color: var(--navy-600); box-shadow: 0 0 0 3px var(--navy-50); }
.calc-card select option { font-weight: 500; color: var(--ink); }
.calc-result { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--gold-50); border: 1px solid #efe2bd; border-radius: var(--radius-sm); padding: 16px 18px; margin: 18px 0; }
.calc-result span { color: var(--muted); font-size: 0.95rem; }
.calc-result strong { font-size: 1.9rem; font-weight: 800; color: var(--navy); }
.calc-result strong small { font-size: 0.95rem; font-weight: 600; color: var(--muted); }

/* ── Features ── */
.features { gap: 18px 30px; }
.feature { display: flex; gap: 16px; padding: 8px 0; }
.feature-check { flex: none; width: 40px; height: 40px; border-radius: 11px; background: var(--gold-50); color: var(--gold-600); display: flex; align-items: center; justify-content: center; }
.feature h3 { margin-bottom: 4px; }

/* ── Reviews ── */
.review-card { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.12); }
.section-navy .review-card { color: #e7ebfa; }
.section-navy .review-card .review-text { color: #e7ebfa; }
.section-navy .review-card .review-meta strong { color: #fff; }
.section-navy .review-card .review-meta span { color: #aeb8e0; }
.stars { display: flex; gap: 3px; color: var(--gold); margin-bottom: 12px; }
.stars .ico { width: 18px; height: 18px; fill: var(--gold); }
.review-text { font-size: 1.02rem; margin-bottom: 16px; }
.review-meta { display: flex; align-items: center; gap: 12px; }
.review-meta > div { display: flex; flex-direction: column; }
.review-meta strong { display: block; }
.review-meta span { font-size: 0.88rem; }

/* ── CTA band ── */
.cta-band { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-700) 100%); position: relative; overflow: hidden; }
.cta-band::after { content: ''; position: absolute; right: -60px; bottom: -80px; width: 320px; height: 320px; background: radial-gradient(circle, rgba(191,155,48,0.2), transparent 70%); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 52px 22px; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #c9d0ee; margin-top: 6px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── Page hero (sub pages) ── */
.page-hero { background: radial-gradient(110% 130% at 80% -20%, #eef1fb, #ffffff 55%); padding: 56px 0 48px; border-bottom: 1px solid var(--line); text-align: center; }
.page-hero h1 { margin: 12px 0 12px; }
.page-hero p { max-width: 640px; margin: 0 auto; font-size: 1.08rem; }

/* ── Prose ── */
.prose h2 { font-size: 1.3rem; margin: 28px 0 10px; }
.prose p { margin-bottom: 14px; }
.prose p + p { margin-top: 0; }

/* ── About ── */
.value-card { text-align: center; }
.value-card h3 { color: var(--gold-600); margin-bottom: 8px; }
.board-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 820px; margin: 0 auto; }
.board-card { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; text-align: center; }
.board-role { display: block; color: var(--gold-600); font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; }
.board-card strong { font-size: 1.1rem; color: var(--navy); }

/* ── Timeline (เกี่ยวกับเรา) ── */
.timeline { position: relative; padding-left: 28px; }
.timeline::before { content: ''; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.tl-item { position: relative; padding-bottom: 28px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ''; position: absolute; left: -27px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--gold); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--gold-50); }
.tl-year { font-weight: 800; color: var(--navy); font-size: 1.05rem; }
.tl-body h3 { margin: 2px 0 4px; }

/* ── Jobs (สมัครงาน) ── */
.jobs-list { display: flex; flex-direction: column; gap: 18px; }
.job-card { padding: 26px; }
/* รูปประกาศงาน (แนวตั้ง ~1240×1754) */
.job-poster { display: block; margin: -26px -26px 18px; line-height: 0; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; background: var(--navy-50); }
.job-poster img { width: 100%; height: auto; display: block; }
a.job-poster { transition: opacity 0.2s; }
a.job-poster:hover { opacity: 0.92; }
.job-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.job-loc { display: flex; align-items: center; gap: 8px; color: var(--muted); margin: 8px 0 10px; }
.job-loc .ico { color: var(--gold-600); }
.job-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.job-tag { display: inline-flex; align-items: center; gap: 6px; background: var(--navy-50); color: var(--navy); font-size: 0.9rem; font-weight: 600; padding: 5px 12px; border-radius: 999px; }
.job-tag .ico { width: 15px; height: 15px; color: var(--gold-600); }
.job-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-bottom: 16px; }
.job-cols h4 { color: var(--navy); margin-bottom: 8px; font-size: 1rem; }
.job-cols ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 0.95rem; }
.job-cols li { margin-bottom: 4px; }
@media (max-width: 600px) { .job-cols { grid-template-columns: 1fr; } }

/* ── Steps ── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { display: flex; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.step-no { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 1.15rem; }
.step h3 { margin-bottom: 5px; }

/* ── Branches ── */
.branch-card { display: flex; flex-direction: column; }
.branch-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.branch-code { font-size: 0.8rem; font-weight: 700; color: var(--gold-600); background: var(--gold-50); border-radius: 6px; padding: 2px 8px; }
.branch-card h3 { margin-bottom: 12px; }
.branch-row { display: flex; gap: 10px; font-size: 0.95rem; color: var(--ink); margin-bottom: 9px; align-items: flex-start; }
.branch-row .ico { color: var(--gold-600); margin-top: 3px; }
.branch-row a { color: var(--navy); font-weight: 600; }

/* ── FAQ ── */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 600; color: var(--navy); display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { color: var(--gold-600); transition: transform 0.25s; flex: none; }
.faq-icon .ico { transform: rotate(90deg); }
.faq-item[open] .faq-icon .ico { transform: rotate(-90deg); }
.faq-answer { padding: 0 22px 20px; }
.faq-answer p { margin: 0; }

/* ── Contact ── */
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.contact-card { text-align: center; }
.contact-card h3 { margin-bottom: 8px; }
.contact-card p { margin-bottom: 4px; }
.contact-card a { color: var(--navy); font-weight: 600; }

/* ── Contact form ── */
.contact-form { padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-block { display: flex; flex-direction: column; gap: 6px; }
.field-block label { font-weight: 600; font-size: 0.92rem; color: var(--ink); }
.contact-form input, .contact-form textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); font-family: inherit; font-size: 1rem; color: var(--ink); }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--navy-600); box-shadow: 0 0 0 3px var(--navy-50); }
.contact-form textarea { resize: vertical; }
.cf-msg { font-size: 0.95rem; font-weight: 600; }
@media (max-width: 600px) { .cf-row { grid-template-columns: 1fr; } }

/* ── Footer ── */
.site-footer { background: #0f173f; color: #b8c0e2; padding-top: 56px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 36px; padding-bottom: 40px; }
.footer-brand img { height: 40px; width: auto; margin-bottom: 16px; }
.footer-brand p { color: #97a1cc; font-size: 0.95rem; max-width: 320px; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.08); color: #fff; display: flex; align-items: center; justify-content: center; }
.footer-social svg { width: 17px; height: 17px; }
.footer-social a:hover { background: var(--gold); color: #2a2208; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul.menu-2col { display: block; column-count: 2; column-gap: 28px; }
.footer-col ul.menu-2col li { margin-bottom: 10px; break-inside: avoid; }
.footer-col a { color: #b8c0e2; font-size: 0.95rem; }
.footer-col a:hover { color: var(--gold); }
.footer-contact li { display: flex; gap: 9px; align-items: flex-start; color: #b8c0e2; font-size: 0.95rem; }
.footer-contact .ico { color: var(--gold); margin-top: 3px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; padding-top: 18px; padding-bottom: 18px; font-size: 0.88rem; color: #8b95c2; flex-wrap: wrap; gap: 8px; }
.footer-bottom a { color: #8b95c2; }
.footer-bottom a:hover { color: var(--gold); }

/* ── Floating LINE ── */
.float-line { position: fixed; right: 20px; bottom: 22px; z-index: 90; display: inline-flex; align-items: center; gap: 8px; background: #06c755; color: #fff; padding: 12px 18px; border-radius: 999px; font-weight: 700; box-shadow: 0 12px 30px -10px rgba(6,199,85,0.6); transition: transform 0.2s; }
.float-line:hover { transform: translateY(-3px); color: #fff; }
.float-line svg { width: 20px; height: 20px; }

/* ── Reveal animation ── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ── Responsive ── */
@media (max-width: 940px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; padding-top: 44px; }
  .hero-card { max-width: 420px; }
  .calc-wrap { grid-template-columns: 1fr; gap: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .grid-3, .steps, .board-grid, .contact-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .main-nav { position: fixed; inset: 0 0 0 auto; width: min(320px, 84vw); background: #fff; flex-direction: column; gap: 4px; padding: 86px 20px 30px; box-shadow: -10px 0 40px -10px rgba(21,32,90,0.3); transform: translateX(100%); transition: transform 0.3s var(--ease); margin-left: 0; }
  .main-nav.open { transform: none; }
  .main-nav a { padding: 12px 14px; border-radius: 10px; }
  /* ── Dropdown → accordion บนมือถือ ── */
  .nav-group { width: 100%; }
  .nav-group::after { display: none; }
  .nav-group-btn { width: 100%; justify-content: space-between; padding: 12px 14px; }
  .nav-dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; border-radius: 0; padding: 0 0 0 12px; min-width: 0; max-height: 0; overflow: hidden; transition: max-height 0.28s var(--ease); }
  .nav-group.open .nav-dropdown { max-height: 360px; }
  .nav-group.open .nav-chevron { transform: rotate(180deg); }
  .nav-toggle { display: flex; }
  .header-cta .btn-ghost { display: none; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 600px) {
  .grid-3, .grid-2, .steps, .board-grid, .contact-grid, .stats-grid { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .footer-grid { grid-template-columns: 1fr; }
  .topbar-item:not(:first-child):not(.topbar-social) { display: none; }
  .topbar-social { margin-left: auto; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .section { padding: 56px 0; }
}
