/**
 * Nexus TechHive — Standalone WordPress Theme Styles
 * Enterprise consulting design system
 */

/* ========================================
   CSS CUSTOM PROPERTIES
   ======================================== */

:root {
	--nth-primary: #0F172A;
	--nth-secondary: #0369A1;
	--nth-accent: #38BDF8;
	--nth-text: #162033;
	--nth-bg: #F8FAFC;
	--nth-white: #FFFFFF;
	--nth-muted: rgba(22, 32, 51, 0.65);
	--nth-border: rgba(15, 23, 42, 0.08);
	--nth-border-strong: rgba(15, 23, 42, 0.14);
	--nth-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
	--nth-shadow-hover: 0 12px 40px rgba(15, 23, 42, 0.12);
	--nth-shadow-lg: 0 20px 60px rgba(15, 23, 42, 0.15);
	--nth-radius: 12px;
	--nth-radius-sm: 8px;
	--nth-radius-lg: 16px;
	--nth-radius-xl: 24px;
	--nth-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	--nth-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--nth-font-heading: 'Manrope', 'Inter', sans-serif;
	--nth-header-height: 80px;
	--nth-content-max: 1280px;
	--nth-section-padding: 96px;
}

/* ========================================
   RESET & BASE
   ======================================== */

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

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family: var(--nth-font-body);
	font-size: 16px;
	line-height: 1.6;
	color: var(--nth-text);
	background-color: var(--nth-bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img,
svg,
video {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--nth-secondary);
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
}

a:hover {
	color: var(--nth-accent);
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--nth-font-heading);
	color: var(--nth-primary);
	line-height: 1.25;
	margin-top: 0;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 700; }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 700; }
h4 { font-size: 1.125rem; font-weight: 600; }

p {
	margin-top: 0;
	margin-bottom: 1rem;
}

ul, ol {
	padding-left: 1.25rem;
}

button {
	font-family: inherit;
}

/* WordPress admin bar offset */
body.admin-bar .nth-header {
	top: 32px;
}

@media (max-width: 782px) {
	body.admin-bar .nth-header {
		top: 46px;
	}
}

/* ========================================
   BUTTONS
   ======================================== */

.nth-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-family: var(--nth-font-body);
	font-weight: 600;
	font-size: 15px;
	border-radius: var(--nth-radius-sm);
	transition: var(--nth-transition);
	cursor: pointer;
	text-decoration: none;
	border: none;
	line-height: 1.4;
}

.nth-btn--primary {
	background: var(--nth-secondary);
	color: var(--nth-white);
	padding: 12px 24px;
}

.nth-btn--primary:hover {
	background: var(--nth-primary);
	color: var(--nth-white);
	transform: translateY(-1px);
}

.nth-btn--outline {
	background: transparent;
	color: var(--nth-secondary);
	padding: 12px 24px;
	border: 2px solid var(--nth-secondary);
}

.nth-btn--outline:hover {
	background: var(--nth-secondary);
	color: var(--nth-white);
}

.nth-btn--hero-primary {
	background: var(--nth-accent);
	color: var(--nth-primary);
	padding: 16px 32px;
	font-size: 16px;
}

.nth-btn--hero-primary:hover {
	background: var(--nth-white);
	color: var(--nth-primary);
	transform: translateY(-2px);
	box-shadow: var(--nth-shadow-hover);
}

.nth-btn--hero-secondary {
	background: transparent;
	color: var(--nth-white);
	padding: 16px 32px;
	font-size: 16px;
	border: 2px solid rgba(255, 255, 255, 0.4);
}

.nth-btn--hero-secondary:hover {
	border-color: var(--nth-white);
	background: rgba(255, 255, 255, 0.08);
	color: var(--nth-white);
}

/* ========================================
   STICKY HEADER
   ======================================== */

.nth-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 9999;
	height: var(--nth-header-height);
	transition:
		background-color var(--nth-transition),
		box-shadow var(--nth-transition),
		backdrop-filter var(--nth-transition);
}

.nth-header.is-transparent {
	background: transparent;
	box-shadow: none;
}

.nth-header.is-solid {
	background: rgba(255, 255, 255, 0.97);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	box-shadow: 0 1px 0 var(--nth-border);
}

.nth-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: var(--nth-content-max);
	margin: 0 auto;
	padding: 0 24px;
	height: 100%;
}

