/* ===== สไตล์เพิ่มเติมของเว็บ: เนื้อหาหน้าแรก (hc-), หน้านโยบาย (pp-), เมนูแอดมิน (nav-admin) ===== */

.hc-section {
	padding: 64px 0;
	background: #FFF;
	font-family: 'Prompt', sans-serif;
}

.hc-alt {
	background: #F4F6F8;
}

.hc-dark {
	background: linear-gradient(135deg, #10202e 0%, #1b3a2a 100%);
	color: #FFF;
}

.hc-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 12px;
	padding: 6px 14px;
	border-radius: 999px;
	background: #e9f9ea;
	color: #2f8a02;
	font-size: 14px;
	font-weight: 500;
}

h2.hc-title {
	margin: 0 0 14px;
	color: #1d2b36;
	font-size: 30px;
	font-weight: 600;
	line-height: 1.35;
}

.hc-dark h2.hc-title {
	color: #FFF;
}

.hc-section p.hc-lead {
	margin: 0 0 14px !important;
	color: #4a5560;
	font-size: 17px;
	line-height: 1.8 !important;
}

.hc-section p.hc-sub {
	max-width: 760px;
	margin: 0 auto 36px !important;
	color: #5c6873;
	font-size: 17px;
	line-height: 1.7 !important;
}

.hc-section strong {
	color: #1d2b36;
	font-weight: 600;
}

/* การ์ดโทรด่วน */
.hc-callcard {
	margin-top: 20px;
	padding: 28px;
	border-radius: 20px;
	background: linear-gradient(140deg, #ff9f1c 0%, #ff5a00 100%);
	color: #FFF;
	box-shadow: 0 24px 50px -24px rgba(255, 90, 0, 0.7);
}

.hc-callcard-label {
	font-size: 16px;
	opacity: 0.95;
}

.hc-callcard-tel {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 6px 0 12px;
	color: #FFF !important;
	font-size: 34px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none !important;
}

.hc-callcard-line {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 18px;
	border-radius: 999px;
	background: #FFF;
	color: #06a847 !important;
	font-weight: 600;
	text-decoration: none !important;
}

.hc-callcard-line .fa-line {
	font-size: 22px;
}

.hc-callcard-list {
	margin: 18px 0 0;
	padding: 0;
	list-style: none;
}

.hc-callcard-list li {
	display: flex;
	gap: 10px;
	align-items: baseline;
	margin-top: 6px;
	font-size: 15.5px;
}

/* กริด */
.hc-grid {
	display: grid;
	gap: 22px;
}

.hc-grid-3 {
	grid-template-columns: repeat(3, 1fr);
}

.hc-grid-2 {
	grid-template-columns: repeat(2, 1fr);
}

.hc-card {
	padding: 26px 24px;
	border-radius: 18px;
	background: #FFF;
	box-shadow: 0 10px 30px -18px rgba(16, 32, 46, 0.35);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hc-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 40px -20px rgba(16, 32, 46, 0.45);
}

.hc-card-icon,
.hc-reason-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 54px;
	height: 54px;
	margin-bottom: 14px;
	border-radius: 16px;
	background: linear-gradient(120deg, #01c1f0 0%, #06c400 100%);
	color: #FFF;
	font-size: 22px;
}

h3.hc-card-title,
h3.hc-reason-title {
	margin: 0 0 8px;
	color: #1d2b36;
	font-size: 19px;
	font-weight: 600;
	line-height: 1.4;
}

.hc-section p.hc-card-text {
	margin: 0 !important;
	color: #5c6873;
	font-size: 15.5px;
	line-height: 1.75 !important;
}

.hc-reason {
	display: flex;
	gap: 18px;
	padding: 24px;
	border: 1px solid #e8edf1;
	border-radius: 18px;
}

.hc-reason-icon {
	margin-bottom: 0;
}

/* ขั้นตอน */
.hc-steps {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 22px;
	margin: 36px 0 0;
	padding: 0;
	list-style: none;
	counter-reset: none;
}

.hc-step {
	position: relative;
	padding: 26px 22px;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.07);
	border: 1px solid rgba(255, 255, 255, 0.12);
}

.hc-step-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin-bottom: 12px;
	border-radius: 50%;
	background: #FFD700;
	color: #10202e;
	font-size: 20px;
	font-weight: 700;
}

h3.hc-step-title {
	margin: 0 0 6px;
	color: #FFF;
	font-size: 19px;
	font-weight: 600;
}

.hc-dark p.hc-step-text {
	margin: 0 !important;
	color: rgba(255, 255, 255, 0.8);
	font-size: 15.5px;
	line-height: 1.7 !important;
}

/* เช็กลิสต์ */
.hc-checklist {
	margin: 0;
	padding: 0;
	list-style: none;
}

.hc-checklist li {
	display: flex;
	gap: 12px;
	align-items: baseline;
	padding: 10px 0;
	border-bottom: 1px dashed #e1e6ea;
	color: #4a5560;
	font-size: 16px;
	line-height: 1.7;
}

.hc-checklist li i {
	color: #06c400;
}

