/*
Theme Name: Wise Tech
Theme URI: https://wisetech.com.vn/
Author: Wise Tech Vietnam
Author URI: https://wisetech.com.vn/
Description: Theme doanh nghiệp ICT dành cho Wise Tech. Tối ưu responsive, hiệu năng, khả năng truy cập và SEO kỹ thuật.
Version: 2.0.0
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: wisetech
*/

:root {
	--wt-navy-950: #050d1c;
	--wt-navy-900: #071426;
	--wt-navy-800: #0d1f3c;
	--wt-navy-700: #123a78;
	--wt-blue-600: #2461d9;
	--wt-blue-500: #3e8eff;
	--wt-orange-500: #ff7a30;
	--wt-orange-600: #e9611d;
	--wt-slate-900: #0e1b2e;
	--wt-slate-700: #41506a;
	--wt-slate-600: #5b6b82;
	--wt-slate-500: #718096;
	--wt-slate-300: #cbd5e1;
	--wt-slate-200: #e2e8f0;
	--wt-slate-100: #f1f5f9;
	--wt-surface: #f6f9fd;
	--wt-white: #ffffff;
	--wt-shadow-sm: 0 10px 30px rgba(7, 20, 38, 0.07);
	--wt-shadow-md: 0 22px 60px rgba(7, 20, 38, 0.13);
	--wt-radius-sm: 8px;
	--wt-radius-md: 14px;
	--wt-radius-lg: 20px;
	--wt-container: 1220px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--wt-white);
	color: var(--wt-slate-900);
	font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.65;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

body.menu-open {
	overflow: hidden;
}

button,
input,
select,
textarea {
	font: inherit;
}

img,
svg,
iframe {
	max-width: 100%;
}

img {
	display: block;
	height: auto;
}