.nth-header__logo {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

.nth-logo {
	display: block;
	height: auto;
	width: auto;
	max-width: 100%;
	aspect-ratio: 1820 / 376;
	shape-rendering: geometricPrecision;
	text-rendering: geometricPrecision;
}

.nth-logo--header {
	height: 40px;
}

.nth-logo--offcanvas {
	width: 200px;
	height: auto;
	margin-bottom: 4px;
}

.nth-logo--footer {
	width: 180px;
	height: auto;
}

.nth-header.is-transparent .nth-logo--on-light {
	display: none;
}

.nth-header.is-solid .nth-logo--on-dark {
	display: none;
}

.nth-header__logo img,
.nth-header__logo svg {
	display: block;
}

.nth-header.is-transparent .nth-header__nav-link,
.nth-header.is-transparent .nth-header__toggle {
	color: rgba(255, 255, 255, 0.92);
}

.nth-header.is-solid .nth-header__nav-link {
	color: var(--nth-text);
}

.nth-header__nav {
	display: flex;
	align-items: center;
	gap: 32px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nth-header__nav-link {
	font-size: 15px;
	font-weight: 500;
	text-decoration: none;
	transition: color var(--nth-transition);
}

.nth-header__nav-link:hover,
.nth-header__nav-link:focus-visible,
.nth-header__nav-link[aria-current="page"] {
	color: var(--nth-accent);
}

.nth-header__cta .nth-btn--primary {
	background: var(--nth-secondary);
	color: var(--nth-white);
	padding: 12px 24px;
}

.nth-header__cta .nth-btn--primary:hover {
	background: var(--nth-primary);
}

.nth-header__toggle {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
	color: inherit;
}

.nth-header__toggle span {
	display: block;
	width: 24px;
	height: 2px;
	background: currentColor;
	margin: 5px 0;
	transition: var(--nth-transition);
}

@media (max-width: 1024px) {
	.nth-header__nav,
	.nth-header__cta {
		display: none;
	}

	.nth-header__toggle {
		display: block;
	}
}

/* ========================================
   OFF-CANVAS MOBILE MENU
   ======================================== */

.nth-offcanvas {
	position: fixed;
	inset: 0;
	z-index: 10000;
	visibility: hidden;
	pointer-events: none;
}

.nth-offcanvas.is-open {
	visibility: visible;
	pointer-events: auto;
}

.nth-offcanvas__overlay {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.6);
	opacity: 0;
	transition: opacity var(--nth-transition);
	border: none;
	padding: 0;
	cursor: pointer;
}

.nth-offcanvas.is-open .nth-offcanvas__overlay {
	opacity: 1;
}

.nth-offcanvas__panel {
	position: absolute;
	top: 0;
	right: 0;
	width: min(380px, 90vw);
	height: 100%;
	background: var(--nth-primary);
	color: var(--nth-white);
	transform: translateX(100%);
	transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
	overflow-y: auto;
	padding: 32px 28px;
}

.nth-offcanvas.is-open .nth-offcanvas__panel {
	transform: translateX(0);
}

.nth-offcanvas__logo {
	margin-bottom: 8px;
	padding-bottom: 4px;
}

.nth-offcanvas__logo img,
.nth-offcanvas__logo svg {
	display: block;
}

.nth-offcanvas__tagline {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.7);
	margin-bottom: 28px;
	margin-top: 16px;
	line-height: 1.5;
}

@media (max-width: 380px) {
	.nth-logo--offcanvas {
		width: 180px;
	}
}

@media (min-width: 381px) {
	.nth-logo--offcanvas {
		width: 200px;
		max-width: 220px;
	}
}

.nth-offcanvas__nav {
	list-style: none;
	margin: 0 0 32px;
	padding: 0;
}

.nth-offcanvas__nav li {
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nth-offcanvas__nav a {
	display: block;
	padding: 16px 0;
	color: var(--nth-white);
	text-decoration: none;
	font-size: 16px;
	font-weight: 500;
	transition: color var(--nth-transition);
}

.nth-offcanvas__nav a:hover,
.nth-offcanvas__nav a:focus-visible {
	color: var(--nth-accent);
}

.nth-offcanvas__social {
	display: flex;
	gap: 16px;
	margin-bottom: 24px;
}

.nth-offcanvas__social a {
	color: rgba(255, 255, 255, 0.7);
	text-decoration: none;
	transition: color var(--nth-transition);
}

.nth-offcanvas__social a:hover {
	color: var(--nth-accent);
}

.nth-offcanvas__close {
	position: absolute;
	top: 20px;
	right: 20px;
	background: none;
	border: none;
	color: var(--nth-white);
	font-size: 28px;
	cursor: pointer;
	line-height: 1;
	padding: 4px;
}

/* ========================================
   HERO + PARTICLES
   ======================================== */

.nth-hero {
	position: relative;
	min-height: 90vh;
	display: flex;
	align-items: center;
	background: linear-gradient(135deg, var(--nth-primary) 0%, #1e293b 50%, var(--nth-secondary) 100%);
	overflow: hidden;
	padding-top: 0;
}

.nth-hero--particles .nth-particles-canvas {
	position: absolute;
	inset: 0;
	z-index: 1;
}

.nth-hero__content {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: var(--nth-content-max);
	margin: 0 auto;
	padding: calc(var(--nth-header-height) + 40px) 24px 80px;
}

.nth-hero__headline {
	font-size: clamp(2.25rem, 5vw, 3.75rem);
	font-weight: 800;
	color: var(--nth-white);
	line-height: 1.15;
	margin-bottom: 20px;
	letter-spacing: -0.02em;
}

.nth-hero__subheadline {
	font-size: clamp(1rem, 2vw, 1.25rem);
	color: rgba(255, 255, 255, 0.85);
	margin-bottom: 36px;
	font-weight: 400;
	max-width: 720px;
}

.nth-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

.nth-hero__badge {
	display: inline-block;
	background: rgba(56, 189, 248, 0.15);
	color: var(--nth-accent);
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	padding: 8px 16px;
	border-radius: 24px;
	margin-bottom: 20px;
}

/* ========================================
   SECTION UTILITIES
   ======================================== */

.nth-section {
	padding: var(--nth-section-padding) 24px;
}

.nth-section--alt {
	background: var(--nth-bg);
}

.nth-section--white {
	background: var(--nth-white);
}

.nth-section__container {
	max-width: var(--nth-content-max);
	margin: 0 auto;
}

.nth-section__label {
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--nth-secondary);
	margin-bottom: 12px;
}

.nth-section__title {
	font-size: clamp(1.75rem, 3vw, 2.5rem);
	font-weight: 700;
	margin-bottom: 16px;
	line-height: 1.2;
}

.nth-section__subtitle {
	font-size: 18px;
	color: var(--nth-text);
	opacity: 0.85;
	max-width: 640px;
	margin-bottom: 48px;
	line-height: 1.6;
}

.nth-section__header--center {
	text-align: center;
}

.nth-section__header--center .nth-section__subtitle {
	margin-left: auto;
	margin-right: auto;
}

/* ========================================
   SERVICE PILLAR CARDS
   ======================================== */

.nth-pillars {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 24px;
}

.nth-pillar-card {
	background: var(--nth-white);
	border: 1px solid var(--nth-border);
	border-radius: var(--nth-radius-lg);
	padding: 32px;
	transition: var(--nth-transition);
	position: relative;
	overflow: hidden;
}

.nth-pillar-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: var(--nth-accent);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform var(--nth-transition);
}