/* พื้นที่ให้บริการ */
.hc-areas {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 14px;
	padding: 0;
	list-style: none;
}

.hc-areas li {
	padding: 5px 12px;
	border-radius: 999px;
	background: #eef7ff;
	color: #1f5f8b;
	font-size: 14px;
}

.hc-section p.hc-note {
	color: #2f8a02;
	font-size: 15.5px;
	font-weight: 500;
}

/* FAQ */
.hc-faq {
	max-width: 860px;
	margin: 28px auto 0;
}

.hc-faq-item {
	margin-bottom: 12px;
	border-radius: 14px;
	background: #FFF;
	box-shadow: 0 6px 20px -14px rgba(16, 32, 46, 0.4);
}

.hc-faq-item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 22px;
	cursor: pointer;
	list-style: none;
}

.hc-faq-item summary::-webkit-details-marker {
	display: none;
}

.hc-faq-item summary::after {
	content: "+";
	flex: 0 0 auto;
	color: #06c400;
	font-size: 26px;
	line-height: 1;
	transition: transform 0.2s ease;
}

.hc-faq-item[open] summary::after {
	transform: rotate(45deg);
}

h3.hc-faq-q {
	margin: 0;
	color: #1d2b36;
	font-size: 17.5px;
	font-weight: 600;
	line-height: 1.5;
}

.hc-section p.hc-faq-a {
	margin: 0 !important;
	padding: 0 22px 20px;
	color: #5c6873;
	font-size: 16px;
	line-height: 1.8 !important;
}

/* ===== หน้านโยบาย ===== */
.pp-section {
	padding: 48px 0 64px;
	background: #F4F6F8;
	font-family: 'Prompt', sans-serif;
}

.pp-card {
	max-width: 900px;
	margin: 0 auto;
	padding: 40px 44px;
	border-radius: 18px;
	background: #FFF;
	box-shadow: 0 10px 30px -18px rgba(16, 32, 46, 0.35);
}

.pp-card h2 {
	margin: 32px 0 12px;
	color: #1d2b36;
	font-size: 22px;
	font-weight: 600;
	line-height: 1.4;
}

.pp-card h2:first-of-type {
	margin-top: 8px;
}

.pp-card h3 {
	margin: 20px 0 8px;
	color: #1d2b36;
	font-size: 18px;
	font-weight: 600;
}

.pp-card p {
	margin: 0 0 12px !important;
	color: #4a5560;
	font-size: 16px;
	line-height: 1.85 !important;
}

.pp-card ul {
	margin: 0 0 14px;
	padding-left: 22px;
	color: #4a5560;
	font-size: 16px;
	line-height: 1.85;
}

.pp-card a {
	color: #2f8a02;
	text-decoration: underline;
}

.pp-meta {
	display: inline-block;
	margin-bottom: 12px;
	padding: 4px 12px;
	border-radius: 999px;
	background: #eef7ff;
	color: #1f5f8b;
	font-size: 14px;
}

.pp-table {
	width: 100%;
	margin: 0 0 16px;
	border-collapse: collapse;
	font-size: 15px;
}

.pp-table th,
.pp-table td {
	padding: 10px 12px;
	border: 1px solid #e3e8ec;
	color: #4a5560;
	text-align: left;
	vertical-align: top;
}

.pp-table th {
	background: #f4f6f8;
	color: #1d2b36;
	font-weight: 600;
}

.pp-table-wrap {
	overflow-x: auto;
}

.pp-contact {
	padding: 18px 22px;
	border-left: 4px solid #06c400;
	border-radius: 0 12px 12px 0;
	background: #f4fbf4;
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
	.hc-grid-3 {
		grid-template-columns: repeat(2, 1fr);
	}

	.hc-steps {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 767px) {
	.hc-section {
		padding: 44px 0;
	}

	h2.hc-title {
		font-size: 24px;
	}

	.hc-grid-3,
	.hc-grid-2,
	.hc-steps {
		grid-template-columns: 1fr;
	}

	.hc-reason {
		padding: 20px;
	}

	.hc-callcard {
		padding: 22px;
	}

	.hc-callcard-tel {
		font-size: 28px;
	}

	.pp-card {
		padding: 26px 20px;
	}
}

/* ===== เมนูแอดมินบน navtop (แสดงเฉพาะตอนล็อกอินแอดมิน) ===== */
#header .nav-admin > .dropdown-menu {
	min-width: 220px;
	padding: 8px;
	border: 0;
	border-radius: 12px;
	box-shadow: 0 16px 40px -16px rgba(0, 0, 0, 0.35);
}

#header .nav-admin > .dropdown-menu .dropdown-item {
	padding: 10px 14px;
	border-radius: 8px;
	color: #444 !important;
	font-size: 15px;
}

#header .nav-admin > .dropdown-menu .dropdown-item:hover {
	background: #eef9ee;
	color: #2f8a02 !important;
}

#header .header-nav-main nav > ul > li.nav-admin.nav-admin-open > .dropdown-menu {
	display: block;
}

@media (min-width: 992px) {
	#header .nav-admin:hover > .dropdown-menu {
		display: block;
	}
}

