/* ==========================================================================
   NEXORA – responsive rules (mobile-first refinements)
   ========================================================================== */

@media (max-width: 1200px) {
	.nx-hero__inner {
		gap: 36px;
	}

	.nx-hero__visual {
		min-height: 440px;
	}

	.nx-visual-ring--outer {
		width: 350px;
		height: 350px;
	}

	.nx-visual-ring--middle {
		width: 260px;
		height: 260px;
	}

	.nx-visual-core {
		width: 170px;
		height: 170px;
	}

	.nx-visual-core__inner {
		width: 122px;
		height: 122px;
	}

	.nx-stat-card--two {
		right: -2%;
	}

	.nx-footer__grid {
		gap: 30px;
	}
}

@media (max-width: 1050px) {
	:root {
		--nx-header-h: 74px;
	}

	.nx-menu-toggle {
		display: flex;
	}

	.nx-header__cta {
		margin-left: auto;
	}

	.nx-nav {
		position: fixed;
		top: var(--nx-header-h);
		left: 0;
		right: 0;
		margin: 0;
		padding: 14px 28px 28px;
		background: rgba(8, 8, 18, 0.97);
		backdrop-filter: blur(24px);
		border-bottom: 1px solid var(--nx-border);
		transform: translateY(-130%);
		opacity: 0;
		visibility: hidden;
		transition: transform 0.45s var(--nx-ease), opacity 0.35s, visibility 0.35s;
		z-index: 99;
	}

	.nx-nav.is-open {
		transform: translateY(0);
		opacity: 1;
		visibility: visible;
	}

	.nx-menu {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.nx-menu__item {
		border-bottom: 1px solid var(--nx-border-light);
	}

	.nx-menu a {
		display: block;
		padding: 14px 4px;
		font-size: 1rem;
	}

	.nx-menu a::after {
		display: none;
	}

	.nx-services__grid,
	.nx-portfolio__grid,
	.nx-archive__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.nx-about__grid,
	.nx-contact__grid {
		gap: 44px;
	}

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

@media (max-width: 900px) {
	.nx-section {
		padding: 88px 0;
	}

	.nx-hero {
		min-height: auto;
		padding-top: calc(var(--nx-header-h) + 56px);
		padding-bottom: 100px;
	}

	.nx-hero__inner {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.nx-hero__content {
		text-align: center;
	}

	.nx-hero__text {
		margin-left: auto;
		margin-right: auto;
	}

	.nx-hero__actions,
	.nx-hero__proof {
		justify-content: center;
	}

	.nx-hero__visual {
		min-height: 400px;
		margin-top: 20px;
	}

	.nx-hero__orb {
		right: -30%;
	}

	.nx-about__grid {
		grid-template-columns: 1fr;
	}

	.nx-about__media {
		max-width: 520px;
		margin: 0 auto;
	}

	.nx-team__grid {
		grid-template-columns: repeat(2, 1fr);
		max-width: 600px;
		margin-left: auto;
		margin-right: auto;
	}

	.nx-process__grid {
		grid-template-columns: repeat(2, 1fr);
		row-gap: 44px;
	}

	.nx-process__grid::before {
		display: none;
	}

	.nx-cta__panel {
		padding: 70px 26px;
	}
}

@media (max-width: 700px) {
	:root {
		--nx-container: 100%;
	}

	.nx-container {
		padding: 0 20px;
	}

	.nx-header__cta {
		display: none;
	}

	.nx-brand__name {
		font-size: 1.15rem;
	}

	.nx-brand__mark {
		width: 40px;
		height: 40px;
	}

	.nx-section {
		padding: 72px 0;
	}

	.nx-section-heading {
		margin-bottom: 36px;
	}

	.nx-hero__title {
		font-size: clamp(2.5rem, 11vw, 3.6rem);
	}

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

	.nx-hero__actions .nx-btn {
		width: 100%;
	}

	.nx-hero__visual {
		min-height: 340px;
	}

	.nx-visual-ring--outer {
		width: 280px;
		height: 280px;
	}

	.nx-visual-ring--middle {
		width: 210px;
		height: 210px;
	}

	.nx-visual-core {
		width: 140px;
		height: 140px;
	}

	.nx-visual-core__inner {
		width: 100px;
		height: 100px;
	}

	.nx-stat-card {
		min-width: 124px;
		padding: 13px 16px;
		border-radius: 14px;
	}

	.nx-stat-card strong {
		font-size: 1.4rem;
	}

	.nx-stat-card span {
		font-size: 0.7rem;
	}

	.nx-stat-card--one {
		top: -2%;
		right: -2%;
	}

	.nx-stat-card--two {
		top: 36%;
		right: -3%;
	}

	.nx-stat-card--three {
		bottom: 0;
		left: -2%;
	}

	.nx-services__grid,
	.nx-portfolio__grid,
	.nx-team__grid,
	.nx-archive__grid,
	.nx-footer__grid {
		grid-template-columns: 1fr;
	}

	.nx-service-card {
		min-height: 0;
	}

	.nx-project-card__info {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}

	.nx-process__grid {
		grid-template-columns: 1fr;
		gap: 36px;
	}

	.nx-step {
		display: grid;
		grid-template-columns: 62px 1fr;
		column-gap: 20px;
		text-align: left;
		align-items: start;
	}

	.nx-step__marker {
		grid-row: span 2;
		margin: 0;
	}

	.nx-step h3 {
		margin: 6px 0 4px;
	}

	.nx-step p {
		grid-column: 2;
	}

	.nx-testimonial {
		padding: 30px 24px;
	}

	.nx-testimonial__quote {
		font-size: 1.1rem;
	}

	.nx-contact__grid {
		gap: 40px;
	}

	.nx-contact__form-wrap {
		padding: 26px 20px;
	}

	.nx-footer__grid {
		gap: 36px;
	}

	.nx-footer__bottom {
		margin-top: 48px;
	}

	.nx-back-to-top {
		right: 16px;
		bottom: 16px;
		width: 44px;
		height: 44px;
	}

	.nx-page-hero {
		padding-top: calc(var(--nx-header-h) + 52px);
	}
}

@media (max-width: 480px) {
	.nx-form-row {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.nx-about__stats {
		grid-template-columns: 1fr 1fr;
	}

	.nx-about__floater {
		right: 0;
		bottom: -20px;
	}

	.nx-slider__controls {
		gap: 12px;
	}

	.nx-filters {
		justify-content: flex-start;
	}

	.nx-scroll-down {
		display: none;
	}
}