.nth-pillar-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--nth-shadow-hover);
	border-color: transparent;
}

.nth-pillar-card:hover::before {
	transform: scaleX(1);
}

.nth-pillar-card__icon {
	width: 52px;
	height: 52px;
	background: rgba(56, 189, 248, 0.12);
	border-radius: var(--nth-radius);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 20px;
	color: var(--nth-secondary);
	font-size: 24px;
}

.nth-pillar-card__title {
	font-size: 20px;
	font-weight: 700;
	margin-bottom: 12px;
}

.nth-pillar-card__desc {
	font-size: 15px;
	line-height: 1.6;
	color: var(--nth-text);
	opacity: 0.85;
	margin-bottom: 20px;
}

.nth-pillar-card__link {
	font-size: 14px;
	font-weight: 600;
	color: var(--nth-secondary);
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	transition: gap var(--nth-transition);
}

.nth-pillar-card__link:hover {
	gap: 10px;
	color: var(--nth-accent);
}

/* ========================================
   WHY CHOOSE / COUNTERS
   ======================================== */

.nth-why-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
	margin-bottom: 64px;
}

.nth-why-item {
	text-align: center;
	padding: 24px;
}

.nth-why-item__icon {
	font-size: 32px;
	color: var(--nth-secondary);
	margin-bottom: 16px;
}

.nth-why-item__title {
	font-size: 18px;
	font-weight: 700;
	margin-bottom: 8px;
}

.nth-why-item__desc {
	font-size: 14px;
	line-height: 1.6;
	opacity: 0.85;
}

.nth-counters {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	background: var(--nth-primary);
	border-radius: var(--nth-radius-lg);
	padding: 48px 32px;
}

.nth-counter {
	text-align: center;
}

.nth-counter__value {
	display: block;
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 800;
	color: var(--nth-accent);
	font-family: var(--nth-font-heading);
	line-height: 1;
	margin-bottom: 8px;
}

.nth-counter__label {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.75);
	font-weight: 500;
}

/* ========================================
   TECH STACK
   ======================================== */

.nth-tech-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
}

.nth-tech-badge {
	background: var(--nth-white);
	border: 1px solid var(--nth-border);
	border-radius: var(--nth-radius-sm);
	padding: 12px 20px;
	font-size: 14px;
	font-weight: 600;
	color: var(--nth-text);
	transition: var(--nth-transition);
}

.nth-tech-badge:hover {
	border-color: var(--nth-accent);
	color: var(--nth-secondary);
	transform: translateY(-2px);
	box-shadow: var(--nth-shadow);
}

/* ========================================
   INDUSTRIES GRID
   ======================================== */

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

.nth-industry-item {
	background: var(--nth-white);
	border-radius: var(--nth-radius);
	padding: 24px 16px;
	text-align: center;
	border: 1px solid var(--nth-border);
	transition: var(--nth-transition);
}

.nth-industry-item:hover {
	border-color: var(--nth-accent);
	box-shadow: var(--nth-shadow);
	transform: translateY(-2px);
}

.nth-industry-item__icon {
	font-size: 28px;
	margin-bottom: 8px;
	color: var(--nth-secondary);
}

.nth-industry-item__name {
	font-size: 14px;
	font-weight: 600;
}

/* ========================================
   PROCESS TIMELINE
   ======================================== */

.nth-process {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 8px;
	position: relative;
}

.nth-process::before {
	content: '';
	position: absolute;
	top: 40px;
	left: 5%;
	right: 5%;
	height: 2px;
	background: var(--nth-border-strong);
	z-index: 0;
}

.nth-process-step {
	text-align: center;
	padding: 20px 12px;
	position: relative;
	z-index: 1;
}

.nth-process-step__num {
	width: 40px;
	height: 40px;
	background: var(--nth-secondary);
	color: var(--nth-white);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 14px;
	margin: 0 auto 12px;
	box-shadow: 0 0 0 4px var(--nth-white);
}

.nth-process-step__title {
	font-size: 13px;
	font-weight: 600;
}

.nth-process-step__desc {
	font-size: 12px;
	opacity: 0.75;
	margin-top: 4px;
	line-height: 1.4;
}

/* ========================================
   TESTIMONIALS
   ======================================== */

.nth-testimonials {
	position: relative;
	overflow: hidden;
}

.nth-testimonials__track {
	display: flex;
	transition: transform 0.5s ease;
}

.nth-testimonial {
	flex: 0 0 100%;
	padding: 48px;
	background: var(--nth-white);
	border-radius: var(--nth-radius-lg);
	border: 1px solid var(--nth-border);
	text-align: center;
}

.nth-testimonial__quote {
	font-size: 20px;
	line-height: 1.6;
	font-style: italic;
	margin-bottom: 24px;
	color: var(--nth-text);
}