@media (max-width: 991px) {
	#header .nav-admin > .dropdown-menu {
		position: static;
		float: none;
		margin: 0 0 8px 16px;
		box-shadow: none;
		background: #f6f8fa;
	}
}

/* ===== หน้าติดต่อเรา (ct-) ===== */
.ct-hero {
	background-size: cover;
	background-position: center center;
	font-family: 'Prompt', sans-serif;
}

.ct-hero-overlay {
	padding: 90px 0;
	background: linear-gradient(120deg, rgba(10, 25, 35, 0.92) 0%, rgba(10, 25, 35, 0.72) 55%, rgba(6, 120, 40, 0.55) 100%);
	text-align: center;
}

.ct-status {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 16px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: #FFF;
	font-size: 14.5px;
}

.ct-status-dot {
	position: relative;
	display: inline-block;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #22d16f;
}

.ct-status-dot::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: #22d16f;
	animation: ct-ping 1.6s ease-out infinite;
}

@keyframes ct-ping {
	0% { transform: scale(1); opacity: 0.8; }
	100% { transform: scale(2.6); opacity: 0; }
}

h2.ct-hero-title {
	margin: 18px 0 12px;
	color: #FFF;
	font-size: 40px;
	font-weight: 600;
	line-height: 1.3;
}

.ct-hero p.ct-hero-text {
	max-width: 720px;
	margin: 0 auto 30px !important;
	color: rgba(255, 255, 255, 0.85);
	font-size: 18px;
	line-height: 1.7 !important;
}

.ct-hero-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px;
}

.ct-btn {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	min-width: 250px;
	padding: 12px 28px 12px 14px;
	border-radius: 999px;
	color: #FFF !important;
	text-align: left;
	text-decoration: none !important;
	box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.55);
	transition: transform 0.2s ease, filter 0.2s ease;
}

.ct-btn:hover {
	transform: translateY(-3px);
	filter: brightness(1.06);
}

.ct-btn > i {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.22);
	font-size: 21px;
}

.ct-btn-line > i {
	font-size: 27px;
}

.ct-btn span {
	display: flex;
	flex-direction: column;
	font-size: 21px;
	font-weight: 600;
	line-height: 1.25;
}

.ct-btn small {
	font-size: 13px;
	font-weight: 400;
	opacity: 0.9;
}

.ct-btn-call {
	background: linear-gradient(135deg, #ff9f1c 0%, #ff5a00 100%);
}

.ct-btn-line {
	background: linear-gradient(135deg, #22d16f 0%, #06c755 100%);
}

.ct-btn-inline {
	margin-top: 20px;
}

/* การ์ดช่องทางติดต่อ */
.ct-channels .hc-grid {
	align-items: stretch;
}

.ct-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: 28px 26px;
	border-radius: 18px;
	background: #FFF;
	box-shadow: 0 10px 30px -18px rgba(16, 32, 46, 0.35);
	font-family: 'Prompt', sans-serif;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ct-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 40px -20px rgba(16, 32, 46, 0.45);
}

.ct-card-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	margin-bottom: 16px;
	border-radius: 16px;
	color: #FFF;
	font-size: 23px;
}

