:root {
	--dit-navy: #0b1f3a;
	--dit-navy-2: #122b4c;
	--dit-ink: #111827;
	--dit-muted: #667085;
	--dit-gray: #f3f5f8;
	--dit-line: rgba(17, 24, 39, .12);
	--dit-paper: #ffffff;
	--dit-slate: #334155;
	--dit-accent: #2563eb;
	--dit-shadow: 0 22px 70px rgba(15, 23, 42, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans Thai", sans-serif;
	color: var(--dit-ink);
	background: #fff;
	line-height: 1.72;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
.screen-reader-text { position: absolute; left: -9999px; }
.dit-container { width: min(1220px, calc(100% - 32px)); margin-inline: auto; }

.dit-header {
	position: sticky;
	top: 0;
	z-index: 99;
	background: rgba(255,255,255,.9);
	backdrop-filter: blur(18px);
	border-bottom: 1px solid var(--dit-line);
}
.dit-header.is-scrolled { box-shadow: 0 14px 46px rgba(15,23,42,.08); }
.dit-nav { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 14px 0; }
.dit-brand { display: inline-flex; align-items: center; gap: 12px; min-width: max-content; }
.custom-logo-link img { max-height: 58px; width: auto; }
.dit-brand__mark {
	display: grid;
	place-items: center;
	width: 54px;
	height: 54px;
	border-radius: 10px;
	background: var(--dit-navy);
	color: #fff;
	font-weight: 1000;
	letter-spacing: -.06em;
}
.dit-brand__text { display: grid; line-height: 1.08; }
.dit-brand__text strong { font-size: 17px; letter-spacing: -.02em; color: var(--dit-ink); }
.dit-brand__text small { color: var(--dit-muted); font-size: 12px; font-weight: 800; margin-top: 4px; }

.dit-menu ul { display: flex; align-items: center; gap: 4px; list-style: none; padding: 0; margin: 0; }
.dit-menu a {
	display: inline-flex;
	padding: 10px 12px;
	border-radius: 8px;
	color: #1f2937;
	font-size: 14px;
	font-weight: 900;
}
.dit-menu a:hover,
.dit-menu .current-menu-item > a { background: var(--dit-gray); color: var(--dit-navy); }
.dit-nav-actions { display: flex; align-items: center; gap: 10px; }
.dit-cart {
	padding: 10px 13px;
	border: 1px solid var(--dit-line);
	border-radius: 8px;
	font-weight: 900;
	color: var(--dit-slate);
}
.dit-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 20px;
	border-radius: 8px;
	background: var(--dit-navy);
	color: #fff;
	font-weight: 1000;
	border: 1px solid var(--dit-navy);
	box-shadow: 0 16px 36px rgba(11,31,58,.18);
	transition: transform .18s ease, box-shadow .18s ease;
}
.dit-btn:hover { transform: translateY(-2px); box-shadow: 0 20px 48px rgba(11,31,58,.24); }
.dit-btn--nav { padding: 11px 15px; font-size: 14px; }
.dit-btn--light { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.32); color: #fff; box-shadow: none; }
.dit-btn--dark { background: #111827; border-color: #111827; }
.dit-menu-toggle { display: none; align-items: center; gap: 6px; border: 1px solid var(--dit-line); background: #fff; border-radius: 8px; padding: 10px 12px; }
.dit-menu-toggle span { display: block; width: 18px; height: 2px; background: var(--dit-ink); }
.dit-menu-toggle em { font-style: normal; font-size: 13px; font-weight: 900; }

.dit-hero {
	position: relative;
	overflow: hidden;
	background:
		linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px),
		linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
		linear-gradient(135deg, var(--dit-navy) 0%, #0f2748 56%, #182f4f 100%);
	background-size: 84px 84px, 84px 84px, auto;
	color: #fff;
}
.dit-hero__layout {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(360px, .72fr);
	gap: clamp(36px, 7vw, 86px);
	align-items: center;
	min-height: 720px;
	padding: clamp(70px, 8vw, 110px) 0 42px;
}
.dit-eyebrow,
.dit-heading p,
.dit-page-header p,
.dit-inner-hero p {
	margin: 0 0 12px;
	color: #93a4bd;
	font-size: 12px;
	font-weight: 1000;
	letter-spacing: .16em;
}
.dit-hero h1 {
	margin: 0;
	max-width: 980px;
	font-size: clamp(42px, 6.8vw, 86px);
	line-height: .98;
	letter-spacing: -.075em;
	text-wrap: balance;
}
.dit-hero__content > p:not(.dit-eyebrow) {
	max-width: 760px;
	color: rgba(255,255,255,.76);
	font-size: clamp(18px, 2vw, 23px);
}
.dit-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.dit-hero__panel {
	padding: 26px;
	border-radius: 18px;
	background: rgba(255,255,255,.08);
	border: 1px solid rgba(255,255,255,.16);
	backdrop-filter: blur(18px);
	box-shadow: 0 28px 90px rgba(0,0,0,.22);
}
.dit-panel__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding-bottom: 18px;
	border-bottom: 1px solid rgba(255,255,255,.14);
}
.dit-panel__head span { font-weight: 1000; font-size: 13px; color: rgba(255,255,255,.68); letter-spacing: .12em; text-transform: uppercase; }
.dit-panel__head b { padding: 7px 10px; border-radius: 999px; background: rgba(255,255,255,.1); font-size: 12px; }
.dit-panel__grid { display: grid; gap: 12px; margin-top: 18px; }
.dit-panel__grid div { padding: 18px; border-radius: 12px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); }
.dit-panel__grid strong { display: block; color: #fff; font-size: 24px; letter-spacing: -.045em; }
.dit-panel__grid span { display: block; color: rgba(255,255,255,.62); margin-top: 4px; }
.dit-hero__metrics {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	background: #fff;
	color: var(--dit-ink);
	border-radius: 18px 18px 0 0;
	overflow: hidden;
	box-shadow: 0 -20px 60px rgba(0,0,0,.18);
}
.dit-hero__metrics div { padding: 26px; border-right: 1px solid var(--dit-line); }
.dit-hero__metrics b { color: var(--dit-muted); font-size: 13px; }
.dit-hero__metrics strong { display: block; margin-top: 8px; font-size: 23px; line-height: 1.14; letter-spacing: -.04em; }
.dit-hero__metrics span { display: block; color: var(--dit-muted); margin-top: 6px; font-size: 14px; }

.dit-section { padding: 78px 0; }
.dit-section--gray { background: var(--dit-gray); }
.dit-heading { max-width: 820px; margin-bottom: 34px; }
.dit-heading h2,
.dit-page-header h1,
.dit-inner-hero h1 {
	margin: 0;
	font-size: clamp(34px, 5.2vw, 62px);
	line-height: 1.04;
	letter-spacing: -.06em;
	color: var(--dit-ink);
}
.dit-heading span,
.dit-inner-hero span { display: block; margin-top: 14px; color: var(--dit-muted); font-size: 18px; }
.dit-heading--row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.dit-heading--row a { color: var(--dit-navy); font-weight: 1000; }

.dit-card-grid,
.dit-service-grid,
.dit-process {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
	align-items: stretch;
}
.dit-card,
.dit-service-grid div,
.dit-process div,
.dit-placeholder,
.dit-content,
.dit-shop-shell,
.dit-post-card,
.dit-inner-grid aside {
	border: 1px solid var(--dit-line);
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 16px 50px rgba(15,23,42,.07);
}
.dit-card {
	min-height: 310px;
	padding: 28px;
	display: flex;
	flex-direction: column;
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.dit-card:hover { transform: translateY(-5px); border-color: rgba(11,31,58,.28); box-shadow: var(--dit-shadow); }
.dit-card i {
	display: grid;
	place-items: center;
	width: 54px;
	height: 54px;
	border-radius: 10px;
	background: var(--dit-gray);
	color: var(--dit-navy);
	font-style: normal;
	font-weight: 1000;
	margin-bottom: 22px;
}
.dit-card h3,
.dit-service-grid h3,
.dit-process h3 { margin: 0 0 10px; font-size: 25px; line-height: 1.15; letter-spacing: -.045em; }
.dit-card p,
.dit-service-grid p,
.dit-process p { color: var(--dit-muted); margin: auto 0 0; }

.dit-split { display: grid; grid-template-columns: minmax(0,.72fr) minmax(0,1.1fr); gap: 42px; align-items: start; }
.dit-process { grid-template-columns: repeat(2, minmax(0,1fr)); }
.dit-process div,
.dit-service-grid div { padding: 26px; }
.dit-process b,
.dit-service-grid b { color: var(--dit-muted); font-weight: 1000; font-size: 13px; }
.dit-service-grid a { display: inline-flex; margin-top: 18px; color: var(--dit-navy); font-weight: 1000; }

.dit-cta { padding-top: 0; }
.dit-cta__box {
	padding: clamp(34px, 6vw, 72px);
	border-radius: 20px;
	background: linear-gradient(135deg, var(--dit-navy), var(--dit-navy-2));
	color: #fff;
}
.dit-cta__box p { color: #93a4bd; font-weight: 1000; letter-spacing: .14em; margin: 0 0 12px; }
.dit-cta__box h2 { margin: 0 0 26px; max-width: 940px; font-size: clamp(34px, 5.6vw, 68px); line-height: 1.03; letter-spacing: -.065em; }

.dit-page,
.dit-inner-hero { padding: 72px 0; }
.dit-page-header { margin-bottom: 30px; }
.dit-content { padding: clamp(22px, 4vw, 48px); overflow-wrap: anywhere; }
.dit-narrow { max-width: 900px; }
.dit-inner-grid { display: grid; grid-template-columns: 1fr minmax(320px, 460px); gap: 42px; align-items: start; }
.dit-inner-grid aside { padding: 28px; }
.dit-contact-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }

.dit-post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.dit-post-card { overflow: hidden; }
.dit-post-card__image { display: block; aspect-ratio: 4/3; background: var(--dit-gray); }
.dit-post-card__body { padding: 22px; }
.dit-post-card time { color: var(--dit-muted); font-size: 13px; font-weight: 900; }
.dit-post-card h2 { font-size: 24px; line-height: 1.12; letter-spacing: -.04em; }
.dit-post-card p { color: var(--dit-muted); }
.dit-placeholder { padding: 32px; text-align: center; }

/* WooCommerce */
.woocommerce ul.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.woocommerce ul.products::before,
.woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
	width: auto !important;
	float: none !important;
	margin: 0 !important;
	background: #fff;
	border: 1px solid var(--dit-line);
	border-radius: 14px;
	padding: 16px;
	box-shadow: 0 16px 50px rgba(15,23,42,.07);
}
.woocommerce ul.products li.product a img {
	border-radius: 10px;
	border: 1px solid var(--dit-line);
	background: var(--dit-gray);
	margin: 0 0 14px;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}
.woocommerce-loop-product__title {
	font-size: 18px !important;
	line-height: 1.32;
	letter-spacing: -.03em;
	color: var(--dit-ink);
	padding: 0 !important;
}
.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price {
	color: var(--dit-navy);
	font-weight: 1000;
	font-size: 18px;
}
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce .single_add_to_cart_button,
.wc-block-components-button {
	border-radius: 8px !important;
	background: var(--dit-navy) !important;
	color: #fff !important;
	font-weight: 1000 !important;
	box-shadow: none !important;
}
.dit-shop-shell { padding: clamp(18px, 3vw, 34px); }
.dit-wc-content { overflow-x: auto; }
.woocommerce table.shop_table,
.woocommerce-cart .cart-collaterals .cart_totals,
.wp-block-woocommerce-cart,
.wp-block-woocommerce-checkout {
	border-radius: 14px;
	border: 1px solid var(--dit-line);
	background: #fff;
	box-shadow: 0 16px 50px rgba(15,23,42,.07);
}

.dit-footer {
	background: #081a31;
	color: rgba(255,255,255,.72);
	padding: 58px 0 24px;
	margin-top: 80px;
}
.dit-footer a { color: rgba(255,255,255,.92); }
.dit-footer h3 { color: #fff; margin-top: 0; }
.dit-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.dit-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 34px; }
.dit-brand--footer .dit-brand__text strong { color: #fff; }
.dit-brand--footer .dit-brand__mark { background: #fff; color: var(--dit-navy); }
.dit-footer__category { color: #b6c4d8; }
.dit-footer__bottom {
	border-top: 1px solid rgba(255,255,255,.12);
	margin-top: 34px;
	padding-top: 22px;
	font-size: 14px;
}

.dit-reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.dit-reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1080px) {
	.dit-menu-toggle { display: inline-flex; }
	.dit-menu {
		display: none;
		position: absolute;
		left: 16px;
		right: 16px;
		top: 100%;
		background: #fff;
		border: 1px solid var(--dit-line);
		border-radius: 14px;
		padding: 16px;
		box-shadow: var(--dit-shadow);
	}
	.dit-menu.is-open { display: block; }
	.dit-menu ul { display: grid; }
	.dit-menu a { width: 100%; }
	.dit-nav-actions .dit-btn { display: none; }
	.dit-hero__layout,
	.dit-split,
	.dit-inner-grid { grid-template-columns: 1fr; min-height: auto; }
	.dit-hero__metrics,
	.dit-card-grid,
	.dit-service-grid,
	.dit-process,
	.dit-footer__grid,
	.dit-post-grid,
	.woocommerce ul.products { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
	.dit-brand__text small { display: none; }
	.dit-cart { display: none; }
	.dit-hero__layout { padding: 56px 0 34px; }
	.dit-hero h1 { font-size: clamp(40px, 13vw, 58px); }
	.dit-hero__metrics,
	.dit-card-grid,
	.dit-service-grid,
	.dit-process,
	.dit-footer__grid,
	.dit-post-grid,
	.woocommerce ul.products { grid-template-columns: 1fr; }
	.dit-section { padding: 52px 0; }
	.dit-heading--row { align-items: start; flex-direction: column; }
	.dit-footer { margin-top: 48px; }
}


/* v1.0.2 System development package section */
.dit-heading--center {
	max-width: 920px;
	text-align: center;
	margin-inline: auto;
}

.dit-system-dev {
	background:
		linear-gradient(180deg, #fff 0%, #f3f5f8 100%);
	border-top: 1px solid var(--dit-line);
	border-bottom: 1px solid var(--dit-line);
}

.dit-system-intro {
	display: grid;
	grid-template-columns: minmax(0, .9fr) minmax(320px, .72fr);
	gap: 28px;
	align-items: stretch;
	margin-bottom: 26px;
}

.dit-system-intro > div,
.dit-system-intro > ul {
	background: #fff;
	border: 1px solid var(--dit-line);
	border-radius: 16px;
	box-shadow: 0 16px 50px rgba(15,23,42,.07);
	padding: 28px;
}

.dit-system-intro b {
	display: block;
	color: var(--dit-muted);
	font-size: 12px;
	font-weight: 1000;
	letter-spacing: .14em;
	text-transform: uppercase;
	margin-bottom: 10px;
}

.dit-system-intro h3 {
	margin: 0;
	max-width: 760px;
	font-size: clamp(28px, 3.8vw, 46px);
	line-height: 1.06;
	letter-spacing: -.055em;
	color: var(--dit-ink);
}

.dit-system-intro ul {
	margin: 0;
	display: grid;
	gap: 10px;
	list-style: none;
}

.dit-system-intro li {
	position: relative;
	padding-left: 24px;
	color: var(--dit-muted);
}

.dit-system-intro li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: 0;
	color: var(--dit-navy);
	font-weight: 1000;
}

.dit-package-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 18px;
	align-items: stretch;
}

.dit-package-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 560px;
	background: #fff;
	border: 1px solid var(--dit-line);
	border-radius: 16px;
	box-shadow: 0 18px 58px rgba(15,23,42,.08);
	padding: 24px;
	overflow: hidden;
}

.dit-package-card--highlight {
	border-color: rgba(37,99,235,.28);
	box-shadow: 0 24px 80px rgba(37,99,235,.14);
	transform: translateY(-10px);
}

.dit-package-card--dark {
	background:
		linear-gradient(135deg, #081a31, #122b4c);
	color: #fff;
}

.dit-package-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 20px;
}

.dit-package-head span {
	color: var(--dit-muted);
	font-size: 12px;
	font-weight: 1000;
	letter-spacing: .13em;
	text-transform: uppercase;
}

.dit-package-head b {
	display: inline-flex;
	padding: 6px 10px;
	border-radius: 999px;
	background: var(--dit-gray);
	color: var(--dit-navy);
	font-size: 12px;
	font-weight: 1000;
	white-space: nowrap;
}

.dit-package-card--dark .dit-package-head span {
	color: rgba(255,255,255,.58);
}

.dit-package-card--dark .dit-package-head b {
	background: rgba(255,255,255,.12);
	color: #fff;
}

.dit-package-card h3 {
	margin: 0 0 14px;
	font-size: 25px;
	line-height: 1.12;
	letter-spacing: -.045em;
}

.dit-package-price {
	margin-bottom: 16px;
	padding: 13px 14px;
	border-radius: 12px;
	background: var(--dit-gray);
	color: var(--dit-navy);
	font-size: 20px;
	line-height: 1.25;
	font-weight: 1000;
}

.dit-package-card--dark .dit-package-price {
	background: rgba(255,255,255,.12);
	color: #fff;
}

.dit-package-card p {
	color: var(--dit-muted);
	margin: 0 0 18px;
	font-size: 15px;
}

.dit-package-card--dark p {
	color: rgba(255,255,255,.68);
}

.dit-package-card ul {
	display: grid;
	gap: 9px;
	margin: 0 0 22px;
	padding: 0;
	list-style: none;
	color: var(--dit-muted);
	font-size: 14px;
}

.dit-package-card--dark ul {
	color: rgba(255,255,255,.72);
}

.dit-package-card li {
	position: relative;
	padding-left: 22px;
}

.dit-package-card li::before {
	content: "•";
	position: absolute;
	left: 0;
	top: 0;
	color: var(--dit-navy);
	font-weight: 1000;
}

.dit-package-card--dark li::before {
	color: #fff;
}

.dit-package-card a {
	margin-top: auto;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	padding: 12px 14px;
	border-radius: 10px;
	background: var(--dit-navy);
	color: #fff;
	font-weight: 1000;
	text-align: center;
}

.dit-package-card--dark a {
	background: #fff;
	color: var(--dit-navy);
}

.dit-package-ribbon {
	position: absolute;
	top: 18px;
	right: -38px;
	width: 140px;
	text-align: center;
	transform: rotate(38deg);
	background: var(--dit-accent);
	color: #fff;
	padding: 6px 0;
	font-size: 12px;
	font-weight: 1000;
}

@media (max-width: 1240px) {
	.dit-package-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	.dit-package-card--highlight {
		transform: none;
	}
}

@media (max-width: 900px) {
	.dit-system-intro,
	.dit-package-grid {
		grid-template-columns: 1fr;
	}
	.dit-package-card {
		min-height: auto;
	}
}