.nth-testimonial__author {
	font-weight: 700;
	color: var(--nth-primary);
}

.nth-testimonial__role {
	font-size: 14px;
	color: var(--nth-text);
	opacity: 0.7;
}

.nth-testimonials__nav {
	display: flex;
	justify-content: center;
	gap: 12px;
	margin-top: 24px;
}

.nth-testimonials__dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	border: none;
	background: var(--nth-border-strong);
	cursor: pointer;
	padding: 0;
	transition: var(--nth-transition);
}

.nth-testimonials__dot.is-active {
	background: var(--nth-secondary);
	transform: scale(1.2);
}

/* ========================================
   BLOG GRID
   ======================================== */

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

.nth-blog-card {
	background: var(--nth-white);
	border-radius: var(--nth-radius-lg);
	overflow: hidden;
	border: 1px solid var(--nth-border);
	transition: var(--nth-transition);
}

.nth-blog-card:hover {
	box-shadow: var(--nth-shadow-hover);
	transform: translateY(-4px);
}

.nth-blog-card__image {
	aspect-ratio: 16 / 9;
	background: linear-gradient(135deg, var(--nth-primary), var(--nth-secondary));
	overflow: hidden;
}

.nth-blog-card__thumb {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.nth-blog-card__body {
	padding: 24px;
}

.nth-blog-card__meta {
	font-size: 13px;
	color: var(--nth-muted);
	margin-bottom: 8px;
}

.nth-blog-card__title {
	font-size: 18px;
	font-weight: 700;
	margin-bottom: 8px;
}

.nth-blog-card__title a {
	color: var(--nth-primary);
	text-decoration: none;
}

.nth-blog-card__title a:hover {
	color: var(--nth-secondary);
}

.nth-blog-card__excerpt {
	font-size: 14px;
	line-height: 1.6;
	opacity: 0.85;
	margin-bottom: 16px;
}

.nth-blog-card__link {
	font-size: 14px;
	font-weight: 600;
	color: var(--nth-secondary);
	text-decoration: none;
}

.nth-blog-card__link:hover {
	color: var(--nth-accent);
}

/* ========================================
   CTA BANNER
   ======================================== */

.nth-cta-banner {
	background: linear-gradient(135deg, var(--nth-primary) 0%, var(--nth-secondary) 100%);
	border-radius: var(--nth-radius-lg);
	padding: 64px 48px;
	text-align: center;
}

.nth-cta-banner__title {
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	color: var(--nth-white);
	margin-bottom: 16px;
}

.nth-cta-banner__text {
	color: rgba(255, 255, 255, 0.85);
	margin-bottom: 32px;
	font-size: 18px;
	max-width: 560px;
	margin-left: auto;
	margin-right: auto;
}

.nth-cta-banner__actions {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 16px;
}

/* ========================================
   PORTFOLIO FILTER GRID
   ======================================== */

.nth-portfolio-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
	margin-bottom: 40px;
}

.nth-portfolio-filter__btn {
	background: var(--nth-white);
	border: 1px solid var(--nth-border);
	border-radius: 24px;
	padding: 10px 20px;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	transition: var(--nth-transition);
	color: var(--nth-text);
	font-family: inherit;
}

.nth-portfolio-filter__btn.is-active,
.nth-portfolio-filter__btn:hover {
	background: var(--nth-secondary);
	color: var(--nth-white);
	border-color: var(--nth-secondary);
}

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

.nth-portfolio-item {
	border-radius: var(--nth-radius-lg);
	overflow: hidden;
	background: var(--nth-white);
	border: 1px solid var(--nth-border);
	transition: var(--nth-transition);
}

.nth-portfolio-item.is-hidden {
	display: none;
}

.nth-portfolio-item:hover {
	box-shadow: var(--nth-shadow-hover);
	transform: translateY(-4px);
}

.nth-portfolio-item__image {
	aspect-ratio: 4 / 3;
	background: linear-gradient(135deg, #1e293b, var(--nth-secondary));
	overflow: hidden;
}

.nth-portfolio-item__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.nth-portfolio-item__body {
	padding: 24px;
}

.nth-portfolio-item__category {
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--nth-secondary);
	margin-bottom: 8px;
}

.nth-portfolio-item__title {
	font-size: 18px;
	font-weight: 700;
	margin-bottom: 8px;
}

.nth-portfolio-item__desc {
	font-size: 14px;
	opacity: 0.85;
	line-height: 1.5;
}

/* ========================================
   ABOUT / BEYOND TECHNOLOGY
   ======================================== */

.nth-beyond {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: center;
}

.nth-beyond__image {
	border-radius: var(--nth-radius-lg);
	overflow: hidden;
	filter: grayscale(100%);
	aspect-ratio: 4 / 3;
	background: var(--nth-primary);
	transition: filter var(--nth-transition);
}

.nth-beyond__image:hover {
	filter: grayscale(60%);
}

.nth-beyond__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.nth-beyond__traits {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin-top: 32px;
}

.nth-beyond__trait {
	padding: 16px;
	border-left: 3px solid var(--nth-accent);
	background: var(--nth-white);
	border-radius: 0 var(--nth-radius-sm) var(--nth-radius-sm) 0;
}

.nth-beyond__trait-title {
	font-weight: 700;
	font-size: 15px;
	margin-bottom: 4px;
}

.nth-beyond__trait-desc {
	font-size: 14px;
	opacity: 0.85;
	line-height: 1.5;
}