.ct-icon-call { background: linear-gradient(135deg, #ff9f1c 0%, #ff5a00 100%); }
.ct-icon-line { background: linear-gradient(135deg, #22d16f 0%, #06c755 100%); font-size: 29px; }
.ct-icon-time { background: linear-gradient(120deg, #01c1f0 0%, #06c400 100%); }
.ct-icon-fb { background: linear-gradient(135deg, #3b82f6 0%, #1877f2 100%); }
.ct-icon-mail { background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%); }
.ct-icon-map { background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%); }

h3.ct-card-title {
	margin: 0 0 4px;
	color: #6b7680;
	font-size: 15px;
	font-weight: 500;
}

.ct-card-value {
	color: #1d2b36 !important;
	font-size: 25px;
	font-weight: 600;
	line-height: 1.35;
	text-decoration: none !important;
	word-break: break-word;
}

a.ct-card-value:hover {
	color: #2f8a02 !important;
}

.ct-card-value-sm {
	font-size: 18px;
}

.ct-card p.ct-card-note {
	margin: 8px 0 0 !important;
	color: #6b7680;
	font-size: 14.5px;
	line-height: 1.6 !important;
}

.ct-card p.ct-card-addr {
	margin-top: 0 !important;
	color: #1d2b36;
	font-size: 16px;
}

.ct-card-action {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: auto;
	padding-top: 18px;
	color: #2f8a02 !important;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none !important;
}

.ct-card-action i {
	transition: transform 0.2s ease;
}

.ct-card-action:hover i {
	transform: translateX(4px);
}

.ct-card-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: auto;
	padding: 6px 14px;
	border-radius: 999px;
	background: #e9f9ea;
	color: #2f8a02;
	font-size: 14px;
	font-weight: 500;
}

.ct-card p.ct-card-note + .ct-card-badge {
	margin-top: 18px;
}

/* ขั้นตอนแชร์ตำแหน่ง */
.ct-steps {
	margin: 8px 0 0;
	padding: 0;
	list-style: none;
}

.ct-steps li {
	display: flex;
	gap: 16px;
	padding: 14px 0;
	border-bottom: 1px dashed #e1e6ea;
	font-family: 'Prompt', sans-serif;
}

.ct-step-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: linear-gradient(120deg, #01c1f0 0%, #06c400 100%);
	color: #FFF;
	font-weight: 700;
}

.ct-steps strong {
	color: #1d2b36;
	font-size: 16.5px;
	font-weight: 600;
}

.ct-steps p {
	margin: 2px 0 0 !important;
	color: #5c6873;
	font-size: 15px;
	line-height: 1.6 !important;
}

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

@media (max-width: 767px) {
	.ct-hero-overlay {
		padding: 56px 0;
	}

	h2.ct-hero-title {
		font-size: 28px;
	}

	.ct-hero p.ct-hero-text {
		font-size: 16px;
	}

	.ct-btn {
		width: 100%;
		min-width: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ct-status-dot::after {
		animation: none;
	}
}

/* ===== Navtop (site-header) ===== */
:root {
	--topbar-h: 40px;
}

/* แถบบนเลื่อนหายไป ส่วนแถบเมนูติดด้านบนจอ */
html #header.site-header {
	position: -webkit-sticky;
	position: sticky;
	top: calc(-1 * var(--topbar-h));
	z-index: 1030;
}

html #header.site-header .header-body {
	border: 0;
	background: #FFF;
	box-shadow: 0 1px 0 rgba(16, 32, 46, 0.08);
	transition: box-shadow 0.25s ease;
}

html #header.site-header.site-header-scrolled .header-body {
	box-shadow: 0 10px 30px -12px rgba(16, 32, 46, 0.28);
}

.site-topbar {
	height: var(--topbar-h);
	overflow: hidden;
	background: #0f1c24;
	color: rgba(255, 255, 255, 0.82);
	font-size: 14px;
}

.site-topbar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	height: 100%;
	white-space: nowrap;
}

.site-topbar-status {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
}

.site-topbar-status strong {
	color: #FFF;
	font-weight: 500;
}

.site-topbar-links {
	display: inline-flex;
	align-items: center;
	gap: 18px;
	flex: 0 0 auto;
}

.site-topbar-links a {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: #FFF !important;
	font-weight: 500;
	text-decoration: none !important;
}

.site-topbar-links a:hover {
	color: #FFD700 !important;
}

.site-topbar-links .fa-line {
	color: #22d16f;
	font-size: 17px;
}

html #header.site-header .header-container {
	min-height: 76px;
}

.site-logo img {
	width: auto;
	height: 52px;
}

/* เมนูเดสก์ท็อป */
@media (min-width: 992px) {
	html #header.site-header .header-nav-main nav > ul > li > a {
		gap: 6px;
		margin: 0 2px;
		padding: 10px 18px;
		border-radius: 999px;
		background: transparent !important;
		color: #3a4650 !important;
		font-size: 16px;
		font-weight: 500;
		text-transform: none;
		transition: background 0.2s ease, color 0.2s ease;
	}

	html #header.site-header .header-nav-main nav > ul > li > a:hover,
	html #header.site-header .header-nav-main nav > ul > li:hover > a {
		background: #f1f5f3 !important;
		color: #2f8a02 !important;
	}

	html #header.site-header .header-nav-main nav > ul > li > a.active {
		background: #e9f9ea !important;
		color: #2f8a02 !important;
	}

	html #header.site-header .header-nav-main nav > ul > li > a i {
		font-size: 14px;
		opacity: 0.85;
	}
}

.site-header-cta {
	align-items: center;
	gap: 10px;
	margin-left: 14px;
	padding: 7px 20px 7px 7px;
	border-radius: 999px;
	background: linear-gradient(135deg, #ff9f1c 0%, #ff5a00 100%);
	color: #FFF !important;
	font-family: 'Prompt', sans-serif;
	text-decoration: none !important;
	box-shadow: 0 10px 22px -10px rgba(255, 90, 0, 0.7);
	transition: transform 0.2s ease, filter 0.2s ease;
}

.site-header-cta:hover {
	transform: translateY(-2px);
	filter: brightness(1.06);
}

.site-header-cta > i {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.22);
	font-size: 16px;
}

.site-header-cta span {
	display: flex;
	flex-direction: column;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.2;
}

.site-header-cta small {
	font-size: 11.5px;
	font-weight: 400;
	opacity: 0.92;
}

/* เมนูมือถือ */
@media (max-width: 991px) {
	:root {
		--topbar-h: 36px;
	}

	.site-topbar {
		font-size: 13px;
	}

	html #header.site-header .header-container {
		min-height: 64px;
	}

	.site-logo img {
		height: 40px;
	}

	html #header.site-header .header-btn-collapse-nav {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		margin: 0 0 0 10px;
		padding: 0;
		border: 0;
		border-radius: 12px;
		background: #f1f5f3;
		color: #1d2b36;
		font-size: 19px;
	}

	html #header.site-header .header-nav-main nav {
		padding: 8px 0 12px;
	}

	html #header.site-header .header-nav-main:not(.header-nav-main-mobile-dark) nav > ul > li > a {
		gap: 10px;
		margin: 2px 0;
		padding: 12px 14px;
		border-radius: 12px;
		background: transparent !important;
		color: #3a4650 !important;
		font-size: 16.5px;
		font-weight: 500;
		text-transform: none;
	}

	html #header.site-header .header-nav-main:not(.header-nav-main-mobile-dark) nav > ul > li > a.active {
		background: #e9f9ea !important;
		background-image: none !important;
		color: #2f8a02 !important;
	}

	html #header.site-header .header-nav-main nav > ul li {
		border-bottom: 0;
	}
}

