/* =========================================================================
   modern.css - ดีไซน์ใหม่ 2026
   ปุ่มติดต่อ (CTA), ปุ่มลอย (FAB), footer, หน้าติดต่อเรา, FAQ/AEO,
   cookie banner (PDPA), หน้านโยบาย และแก้หน้าจอล้นบนมือถือ
   ========================================================================= */
:root {
	--ps-blue: #0ba1ea;
	--ps-blue-2: #21c4ff;
	--ps-blue-soft: #e8f6fd;
	--ps-navy: #0b1f33;
	--ps-navy-2: #12304d;
	--ps-ink: #1a2433;
	--ps-muted: #5b6878;
	--ps-call-1: #ff7a00;
	--ps-call-2: #e8102a;
	--ps-line-1: #06c755;
	--ps-line-2: #00a344;
	--ps-radius: 18px;
	--ps-shadow: 0 10px 30px rgba(11, 31, 51, .12);
	--ps-shadow-lg: 0 18px 50px rgba(11, 31, 51, .18);
	--ps-ease: cubic-bezier(.2, .8, .2, 1);
	--cc-h: 0px;
	--fab-h: 0px;
}

/* ---------- แก้หน้าจอล้น / เลื่อนซ้ายขวาได้บนมือถือ ---------- */
/* สาเหตุหลัก: ลูกศร slick ของ .slide-center อยู่นอกจอ (left/right: -25px) */
.body { overflow-x: hidden; overflow-x: clip; }
img, video, iframe { max-width: 100%; }
.slide-center { position: relative; }
.slide-center .slick-prev,
.slide-center .slick-next {
	z-index: 3;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .92);
	box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
	transition: transform .2s var(--ps-ease), background .2s;
}
.slide-center .slick-prev { left: 12px; }
.slide-center .slick-next { right: 12px; }
.slide-center .slick-prev:hover,
.slide-center .slick-next:hover,
.slide-center .slick-prev:focus,
.slide-center .slick-next:focus { background: #fff; transform: scale(1.08); }
.slide-center .slick-prev:before,
.slide-center .slick-next:before { color: var(--ps-blue); opacity: 1; font-size: 26px; }
.slide-center .slick-dots { bottom: -30px; }

/* ตัวอักษรหัวข้อยาวบนมือถือ */
.title-lg { font-size: 34px; font-weight: 400; line-height: 1.25; }
@media (max-width: 767px) {
	h1, .title-lg { font-size: 26px; line-height: 1.35; }
}

.skip-link {
	position: absolute;
	left: 12px;
	top: -60px;
	z-index: 10000;
	padding: 10px 16px;
	border-radius: 10px;
	background: var(--ps-navy);
	color: #fff !important;
	transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ---------- Header (_nav_top.php) ---------- */
html { scroll-padding-top: 96px; }
.topbar {
	background: linear-gradient(120deg, var(--ps-navy) 0%, #0a5f95 55%, var(--ps-blue) 100%);
	color: #fff;
	font-size: 14px;
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 42px; padding-top: 6px; padding-bottom: 6px; }
.topbar-tagline { margin: 0 !important; color: rgba(255, 255, 255, .85) !important; line-height: 1.4 !important; }
.topbar-tagline i { color: #ffd54a; margin-right: 4px; }
.topbar-tagline strong { color: #fff; font-weight: 600; }
.topbar-contact { display: flex; flex-wrap: wrap; gap: 8px; }
.topbar-contact a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .12);
	border: 1px solid rgba(255, 255, 255, .16);
	color: #fff !important;
	font-weight: 600;
	text-decoration: none !important;
	transition: background .2s;
}
.topbar-contact a:hover { background: rgba(255, 255, 255, .24); }

.site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: rgba(255, 255, 255, .92);
	-webkit-backdrop-filter: blur(14px) saturate(1.6);
	backdrop-filter: blur(14px) saturate(1.6);
	border-bottom: 1px solid rgba(11, 31, 51, .06);
	transition: box-shadow .3s, background .3s;
}
.site-header.is-scrolled { background: rgba(255, 255, 255, .97); box-shadow: 0 8px 30px rgba(11, 31, 51, .1); }
.site-header-inner { position: relative; display: flex; align-items: center; gap: 20px; min-height: 80px; transition: min-height .3s var(--ps-ease); }
.site-header.is-scrolled .site-header-inner { min-height: 66px; }
.site-brand { flex: 0 0 auto; display: block; line-height: 0; }
.site-brand img { width: auto; height: 58px; transition: height .3s var(--ps-ease); }
.site-header.is-scrolled .site-brand img { height: 48px; }

.site-nav { margin-left: auto; display: flex; align-items: center; }
.site-nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.site-nav-list a {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	border-radius: 999px;
	color: var(--ps-ink) !important;
	font-size: 16px;
	font-weight: 500;
	text-decoration: none !important;
	transition: background .2s, color .2s;
}
.site-nav-list a i { font-size: 14px; color: var(--ps-blue); }
.site-nav-list a:hover { background: var(--ps-blue-soft); color: #0679b3 !important; }
.site-nav-list a.is-active { background: var(--ps-blue-soft); color: #0679b3 !important; font-weight: 600; }
.site-nav-list a.is-active::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 3px;
	width: 18px;
	height: 3px;
	margin-left: -9px;
	border-radius: 3px;
	background: var(--ps-blue);
}
.site-nav-cta { display: none; }

.header-call {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 6px 18px 6px 6px;
	border-radius: 999px;
	background: linear-gradient(120deg, var(--ps-call-1), var(--ps-call-2));
	color: #fff !important;
	text-decoration: none !important;
	box-shadow: 0 10px 22px -10px rgba(232, 16, 42, .75);
	transition: transform .25s var(--ps-ease), box-shadow .25s var(--ps-ease);
}
.header-call:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(232, 16, 42, .85); }
.header-call:active { transform: scale(.97); }
.header-call-ico { position: relative; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .22); }
.header-call-ico::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .7); animation: cta-ring 2s ease-out infinite; }
.header-call-ico i { animation: cta-shake 2.4s ease-in-out infinite; }
.header-call-text { display: flex; flex-direction: column; line-height: 1.2; }
.header-call-text small { font-size: 12px; opacity: .9; }
.header-call-text strong { font-size: 17px; font-weight: 700; letter-spacing: .02em; }
.nav-toggle { display: none; }
.site-nav-backdrop[hidden] { display: none; }

@media (min-width: 992px) and (max-width: 1199px) {
	.site-nav-list a { padding: 10px 12px; }
	.site-nav-list a i { display: none; }
}