.nth-beyond__quote {
	font-size: 20px;
	font-style: italic;
	color: var(--nth-secondary);
	margin-top: 32px;
	padding-left: 24px;
	border-left: 4px solid var(--nth-accent);
	line-height: 1.6;
}

/* ========================================
   PAGE HERO (INNER PAGES)
   ======================================== */

.nth-page-hero {
	background: linear-gradient(135deg, var(--nth-primary) 0%, var(--nth-secondary) 100%);
	padding: calc(var(--nth-header-height) + 48px) 24px 64px;
	color: var(--nth-white);
}

.nth-page-hero--compact {
	padding-bottom: 56px;
}

.nth-page-hero__title {
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 800;
	color: var(--nth-white);
	margin-bottom: 12px;
}

.nth-page-hero__subtitle {
	font-size: 18px;
	color: rgba(255, 255, 255, 0.88);
	max-width: 720px;
	line-height: 1.6;
	margin: 0;
}

.nth-section__container--center {
	text-align: center;
}

.nth-section__container--center .nth-section__subtitle {
	margin-left: auto;
	margin-right: auto;
}

.nth-section__cta-link {
	margin-top: 32px;
	text-align: center;
}

/* ========================================
   BREADCRUMBS
   ======================================== */

.nth-breadcrumbs {
	margin-bottom: 24px;
}

.nth-breadcrumbs__list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 14px;
}

.nth-breadcrumbs__item {
	display: flex;
	align-items: center;
	gap: 8px;
	color: rgba(255, 255, 255, 0.75);
}

.nth-breadcrumbs__item:not(:last-child)::after {
	content: '/';
	opacity: 0.5;
}

.nth-breadcrumbs__link {
	color: rgba(255, 255, 255, 0.85);
	text-decoration: none;
}

.nth-breadcrumbs__link:hover {
	color: var(--nth-white);
}

.nth-breadcrumbs__current {
	color: var(--nth-white);
	font-weight: 600;
}

.nth-section .nth-breadcrumbs__item,
.nth-section .nth-breadcrumbs__link,
.nth-section .nth-breadcrumbs__current {
	color: var(--nth-muted);
}

.nth-section .nth-breadcrumbs__link:hover {
	color: var(--nth-secondary);
}

.nth-section .nth-breadcrumbs__current {
	color: var(--nth-primary);
}

/* ========================================
   SINGLE POST / ENTRY
   ======================================== */

.nth-single__header {
	background: var(--nth-white);
	padding: calc(var(--nth-header-height) + 32px) 0 0;
	border-bottom: 1px solid var(--nth-border);
}

.nth-single__meta {
	font-size: 14px;
	color: var(--nth-muted);
	margin-bottom: 12px;
}

.nth-single__meta-sep {
	margin: 0 8px;
}

.nth-single__title {
	margin-bottom: 24px;
}

.nth-single__featured {
	border-radius: var(--nth-radius-lg);
	overflow: hidden;
	margin-bottom: 32px;
}

.nth-single__featured img {
	width: 100%;
	height: auto;
	display: block;
}

.nth-entry-content {
	font-size: 17px;
	line-height: 1.75;
	max-width: 800px;
}

.nth-entry-content h2,
.nth-entry-content h3 {
	margin-top: 2rem;
	margin-bottom: 1rem;
}

.nth-single__tags {
	margin-bottom: 24px;
	font-size: 14px;
}

.nth-post-nav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-top: 32px;
	padding-top: 32px;
	border-top: 1px solid var(--nth-border);
}

.nth-post-nav__next {
	text-align: right;
}

.nth-post-nav a {
	text-decoration: none;
	font-weight: 600;
	color: var(--nth-secondary);
}

.nth-author {
	display: flex;
	gap: 24px;
	margin-top: 48px;
	padding: 32px;
	background: var(--nth-white);
	border: 1px solid var(--nth-border);
	border-radius: var(--nth-radius-lg);
}

.nth-author__avatar-img {
	border-radius: 50%;
}

.nth-author__title {
	font-size: 1.25rem;
	margin-bottom: 8px;
}

.nth-author__bio {
	font-size: 15px;
	opacity: 0.9;
	margin-bottom: 12px;
}

.nth-author__link {
	font-weight: 600;
	text-decoration: none;
}

.nth-related {
	margin-top: 64px;
	padding-top: 48px;
	border-top: 1px solid var(--nth-border);
}

.nth-pagination {
	margin-top: 48px;
}

.nth-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
}

.nth-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border-radius: var(--nth-radius-sm);
	border: 1px solid var(--nth-border);
	text-decoration: none;
	color: var(--nth-text);
	font-weight: 500;
}

.nth-pagination .page-numbers.current,
.nth-pagination .page-numbers:hover {
	background: var(--nth-secondary);
	border-color: var(--nth-secondary);
	color: var(--nth-white);
}

.nth-empty-state {
	text-align: center;
	padding: 48px 24px;
}

/* ========================================
   ABOUT PAGE
   ======================================== */

.nth-about-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	margin-top: 24px;
}

.nth-about-card {
	background: var(--nth-white);
	border: 1px solid var(--nth-border);
	border-radius: var(--nth-radius-lg);
	padding: 32px;
}

.nth-about-card__title {
	font-size: 1.5rem;
	margin-bottom: 12px;
}

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

.nth-value-card {
	background: var(--nth-white);
	border: 1px solid var(--nth-border);
	border-radius: var(--nth-radius);
	padding: 24px;
}

.nth-value-card__title {
	font-size: 1.125rem;
	margin-bottom: 8px;
}

.nth-value-card__desc {
	font-size: 15px;
	opacity: 0.85;
	margin: 0;
}