/* ===== Footer (site-footer) ===== */
html #footer.site-footer {
	margin-top: 0;
	padding: 0;
	border-top: 0;
	background: #0e1a22;
	box-shadow: none;
	color: rgba(255, 255, 255, 0.72);
	font-family: 'Prompt', sans-serif;
	font-size: 15px;
}

.site-footer .ft-main {
	padding: 64px 15px 28px;
}

.site-footer .ft-col {
	margin-bottom: 32px;
}

.site-footer a.ft-brand {
	display: inline-block;
	margin-bottom: 12px;
	color: #FFF !important;
	font-size: 22px;
	font-weight: 600;
	line-height: 1.4;
	text-decoration: none !important;
}

.site-footer p.ft-about {
	margin: 0 0 16px !important;
	color: rgba(255, 255, 255, 0.65);
	font-size: 14.5px;
	line-height: 1.75 !important;
}

.site-footer .ft-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 14px;
	border-radius: 999px;
	background: rgba(34, 209, 111, 0.12);
	color: #5ee59a;
	font-size: 14px;
}

.site-footer .ft-social {
	display: flex;
	gap: 10px;
	margin-top: 20px;
}

.site-footer .ft-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.07);
	color: #FFF !important;
	font-size: 17px;
	text-decoration: none !important;
	transition: background 0.2s ease, transform 0.2s ease;
}

.site-footer .ft-social a:hover {
	background: #06c400;
	transform: translateY(-2px);
}

.site-footer h3.ft-heading {
	margin: 4px 0 18px;
	color: #FFF;
	font-size: 17px;
	font-weight: 600;
	letter-spacing: 0.2px;
}

.site-footer .ft-links,
.site-footer .ft-contact {
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer .ft-links li {
	margin-bottom: 10px;
}

.site-footer .ft-links a {
	color: rgba(255, 255, 255, 0.72) !important;
	text-decoration: none !important;
	transition: color 0.2s ease, padding 0.2s ease;
}

.site-footer .ft-links a:hover {
	padding-left: 4px;
	color: #5ee59a !important;
}

.site-footer .ft-contact li {
	display: flex;
	gap: 12px;
	margin-bottom: 14px;
	line-height: 1.5;
}

.site-footer .ft-contact li > i {
	flex: 0 0 auto;
	width: 18px;
	margin-top: 3px;
	color: #5ee59a;
	text-align: center;
}

.site-footer .ft-contact li > span {
	display: flex;
	flex-direction: column;
}

.site-footer .ft-contact a {
	color: #FFF !important;
	font-weight: 500;
	text-decoration: none !important;
}

.site-footer .ft-contact a:hover {
	color: #5ee59a !important;
}

.site-footer .ft-contact small {
	color: rgba(255, 255, 255, 0.5);
	font-size: 12.5px;
}

/* ตารางสถิติการเข้าชม (widget-counter.php) */
.site-footer .ft-counter > div > div {
	margin-top: 0 !important;
}

.site-footer .ft-counter table td {
	padding: 7px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.07);
	color: rgba(255, 255, 255, 0.65);
	font-size: 14px;
}

.site-footer .ft-counter table td:last-child {
	color: #FFF;
	font-weight: 500;
	text-align: right;
}

.site-footer .ft-counter table tr:last-child td {
	border-bottom: 0;
	color: #5ee59a;
	font-weight: 600;
}

/* แท็กคำค้น */
.site-footer .ft-tags {
	padding-top: 24px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	text-align: center;
}

html .site-footer .ft-tags .badge-primary {
	margin: 0 2px 6px;
	padding: 6px 12px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	background: rgba(255, 255, 255, 0.05);
	background-image: none;
	color: rgba(255, 255, 255, 0.7) !important;
	font-size: 13px;
	font-weight: 400 !important;
	transition: background 0.2s ease, color 0.2s ease;
}

html .site-footer .ft-tags .badge-primary:hover {
	background: rgba(94, 229, 154, 0.15) !important;
	color: #5ee59a !important;
}

.site-footer .ft-bottom {
	padding: 18px 0;
	background: #091218;
	color: rgba(255, 255, 255, 0.55);
	font-size: 14px;
}

.site-footer .ft-bottom-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start; /* ชิดซ้าย: มุมขวาล่างเป็นที่ของปุ่มติดต่อลอย */
	gap: 8px 32px;
}

.site-footer .ft-bottom-links {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 20px;
}

.site-footer .ft-bottom-links a {
	color: rgba(255, 255, 255, 0.7) !important;
	text-decoration: none !important;
}