/* มือถือ / แท็บเล็ต: ปุ่ม hamburger + เมนูเลื่อนลง */
@media (max-width: 991px) {
	html { scroll-padding-top: 80px; }
	/* เมนูเลื่อนลงอ้างอิงความกว้างของ .site-header (เต็มจอ) ไม่ใช่ .container */
	.site-header-inner { position: static; min-height: 68px; gap: 10px; }
	.site-header.is-scrolled .site-header-inner { min-height: 60px; }
	.site-brand img { height: 46px; }
	.site-header.is-scrolled .site-brand img { height: 42px; }
	.header-call { display: none; }
	.nav-toggle {
		display: inline-flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		gap: 5px;
		margin-left: auto;
		width: 48px;
		height: 48px;
		border: 0;
		border-radius: 14px;
		background: var(--ps-blue-soft);
		cursor: pointer;
		transition: background .25s;
	}
	.nav-toggle span { display: block; width: 22px; height: 2.5px; border-radius: 2px; background: var(--ps-navy); transition: transform .3s var(--ps-ease), opacity .2s, background .25s; }
	.nav-toggle:focus { outline: none; }
	.nav-toggle:focus-visible { outline: 3px solid var(--ps-blue-2); outline-offset: 2px; }
	.nav-open .nav-toggle { background: var(--ps-navy); }
	.nav-open .nav-toggle span { background: #fff; }
	.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
	.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
	.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
	.site-nav {
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		display: block;
		padding: 12px 16px 18px;
		background: #fff;
		border-radius: 0 0 24px 24px;
		box-shadow: 0 24px 40px rgba(11, 31, 51, .18);
		max-height: calc(100vh - 110px);
		overflow-y: auto;
		opacity: 0;
		visibility: hidden;
		transform: translateY(-10px);
		transition: opacity .25s var(--ps-ease), transform .25s var(--ps-ease), visibility .25s;
	}
	.nav-open .site-nav { opacity: 1; visibility: visible; transform: none; }
	.site-nav-list { flex-direction: column; align-items: stretch; gap: 6px; }
	.site-nav-list a { display: flex; gap: 12px; padding: 10px 14px; border-radius: 14px; background: #f5f9fc; font-size: 17px; }
	.site-nav-list a i { flex: 0 0 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: #fff; box-shadow: 0 2px 8px rgba(11, 31, 51, .08); font-size: 15px; }
	.site-nav-list a.is-active { background: var(--ps-blue-soft); }
	.site-nav-list a.is-active::after { left: auto; right: 16px; top: 50%; bottom: auto; width: 8px; height: 8px; margin: -4px 0 0; border-radius: 50%; }
	.site-nav-cta { display: block; margin-top: 4px; }
	.site-nav-cta .cta-group { grid-template-columns: 1fr; gap: 8px; margin: 8px 0 0; }
	.site-nav-backdrop { position: fixed; inset: 0; z-index: 999; background: rgba(11, 31, 51, .45); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
	html.nav-open { overflow: hidden; }
	html.nav-open .fab-dock { opacity: 0; pointer-events: none; }
}
@media (max-width: 767px) {
	.topbar { font-size: 13.5px; text-align: center; }
	.topbar-inner { justify-content: center; min-height: 34px; }
	.topbar-sub, .topbar-contact { display: none; }
}

/* ---------- หัวข้อ section ---------- */
.section-heading {
	font-size: 28px;
	line-height: 1.3;
	font-weight: 600;
	color: var(--ps-ink);
	text-align: center;
	margin: 0 0 28px;
}
.section-heading span {
	display: block;
	margin-top: 4px;
	font-size: 15px;
	font-weight: 500;
	letter-spacing: .08em;
	color: var(--ps-blue);
}

/* ---------- ปุ่มติดต่อ CTA (โทร / LINE) ---------- */
.cta-group { display: grid; gap: 14px; margin: 18px 0 6px; }
.cta-group-sm { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.cta-group-lg { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); max-width: 760px; margin-left: auto; margin-right: auto; }

.cta-btn {
	position: relative;
	display: flex;
	align-items: center;
	gap: 14px;
	min-height: 68px;
	padding: 10px 18px 10px 10px;
	border-radius: 999px;
	color: #fff !important;
	text-decoration: none !important;
	font-family: 'Noto Sans Thai', sans-serif;
	overflow: hidden;
	isolation: isolate;
	box-shadow: 0 10px 24px -8px var(--cta-glow, rgba(0, 0, 0, .35));
	transition: transform .25s var(--ps-ease), box-shadow .25s var(--ps-ease);
	-webkit-tap-highlight-color: transparent;
}
.cta-call { background: linear-gradient(120deg, var(--ps-call-1), var(--ps-call-2)); --cta-glow: rgba(232, 16, 42, .55); }
.cta-line { background: linear-gradient(120deg, var(--ps-line-1), var(--ps-line-2)); --cta-glow: rgba(0, 163, 68, .55); }

/* แสงวิ่งผ่านปุ่ม */
.cta-btn::after {
	content: "";
	position: absolute;
	top: 0;
	left: -60%;
	width: 40%;
	height: 100%;
	background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent);
	transform: skewX(-20deg);
	animation: cta-shine 3.6s ease-in-out infinite;
	z-index: -1;
}
.cta-line::after { animation-delay: 1.8s; }
@keyframes cta-shine { 0%, 55% { left: -60%; } 100% { left: 140%; } }

.cta-btn:hover, .cta-btn:focus-visible { transform: translateY(-3px); box-shadow: 0 16px 32px -10px var(--cta-glow); color: #fff !important; }
.cta-btn:active { transform: translateY(0) scale(.97); }
.cta-btn:focus-visible { outline: 3px solid #fff; outline-offset: -6px; }

.cta-ico {
	position: relative;
	flex: 0 0 48px;
	height: 48px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: rgba(255, 255, 255, .22);
	font-size: 20px;
}
.cta-line .cta-ico { font-size: 26px; }
/* วงแหวนกระเพื่อมรอบไอคอนโทร */
.cta-call .cta-ico::before,
.cta-call .cta-ico::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	border: 2px solid rgba(255, 255, 255, .7);
	animation: cta-ring 2s ease-out infinite;
}
.cta-call .cta-ico::after { animation-delay: 1s; }
@keyframes cta-ring { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }
.cta-call .cta-ico i { animation: cta-shake 2.4s ease-in-out infinite; }
@keyframes cta-shake {
	0%, 60%, 100% { transform: rotate(0); }
	64%, 72%, 80% { transform: rotate(-16deg); }
	68%, 76%, 84% { transform: rotate(16deg); }
}

.cta-label { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; text-align: left; }
.cta-label small { font-size: 13px; opacity: .92; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cta-label strong { font-size: 21px; font-weight: 700; letter-spacing: .02em; white-space: nowrap; }
.cta-arrow {
	margin-left: auto;
	width: 34px;
	height: 34px;
	flex: 0 0 34px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: #fff;
	color: var(--ps-call-2);
	font-size: 14px;
	transition: transform .25s var(--ps-ease);
}
.cta-line .cta-arrow { color: var(--ps-line-2); }
.cta-btn:hover .cta-arrow { transform: translateX(4px); }
.cta-btn-block { width: 100%; margin-top: auto; }

/* ---------- ปุ่มลอย (FAB) แสดงตลอด ไม่ต้องกดเปิด ---------- */
.fab-dock {
	position: fixed;
	right: 18px;
	bottom: calc(18px + var(--cc-h));
	z-index: 990;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 10px;
	transition: bottom .35s var(--ps-ease);
	font-family: 'Noto Sans Thai', sans-serif;
}
.fab-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 6px 16px 6px 6px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .88);
	-webkit-backdrop-filter: blur(12px) saturate(1.4);
	backdrop-filter: blur(12px) saturate(1.4);
	border: 1px solid rgba(255, 255, 255, .7);
	box-shadow: var(--ps-shadow);
	color: var(--ps-ink) !important;
	text-decoration: none !important;
	animation: fab-in .6s var(--ps-ease) both;
	transition: transform .25s var(--ps-ease), box-shadow .25s var(--ps-ease);
}
.fab-item + .fab-item { animation-delay: .12s; }
.fab-item:hover, .fab-item:focus-visible { transform: translateX(-4px); box-shadow: var(--ps-shadow-lg); }
.fab-item:active { transform: scale(.96); }
@keyframes fab-in { from { opacity: 0; transform: translateY(16px) scale(.9); } to { opacity: 1; transform: none; } }
.fab-icon {
	position: relative;
	width: 46px;
	height: 46px;
	flex: 0 0 46px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	color: #fff;
	font-size: 19px;
}
.fab-call .fab-icon { background: linear-gradient(135deg, var(--ps-call-1), var(--ps-call-2)); }
.fab-line .fab-icon { background: linear-gradient(135deg, var(--ps-line-1), var(--ps-line-2)); font-size: 25px; }
.fab-call .fab-icon::after {
	content: "";
	position: absolute;
	inset: -4px;
	border-radius: 50%;
	border: 2px solid var(--ps-call-1);
	animation: cta-ring 2s ease-out infinite;
}
.fab-call .fab-icon i { animation: cta-shake 2.4s ease-in-out infinite; }
.fab-text { display: flex; flex-direction: column; line-height: 1.2; }
.fab-text small { font-size: 11.5px; color: var(--ps-muted); }
.fab-text strong { font-size: 16px; font-weight: 700; }
.fab-call .fab-text strong { color: var(--ps-call-2); }
.fab-line .fab-text strong { color: var(--ps-line-2); }

/* มือถือ: แถบลอยด้านล่าง 2 ปุ่ม */
@media (max-width: 767px) {
	:root { --fab-h: 76px; }
	/* เว้นที่ใต้ footer ให้แถบปุ่มลอย (ใช้สีเดียวกับ footer ไม่ให้เห็นแถบขาว) */
	.footer-bottom { padding-bottom: calc(18px + var(--fab-h) + env(safe-area-inset-bottom, 0px)); }
	.fab-dock {
		left: 10px;
		right: 10px;
		bottom: calc(10px + env(safe-area-inset-bottom, 0px) + var(--cc-h));
		flex-direction: row;
		gap: 8px;
		padding: 6px;
		border-radius: 999px;
		background: rgba(255, 255, 255, .82);
		-webkit-backdrop-filter: blur(14px) saturate(1.5);
		backdrop-filter: blur(14px) saturate(1.5);
		box-shadow: 0 10px 30px rgba(11, 31, 51, .22);
	}
	.fab-item {
		flex: 1 1 0;
		min-width: 0;
		padding: 5px 10px 5px 5px;
		background: none;
		border: 0;
		box-shadow: none;
		-webkit-backdrop-filter: none;
		backdrop-filter: none;
		color: #fff !important;
	}
	.fab-call { background: linear-gradient(120deg, var(--ps-call-1), var(--ps-call-2)); }
	.fab-line { background: linear-gradient(120deg, var(--ps-line-1), var(--ps-line-2)); }
	.fab-item:hover, .fab-item:focus-visible { transform: none; box-shadow: none; }
	.fab-icon { width: 42px; height: 42px; flex-basis: 42px; background: rgba(255, 255, 255, .22) !important; }
	.fab-call .fab-icon::after { border-color: rgba(255, 255, 255, .7); inset: 0; }
	.fab-text small { color: rgba(255, 255, 255, .9); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.fab-text strong, .fab-call .fab-text strong, .fab-line .fab-text strong { color: #fff; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.fab-text { min-width: 0; }
	/* ปุ่ม scroll-to-top ของธีม ไม่ให้ทับแถบ */
	html .scroll-to-top { bottom: calc(var(--fab-h) + 16px); }
}
@media (min-width: 768px) {
	html .scroll-to-top { right: auto; left: 18px; }
	/* ไม่ให้ลิงก์ท้ายเว็บ (เช่น ตั้งค่าคุกกี้) อยู่ใต้ปุ่มลอยมุมขวา */
	.footer-bottom-inner { padding-right: 230px; }
}

/* ---------- ส่วนแนะนำบริการ (section-1.php) ---------- */
.intro-section {
	position: relative;
	padding: 64px 0 56px;
	background:
		radial-gradient(900px 420px at 90% 0%, rgba(33, 196, 255, .14), transparent 60%),
		radial-gradient(700px 380px at 0% 100%, rgba(11, 161, 234, .08), transparent 60%),
		#fff;
}
.intro-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 14px;
	padding: 6px 14px;
	border-radius: 999px;
	background: var(--ps-blue-soft);
	border: 1px solid #cdeaf9;
	color: #0679b3;
	font-size: 14px;
	font-weight: 600;
}
.intro-title { margin: 0 0 14px; font-size: 34px; line-height: 1.4; font-weight: 700; color: var(--ps-ink); }
.text-gradient {
	background: linear-gradient(110deg, #0679b3 0%, var(--ps-blue) 45%, var(--ps-blue-2) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.intro-desc { margin-bottom: 22px !important; font-size: 16.5px; line-height: 1.8 !important; color: var(--ps-muted) !important; }

.intro-reasons { list-style: none; margin: 0 0 6px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.intro-reasons a {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	height: 100%;
	padding: 14px;
	border-radius: 16px;
	background: rgba(255, 255, 255, .85);
	border: 1px solid #e3eef6;
	box-shadow: 0 4px 14px rgba(11, 31, 51, .05);
	text-decoration: none !important;
	transition: transform .25s var(--ps-ease), box-shadow .25s var(--ps-ease), border-color .25s;
}
.intro-reasons a:hover { transform: translateY(-3px); box-shadow: var(--ps-shadow); border-color: #bfe6fa; }
.intro-reason-ico {
	flex: 0 0 42px;
	height: 42px;
	border-radius: 13px;
	display: grid;
	place-items: center;
	background: linear-gradient(135deg, var(--ps-blue-2), var(--ps-blue));
	color: #fff;
	font-size: 17px;
	box-shadow: 0 8px 16px -8px rgba(11, 161, 234, .8);
	transition: transform .25s var(--ps-ease);
}
.intro-reasons a:hover .intro-reason-ico { transform: rotate(-8deg) scale(1.06); }
.intro-reasons strong { display: block; font-size: 16px; font-weight: 600; line-height: 1.35; color: var(--ps-ink); }
.intro-reasons small { display: block; margin-top: 3px; font-size: 13.5px; line-height: 1.55; color: var(--ps-muted); }

.intro-collage { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 150px; gap: 12px; }
.intro-photo {
	position: relative;
	display: block;
	height: 100%;
	border-radius: 18px;
	overflow: hidden;
	background: #e8f1f7;
	box-shadow: 0 10px 26px rgba(11, 31, 51, .14);
}
.intro-collage .intro-photo:first-child { grid-column: span 2; grid-row: span 2; border-radius: 24px; }
.intro-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ps-ease); }
.intro-photo::after {
	content: "\f00e";
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	color: #fff;
	font-size: 22px;
	background: rgba(11, 31, 51, .35);
	opacity: 0;
	transition: opacity .3s;
}
.intro-photo:hover img { transform: scale(1.07); }
.intro-photo:hover::after, .intro-photo:focus-visible::after { opacity: 1; }
.intro-photo-badge {
	position: absolute;
	left: 14px;
	bottom: 14px;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .88);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	color: var(--ps-ink);
	font-size: 13px;
	font-weight: 600;
}
.intro-float {
	position: absolute;
	right: -10px;
	top: -18px;
	z-index: 2;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 16px 10px 10px;
	border-radius: 18px;
	background: #fff;
	box-shadow: var(--ps-shadow-lg);
	animation: intro-float 4s ease-in-out infinite;
}
.intro-float-ico { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: linear-gradient(135deg, var(--ps-line-1), var(--ps-line-2)); color: #fff; font-size: 18px; }
.intro-float strong { display: block; font-size: 15px; color: var(--ps-ink); line-height: 1.2; }
.intro-float small { display: block; font-size: 12.5px; color: var(--ps-muted); }
@keyframes intro-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.intro-strip { margin-top: 56px; }
.intro-strip-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.intro-strip-head h2 { margin: 0; font-size: 24px; font-weight: 600; color: var(--ps-ink); }
.intro-strip-head span { font-size: 14px; color: var(--ps-muted); }
.intro-strip-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.intro-strip-list .intro-photo { aspect-ratio: 3 / 4; height: auto; }

@media (max-width: 1199px) {
	.intro-title { font-size: 30px; }
}
@media (max-width: 991px) {
	.intro-section { padding: 44px 0 40px; }
	.intro-float { right: 8px; }
	/* แถบภาพเลื่อนแนวนอนบนจอเล็ก */
	.intro-strip-list {
		display: flex;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: thin;
		margin: 0 -15px;
		padding: 0 15px 10px;
	}
	.intro-strip-list li { flex: 0 0 40%; scroll-snap-align: start; }
}
@media (max-width: 575px) {
	.intro-title { font-size: 25px; }
	.intro-desc { font-size: 15.5px; }
	.intro-reasons { grid-template-columns: 1fr; }
	.intro-collage { grid-auto-rows: 110px; gap: 8px; }
	.intro-float { top: -14px; padding: 8px 12px 8px 8px; }
	.intro-float-ico { width: 36px; height: 36px; font-size: 15px; }
	.intro-strip-list li { flex-basis: 62%; }
	.intro-strip-head span { display: none; }
}

/* ---------- ผลงานการรับซื้อ (section-3.php) ---------- */
.works-section { padding: 72px 0 64px; background: linear-gradient(180deg, #f4f8fb 0%, #fff 100%); }
.works-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: end; margin-bottom: 32px; }
.works-title { margin: 0; font-size: 28px; line-height: 1.45; font-weight: 700; color: var(--ps-ink); }
.works-desc { font-size: 16px; line-height: 1.8 !important; color: var(--ps-muted) !important; }
/* 9 รูปแรก: รูปใหญ่ 2x2 + 8 รูป = 12 ช่อง พอดีทั้ง 4 / 3 / 2 คอลัมน์ | เปิดครบ 20 รูป: + รูปที่ 10 สูง 2 ช่อง = 24 ช่อง */
.works-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-auto-rows: clamp(150px, 19vw, 230px);
	grid-auto-flow: dense;
	gap: 12px;
}
.works-grid li:first-child { grid-column: span 2; grid-row: span 2; }
.works-grid li:nth-child(10) { grid-row: span 2; }
.works-grid li:first-child .intro-photo { border-radius: 24px; }
.works-grid .intro-photo img { object-position: center 35%; }
.works-grid:not(.is-expanded) .is-extra { display: none; }
.works-grid.is-expanded .is-extra { animation: works-in .5s var(--ps-ease) both; }
@keyframes works-in { from { opacity: 0; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: none; } }
.works-more { margin-top: 22px; text-align: center; }
.works-more-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 26px;
	border: 1.5px solid #bfe0f3;
	border-radius: 999px;
	background: #fff;
	color: #0679b3;
	font-family: 'Noto Sans Thai', sans-serif;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	box-shadow: 0 6px 18px rgba(11, 31, 51, .06);
	transition: transform .2s var(--ps-ease), box-shadow .2s, background .2s;
}
.works-more-btn:hover { transform: translateY(-2px); background: var(--ps-blue-soft); box-shadow: var(--ps-shadow); }
.works-more-btn:focus { outline: none; }
.works-more-btn:focus-visible { outline: 3px solid var(--ps-blue-2); outline-offset: 2px; }
.works-cta { margin-top: 40px; padding: 28px; border-radius: 24px; background: #fff; box-shadow: var(--ps-shadow); text-align: center; }
.works-cta-text { margin-bottom: 4px !important; font-size: 16px; color: var(--ps-ink) !important; }
.works-cta-text i { margin-right: 4px; color: var(--ps-line-1); }
@media (max-width: 991px) {
	.works-head { grid-template-columns: 1fr; gap: 12px; }
	.works-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 575px) {
	.works-section { padding: 48px 0 44px; }
	.works-title { font-size: 23px; }
	.works-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; gap: 8px; }
	.works-cta { padding: 20px 16px; }
}

/* ---------- Lightbox (js/custom.js) ---------- */
.lb {
	position: fixed;
	inset: 0;
	z-index: 1100;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: rgba(5, 12, 20, .92);
	opacity: 0;
	transition: opacity .25s;
}
.lb[hidden] { display: none; }
.lb.is-open { opacity: 1; }
html.lb-open { overflow: hidden; }
.lb-img { max-width: min(92vw, 1100px); max-height: 84vh; border-radius: 14px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.lb-btn {
	position: absolute;
	width: 48px;
	height: 48px;
	border: 0;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: rgba(255, 255, 255, .14);
	color: #fff;
	font-size: 20px;
	cursor: pointer;
	transition: background .2s;
}
.lb-btn:hover { background: rgba(255, 255, 255, .28); }
.lb-btn:focus { outline: none; }
.lb-btn:focus-visible { outline: 3px solid var(--ps-blue-2); outline-offset: 2px; }
.lb-close { top: 16px; right: 16px; }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); }
.lb-prev { left: 16px; }
.lb-next { right: 16px; }
.lb-single .lb-prev, .lb-single .lb-next { display: none; }
.lb-counter { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .12); color: #fff; font-size: 14px; }
@media (max-width: 575px) {
	.lb-prev, .lb-next { top: auto; bottom: 12px; transform: none; }
}

/* ---------- AEO: สรุปสั้น + ขั้นตอน + FAQ ---------- */
.aeo-section {
	padding: 64px 0 56px;
	background: linear-gradient(180deg, #fff 0%, var(--ps-blue-soft) 60%, #f4f8fb 100%);
}
.aeo-summary-card {
	position: relative;
	max-width: 900px;
	margin: 0 auto 48px;
	padding: 22px 26px;
	border-radius: var(--ps-radius);
	background: #fff;
	border-left: 5px solid var(--ps-blue);
	box-shadow: var(--ps-shadow);
}
.aeo-label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 6px;
	font-size: 14px;
	font-weight: 600;
	color: var(--ps-blue);
}
.aeo-summary-card .aeo-summary { font-size: 17px; line-height: 1.7 !important; color: var(--ps-ink); }

.steps-list {
	list-style: none;
	margin: 0 0 56px;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
	counter-reset: none;
}
.step-item {
	position: relative;
	padding: 26px 20px 22px;
	border-radius: var(--ps-radius);
	background: #fff;
	box-shadow: var(--ps-shadow);
	text-align: center;
	transition: transform .3s var(--ps-ease), box-shadow .3s var(--ps-ease);
}
.step-item:hover { transform: translateY(-6px); box-shadow: var(--ps-shadow-lg); }
.step-num {
	position: absolute;
	top: 14px;
	left: 16px;
	font-size: 34px;
	font-weight: 700;
	line-height: 1;
	color: var(--ps-blue-soft);
	-webkit-text-stroke: 1px #b9e5fa;
}
.step-ico {
	display: inline-grid;
	place-items: center;
	width: 64px;
	height: 64px;
	margin-bottom: 12px;
	border-radius: 20px;
	background: linear-gradient(135deg, var(--ps-blue-2), var(--ps-blue));
	color: #fff;
	font-size: 26px;
	box-shadow: 0 10px 20px -8px rgba(11, 161, 234, .7);
}
.step-item h3 { margin: 0 0 6px; font-size: 19px; font-weight: 600; color: var(--ps-ink); }
.step-item p { font-size: 15px; line-height: 1.6 !important; color: var(--ps-muted); }
@media (max-width: 991px) { .steps-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) {
	.steps-list { grid-template-columns: 1fr; gap: 12px; }
	.step-item { display: grid; grid-template-columns: 56px 1fr; column-gap: 14px; text-align: left; padding: 16px; align-items: center; }
	.step-ico { width: 56px; height: 56px; margin: 0; grid-row: span 2; font-size: 22px; border-radius: 16px; }
	.step-num { left: auto; right: 14px; top: 10px; font-size: 28px; }
	.step-item h3 { margin: 0; }
}

.faq-list { max-width: 900px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item {
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 4px 14px rgba(11, 31, 51, .07);
	border: 1px solid #e3eef6;
	overflow: hidden;
	transition: box-shadow .25s;
}
.faq-item[open] { box-shadow: var(--ps-shadow); border-color: #bfe6fa; }
.faq-q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 16px 20px;
	cursor: pointer;
	list-style: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q h3 { margin: 0; font-size: 18px; font-weight: 600; line-height: 1.45; color: var(--ps-ink); }
.faq-q i {
	flex: 0 0 32px;
	height: 32px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: var(--ps-blue-soft);
	color: var(--ps-blue);
	font-size: 13px;
	transition: transform .3s var(--ps-ease), background .3s;
}
.faq-item[open] .faq-q i { transform: rotate(180deg); background: var(--ps-blue); color: #fff; }
.faq-a { padding: 0 20px 18px; }
.faq-a p { font-size: 16px; line-height: 1.75 !important; color: #3b4756; }

/* ---------- หน้าติดต่อเรา ---------- */
.contact-hero { background-size: cover; background-position: center; }
.contact-hero-overlay {
	padding: 72px 0 110px;
	background: linear-gradient(120deg, rgba(11, 31, 51, .88) 0%, rgba(11, 161, 234, .78) 100%);
	text-align: center;
	color: #fff;
}
.contact-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 16px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .16);
	border: 1px solid rgba(255, 255, 255, .3);
	font-size: 14px;
	margin-bottom: 16px;
}
.contact-hero h2 { color: #fff; font-size: 38px; font-weight: 700; line-height: 1.3; margin: 0 0 12px; }
.contact-hero .aeo-summary { max-width: 760px; margin: 0 auto !important; color: rgba(255, 255, 255, .92); font-size: 17px; line-height: 1.7 !important; }
.contact-body { padding: 0 0 64px; background: #f4f8fb; }
.contact-cards { margin-top: -70px; position: relative; z-index: 2; }
.contact-card {
	position: relative;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 6px;
	padding: 30px 24px 24px;
	border-radius: 22px;
	background: #fff;
	box-shadow: var(--ps-shadow);
	transition: transform .3s var(--ps-ease), box-shadow .3s var(--ps-ease);
}
.contact-card:hover { transform: translateY(-6px); box-shadow: var(--ps-shadow-lg); }
.contact-card-ico {
	width: 66px;
	height: 66px;
	border-radius: 20px;
	display: grid;
	place-items: center;
	color: #fff;
	font-size: 28px;
	margin-bottom: 8px;
}
.contact-card-call .contact-card-ico { background: linear-gradient(135deg, var(--ps-call-1), var(--ps-call-2)); }
.contact-card-line .contact-card-ico { background: linear-gradient(135deg, var(--ps-line-1), var(--ps-line-2)); font-size: 34px; }
.contact-card-info .contact-card-ico { background: linear-gradient(135deg, var(--ps-blue-2), var(--ps-blue)); }
.contact-card h3 { margin: 0; font-size: 22px; font-weight: 600; color: var(--ps-ink); }
.contact-card p { font-size: 15px; line-height: 1.6 !important; color: var(--ps-muted); }
.contact-card-value { font-size: 26px; font-weight: 700; color: var(--ps-ink) !important; margin: 10px 0 4px; text-decoration: none !important; }
.contact-card-line .contact-card-value { font-size: 18px; color: var(--ps-line-2) !important; margin-top: 4px; }
.contact-card-sub { font-size: 17px; color: var(--ps-muted) !important; margin-bottom: 8px; }
.contact-card .cta-btn { margin-top: auto; width: 100%; }
.contact-card-call .contact-card-value { margin-bottom: 18px; }
.contact-qr { display: block; padding: 10px; margin: 8px 0; border-radius: 18px; border: 2px dashed #bfeccf; transition: transform .3s var(--ps-ease); }
.contact-qr:hover { transform: scale(1.04); }
.contact-qr img { display: block; width: 160px; height: 160px; border-radius: 10px; }
.contact-card-line .cta-btn { margin-top: 14px; }
.contact-checklist, .contact-meta { list-style: none; padding: 0; margin: 10px 0 0; width: 100%; text-align: left; }
.contact-checklist li {
	display: flex;
	gap: 10px;
	padding: 10px 12px;
	margin-bottom: 8px;
	border-radius: 12px;
	background: var(--ps-blue-soft);
	font-size: 15px;
	line-height: 1.5;
	color: var(--ps-ink);
}
.contact-checklist i { color: var(--ps-blue); margin-top: 4px; }
.contact-meta li { font-size: 15px; padding: 4px 0; color: var(--ps-muted); }
.contact-meta i { color: var(--ps-blue); width: 20px; }
.contact-steps { margin: 36px 0 12px; }
.contact-steps .steps-list { margin-bottom: 40px; }
.contact-desc { max-width: 900px; margin: 0 auto; padding: 28px; border-radius: var(--ps-radius); background: #fff; box-shadow: var(--ps-shadow); }
.contact-desc .section-heading { font-size: 22px; margin-bottom: 10px; }
.contact-desc p { line-height: 1.8 !important; }
@media (max-width: 767px) {
	.contact-hero-overlay { padding: 48px 0 96px; }
	.contact-hero h2 { font-size: 27px; }
	.contact-hero .aeo-summary { font-size: 15.5px; }
}

/* ---------- Footer ---------- */
.site-footer { position: relative; margin-top: 0; background: var(--ps-navy); color: rgba(255, 255, 255, .78); font-family: 'Noto Sans Thai', sans-serif; }
.site-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--ps-blue-2); }
.footer-cta { padding: 56px 0 0; background: linear-gradient(180deg, #f4f8fb 0 50%, var(--ps-navy) 50% 100%); }
.footer-cta-card {
	position: relative;
	display: flex;
	align-items: center;
	gap: 28px;
	padding: 32px 36px;
	border-radius: 26px;
	background: linear-gradient(120deg, var(--ps-blue) 0%, #0480c8 55%, var(--ps-navy-2) 100%);
	box-shadow: var(--ps-shadow-lg);
	overflow: hidden;
	color: #fff;
}
.footer-cta-card::before {
	content: "";
	position: absolute;
	right: -80px;
	top: -120px;
	width: 320px;
	height: 320px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 255, 255, .18), transparent 70%);
}
.footer-cta-text { flex: 1 1 auto; position: relative; }
.footer-eyebrow { display: inline-flex; gap: 6px; align-items: center; font-size: 14px; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .16); }
.footer-cta-text h2 { margin: 10px 0 6px; color: #fff; font-size: 30px; font-weight: 700; line-height: 1.3; }
.footer-cta-text p { color: rgba(255, 255, 255, .88); font-size: 16px; }
.footer-cta-actions { flex: 0 0 auto; width: 520px; max-width: 100%; position: relative; }
.footer-cta-actions .cta-group { margin: 0; }
.footer-main { padding: 56px 0 24px; }
.footer-logo { display: inline-block; padding: 10px 16px; border-radius: 16px; background: #fff; margin-bottom: 16px; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); }
.footer-logo img { display: block; width: 210px; height: auto; }
.footer-about { color: rgba(255, 255, 255, .72); font-size: 15px; line-height: 1.7 !important; margin-bottom: 16px !important; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
	width: 42px;
	height: 42px;
	border-radius: 14px;
	display: grid;
	place-items: center;
	background: rgba(255, 255, 255, .08);
	border: 1px solid rgba(255, 255, 255, .12);
	font-size: 18px;
	transition: transform .25s var(--ps-ease), background .25s;
}
.footer-social a:hover { transform: translateY(-3px); background: var(--ps-blue); color: #fff; }
.footer-title { position: relative; margin: 0 0 18px; padding-bottom: 10px; font-size: 18px; font-weight: 600; color: #fff; }
.footer-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--ps-blue-2), var(--ps-blue)); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 9px; font-size: 15px; }
.footer-links a { display: inline-flex; align-items: center; gap: 6px; }
.footer-links a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ps-blue); transition: transform .2s; }
.footer-links a:hover::before { transform: scale(1.5); }
.footer-contact { list-style: none; padding: 0; margin: 0 0 14px; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 12px; font-size: 15px; line-height: 1.4; }
.footer-contact li > i { flex: 0 0 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(11, 161, 234, .18); color: var(--ps-blue-2); }
.footer-contact small { display: block; font-size: 12px; color: rgba(255, 255, 255, .55); }
.footer-contact a { font-weight: 600; color: #fff; word-break: break-word; }
.footer-qr { display: inline-flex; align-items: center; gap: 12px; padding: 8px 14px 8px 8px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); font-size: 13px; line-height: 1.3; }
.footer-qr img { width: 72px; height: 72px; border-radius: 10px; background: #fff; padding: 4px; }
.footer-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.footer-stat { padding: 10px 8px; border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); text-align: center; }
.footer-stat strong { display: block; font-size: 17px; color: #fff; font-weight: 700; }
.footer-stat small { font-size: 12px; color: rgba(255, 255, 255, .6); }
.footer-stat-total { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; background: linear-gradient(120deg, rgba(11, 161, 234, .35), rgba(33, 196, 255, .15)); }
.footer-stat-total strong { font-size: 20px; }
.footer-stat-total small { font-size: 13px; color: #fff; }
.footer-tags { padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .08); }
.footer-tags-list { display: flex; flex-wrap: wrap; gap: 8px; }
html .footer-tags-list .badge-primary {
	margin: 0 !important;
	padding: 7px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .07) !important;
	background-image: none;
	border: 1px solid rgba(255, 255, 255, .12);
	color: rgba(255, 255, 255, .8) !important;
	font-size: 13px;
	font-weight: 400 !important;
	white-space: normal;
	text-align: left;
	transition: background .2s, color .2s;
}
html .footer-tags-list .badge-primary:hover { background: var(--ps-blue) !important; color: #fff !important; }
.footer-bottom { padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, .08); background: #07172a; font-size: 14px; }
.footer-bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-legal a { color: rgba(255, 255, 255, .7); }
@media (max-width: 991px) {
	.footer-cta-card { flex-direction: column; align-items: stretch; text-align: center; padding: 28px 22px; }
	.footer-cta-actions { width: 100%; }
}
@media (max-width: 575px) {
	.footer-cta { padding-top: 40px; }
	.footer-cta-text h2 { font-size: 24px; }
	.footer-bottom-inner { justify-content: center; text-align: center; }
	.footer-legal { justify-content: center; }
}

/* ---------- Cookie banner (PDPA) ---------- */
.cc-banner {
	position: fixed;
	left: 16px;
	right: 16px;
	bottom: 16px;
	z-index: 1050;
	max-width: 1100px;
	margin: 0 auto;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 20px 60px rgba(11, 31, 51, .28);
	border: 1px solid #e3eef6;
	font-family: 'Noto Sans Thai', sans-serif;
	opacity: 0;
	transform: translateY(24px);
	transition: opacity .35s var(--ps-ease), transform .35s var(--ps-ease);
}
.cc-banner.is-visible { opacity: 1; transform: none; }
.cc-banner[hidden], .cc-modal[hidden] { display: none !important; }
.cc-inner { display: flex; align-items: center; gap: 18px; padding: 18px 22px; }
.cc-icon { flex: 0 0 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: #fff4e5; color: #e8930c; font-size: 24px; }
.cc-text { flex: 1 1 auto; min-width: 0; }
.cc-text strong { display: block; font-size: 17px; color: var(--ps-ink); margin-bottom: 2px; }
.cc-text p { font-size: 14px; line-height: 1.6 !important; color: var(--ps-muted); }
.cc-text a { color: var(--ps-blue); text-decoration: underline; }
.cc-actions { display: flex; gap: 8px; flex: 0 0 auto; align-items: center; }
.cc-btn {
	appearance: none;
	border: 0;
	cursor: pointer;
	padding: 11px 20px;
	border-radius: 999px;
	font-family: 'Noto Sans Thai', sans-serif;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
	transition: transform .2s var(--ps-ease), background .2s, box-shadow .2s;
}
.cc-btn:active { transform: scale(.96); }
.cc-btn-primary { background: linear-gradient(120deg, var(--ps-blue-2), var(--ps-blue)); color: #fff; box-shadow: 0 8px 18px -8px rgba(11, 161, 234, .8); }
.cc-btn-primary:hover { box-shadow: 0 10px 22px -8px rgba(11, 161, 234, 1); }
.cc-btn-outline { background: #fff; color: var(--ps-ink); box-shadow: inset 0 0 0 1.5px #c9d6e2; }
.cc-btn-outline:hover { box-shadow: inset 0 0 0 1.5px var(--ps-blue); color: var(--ps-blue); }
.cc-btn-link { background: none; color: var(--ps-muted); text-decoration: underline; padding-left: 8px; padding-right: 8px; }
.cc-btn:focus-visible, .cc-close:focus-visible { outline: 3px solid var(--ps-blue-2); outline-offset: 2px; }
@media (max-width: 991px) {
	.cc-inner { flex-wrap: wrap; }
	.cc-actions { width: 100%; }
	.cc-actions .cc-btn-outline, .cc-actions .cc-btn-primary { flex: 1 1 0; }
}
@media (max-width: 767px) {
	.cc-banner { left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); }
	.cc-inner { padding: 16px; gap: 10px 12px; }
	.cc-icon { flex-basis: 40px; height: 40px; font-size: 19px; border-radius: 12px; align-self: flex-start; }
	.cc-text { flex-basis: calc(100% - 52px); }
	.cc-text p { font-size: 13px; }
	.cc-actions { flex-wrap: wrap; }
	.cc-btn-link { order: 3; width: 100%; padding: 4px; }
	/* ระหว่างแสดง banner ซ่อนแถบ FAB ชั่วคราวบนมือถือ (ไม่ให้ซ้อนกัน) */
	body.cc-open .fab-dock { opacity: 0; pointer-events: none; transform: translateY(20px); }
	.fab-dock { --cc-h: 0px; transition: opacity .3s, transform .3s; }
}

.cc-modal { position: fixed; inset: 0; z-index: 1060; display: grid; place-items: center; padding: 16px; font-family: 'Noto Sans Thai', sans-serif; }
.cc-backdrop { position: absolute; inset: 0; background: rgba(11, 31, 51, .55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); opacity: 0; transition: opacity .3s; }
.cc-dialog {
	position: relative;
	width: 100%;
	max-width: 560px;
	max-height: calc(100vh - 32px);
	display: flex;
	flex-direction: column;
	border-radius: 22px;
	background: #fff;
	box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
	opacity: 0;
	transform: translateY(20px) scale(.98);
	transition: opacity .3s var(--ps-ease), transform .3s var(--ps-ease);
	outline: none;
}
.cc-modal.is-visible .cc-backdrop { opacity: 1; }
.cc-modal.is-visible .cc-dialog { opacity: 1; transform: none; }
html.cc-modal-open { overflow: hidden; }
.cc-dialog-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid #edf2f7; }
.cc-dialog-head h2 { margin: 0; font-size: 20px; font-weight: 600; color: var(--ps-ink); }
.cc-dialog-head h2 i { color: var(--ps-blue); margin-right: 4px; }
.cc-close { width: 38px; height: 38px; border: 0; border-radius: 50%; background: #f1f5f9; color: var(--ps-ink); cursor: pointer; font-size: 18px; }
.cc-dialog-body { padding: 16px 22px; overflow-y: auto; }
.cc-dialog-body > p { font-size: 14px; line-height: 1.6 !important; color: var(--ps-muted); margin-bottom: 12px !important; }
.cc-cat { padding: 14px 16px; margin-bottom: 10px; border-radius: 14px; background: #f7fafc; border: 1px solid #e8eef4; }
.cc-cat-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.cc-cat-head label { margin: 0; font-size: 16px; color: var(--ps-ink); cursor: pointer; }
.cc-cat p { font-size: 13.5px; line-height: 1.55 !important; color: var(--ps-muted); }
.cc-badge { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: #e3f6ec; color: #0c8a43; font-size: 12px; font-weight: 600; }
.cc-switch { position: relative; flex: 0 0 50px; height: 28px; }
.cc-switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.cc-switch span { position: absolute; inset: 0; border-radius: 999px; background: #cfd8e3; transition: background .25s; }
.cc-switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); transition: transform .25s var(--ps-ease); }
.cc-switch input:checked + span { background: linear-gradient(120deg, var(--ps-blue-2), var(--ps-blue)); }
.cc-switch input:checked + span::after { transform: translateX(22px); }
.cc-switch input:disabled { cursor: not-allowed; }
.cc-switch input:disabled + span { opacity: .6; }
.cc-switch input:focus-visible + span { outline: 3px solid var(--ps-blue-2); outline-offset: 2px; }
.cc-dialog-foot { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; padding: 14px 22px 18px; border-top: 1px solid #edf2f7; }
@media (max-width: 575px) {
	.cc-modal { place-items: end center; padding: 0; }
	.cc-dialog { max-width: none; max-height: 92vh; border-radius: 22px 22px 0 0; }
	.cc-dialog-foot .cc-btn { flex: 1 1 calc(50% - 4px); }
	.cc-dialog-foot .cc-btn-primary { flex-basis: 100%; }
}

/* ---------- หน้านโยบาย ---------- */
.policy-page { padding: 48px 0 64px; background: #f4f8fb; }
.policy-card { max-width: 920px; margin: 0 auto; padding: 40px 44px; border-radius: 24px; background: #fff; box-shadow: var(--ps-shadow); color: #2a3442; }
.policy-card h2 { margin: 36px 0 12px; padding-top: 6px; font-size: 22px; font-weight: 600; color: var(--ps-ink); scroll-margin-top: 20px; }
.policy-card h3 { margin: 20px 0 8px; font-size: 18px; font-weight: 600; color: var(--ps-ink); }
.policy-card p { line-height: 1.8 !important; color: #374151; margin-bottom: 10px !important; }
.policy-card ul, .policy-card ol { padding-left: 22px; line-height: 1.8; }
.policy-card li { margin-bottom: 6px; }
.policy-card a { color: var(--ps-blue); text-decoration: underline; }
.policy-updated { display: inline-flex; gap: 8px; align-items: center; padding: 6px 14px; border-radius: 999px; background: var(--ps-blue-soft); color: #0679b3 !important; font-size: 14px; }
.policy-lead { font-size: 17px; margin-top: 14px !important; }
.policy-toc { margin: 22px 0; padding: 18px 22px; border-radius: 16px; background: #f7fafc; border: 1px solid #e6eef5; }
.policy-toc ol { columns: 2; column-gap: 30px; margin: 8px 0 0; }
.policy-toc a { text-decoration: none; }
.policy-note { display: flex; gap: 10px; padding: 14px 16px; border-radius: 14px; background: #fff8e8; border: 1px solid #fde7b0; font-size: 15px; }
.policy-note i { color: #e8930c; margin-top: 6px; }
.policy-table-wrap { overflow-x: auto; margin: 12px 0 16px; border-radius: 14px; border: 1px solid #e6eef5; -webkit-overflow-scrolling: touch; }
.policy-table { width: 100%; border-collapse: collapse; font-size: 15px; background: #fff; }
.policy-table-wide { min-width: 600px; }
.policy-table th { background: var(--ps-blue-soft); color: var(--ps-ink); font-weight: 600; text-align: left; padding: 12px 14px; }
.policy-table td { padding: 12px 14px; border-top: 1px solid #edf2f7; vertical-align: top; line-height: 1.6; }
.policy-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 22px 0; padding: 18px 22px; border-radius: 16px; background: linear-gradient(120deg, var(--ps-blue-soft), #fff); border: 1px solid #cdeaf9; font-size: 15px; }
.policy-contact { padding: 18px 22px; border-radius: 16px; background: #f7fafc; border: 1px solid #e6eef5; }
.policy-contact ul { list-style: none; padding: 0; margin: 8px 0 0; }
.policy-contact i { width: 22px; color: var(--ps-blue); }
@media (max-width: 767px) {
	.policy-page { padding: 24px 0 40px; }
	.policy-card { padding: 24px 18px; border-radius: 18px; }
	.policy-toc ol { columns: 1; }
	.policy-cta { flex-direction: column; align-items: stretch; text-align: center; }
}

/* ---------- แอดมิน ---------- */
.admin-og-preview { display: flex; gap: 14px; align-items: center; padding: 10px; border-radius: 12px; background: #f7fafc; border: 1px solid #e6eef5; }
.admin-og-preview img { width: 220px; max-width: 45%; aspect-ratio: 1.91 / 1; object-fit: cover; border-radius: 8px; background: #e2e8f0; }
.admin-og-preview code { display: block; font-size: 12px; word-break: break-all; color: var(--ps-muted); }
.admin-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin-bottom: 16px; }
.admin-stats > div { padding: 16px; border-radius: 16px; background: #fff; box-shadow: var(--ps-shadow); }
.admin-stats small { display: block; color: var(--ps-muted); font-size: 13px; }
.admin-stats strong { font-size: 26px; color: var(--ps-ink); }

/* ---------- ผู้ใช้ที่ตั้งค่าลดการเคลื่อนไหว ---------- */
@media (prefers-reduced-motion: reduce) {
	.cta-btn::after, .cta-call .cta-ico::before, .cta-call .cta-ico::after, .cta-call .cta-ico i,
	.fab-call .fab-icon::after, .fab-call .fab-icon i, .fab-item, .intro-float, .works-grid .is-extra { animation: none !important; }
	.cta-btn, .fab-item, .step-item, .contact-card, .cc-banner, .cc-dialog { transition: none !important; }
}