.nth-about-story {
	max-width: 800px;
}

.nth-beyond__placeholder {
	width: 100%;
	height: 100%;
	min-height: 320px;
	background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
}

/* ========================================
   SERVICE PAGE BLOCKS
   ======================================== */

.nth-service-block {
	margin-bottom: 64px;
}

.nth-use-cases-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.nth-use-case-card {
	background: var(--nth-white);
	border: 1px solid var(--nth-border);
	border-radius: var(--nth-radius);
	padding: 24px;
}

.nth-use-case-card__title {
	font-size: 1.125rem;
	margin-bottom: 8px;
}

.nth-use-case-card__desc {
	font-size: 15px;
	opacity: 0.85;
	margin: 0;
	line-height: 1.6;
}

/* ========================================
   PORTFOLIO CARDS (ARCHIVE)
   ======================================== */

.nth-portfolio-card {
	background: var(--nth-white);
	border-radius: var(--nth-radius-lg);
	overflow: hidden;
	border: 1px solid var(--nth-border);
	transition: var(--nth-transition);
}

.nth-portfolio-card:hover {
	box-shadow: var(--nth-shadow-hover);
	transform: translateY(-4px);
}

.nth-portfolio-card__thumb {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	display: block;
}

.nth-portfolio-card__body {
	padding: 24px;
}

.nth-portfolio-card__title {
	font-size: 18px;
	margin-bottom: 8px;
}

.nth-portfolio-card__title a {
	color: var(--nth-primary);
	text-decoration: none;
}

.nth-portfolio-card__excerpt {
	font-size: 14px;
	opacity: 0.85;
	margin: 0;
	line-height: 1.5;
}

.nth-portfolio-single__featured {
	border-radius: var(--nth-radius-lg);
	overflow: hidden;
	margin-bottom: 32px;
}

.nth-portfolio-single__featured img {
	width: 100%;
	height: auto;
	display: block;
}

.nth-blog-card__image-link {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
}

/* ========================================
   SERVICE PAGE LAYOUTS
   ======================================== */

.nth-service-hero {
	background: linear-gradient(135deg, var(--nth-primary), var(--nth-secondary));
	padding: calc(var(--nth-header-height) + 40px) 24px 80px;
	color: var(--nth-white);
}

.nth-service-hero__title {
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 800;
	margin-bottom: 16px;
	color: var(--nth-white);
}

.nth-service-hero__desc {
	font-size: 18px;
	opacity: 0.9;
	max-width: 720px;
	line-height: 1.6;
}

.nth-service-content {
	font-size: 17px;
	line-height: 1.7;
	max-width: 800px;
}

.nth-service-content ul {
	margin-top: 16px;
	line-height: 2;
}

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

.nth-benefit-card {
	padding: 28px;
	background: var(--nth-bg);
	border-radius: var(--nth-radius);
	border: 1px solid var(--nth-border);
	transition: var(--nth-transition);
}

.nth-benefit-card:hover {
	box-shadow: var(--nth-shadow);
	border-color: transparent;
}

.nth-benefit-card__icon {
	font-size: 28px;
	color: var(--nth-secondary);
	margin-bottom: 12px;
}

.nth-benefit-card__title {
	font-weight: 700;
	margin-bottom: 8px;
}

.nth-benefit-card__desc {
	font-size: 15px;
	opacity: 0.85;
	line-height: 1.6;
}

.nth-service-sidebar {
	background: var(--nth-white);
	border: 1px solid var(--nth-border);
	border-radius: var(--nth-radius-lg);
	padding: 32px;
	position: sticky;
	top: calc(var(--nth-header-height) + 24px);
}

.nth-service-sidebar__title {
	font-size: 16px;
	font-weight: 700;
	margin-bottom: 16px;
}

.nth-service-sidebar__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.nth-service-sidebar__list li {
	border-bottom: 1px solid var(--nth-border);
}

.nth-service-sidebar__list a {
	display: block;
	padding: 12px 0;
	font-size: 14px;
	font-weight: 500;
	color: var(--nth-text);
	text-decoration: none;
	transition: color var(--nth-transition);
}

.nth-service-sidebar__list a:hover,
.nth-service-sidebar__list a[aria-current="page"] {
	color: var(--nth-secondary);
}

.nth-service-layout {
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: 48px;
	align-items: start;
}

/* ========================================
   FAQ ACCORDION
   ======================================== */

.nth-faq {
	max-width: 800px;
	margin: 0 auto;
}

.nth-faq__item {
	border: 1px solid var(--nth-border);
	border-radius: var(--nth-radius);
	margin-bottom: 12px;
	background: var(--nth-white);
	overflow: hidden;
	transition: box-shadow var(--nth-transition);
}

.nth-faq__item.is-open {
	box-shadow: var(--nth-shadow);
	border-color: transparent;
}

.nth-faq__question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 20px 24px;
	background: none;
	border: none;
	cursor: pointer;
	font-family: var(--nth-font-heading);
	font-size: 16px;
	font-weight: 600;
	color: var(--nth-primary);
	text-align: left;
	gap: 16px;
	transition: color var(--nth-transition);
}

.nth-faq__question:hover {
	color: var(--nth-secondary);
}

.nth-faq__icon {
	flex-shrink: 0;
	width: 24px;
	height: 24px;
	position: relative;
}

.nth-faq__icon::before,
.nth-faq__icon::after {
	content: '';
	position: absolute;
	background: var(--nth-secondary);
	transition: transform var(--nth-transition);
}