.site-footer .ft-bottom-links a:hover {
	color: #FFF !important;
	text-decoration: underline !important;
}

@media (max-width: 767px) {
	.site-footer .ft-main {
		padding: 44px 15px 20px;
	}

	.site-footer .ft-bottom-inner {
		flex-direction: column-reverse;
		text-align: center;
	}

	.site-footer .ft-bottom-links {
		justify-content: center;
	}
}

/* กริด 4 คอลัมน์ (บริการหน้าแรก) */
.hc-grid-4 {
	grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1199px) {
	.hc-grid-4 {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 767px) {
	.hc-grid-4 {
		grid-template-columns: 1fr;
	}
}

.site-topbar-status .fa-tree,
.site-footer .ft-badge .fa-tree {
	color: #5ee59a;
}

/* ===== ปุ่มติดต่อ (widget-btn-contact.php) ===== */
.cta-group {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 16px;
	margin: 8px 0;
}

.cta-btn {
	--cta-glow: rgba(255, 90, 0, 0.55);
	position: relative;
	isolation: isolate;
	overflow: hidden;
	display: inline-flex;
	align-items: center;
	gap: 14px;
	min-width: 290px;
	padding: 11px 24px 11px 11px;
	border-radius: 999px;
	color: #FFF !important;
	font-family: 'Prompt', sans-serif;
	text-align: left;
	text-decoration: none !important;
	box-shadow: 0 14px 30px -12px var(--cta-glow), inset 0 1px 0 rgba(255, 255, 255, 0.3);
	transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s ease;
	-webkit-tap-highlight-color: transparent;
}

.cta-call {
	background: linear-gradient(135deg, #ffb02e 0%, #ff6a00 55%, #ff4d00 100%);
}

.cta-line {
	--cta-glow: rgba(6, 199, 85, 0.55);
	background: linear-gradient(135deg, #3ee08a 0%, #06c755 55%, #04a847 100%);
}

/* แสงวิ่งผ่านปุ่มเป็นระยะ */
.cta-btn::before {
	content: "";
	position: absolute;
	top: 0;
	left: -80%;
	z-index: 0;
	width: 50%;
	height: 100%;
	background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.45) 50%, transparent 100%);
	transform: skewX(-20deg);
	animation: cta-shine 4s ease-in-out infinite;
	pointer-events: none;
}

.cta-line::before {
	animation-delay: 2s;
}

@keyframes cta-shine {
	0% { left: -80%; }
	35%, 100% { left: 140%; }
}

.cta-btn > * {
	position: relative;
	z-index: 1;
}

.cta-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.24);
	font-size: 20px;
}

.cta-line .cta-icon {
	font-size: 27px;
}

/* วงคลื่นรอบไอคอน */
.cta-icon::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	animation: cta-pulse 2.2s ease-out infinite;
}

@keyframes cta-pulse {
	0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.6); }
	70% { box-shadow: 0 0 0 14px rgba(255, 255, 255, 0); }
	100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

/* ไอคอนโทรศัพท์สั่นเหมือนมีสายเข้า */
.cta-call .cta-icon i {
	animation: cta-ring 2.6s ease-in-out infinite;
	transform-origin: 50% 60%;
}

@keyframes cta-ring {
	0%, 55%, 100% { transform: rotate(0); }
	5%, 15%, 25% { transform: rotate(-16deg); }
	10%, 20%, 30% { transform: rotate(16deg); }
	35% { transform: rotate(0); }
}

.cta-text {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	line-height: 1.2;
}

.cta-text small {
	font-size: 13px;
	opacity: 0.92;
}

.cta-text strong {
	font-size: 22px;
	font-weight: 600;
	letter-spacing: 0.3px;
	white-space: nowrap;
}

.cta-arrow {
	font-size: 15px;
	opacity: 0.85;
	transition: transform 0.25s ease, opacity 0.25s ease;
}

.cta-btn:hover,
.cta-btn:focus-visible {
	transform: translateY(-4px) scale(1.02);
	box-shadow: 0 22px 40px -14px var(--cta-glow), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.cta-btn:hover .cta-arrow,
.cta-btn:focus-visible .cta-arrow {
	opacity: 1;
	transform: translateX(5px);
}

.cta-line:hover .cta-icon i {
	animation: cta-bounce 0.6s ease;
}

@keyframes cta-bounce {
	0%, 100% { transform: translateY(0); }
	40% { transform: translateY(-5px); }
	70% { transform: translateY(2px); }
}

.cta-btn:active {
	transform: translateY(-1px) scale(0.97);
}

.cta-btn:focus-visible {
	outline: 3px solid #FFD700;
	outline-offset: 3px;
}

/* วงกระเพื่อมตอนกดปุ่ม (สร้างจาก js/custom.js) */
.cta-ripple {
	position: absolute;
	z-index: 0;
	width: 20px;
	height: 20px;
	margin: -10px 0 0 -10px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.5);
	transform: scale(0);
	animation: cta-ripple 0.6s ease-out forwards;
	pointer-events: none;
}

@keyframes cta-ripple {
	to { transform: scale(30); opacity: 0; }
}