a {
	color: var(--wt-blue-600);
	text-decoration: none;
	transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

a:hover {
	color: var(--wt-blue-500);
}

:focus-visible {
	outline: 3px solid rgba(62, 142, 255, 0.65);
	outline-offset: 3px;
}

h1,
h2,
h3,
h4,
p,
ul,
ol {
	margin-top: 0;
}

h1,
h2,
h3,
h4 {
	line-height: 1.22;
}

.site-shell {
	min-height: 100vh;
	overflow: hidden;
}

.container {
	width: min(calc(100% - 48px), var(--wt-container));
	margin-inline: auto;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus {
	top: 8px;
	left: 8px;
	z-index: 100000;
	width: auto;
	height: auto;
	padding: 12px 18px;
	clip: auto !important;
	background: var(--wt-white);
	color: var(--wt-slate-900);
	font-weight: 700;
}

.svg-sprite {
	position: absolute;
	width: 0;
	height: 0;
	overflow: hidden;
}

.icon {
	display: block;
	width: 30px;
	height: 30px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.7;
}

/* Header */
.site-header {
	position: relative;
	z-index: 100;
	background: var(--wt-navy-900);
}

.topbar {
	border-bottom: 1px solid rgba(255, 255, 255, 0.07);
	color: #91a5c7;
	font-size: 0.78rem;
}

.topbar__inner,
.topbar__contacts,
.header-main__inner {
	display: flex;
	align-items: center;
}

.topbar__inner {
	min-height: 39px;
	justify-content: space-between;
	gap: 24px;
}

.topbar__contacts {
	gap: 22px;
}

.topbar a {
	color: inherit;
}

.topbar a:hover {
	color: var(--wt-white);
}

.header-main__inner {
	min-height: 88px;
	gap: 25px;
}

.site-branding {
	flex: 0 0 auto;
}

.site-logo,
.custom-logo-link {
	display: block;
}

.site-logo img,
.custom-logo {
	width: auto;
	height: 58px;
	object-fit: contain;
}

.primary-navigation {
	margin-left: auto;
}

.primary-menu {
	display: flex;
	align-items: center;
	gap: clamp(15px, 1.6vw, 27px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.primary-menu .menu-item {
	position: relative;
}

.primary-menu a {
	display: block;
	padding: 32px 0;
	color: #cad5e9;
	font-size: 0.9rem;
	font-weight: 650;
	white-space: nowrap;
}

.primary-menu > .menu-item > a::after {
	position: absolute;
	right: 0;
	bottom: 22px;
	left: 0;
	height: 2px;
	background: var(--wt-blue-500);
	content: "";
	transform: scaleX(0);
	transform-origin: center;
	transition: transform 0.2s ease;
}

.primary-menu a:hover,
.primary-menu .current-menu-item > a,
.primary-menu .current_page_item > a {
	color: var(--wt-white);
}

.primary-menu > .menu-item > a:hover::after,
.primary-menu > .current-menu-item > a::after,
.primary-menu > .current_page_item > a::after {
	transform: scaleX(1);
}

.primary-menu .sub-menu {
	position: absolute;
	top: calc(100% - 10px);
	left: -18px;
	min-width: 230px;
	margin: 0;
	padding: 10px;
	list-style: none;
	visibility: hidden;
	opacity: 0;
	background: var(--wt-white);
	border-radius: 10px;
	box-shadow: var(--wt-shadow-md);
	transform: translateY(8px);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.primary-menu .menu-item:hover > .sub-menu,
.primary-menu .menu-item:focus-within > .sub-menu {
	visibility: visible;
	opacity: 1;
	transform: translateY(0);
}

.primary-menu .sub-menu a {
	padding: 10px 12px;
	color: var(--wt-slate-700);
	white-space: normal;
}

.primary-menu .sub-menu a:hover {
	background: var(--wt-surface);
	color: var(--wt-blue-600);
}

.header-phone {
	display: flex;
	flex-direction: column;
	flex: 0 0 auto;
	color: var(--wt-white);
	font-size: 0.84rem;
	line-height: 1.35;
}

.header-phone span {
	color: #91a5c7;
	font-size: 0.68rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.header-phone:hover {
	color: var(--wt-orange-500);
}

.menu-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin-left: auto;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 8px;
	background: transparent;
	color: var(--wt-white);
	cursor: pointer;
}

.menu-toggle__lines {
	display: grid;
	gap: 4px;
	width: 20px;
}

.menu-toggle__lines span {
	display: block;
	height: 2px;
	background: currentColor;
	border-radius: 5px;
}

/* Buttons and common sections */
.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 12px 24px;
	border: 1px solid transparent;
	border-radius: var(--wt-radius-sm);
	font-size: 0.93rem;
	font-weight: 750;
	line-height: 1.25;
	text-align: center;
}

.button:hover {
	transform: translateY(-2px);
}

.button--primary {
	background: var(--wt-orange-500);
	color: var(--wt-white);
	box-shadow: 0 10px 25px rgba(255, 122, 48, 0.2);
}

.button--primary:hover {
	background: var(--wt-orange-600);
	color: var(--wt-white);
}

.button--secondary {
	border-color: rgba(255, 255, 255, 0.22);
	background: rgba(255, 255, 255, 0.06);
	color: var(--wt-white);
}

.button--secondary:hover,
.button--ghost:hover {
	border-color: var(--wt-blue-500);
	color: var(--wt-white);
}

.button--ghost {
	border-color: rgba(255, 255, 255, 0.2);
	background: transparent;
	color: var(--wt-white);
}

.button--full {
	width: 100%;
}

.section {
	padding: 92px 0;
}

.section--surface {
	background: var(--wt-surface);
}

.section--dark {
	background: var(--wt-navy-800);
	color: var(--wt-white);
}

.section-heading {
	max-width: 760px;
	margin: 0 auto 48px;
	text-align: center;
}

.section-heading--left {
	max-width: none;
	margin-inline: 0;
	text-align: left;
}

.eyebrow {
	display: block;
	margin-bottom: 12px;
	color: var(--wt-blue-500);
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.11em;
	text-transform: uppercase;
}

.section-heading h2,
.section-title {
	margin-bottom: 16px;
	font-size: clamp(1.85rem, 3vw, 2.45rem);
	font-weight: 800;
	letter-spacing: -0.025em;
}

.section-heading p {
	margin-bottom: 0;
	color: var(--wt-slate-600);
}

.section--dark .section-heading p {
	color: #9eb0cf;
}

.grid {
	display: grid;
	gap: 24px;
}

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

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

.grid--4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Homepage */
.hero {
	position: relative;
	padding: 104px 0 84px;
	overflow: hidden;
	background:
		radial-gradient(ellipse 840px 470px at 50% -5%, rgba(62, 142, 255, 0.32), transparent 70%),
		var(--wt-navy-900);
	color: var(--wt-white);
	text-align: center;
}

.hero::before,
.hero::after {
	position: absolute;
	border: 1px solid rgba(255, 255, 255, 0.05);
	border-radius: 50%;
	content: "";
	pointer-events: none;
}

.hero::before {
	top: -420px;
	left: 50%;
	width: 900px;
	height: 900px;
	transform: translateX(-50%);
}

.hero::after {
	top: -310px;
	left: 50%;
	width: 680px;
	height: 680px;
	transform: translateX(-50%);
}

.hero__content {
	position: relative;
	z-index: 1;
	max-width: 960px;
	margin: 0 auto;
}

.hero__kicker {
	margin-bottom: 18px;
	color: #72a8ff;
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.hero h1 {
	max-width: 900px;
	margin: 0 auto 22px;
	font-size: clamp(2.4rem, 5.5vw, 4.4rem);
	font-weight: 850;
	letter-spacing: -0.045em;
}

.hero h1 span {
	display: block;
	color: #7db0ff;
}

.hero__lead {
	max-width: 760px;
	margin: 0 auto 35px;
	color: #a8b8d4;
	font-size: clamp(1rem, 1.7vw, 1.2rem);
}

.hero__actions {
	display: flex;
	justify-content: center;
	gap: 14px;
	margin-bottom: 62px;
}

.hero-features {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
	text-align: left;
}

.hero-card {
	padding: 24px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: var(--wt-radius-md);
	background: rgba(255, 255, 255, 0.045);
	backdrop-filter: blur(8px);
}

.icon-box {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	margin-bottom: 17px;
	border-radius: 11px;
	background: rgba(62, 142, 255, 0.14);
	color: var(--wt-blue-500);
}

.icon-box--orange {
	background: rgba(255, 122, 48, 0.13);
	color: var(--wt-orange-500);
}

.hero-card h2 {
	margin-bottom: 6px;
	font-size: 1rem;
}

.hero-card p {
	margin: 0;
	color: #95a8c9;
	font-size: 0.84rem;
}

.about-grid,
.contact-grid {
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
	align-items: center;
	gap: clamp(42px, 7vw, 84px);
}

.about-visual {
	position: relative;
	min-height: 430px;
	overflow: hidden;
	border-radius: var(--wt-radius-lg);
	background:
		radial-gradient(circle at 72% 22%, rgba(62, 142, 255, 0.55), transparent 30%),
		linear-gradient(145deg, #091b36, #174b9c);
	box-shadow: var(--wt-shadow-md);
	color: var(--wt-white);
}

.about-visual::before,
.about-visual::after {
	position: absolute;
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 50%;
	content: "";
}

.about-visual::before {
	top: 56px;
	left: 60px;
	width: 310px;
	height: 310px;
}

.about-visual::after {
	top: 110px;
	left: 114px;
	width: 200px;
	height: 200px;
}

.about-visual .icon {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 1;
	width: 145px;
	height: 145px;
	transform: translate(-50%, -50%);
}

.about-visual__label {
	position: absolute;
	right: 28px;
	bottom: 26px;
	left: 28px;
	z-index: 2;
	padding: 18px 20px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 12px;
	background: rgba(5, 13, 28, 0.55);
	backdrop-filter: blur(9px);
	font-size: 0.9rem;
	font-weight: 700;
}

.about-copy h2 {
	margin-bottom: 22px;
	font-size: clamp(1.85rem, 3vw, 2.45rem);
}

.check-list {
	display: grid;
	gap: 16px;
	margin: 0 0 28px;
	padding: 0;
	list-style: none;
}

.check-list li {
	position: relative;
	padding-left: 27px;
	color: var(--wt-slate-700);
}

.check-list li::before {
	position: absolute;
	top: 0.55em;
	left: 0;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--wt-orange-500);
	content: "";
}

.text-link {
	display: inline-flex;
	align-items: center;
	padding-bottom: 3px;
	border-bottom: 2px solid var(--wt-blue-500);
	color: var(--wt-slate-900);
	font-weight: 750;
}

.solution-card,
.service-card,
.process-card,
.product-card,
.post-card,
.faq-item {
	border: 1px solid var(--wt-slate-200);
	border-radius: var(--wt-radius-md);
	background: var(--wt-white);
}

.solution-card,
.service-card,
.process-card {
	padding: 28px;
}

.section--dark .solution-card {
	border-color: rgba(255, 255, 255, 0.1);
	background: rgba(255, 255, 255, 0.045);
}

.solution-card:hover,
.service-card:hover,
.product-card:hover,
.post-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--wt-shadow-sm);
}

.solution-card h3,
.service-card h3,
.process-card h3 {
	margin-bottom: 10px;
	font-size: 1.08rem;
}

.solution-card p,
.service-card p,
.process-card p {
	margin-bottom: 0;
	color: var(--wt-slate-600);
	font-size: 0.9rem;
}

.section--dark .solution-card p {
	color: #9eb0cf;
}

.section--dark .text-link {
	color: var(--wt-white);
}

.process-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 16px;
}

.process-card {
	padding: 23px 20px;
}

.process-card__number {
	display: block;
	margin-bottom: 12px;
	color: rgba(62, 142, 255, 0.35);
	font-size: 1.85rem;
	font-weight: 850;
}

.cta-strip {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	margin-top: 44px;
	padding: 34px 38px;
	border-radius: var(--wt-radius-md);
	background: var(--wt-navy-900);
	color: var(--wt-white);
}

.cta-strip h3 {
	margin-bottom: 5px;
	font-size: 1.24rem;
}

.cta-strip p {
	margin: 0;
	color: #9eb0cf;
	font-size: 0.9rem;
}

.services-list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.service-chip {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 76px;
	padding: 17px 18px;
	border: 1px solid var(--wt-slate-200);
	border-radius: 11px;
	background: var(--wt-white);
	color: var(--wt-slate-900);
	font-size: 0.9rem;
	font-weight: 700;
}

.service-chip::before {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--wt-blue-500);
	content: "";
	flex: 0 0 auto;
}

.section-row {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 38px;
}

.section-row h2 {
	margin: 0;
	font-size: clamp(1.75rem, 3vw, 2.2rem);
}

.post-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.post-card {
	overflow: hidden;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.post-card__media {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 195px;
	overflow: hidden;
	background: linear-gradient(140deg, #091b36, #1d56b6);
	color: var(--wt-white);
}

.post-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.post-card:hover .post-card__media img {
	transform: scale(1.04);
}

.post-card__media .icon {
	width: 45px;
	height: 45px;
}

.post-card__body {
	padding: 24px;
}

.post-card__meta {
	margin-bottom: 9px;
	color: #8290a3;
	font-size: 0.76rem;
}

.post-card h2,
.post-card h3 {
	margin-bottom: 11px;
	font-size: 1.05rem;
}

.post-card h2 a,
.post-card h3 a {
	color: var(--wt-slate-900);
}

.post-card h2 a:hover,
.post-card h3 a:hover {
	color: var(--wt-blue-600);
}

.post-card p {
	margin-bottom: 16px;
	color: var(--wt-slate-600);
	font-size: 0.88rem;
}

.post-card__read-more {
	font-size: 0.86rem;
	font-weight: 750;
}

.partners {
	padding: 43px 0;
	background: var(--wt-navy-900);
	color: #93a8c9;
	text-align: center;
}

.partners__label {
	margin-bottom: 25px;
	color: #61779e;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.11em;
	text-transform: uppercase;
}

.partners__list {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(24px, 4vw, 54px);
	margin: 0;
	padding: 0;
	list-style: none;
	flex-wrap: wrap;
}

.partners__list li {
	font-size: 0.98rem;
	font-weight: 800;
	letter-spacing: 0.025em;
}

.contact-grid {
	align-items: stretch;
}

.contact-details {
	display: grid;
	gap: 13px;
	margin-top: 25px;
	color: var(--wt-slate-700);
}

.contact-details p {
	margin: 0;
}

.contact-panel {
	padding: 38px;
	border-radius: var(--wt-radius-lg);
	background: var(--wt-navy-800);
	color: var(--wt-white);
	box-shadow: var(--wt-shadow-md);
}

.contact-fallback h3 {
	margin-bottom: 12px;
	font-size: 1.35rem;
}

.contact-fallback > p {
	color: #a7b7d2;
}

.contact-fallback .button + .button {
	margin-top: 12px;
}

.contact-fallback__note {
	margin: 17px 0 0;
	font-size: 0.76rem;
}

.contact-panel form,
.contact-panel .wpcf7-form {
	display: grid;
	gap: 15px;
}

.contact-panel input:not([type="submit"]),
.contact-panel textarea,
.contact-panel select {
	width: 100%;
	padding: 13px 14px;
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.05);
	color: var(--wt-white);
}

.contact-panel input::placeholder,
.contact-panel textarea::placeholder {
	color: #9baaca;
}

.contact-panel input[type="submit"] {
	min-height: 48px;
	padding: 12px 24px;
	border: 0;
	border-radius: 8px;
	background: var(--wt-orange-500);
	color: var(--wt-white);
	font-weight: 750;
	cursor: pointer;
}

.faq-list {
	display: grid;
	gap: 14px;
	max-width: 900px;
	margin: 0 auto;
}

.faq-item {
	padding: 0 24px;
}

.faq-item summary {
	padding: 20px 28px 20px 0;
	font-weight: 750;
	cursor: pointer;
}

.faq-item p {
	padding: 0 0 20px;
	margin: 0;
	color: var(--wt-slate-600);
}

.final-cta {
	padding: 74px 0;
	background:
		radial-gradient(ellipse 800px 300px at 50% 100%, rgba(62, 142, 255, 0.25), transparent 70%),
		var(--wt-navy-900);
	color: var(--wt-white);
	text-align: center;
}

.final-cta h2 {
	margin-bottom: 12px;
	font-size: clamp(1.7rem, 3vw, 2.25rem);
}

.final-cta p {
	max-width: 700px;
	margin: 0 auto 26px;
	color: #9eb0cf;
}

/* Inner pages */
.page-hero {
	padding: 66px 0 58px;
	background:
		radial-gradient(ellipse 900px 400px at 50% 0%, rgba(62, 142, 255, 0.23), transparent 70%),
		var(--wt-navy-900);
	color: var(--wt-white);
	text-align: center;
}

.breadcrumbs {
	margin-bottom: 13px;
	color: #7f92b4;
	font-size: 0.78rem;
}

.breadcrumbs a {
	color: #7f92b4;
}

.breadcrumbs a:hover {
	color: var(--wt-white);
}

.page-hero h1 {
	margin-bottom: 13px;
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 850;
	letter-spacing: -0.03em;
}

.page-hero p {
	max-width: 720px;
	margin: 0 auto;
	color: #9eb0cf;
}

.product-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.product-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	color: inherit;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
	color: inherit;
}

.product-card__visual {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 150px;
	background: linear-gradient(140deg, #091b36, #1d56b6);
	color: var(--wt-white);
}

.product-card__visual .icon {
	width: 42px;
	height: 42px;
}

.product-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 23px;
}

.product-card__category {
	margin-bottom: 8px;
	color: var(--wt-blue-600);
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.product-card h2,
.product-card h3 {
	margin-bottom: 10px;
	font-size: 1.03rem;
}

.product-card p {
	margin-bottom: 16px;
	color: var(--wt-slate-600);
	font-size: 0.86rem;
}

.product-card__link {
	margin-top: auto;
	font-size: 0.84rem;
	font-weight: 750;
}

.detail-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}

.detail-card {
	padding: 30px;
	border: 1px solid var(--wt-slate-200);
	border-radius: var(--wt-radius-md);
	background: var(--wt-white);
	scroll-margin-top: 30px;
}

.detail-card h2 {
	margin-bottom: 12px;
	font-size: 1.25rem;
}

.detail-card ul {
	margin: 15px 0 0;
	padding-left: 20px;
	color: var(--wt-slate-600);
}

.timeline {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
	counter-reset: step;
}

.timeline__item {
	position: relative;
	padding: 28px 24px;
	border: 1px solid var(--wt-slate-200);
	border-radius: var(--wt-radius-md);
	background: var(--wt-white);
	counter-increment: step;
}

.timeline__item::before {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	margin-bottom: 14px;
	border-radius: 50%;
	background: rgba(62, 142, 255, 0.12);
	color: var(--wt-blue-600);
	font-size: 0.82rem;
	font-weight: 800;
	content: counter(step, decimal-leading-zero);
}

.timeline__item h3 {
	margin-bottom: 8px;
	font-size: 1rem;
}

.timeline__item p {
	margin: 0;
	color: var(--wt-slate-600);
	font-size: 0.86rem;
}

.contact-page-grid {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: 56px;
}

.contact-cards {
	display: grid;
	gap: 18px;
}

.contact-card {
	padding-bottom: 18px;
	border-bottom: 1px solid var(--wt-slate-200);
}

.contact-card:last-child {
	border: 0;
}

.contact-card__label {
	display: block;
	margin-bottom: 4px;
	color: var(--wt-slate-500);
	font-size: 0.76rem;
	font-weight: 700;
	text-transform: uppercase;
}

.contact-card a,
.contact-card strong {
	color: var(--wt-slate-900);
	font-size: 1.02rem;
}

.map-frame {
	margin-top: 28px;
	overflow: hidden;
	border-radius: var(--wt-radius-md);
	background: var(--wt-slate-100);
}

.map-frame iframe {
	display: block;
	width: 100%;
	height: 260px;
	border: 0;
}

/* Content, posts and archives */
.content-wrap {
	width: min(calc(100% - 48px), 860px);
	margin-inline: auto;
	padding: 76px 0;
}

.entry-header {
	margin-bottom: 30px;
}

.entry-title {
	margin-bottom: 14px;
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 850;
	letter-spacing: -0.03em;
}

.entry-meta {
	color: var(--wt-slate-500);
	font-size: 0.84rem;
}

.entry-thumbnail {
	margin-bottom: 34px;
	overflow: hidden;
	border-radius: var(--wt-radius-md);
}

.entry-content {
	color: #2f3d52;
	font-size: 1.02rem;
}

.entry-content > * {
	max-width: 100%;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	margin-top: 1.8em;
	margin-bottom: 0.65em;
	color: var(--wt-slate-900);
}

.entry-content a {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.entry-content blockquote {
	margin: 28px 0;
	padding: 20px 24px;
	border-left: 4px solid var(--wt-blue-500);
	background: var(--wt-surface);
}

.entry-content table {
	display: block;
	width: 100%;
	overflow-x: auto;
	border-collapse: collapse;
}

.entry-content th,
.entry-content td {
	padding: 11px 13px;
	border: 1px solid var(--wt-slate-200);
}

.entry-content pre {
	overflow-x: auto;
	padding: 20px;
	border-radius: 8px;
	background: var(--wt-navy-900);
	color: var(--wt-white);
}

.post-navigation {
	margin-top: 42px;
	padding-top: 25px;
	border-top: 1px solid var(--wt-slate-200);
}

.nav-links {
	display: flex;
	justify-content: space-between;
	gap: 22px;
}

.archive-section {
	padding: 72px 0 92px;
}

.pagination {
	margin-top: 40px;
}

.pagination .nav-links {
	justify-content: center;
	flex-wrap: wrap;
}

.pagination ul.page-numbers {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pagination a.page-numbers,
.pagination span.page-numbers,
.nav-links a.page-numbers,
.nav-links span.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border: 1px solid var(--wt-slate-200);
	border-radius: 8px;
	color: var(--wt-slate-700);
}

.pagination .page-numbers.current,
.pagination a.page-numbers:hover,
.nav-links .page-numbers.current,
.nav-links a.page-numbers:hover {
	border-color: var(--wt-blue-600);
	background: var(--wt-blue-600);
	color: var(--wt-white);
}

.empty-state {
	padding: 55px 28px;
	border: 1px dashed var(--wt-slate-300);
	border-radius: var(--wt-radius-md);
	text-align: center;
}

.empty-state h2 {
	margin-bottom: 8px;
}

/* Footer */
.site-footer {
	padding-top: 58px;
	background: var(--wt-navy-950);
	color: #7689a9;
	font-size: 0.84rem;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.25fr 1fr 0.8fr 1.45fr;
	gap: 48px;
	padding-bottom: 42px;
}

.footer-logo img {
	width: auto;
	height: 46px;
}

.footer-tagline {
	margin: 11px 0 12px;
	color: var(--wt-blue-500);
	font-weight: 750;
}

.footer-title {
	margin-bottom: 17px;
	color: var(--wt-white);
	font-size: 0.9rem;
	font-weight: 800;
}

.footer-links,
.footer-contact {
	display: grid;
	gap: 9px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-links a,
.footer-contact a {
	color: #7f92b4;
}

.footer-links a:hover,
.footer-contact a:hover {
	color: var(--wt-white);
}

.footer-contact strong {
	color: #a5b3ca;
}

.footer-bottom {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	padding: 21px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	font-size: 0.76rem;
}

.footer-bottom p {
	margin: 0;
}

/* Responsive */
@media (max-width: 1180px) {
	.header-phone {
		display: none;
	}

	.primary-menu {
		gap: 18px;
	}

	.hero-features,
	.services-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

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

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

@media (max-width: 1080px) {
	.menu-toggle {
		display: inline-flex;
	}

	.header-main__inner {
		min-height: 78px;
	}

	.site-logo img,
	.custom-logo {
		height: 50px;
	}

	.primary-navigation {
		position: absolute;
		top: 100%;
		right: 0;
		left: 0;
		display: none;
		max-height: calc(100vh - 110px);
		overflow-y: auto;
		margin: 0;
		padding: 14px 24px 24px;
		border-top: 1px solid rgba(255, 255, 255, 0.08);
		background: var(--wt-navy-900);
		box-shadow: 0 20px 40px rgba(5, 13, 28, 0.35);
	}

	.primary-navigation.is-open {
		display: block;
	}

	.primary-menu {
		display: block;
		width: min(100%, var(--wt-container));
		margin: 0 auto;
	}

	.primary-menu a {
		padding: 13px 5px;
		border-bottom: 1px solid rgba(255, 255, 255, 0.07);
	}

	.primary-menu > .menu-item > a::after {
		display: none;
	}

	.primary-menu .sub-menu {
		position: static;
		display: block;
		min-width: 0;
		padding: 0 0 0 16px;
		visibility: visible;
		opacity: 1;
		background: transparent;
		box-shadow: none;
		transform: none;
	}

	.primary-menu .sub-menu a {
		color: #9fb0cc;
	}

	.about-grid,
	.contact-grid,
	.contact-page-grid {
		grid-template-columns: 1fr;
	}

	.about-visual {
		min-height: 360px;
	}

	.grid--4,
	.product-grid,
	.timeline {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 780px) {
	.container,
	.content-wrap {
		width: min(calc(100% - 36px), var(--wt-container));
	}

	.topbar__inner {
		justify-content: center;
		min-height: 36px;
	}

	.topbar__contacts a:nth-child(2),
	.topbar__hours,
	.header-cta {
		display: none;
	}

	.hero {
		padding: 78px 0 68px;
	}

	.hero__actions {
		margin-bottom: 44px;
	}

	.hero-features,
	.grid--3,
	.post-grid,
	.process-grid,
	.detail-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.section {
		padding: 72px 0;
	}

	.cta-strip,
	.section-row {
		align-items: flex-start;
		flex-direction: column;
	}

	.footer-grid {
		gap: 35px;
	}
}

@media (max-width: 560px) {
	.container,
	.content-wrap {
		width: min(calc(100% - 30px), var(--wt-container));
	}

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

	.hero__actions {
		flex-direction: column;
	}

	.hero__actions .button {
		width: 100%;
	}

	.hero-features,
	.grid--2,
	.grid--3,
	.grid--4,
	.post-grid,
	.product-grid,
	.process-grid,
	.services-list,
	.detail-grid,
	.timeline,
	.footer-grid {
		grid-template-columns: 1fr;
	}

	.hero-card {
		padding: 21px;
	}

	.about-visual {
		min-height: 310px;
	}

	.about-visual::before {
		left: 35px;
		width: 250px;
		height: 250px;
	}

	.about-visual::after {
		left: 78px;
		width: 165px;
		height: 165px;
	}

	.about-visual .icon {
		width: 110px;
		height: 110px;
	}

	.section-heading {
		margin-bottom: 34px;
	}

	.solution-card,
	.service-card,
	.process-card,
	.detail-card {
		padding: 23px 21px;
	}

	.cta-strip,
	.contact-panel {
		padding: 27px 22px;
	}

	.page-hero {
		padding: 52px 0 47px;
	}

	.content-wrap {
		padding: 55px 0;
	}

	.footer-bottom {
		flex-direction: column;
		gap: 6px;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}