.nth-faq__icon::before {
	top: 50%;
	left: 4px;
	right: 4px;
	height: 2px;
	transform: translateY(-50%);
}

.nth-faq__icon::after {
	left: 50%;
	top: 4px;
	bottom: 4px;
	width: 2px;
	transform: translateX(-50%);
}

.nth-faq__item.is-open .nth-faq__icon::after {
	transform: translateX(-50%) rotate(90deg);
	opacity: 0;
}

.nth-faq__answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.35s ease, padding 0.35s ease;
}

.nth-faq__item.is-open .nth-faq__answer {
	max-height: 500px;
}

.nth-faq__answer-inner {
	padding: 0 24px 20px;
	font-size: 15px;
	line-height: 1.7;
	color: var(--nth-text);
	opacity: 0.9;
}

/* ========================================
   CONTACT PAGE
   ======================================== */

.nth-contact-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
}

.nth-contact-info__item {
	display: flex;
	gap: 16px;
	margin-bottom: 24px;
}

.nth-contact-info__icon {
	width: 44px;
	height: 44px;
	background: rgba(56, 189, 248, 0.12);
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--nth-secondary);
	flex-shrink: 0;
	font-size: 18px;
}

.nth-contact-info__label {
	font-weight: 700;
	margin-bottom: 2px;
}

.nth-contact-info__value {
	font-size: 15px;
}

.nth-contact-info__value a {
	color: var(--nth-text);
	text-decoration: none;
}

.nth-contact-info__value a:hover {
	color: var(--nth-secondary);
}

.nth-contact-map {
	border-radius: var(--nth-radius-lg);
	overflow: hidden;
	min-height: 300px;
	background: var(--nth-bg);
	border: 1px solid var(--nth-border);
}

.nth-contact-map iframe {
	display: block;
	width: 100%;
	border: 0;
}

.nth-contact-form-wrap {
	background: var(--nth-white);
	border: 1px solid var(--nth-border);
	border-radius: var(--nth-radius-lg);
	padding: 32px;
}

/* ========================================
   CONTACT FORM 7 STYLING
   ======================================== */

.wpcf7 {
	font-family: var(--nth-font-body);
}

.wpcf7 form {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.wpcf7 label {
	display: block;
	font-size: 14px;
	font-weight: 600;
	color: var(--nth-primary);
	margin-bottom: 6px;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 input[type="number"],
.wpcf7 select,
.wpcf7 textarea {
	width: 100%;
	padding: 14px 16px;
	font-family: var(--nth-font-body);
	font-size: 15px;
	color: var(--nth-text);
	background: var(--nth-bg);
	border: 1px solid var(--nth-border-strong);
	border-radius: var(--nth-radius-sm);
	transition: border-color var(--nth-transition), box-shadow var(--nth-transition);
}

.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
	outline: none;
	border-color: var(--nth-accent);
	box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

.wpcf7 textarea {
	min-height: 140px;
	resize: vertical;
}

.wpcf7 input[type="submit"],
.wpcf7 button[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--nth-secondary);
	color: var(--nth-white);
	font-family: var(--nth-font-body);
	font-weight: 600;
	font-size: 15px;
	padding: 14px 32px;
	border: none;
	border-radius: var(--nth-radius-sm);
	cursor: pointer;
	transition: var(--nth-transition);
	width: auto;
	align-self: flex-start;
}

.wpcf7 input[type="submit"]:hover,
.wpcf7 button[type="submit"]:hover {
	background: var(--nth-primary);
	transform: translateY(-1px);
}

.wpcf7 .wpcf7-not-valid-tip {
	font-size: 13px;
	color: #dc2626;
	margin-top: 4px;
}

.wpcf7 .wpcf7-not-valid {
	border-color: #dc2626 !important;
}

.wpcf7 form .wpcf7-response-output {
	margin: 16px 0 0;
	padding: 14px 18px;
	border-radius: var(--nth-radius-sm);
	font-size: 14px;
	border: 1px solid transparent;
}

.wpcf7 form.init .wpcf7-response-output,
.wpcf7 form.resetting .wpcf7-response-output,
.wpcf7 form.submitting .wpcf7-response-output {
	display: none;
}

.wpcf7 form.sent .wpcf7-response-output {
	background: rgba(34, 197, 94, 0.1);
	border-color: rgba(34, 197, 94, 0.3);
	color: #15803d;
}

.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
	background: rgba(220, 38, 38, 0.08);
	border-color: rgba(220, 38, 38, 0.25);
	color: #b91c1c;
}

.wpcf7 form.spam .wpcf7-response-output {
	background: rgba(234, 179, 8, 0.1);
	border-color: rgba(234, 179, 8, 0.3);
	color: #a16207;
}

.wpcf7 .wpcf7-spinner {
	margin-left: 12px;
}

.wpcf7 .wpcf7-list-item {
	margin: 0 0 8px;
}

.wpcf7 .wpcf7-checkbox .wpcf7-list-item-label,
.wpcf7 .wpcf7-radio .wpcf7-list-item-label {
	font-weight: 400;
	font-size: 14px;
}

.wpcf7 .wpcf7-acceptance label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-weight: 400;
	cursor: pointer;
}

.wpcf7 .wpcf7-acceptance input[type="checkbox"] {
	width: auto;
	margin-top: 4px;
}

/* Two-column CF7 layout helper */
.wpcf7 .nth-form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

@media (max-width: 600px) {
	.wpcf7 .nth-form-row {
		grid-template-columns: 1fr;
	}
}

/* ========================================
   FOOTER
   ======================================== */