@media (max-width: 767px) {
	.cta-group {
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
	}

	.cta-btn {
		min-width: 0;
	}

	.cta-text strong {
		font-size: 20px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cta-btn::before,
	.cta-icon::after,
	.cta-call .cta-icon i,
	.cta-line:hover .cta-icon i {
		animation: none;
	}

	.cta-btn {
		transition: none;
	}
}

/* ===== แถบภาพผลงาน (widget-gallery-carousel.php) ===== */
.gl-section {
	--gl-gutter: max(15px, calc((100vw - 1140px) / 2 + 15px));
	padding: 40px 0 32px;
	background: #FFF;
	font-family: 'Prompt', sans-serif;
}

.gl-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 18px;
}

.gl-head .hc-eyebrow {
	margin-bottom: 6px;
}

.gl-section p.gl-title {
	margin: 0 !important;
	color: #1d2b36;
	font-size: 24px;
	font-weight: 600;
	line-height: 1.35 !important;
}

.gl-nav {
	display: flex;
	gap: 8px;
}

.gl-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border: 1px solid #e3e8ec;
	border-radius: 50%;
	background: #FFF;
	color: #1d2b36;
	font-size: 16px;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.gl-arrow:hover {
	border-color: transparent;
	background: linear-gradient(120deg, #01c1f0 0%, #06c400 100%);
	color: #FFF;
	transform: translateY(-2px);
}

.gl-arrow:focus-visible,
.gl-open:focus-visible,
.gl-track:focus-visible {
	outline: 3px solid #06c400;
	outline-offset: 3px;
}

.gl-track {
	display: flex;
	gap: 18px;
	padding: 6px var(--gl-gutter) 18px;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: var(--gl-gutter);
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

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

.gl-item {
	flex: 0 0 clamp(210px, 22vw, 270px);
	margin: 0;
	scroll-snap-align: start;
}

.gl-open {
	position: relative;
	display: block;
	width: 100%;
	padding: 0;
	overflow: hidden;
	border: 0;
	border-radius: 20px;
	background: #e9eef1;
	aspect-ratio: 3 / 4;
	cursor: zoom-in;
	box-shadow: 0 14px 30px -18px rgba(16, 32, 46, 0.55);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gl-open img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.gl-open::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(10, 25, 35, 0.75) 100%);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.gl-zoom {
	position: absolute;
	left: 50%;
	bottom: 16px;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.92);
	color: #1d2b36;
	font-size: 14px;
	font-weight: 500;
	white-space: nowrap;
	opacity: 0;
	transform: translate(-50%, 10px);
	transition: opacity 0.3s ease, transform 0.3s ease;
}

.gl-open:hover,
.gl-open:focus-visible {
	transform: translateY(-6px);
	box-shadow: 0 24px 40px -20px rgba(16, 32, 46, 0.6);
}

.gl-open:hover img,
.gl-open:focus-visible img {
	transform: scale(1.07);
}

.gl-open:hover::after,
.gl-open:focus-visible::after,
.gl-open:hover .gl-zoom,
.gl-open:focus-visible .gl-zoom {
	opacity: 1;
}

.gl-open:hover .gl-zoom,
.gl-open:focus-visible .gl-zoom {
	transform: translate(-50%, 0);
}

/* Lightbox */
html.gl-noscroll {
	overflow: hidden;
}

.gl-lightbox {
	width: 100vw;
	max-width: 100vw;
	height: 100vh;
	max-height: 100vh;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: #FFF;
	font-family: 'Prompt', sans-serif;
}

.gl-lightbox[open] {
	display: flex;
	align-items: center;
	justify-content: center;
}

.gl-lightbox::backdrop {
	background: rgba(6, 14, 20, 0.92);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

.gl-lb-figure {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 60px 72px;
	pointer-events: none;
}

.gl-lb-figure img {
	max-width: min(92vw, 900px);
	max-height: calc(100vh - 160px);
	border-radius: 14px;
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
	pointer-events: auto;
}

.gl-lb-in {
	animation: gl-lb-in 0.35s ease;
}

@keyframes gl-lb-in {
	from { opacity: 0; transform: scale(0.96); }
	to { opacity: 1; transform: none; }
}

.gl-lb-caption {
	max-width: 90vw;
	color: rgba(255, 255, 255, 0.85);
	font-size: 14.5px;
	text-align: center;
}

.gl-lb-count {
	margin-left: 8px;
	padding: 2px 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.12);
	font-size: 13px;
}

.gl-lb-close,
.gl-lb-arrow {
	position: fixed;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	color: #FFF;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease;
}

.gl-lb-close:hover,
.gl-lb-arrow:hover {
	background: rgba(255, 255, 255, 0.25);
}

.gl-lb-close {
	top: 18px;
	right: 18px;
	width: 46px;
	height: 46px;
	font-size: 20px;
}

.gl-lb-arrow {
	top: 50%;
	width: 54px;
	height: 54px;
	margin-top: -27px;
	font-size: 18px;
}

.gl-lb-prev {
	left: 18px;
}

.gl-lb-next {
	right: 18px;
}

@media (max-width: 767px) {
	.gl-section {
		padding: 28px 0 20px;
	}

	.gl-section p.gl-title {
		font-size: 20px;
	}

	.gl-arrow {
		width: 40px;
		height: 40px;
	}

	.gl-item {
		flex-basis: 62vw;
	}

	.gl-track {
		gap: 12px;
	}

	.gl-lb-figure {
		padding: 64px 12px 24px;
	}

	.gl-lb-arrow {
		top: auto;
		bottom: 20px;
		margin-top: 0;
		width: 48px;
		height: 48px;
	}

	.gl-lb-figure img {
		max-height: calc(100vh - 200px);
	}
}

@media (prefers-reduced-motion: reduce) {
	.gl-open,
	.gl-open img,
	.gl-zoom,
	.gl-lb-in {
		transition: none;
		animation: none;
	}
}

/* ===== ภาพประกอบในเนื้อหาหน้าแรก (hc-photo / hc-collage) ===== */
.hc-grid-1 {
	grid-template-columns: 1fr;
	gap: 16px;
}

.hc-photo {
	position: relative;
	margin: 0;
	overflow: hidden;
	border-radius: 24px;
	background: #e9eef1;
	box-shadow: 0 24px 50px -28px rgba(16, 32, 46, 0.6);
}

.hc-photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hc-photo:hover img {
	transform: scale(1.05);
}

/* ภาพซ้อน 2 ภาพ + ป้าย */
.hc-collage {
	position: relative;
	isolation: isolate;
	padding: 0 0 70px 48px;
}

/* ลายจุดตกแต่งด้านหลัง */
.hc-collage::before {
	content: "";
	position: absolute;
	top: -22px;
	right: -22px;
	z-index: -1;
	width: 170px;
	height: 170px;
	background: radial-gradient(circle, rgba(6, 196, 0, 0.35) 2px, transparent 2.6px) 0 0 / 16px 16px;
}

.hc-collage .hc-photo-main {
	width: 100%;
	aspect-ratio: 4 / 5;
}

.hc-collage .hc-photo-sub {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 46%;
	aspect-ratio: 3 / 4;
	border: 6px solid #FFF;
	border-radius: 22px;
}

.hc-photo-badge {
	position: absolute;
	top: 28px;
	left: 0;
	z-index: 2;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 18px 12px 12px;
	border-radius: 16px;
	background: #FFF;
	box-shadow: 0 16px 34px -16px rgba(16, 32, 46, 0.45);
	font-family: 'Prompt', sans-serif;
	font-size: 13.5px;
	line-height: 1.3;
	color: #5c6873;
	animation: hc-float 5s ease-in-out infinite;
}

.hc-photo-badge strong {
	display: block;
	color: #1d2b36;
	font-size: 16px;
	font-weight: 600;
}

.hc-photo-badge-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	background: linear-gradient(120deg, #01c1f0 0%, #06c400 100%);
	color: #FFF;
	font-size: 17px;
}

@keyframes hc-float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-8px); }
}