.nth-footer {
	background: var(--nth-primary);
	color: rgba(255, 255, 255, 0.8);
	padding: 64px 24px 32px;
}

.nth-footer__grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr;
	gap: 40px;
	max-width: var(--nth-content-max);
	margin: 0 auto 48px;
}

.nth-footer__logo img,
.nth-footer__logo svg {
	display: block;
	margin-bottom: 16px;
}

.nth-footer__desc {
	font-size: 14px;
	line-height: 1.6;
	opacity: 0.75;
}

.nth-footer__heading {
	color: var(--nth-white);
	font-size: 15px;
	font-weight: 700;
	margin-bottom: 16px;
	font-family: var(--nth-font-heading);
}

.nth-footer__links {
	list-style: none;
	margin: 0;
	padding: 0;
}

.nth-footer__links li {
	margin-bottom: 10px;
}

.nth-footer__links a {
	color: rgba(255, 255, 255, 0.7);
	text-decoration: none;
	font-size: 14px;
	transition: color var(--nth-transition);
}

.nth-footer__links a:hover {
	color: var(--nth-accent);
}

.nth-footer__social {
	display: flex;
	gap: 16px;
	margin-top: 20px;
}

.nth-footer__social a {
	color: rgba(255, 255, 255, 0.6);
	transition: color var(--nth-transition);
}

.nth-footer__social a:hover {
	color: var(--nth-accent);
}

.nth-footer__bottom {
	max-width: var(--nth-content-max);
	margin: 0 auto;
	padding-top: 32px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px;
	font-size: 13px;
}

.nth-footer__bottom a {
	color: rgba(255, 255, 255, 0.7);
	text-decoration: none;
}

.nth-footer__bottom a:hover {
	color: var(--nth-accent);
}

/* ========================================
   PAGE CONTENT / WORDPRESS BLOCKS
   ======================================== */

.nth-page-content {
	max-width: var(--nth-content-max);
	margin: 0 auto;
	padding: calc(var(--nth-header-height) + 40px) 24px 80px;
}

.nth-page-content .alignwide {
	max-width: 1400px;
}

.nth-page-content .alignfull {
	max-width: none;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	width: 100vw;
}

.nth-breadcrumb {
	font-size: 14px;
	color: var(--nth-muted);
	margin-bottom: 24px;
}

.nth-breadcrumb a {
	color: var(--nth-muted);
	text-decoration: none;
}

.nth-breadcrumb a:hover {
	color: var(--nth-secondary);
}

.nth-breadcrumb__sep {
	margin: 0 8px;
	opacity: 0.5;
}

/* ========================================
   ACCESSIBILITY
   ======================================== */

:focus-visible {
	outline: 2px solid var(--nth-accent);
	outline-offset: 2px;
}

.screen-reader-text,
.sr-only {
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
	white-space: nowrap;
}

.screen-reader-text:focus,
.sr-only:focus {
	clip: auto;
	clip-path: none;
	height: auto;
	width: auto;
	overflow: visible;
	white-space: normal;
	background: var(--nth-white);
	color: var(--nth-primary);
	padding: 12px 16px;
	z-index: 100000;
	box-shadow: var(--nth-shadow-lg);
	border-radius: var(--nth-radius-sm);
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}

	.nth-pillar-card:hover,
	.nth-portfolio-item:hover,
	.nth-blog-card:hover {
		transform: none;
	}

	.nth-testimonials__track {
		transition: none;
	}
}

/* ========================================
   RESPONSIVE BREAKPOINTS
   ======================================== */

@media (max-width: 1024px) {
	:root {
		--nth-section-padding: 72px;
	}

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

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

	.nth-process::before {
		display: none;
	}

	.nth-service-layout {
		grid-template-columns: 1fr;
	}

	.nth-service-sidebar {
		position: static;
	}
}

@media (max-width: 768px) {
	:root {
		--nth-section-padding: 56px;
		--nth-header-height: 72px;
	}

	.nth-why-grid {
		grid-template-columns: 1fr;
	}

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

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

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

	.nth-blog-grid {
		grid-template-columns: 1fr;
	}

	.nth-portfolio-grid {
		grid-template-columns: 1fr;
	}

	.nth-benefits-grid {
		grid-template-columns: 1fr;
	}

	.nth-beyond {
		grid-template-columns: 1fr;
	}

	.nth-beyond__traits {
		grid-template-columns: 1fr;
	}

	.nth-about-grid,
	.nth-values-grid,
	.nth-use-cases-grid {
		grid-template-columns: 1fr;
	}

	.nth-author {
		flex-direction: column;
	}

	.nth-post-nav {
		grid-template-columns: 1fr;
	}

	.nth-post-nav__next {
		text-align: left;
	}

	.nth-contact-grid {
		grid-template-columns: 1fr;
	}

	.nth-footer__grid {
		grid-template-columns: 1fr 1fr;
	}

	.nth-cta-banner {
		padding: 48px 24px;
	}

	.nth-testimonial {
		padding: 32px 24px;
	}
}

@media (max-width: 480px) {
	.nth-counters {
		grid-template-columns: 1fr;
		padding: 32px 20px;
	}

	.nth-industries {
		grid-template-columns: 1fr;
	}

	.nth-hero__actions {
		flex-direction: column;
	}

	.nth-hero__actions .nth-btn {
		width: 100%;
		text-align: center;
	}

	.nth-footer__grid {
		grid-template-columns: 1fr;
	}

	.nth-footer__bottom {
		flex-direction: column;
		text-align: center;
	}
}