/* แบบกลับด้าน: ภาพเล็กอยู่ขวา ป้ายอยู่ขวา */
.hc-collage-flip {
	padding: 0 48px 70px 0;
}

.hc-collage-flip::before {
	right: auto;
	left: -22px;
}

.hc-collage-flip .hc-photo-sub {
	left: auto;
	right: 0;
}

.hc-collage-flip .hc-photo-badge {
	left: auto;
	right: 0;
}

/* ภาพแนวนอนด้านบนคอลัมน์ */
.hc-photo-wrap {
	position: relative;
	margin-bottom: 24px;
}

.hc-photo-wide {
	aspect-ratio: 16 / 9;
}

.hc-photo-wide img {
	object-position: center 35%;
}

.hc-photo-tag {
	position: absolute;
	left: 16px;
	bottom: 16px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.94);
	color: #1d2b36;
	font-family: 'Prompt', sans-serif;
	font-size: 14px;
	font-weight: 500;
	box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.4);
}

.hc-photo-tag i {
	color: #2f8a02;
}

@media (max-width: 991px) {
	.hc-collage {
		max-width: 520px;
		margin: 0 auto;
	}
}

@media (max-width: 767px) {
	.hc-collage {
		padding: 0 0 52px 24px;
	}

	/* ลายจุดไม่ให้ล้นขอบจอ */
	.hc-collage::before {
		top: -12px;
		right: -8px;
		width: 110px;
		height: 110px;
	}

	.hc-collage-flip::before {
		right: auto;
		left: -8px;
	}

	.hc-collage-flip {
		padding: 0 24px 52px 0;
	}

	.hc-collage .hc-photo-sub {
		width: 44%;
		border-width: 4px;
	}

	.hc-photo-badge {
		top: 16px;
		padding: 9px 14px 9px 9px;
		font-size: 12px;
	}

	.hc-photo-badge strong {
		font-size: 14px;
	}

	.hc-photo-badge-icon {
		width: 34px;
		height: 34px;
		font-size: 14px;
	}

	.hc-photo {
		border-radius: 18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hc-photo-badge {
		animation: none;
	}

	.hc-photo img {
		transition: none;
	}
}
