/* ================================================
   MOZAIX DIGITAL — Design System & Styles
   Mobile-First Architecture
   ================================================ */

/* --- Reset & Base --- */
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 5rem;
}

body {
	font-family: "Inter", sans-serif;
	background-color: var(--bg);
	color: var(--text);
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* --- Design Tokens --- */
:root {
	/* Colors — from logo */
	--bg: #0a0e1a;
	--surface: #12162a;
	--blue: #0080ff;
	--cyan: #00c8f0;
	--orange: #f0a030;
	--coral: #ff5070;
	--green: #30c890;
	--text: #f0f2f8;
	--text-muted: #8892a8;
	--border: #1e2440;

	/* Gradients */
	--grad-blue: linear-gradient(135deg, var(--blue), var(--cyan));
	--grad-warm: linear-gradient(135deg, var(--orange), var(--coral));
	--grad-full: linear-gradient(
		135deg,
		var(--blue),
		var(--cyan),
		var(--green),
		var(--orange),
		var(--coral)
	);

	/* Typography */
	--font-heading: "Outfit", sans-serif;
	--font-body: "Inter", sans-serif;

	/* Spacing */
	--space-xs: 0.5rem;
	--space-sm: 1rem;
	--space-md: 2rem;
	--space-lg: 4rem;
	--space-xl: 6rem;

	/* Sizing */
	--max-width: 1200px;
	--nav-height: 4.5rem;

	/* Transitions */
	--ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Typography --- */
h1,
h2,
h3,
h4 {
	font-family: var(--font-heading);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.02em;
}

h1 {
	font-size: clamp(2.5rem, 6vw, 4.5rem);
	letter-spacing: 0.04em;
}

h2 {
	font-size: clamp(1.8rem, 4vw, 2.8rem);
}

h3 {
	font-size: clamp(1.2rem, 2.5vw, 1.5rem);
}

p {
	max-width: 65ch;
}

a {
	color: var(--cyan);
	text-decoration: none;
	transition: color 0.3s var(--ease);
}

a:hover {
	color: var(--text);
}

img {
	max-width: 100%;
	display: block;
}

ul,
ol {
	list-style: none;
}

/* --- Accessibility --- */
.skip-link {
	position: absolute;
	top: -100%;
	left: 1rem;
	z-index: 1000;
	padding: 0.75rem 1.5rem;
	background: var(--blue);
	color: var(--text);
	border-radius: 0 0 0.5rem 0.5rem;
	font-weight: 600;
	transition: top 0.3s var(--ease);
}

.skip-link:focus {
	top: 0;
}

:focus-visible {
	outline: 2px solid var(--cyan);
	outline-offset: 3px;
}

/* --- Utilities --- */
.container {
	width: 100%;
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 var(--space-md);
}

.section {
	padding: var(--space-xl) 0;
}

.section-label {
	display: inline-block;
	font-family: var(--font-heading);
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--cyan);
	margin-bottom: var(--space-sm);
}

.section-title {
	margin-bottom: var(--space-md);
}

.gradient-text {
	background: var(--grad-blue);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.gradient-text-warm {
	background: var(--grad-warm);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

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

.text-muted {
	color: var(--text-muted);
}

.text-sm {
	font-size: 0.9rem;
}

.mx-auto {
	margin-left: auto;
	margin-right: auto;
}

.mt-md {
	margin-top: var(--space-md);
}

.mt-lg {
	margin-top: var(--space-lg);
}

.mb-lg {
	margin-bottom: var(--space-lg);
}

.bg-surface {
	background: var(--surface);
}

/* Valorean project placeholder */
.project-image-placeholder--valorean {
	background: linear-gradient(135deg, #0f1b2d, #c9a84c);
}

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

/* --- Buttons --- */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.875rem 2rem;
	font-family: var(--font-heading);
	font-size: 0.95rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	transition:
		transform 0.3s var(--ease),
		box-shadow 0.3s var(--ease);
	text-decoration: none;
	width: 100%;
	justify-content: center;
}

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

.btn-primary {
	background: var(--grad-blue);
	color: var(--bg);
	box-shadow: 0 4px 20px rgba(0, 128, 255, 0.3);
}

.btn-primary:hover {
	color: var(--bg);
	box-shadow: 0 8px 30px rgba(0, 128, 255, 0.5);
}

.btn-outline {
	background: transparent;
	color: var(--text);
	border: 2px solid var(--border);
	box-shadow: none;
}

.btn-outline:hover {
	border-color: var(--cyan);
	box-shadow: 0 4px 20px rgba(0, 200, 240, 0.15);
}

.btn-warm {
	background: var(--grad-warm);
	color: var(--bg);
	box-shadow: 0 4px 20px rgba(255, 80, 112, 0.3);
}

.btn-warm:hover {
	color: var(--bg);
	box-shadow: 0 8px 30px rgba(255, 80, 112, 0.5);
}

/* --- Navigation --- */
.nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: var(--nav-height);
	z-index: 100;
	transition:
		background 0.3s var(--ease),
		box-shadow 0.3s var(--ease);
}

.nav.scrolled {
	background: rgba(10, 14, 26, 0.95);
	backdrop-filter: blur(10px);
	box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 100%;
}

.nav-logo {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-family: var(--font-heading);
	font-size: 1.25rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--text);
}

.nav-logo:hover {
	color: var(--text);
}

.nav-logo img {
	height: 2.5rem;
	width: auto;
}

.nav-logo-text span {
	background: linear-gradient(135deg, var(--blue), var(--coral));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

/* Mobile nav: stacked, hidden by default */
.nav-links {
	position: fixed;
	top: -2;
	left: 0;
	right: 0;
	flex-direction: column;
	background: rgba(10, 14, 26, 0.98);
	backdrop-filter: blur(10px);
	padding: var(--space-md);
	gap: var(--space-sm);
	transform: translateY(-120%);
	transition: transform 0.4s var(--ease);
	display: flex;
	align-items: center;
}

.nav-links.open {
	transform: translateY(0);
	top: var(--nav-height);
}

.nav-links a {
	font-family: var(--font-heading);
	font-size: 0.9rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--text-muted);
	position: relative;
	padding-bottom: 4px;
}

.nav-links a::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--grad-blue);
	transition: width 0.3s var(--ease);
}

.nav-links a:hover,
.nav-links a.active {
	color: var(--text);
}

.nav-links a:hover::after,
.nav-links a.active::after {
	width: 100%;
}

.nav-links .nav-cta,
.nav-links .nav-cta:hover,
.nav-links .nav-cta.active {
	padding: 0.6rem 1.5rem;
	font-size: 0.8rem;
	color: var(--bg);
	width: auto;
}

.nav-links .nav-cta::after {
	display: none;
}

/* Hamburger toggle: visible by default (mobile-first) */
.nav-toggle {
	display: flex;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0.5rem;
}

.nav-toggle span {
	display: block;
	width: 24px;
	height: 2px;
	background: var(--text);
	transition:
		transform 0.3s var(--ease),
		opacity 0.3s var(--ease);
}

.nav-toggle.open span:nth-child(1) {
	transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.open span:nth-child(2) {
	opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
	transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero --- */
.hero {
	position: relative;
	display: flex;
	align-items: center;
	overflow: hidden;
	background: #010409;
	padding: var(--space-xl) 0 var(--space-lg);
}

/* Mobile: stacked, centered */
.hero-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--space-lg);
	position: relative;
	z-index: 2;
	text-align: center;
}

.hero-logo {
	flex-shrink: 0;
	width: clamp(160px, 50vw, 240px);
	padding: 3rem 0;
}

.hero-logo img {
	width: 100%;
	height: auto;
	border-radius: 8px;
}

.hero-content {
	position: relative;
	z-index: 2;
	max-width: 750px;
	text-align: center;
}

.hero-tagline {
	font-size: clamp(1rem, 2vw, 1.2rem);
	color: var(--text-muted);
	margin-bottom: var(--space-md);
	max-width: 50ch;
}

.hero-cta {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-sm);
	margin-top: var(--space-md);
	justify-content: center;
}

/* Mosaic decorative shapes */
.hero-mosaic {
	position: absolute;
	top: 30%;
	right: 0;
	bottom: 0;
	width: 100%;
	z-index: 1;
	overflow: hidden;
	opacity: 0.5;
}

.mosaic-tile {
	position: absolute;
	opacity: 0.12;
}

.mosaic-tile:nth-child(1) {
	width: 200px;
	height: 200px;
	background: var(--cyan);
	top: 20%;
	right: 50%;
	clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
}

.mosaic-tile:nth-child(2) {
	width: 150px;
	height: 150px;
	background: var(--cyan);
	top: 50%;
	right: 35%;
	clip-path: polygon(0% 0%, 100% 0%, 100% 100%);
}

.mosaic-tile:nth-child(3) {
	width: 180px;
	height: 180px;
	background: var(--cyan);
	top: 55%;
	right: 45%;
	clip-path: polygon(0% 0%, 100% 50%, 0% 100%);
}

.mosaic-tile:nth-child(4) {
	width: 120px;
	height: 120px;
	background: var(--cyan);
	top: 25%;
	right: 25%;
	clip-path: polygon(50% 0%, 100% 70%, 0% 10%);
}

.mosaic-tile:nth-child(5) {
	width: 100px;
	height: 100px;
	background: var(--cyan);
	top: 80%;
	right: 30%;
	clip-path: polygon(0% 0%, 100% 0%, 50% 100%);
}

/* Gradient line under hero */
.hero::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 2px;
	background: var(--grad-full);
}

/* --- About Section --- */
.about-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-md);
	align-items: center;
}

.about-text p {
	color: var(--text-muted);
	margin-bottom: var(--space-sm);
}

.about-stats {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-sm);
	text-align: center;
}

.stat {
	text-align: center;
}

.stat-number {
	display: block;
	font-family: var(--font-heading);
	font-size: clamp(1.3rem, 3vw, 1.8rem);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	background: var(--grad-blue);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.stat-label {
	font-size: 0.85rem;
	color: var(--text-muted);
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

/* --- Service Cards --- */
.services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: var(--space-md);
}

.service-card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 8px;
	padding: var(--space-md);
	transition:
		transform 0.3s var(--ease),
		border-color 0.3s var(--ease),
		box-shadow 0.3s var(--ease);
}

.service-card:hover {
	transform: translateY(-4px);
	border-color: var(--cyan);
	box-shadow: 0 8px 30px rgba(0, 200, 240, 0.1);
}

.service-icon {
	width: 3rem;
	height: 3rem;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	margin-bottom: var(--space-sm);
	font-size: 1.5rem;
	background: rgba(0, 200, 240, 0.12);
	color: var(--cyan);
}

.service-card h3 {
	margin-bottom: var(--space-xs);
}

.service-card p {
	color: var(--text-muted);
	font-size: 0.95rem;
}

.service-card .btn {
	margin-top: var(--space-sm);
	padding: 0.5rem 1.25rem;
	font-size: 0.8rem;
}

/* --- Services Page Detail --- */
.service-detail {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 8px;
	padding: var(--space-sm);
	margin-bottom: var(--space-md);
}

.service-detail-header {
	display: flex;
	align-items: top;
	gap: var(--space-sm);
	margin-bottom: var(--space-md);
	min-width: 0;
}

.service-detail-header h2 {
	min-width: 0;
}

.service-detail-icon {
	width: 3rem;
	height: 3rem;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	font-size: 1.5rem;
	flex-shrink: 0;
	background: rgba(0, 200, 240, 0.12);
	color: var(--cyan);
}

.service-detail p {
	color: var(--text-muted);
	margin-bottom: var(--space-sm);
}

.service-includes {
	margin-top: var(--space-md);
}

.service-includes h3 {
	font-size: 1rem;
	margin-bottom: var(--space-sm);
	color: var(--cyan);
}

/* Mobile: single column includes list */
.service-includes ul {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.5rem;
}

.service-includes li {
	color: var(--text-muted);
	font-size: 0.9rem;
	padding-left: 1.5rem;
	position: relative;
}

.service-includes li::before {
	content: "→";
	position: absolute;
	left: 0;
	color: var(--cyan);
}

/* --- Portfolio Cards (Home page) --- */
/* Mobile: single column */
.portfolio-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-md);
}

.portfolio-card {
	position: relative;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 8px;
	overflow: hidden;
	transition:
		transform 0.3s var(--ease),
		border-color 0.3s var(--ease),
		box-shadow 0.3s var(--ease);
}

.portfolio-card:hover {
	transform: translateY(-4px);
	border-color: var(--cyan);
	box-shadow: 0 12px 40px rgba(0, 200, 240, 0.1);
}

.portfolio-thumb {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
}

.portfolio-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s var(--ease);
}

.portfolio-card:hover .portfolio-thumb img {
	transform: scale(1.05);
}

.portfolio-card-body {
	padding: var(--space-md);
}

.portfolio-tag {
	display: inline-block;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 0.25rem 0.75rem;
	border-radius: 100px;
	margin-bottom: var(--space-xs);
	background: rgba(0, 200, 240, 0.12);
	color: var(--cyan);
}

.portfolio-status {
	display: inline-block;
	font-family: var(--font-heading);
	font-size: 0.65rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 0.2rem 0.6rem;
	border-radius: 4px;
	margin-left: 0.5rem;
	vertical-align: middle;
}

.portfolio-status--wip {
	background: rgba(240, 160, 48, 0.15);
	color: var(--orange);
}

.portfolio-card h3 {
	margin-bottom: var(--space-xs);
}

.portfolio-card p {
	color: var(--text-muted);
	font-size: 0.9rem;
}

.tech-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.tech-tag {
	font-size: 0.75rem;
	padding: 0.2rem 0.6rem;
	background: rgba(0, 200, 240, 0.1);
	border: 1px solid var(--border);
	border-radius: 4px;
	color: var(--text-muted);
}

/* --- Project Sections (Portfolio Page) --- */
.project-section {
	position: relative;
}

/* Even sections get surface background for contrast */
.project-section:nth-child(even) {
	background: var(--surface);
}

.project-section + .project-section::before {
	content: "";
	display: block;
	height: 2px;
	background: var(--grad-full);
}

.project-hero {
	padding-top: var(--space-xl);
	text-align: center;
	position: relative;
	overflow: hidden;
}

.project-hero .container {
	position: relative;
	z-index: 1;
}

.project-hero h2 {
	font-size: clamp(2rem, 4vw, 3rem);
	margin-bottom: var(--space-xs);
}

.project-hero .project-tagline {
	color: var(--text-muted);
	font-size: 1.1rem;
	max-width: 50ch;
	margin: 0 auto;
}

.project-body {
	padding: var(--space-lg) 0;
}

/* Mobile: single column */
.project-body .container {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-sm);
	align-items: start;
}

.project-image {
	border-radius: 8px;
	overflow: hidden;
	border: 1px solid var(--border);
}

.project-image img {
	width: 100%;
	height: auto;
	display: block;
}

.project-image-placeholder {
	width: 100%;
	aspect-ratio: 16 / 10;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 4rem;
	font-family: var(--font-heading);
	font-weight: 700;
	color: rgba(255, 255, 255, 0.25);
	border-radius: 8px;
}

.project-content h3 {
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--cyan);
	padding-top: 1rem;
	margin-bottom: 0.4rem;
}

.technology {
	margin-top: 0.5rem;
}

.project-content p {
	color: var(--text-muted);
	margin-bottom: var(--space-md);
}

.project-content .tech-tags {
	margin-top: var(--space-sm);
}

.project-solution {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

.project-solution p {
  max-width: none;
}

/* --- Design Showcase --- */
.project-design {
	margin-bottom: var(--space-md);
}

.design-showcase {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: var(--space-md);
	min-width: 0;
}

.color-swatches {
	display: flex;
	gap: 0.75rem;
	flex-shrink: 0;
}

.swatch {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.swatch-color {
	width: 75px;
	height: 75px;
	border-radius: 8px;
	border: 2px solid var(--border);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.15rem;
}

.swatch-label {
	font-family: var(--font-heading);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	color: var(--text);
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.swatch-hex {
	font-size: 0.8rem;
	font-family: monospace;
	color: var(--text);
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

/* Dark text for light swatch backgrounds */
.swatch-color--light .swatch-label,
.swatch-color--light .swatch-hex {
	color: #000000;
	text-shadow: none;
}

.project-fonts {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
}

.font-sample {
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
}

.font-sample-text {
	font-size: clamp(0.85rem, 3vw, 1.1rem);
	color: var(--text);
	overflow-wrap: break-word;
	word-break: break-word;
}

.font-sample-label {
	font-size: 0.65rem;
	color: var(--text-muted);
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

/* Project-specific section backgrounds (odd sections) */
.project-section--bloom {
	background: linear-gradient(
		135deg,
		rgba(122, 140, 110, 0.15),
		rgba(194, 120, 78, 0.15)
	);
}

.project-section--valorean {
	background: linear-gradient(
		135deg,
		rgba(15, 27, 45, 0.4),
		rgba(201, 168, 76, 0.15)
	);
}

.project-section--3k {
	background: linear-gradient(
		135deg,
		rgba(11, 13, 30, 0.4),
		rgba(0, 200, 240, 0.15)
	);
}

.project-section--marble {
	background: linear-gradient(
		135deg,
		rgba(10, 10, 10, 0.4),
		rgba(74, 82, 159, 0.15)
	);
}

/* --- Pricing Section --- */
/* Mobile: single column */
.pricing-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-md);
	margin-bottom: var(--space-md);
}

.pricing-card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 8px;
	padding: var(--space-md);
	display: flex;
	flex-direction: column;
	transition:
		transform 0.3s var(--ease),
		border-color 0.3s var(--ease),
		box-shadow 0.3s var(--ease);
}

.pricing-card:hover {
	transform: translateY(-4px);
	border-color: var(--cyan);
	box-shadow: 0 8px 30px rgba(0, 200, 240, 0.1);
}

.pricing-card--featured {
	border-color: var(--cyan);
	position: relative;
}

.pricing-badge {
	position: absolute;
	top: -0.75rem;
	left: 50%;
	transform: translateX(-50%);
	background: var(--grad-blue);
	color: var(--bg);
	font-family: var(--font-heading);
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 0.3rem 1rem;
	border-radius: 100px;
	white-space: nowrap;
}

.pricing-name {
	font-family: var(--font-heading);
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--cyan);
	margin-bottom: var(--space-xs);
}

.pricing-price {
	font-family: var(--font-heading);
	font-size: 2.2rem;
	font-weight: 700;
	margin-bottom: 0.25rem;
}

.pricing-price span {
	font-size: 1rem;
	font-weight: 500;
	color: var(--text-muted);
}

.pricing-desc {
	color: var(--text-muted);
	font-size: 0.9rem;
	margin-bottom: var(--space-md);
	padding-bottom: var(--space-md);
	border-bottom: 1px solid var(--border);
}

.pricing-features {
	flex: 1;
	margin-bottom: var(--space-md);
}

.pricing-features li {
	color: var(--text-muted);
	font-size: 0.9rem;
	padding: 0.4rem 0;
	padding-left: 1.5rem;
	position: relative;
}

.pricing-features li::before {
	content: "→";
	position: absolute;
	left: 0;
	color: var(--cyan);
}

.pricing-timeline {
	font-size: 0.8rem;
	color: var(--text-muted);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin-bottom: var(--space-sm);
}

.pricing-card .btn {
	width: 100%;
	justify-content: center;
}

.addons-section {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 8px;
	padding: var(--space-md);
}

.addons-section h3 {
	margin-bottom: var(--space-sm);
}

.addons-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: var(--space-sm);
}

.addon-item {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	padding: 0.75rem 0;
	border-bottom: 1px solid var(--border);
}

.addon-item:last-child {
	border-bottom: none;
}

.addon-name {
	font-size: 0.9rem;
}

.addon-price {
	font-family: var(--font-heading);
	font-weight: 600;
	color: var(--cyan);
	font-size: 0.9rem;
	white-space: nowrap;
}

/* --- Every Project Includes --- */
.includes-section {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 8px;
	padding: var(--space-md);
}

.includes-section h3 {
	margin-bottom: var(--space-md);
	text-align: center;
}

.includes-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-sm);
}

.includes-item {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	padding: 0.75rem;
	border-radius: 6px;
	background: rgba(0, 200, 240, 0.04);
	border: 1px solid var(--border);
}

.includes-title {
	font-family: var(--font-heading);
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--cyan);
}

.includes-desc {
	font-size: 0.8rem;
	color: var(--text-muted);
}

/* --- CTA Section --- */
.cta-section {
	text-align: center;
	position: relative;
	overflow: hidden;
}

.cta-section::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: var(--grad-full);
}

.cta-section h2 {
	margin-bottom: var(--space-sm);
}

.cta-section p {
	color: var(--text-muted);
	margin: 0 auto var(--space-md);
}

/* --- Contact Page --- */
/* Mobile: single column */
.contact-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-lg);
	align-items: start;
}

.contact-form {
	display: flex;
	flex-direction: column;
	gap: var(--space-sm);
}

.form-group {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
}

.form-group label {
	font-family: var(--font-heading);
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
	padding: 0.875rem 1rem;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 4px;
	color: var(--text);
	font-family: var(--font-body);
	font-size: 1rem;
	transition:
		border-color 0.3s var(--ease),
		box-shadow 0.3s var(--ease);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
	outline: none;
	border-color: var(--cyan);
	box-shadow: 0 0 0 3px rgba(0, 200, 240, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
	color: var(--text-muted);
	opacity: 0.5;
}

.form-group textarea {
	min-height: 150px;
	resize: vertical;
}

.form-group select {
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238892a8' fill='none' stroke-width='2'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 1rem center;
	padding-right: 2.5rem;
}

.form-group select option {
	background: var(--surface);
	color: var(--text);
}

.form-error {
	font-size: 0.8rem;
	color: var(--coral);
	display: none;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
	border-color: var(--coral);
}

.form-group.error .form-error {
	display: block;
}

.form-success {
	display: none;
	padding: var(--space-md);
	background: rgba(48, 200, 144, 0.1);
	border: 1px solid var(--green);
	border-radius: 8px;
	text-align: center;
}

.form-success.show {
	display: block;
}

.form-success h3 {
	color: var(--green);
	margin-bottom: var(--space-xs);
}

.contact-info {
	display: flex;
	flex-direction: column;
	gap: var(--space-md);
}

.contact-info-card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 8px;
	padding: var(--space-md);
}

.contact-info-card h2 {
	margin-bottom: var(--space-sm);
	font-size: 1.1rem;
}

.contact-info-card p {
	color: var(--text-muted);
	font-size: 0.9rem;
	margin-bottom: var(--space-xs);
}

.contact-link {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--text-muted);
	font-size: 0.95rem;
	margin-bottom: 0.5rem;
	transition: color 0.3s var(--ease);
}

.contact-link:hover {
	color: var(--cyan);
}

.contact-link svg {
	width: 1.25rem;
	height: 1.25rem;
	flex-shrink: 0;
}

.social-links {
	display: flex;
	gap: var(--space-sm);
	margin-top: var(--space-sm);
}

.social-link {
	width: 2.5rem;
	height: 2.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 8px;
	color: var(--text-muted);
	transition:
		border-color 0.3s var(--ease),
		color 0.3s var(--ease),
		background 0.3s var(--ease);
}

.social-link:hover {
	border-color: var(--cyan);
	color: var(--cyan);
	background: rgba(0, 200, 240, 0.05);
}

.social-link svg {
	width: 1.2rem;
	height: 1.2rem;
}

/* --- Footer --- */
/* Mobile: stacked, centered */
.footer {
	border-top: 1px solid var(--border);
	padding: var(--space-lg) 0 var(--space-md);
}

.footer-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	flex-wrap: wrap;
	gap: var(--space-md);
}

.footer-logo {
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 1.1rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--text);
}

.footer-logo:hover {
	color: var(--text);
}

.footer-links {
	display: flex;
	gap: var(--space-md);
}

.footer-links a {
	font-size: 0.9rem;
	color: var(--text-muted);
}

.footer-links a:hover {
	color: var(--text);
}

.footer-bottom {
	text-align: center;
	padding-top: var(--space-md);
	margin-top: var(--space-md);
	border-top: 1px solid var(--border);
}

.footer-bottom p {
	font-size: 0.8rem;
	color: var(--text-muted);
	margin: 0 auto;
}

/* --- Page Header (internal pages) --- */
.page-header {
	padding: calc(var(--nav-height) + var(--space-lg)) 0 var(--space-lg);
	text-align: center;
	position: relative;
}

.page-header::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: var(--grad-full);
}

.page-header p {
	color: var(--text-muted);
	margin: var(--space-sm) auto 0;
}

/* ================================================
   RESPONSIVE — Mobile-First Breakpoints
   sm: 600px | md: 768px | lg: 992px | xl: 1200px
   ================================================ */

/* --- sm: 600px — Small tablets, large phones landscape --- */
@media (min-width: 600px) {
	.btn {
		width: auto;
	}

	.hero-cta {
		justify-content: center;
	}

	.about-stats {
		grid-template-columns: repeat(3, 1fr);
		gap: var(--space-md);
	}

	.stat-number {
		font-size: 1.8rem;
	}

  .service-detail {
    padding: var(--space-md)
  }
	.service-detail-icon {
		width: 4rem;
		height: 4rem;
		font-size: 2rem;
	}

	.service-includes ul {
		grid-template-columns: 1fr 1fr;
	}

	.includes-grid {
		grid-template-columns: 1fr 1fr;
	}
}

/* --- md: 768px — Tablets --- */
@media (min-width: 768px) {
	.hero {
		padding: var(--space-xl) 0;
	}

	.hero-inner {
		flex-direction: row;
		flex-wrap: nowrap;
		text-align: left;
	}

	.hero-logo {
		width: clamp(200px, 25vw, 300px);
		padding-top: 0;
		flex-shrink: 0;
	}

	.hero-content {
		text-align: left;
	}

	.hero-cta {
		justify-content: flex-start;
	}

	.hero-mosaic {
		top: 0;
		width: 50%;
		right: -5%;
		opacity: 1;
	}

	.about-grid {
		grid-template-columns: 1fr 1fr;
		gap: var(--space-lg);
	}

	.about-stats {
		grid-template-columns: 1fr;
	}

	.project-solution {
		grid-template-columns: 1fr 1fr;
	}

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

	.footer-inner {
		flex-direction: row;
		justify-content: space-between;
		text-align: left;
	}
}

/* --- lg: 992px — Desktops, nav switches to horizontal --- */
@media (min-width: 992px) {
	.nav-links {
		position: static;
		flex-direction: row;
		background: none;
		backdrop-filter: none;
		padding: 0;
		gap: 2.5rem;
		transform: none;
		transition: none;
	}

	.nav-toggle {
		display: none;
	}

	.hero {
		padding: 8rem 0 var(--space-xl);
	}

	.hero-logo {
		width: clamp(200px, 25vw, 340px);
	}

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

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

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

	.project-body .container {
		grid-template-columns: 1fr 1fr;
	}

	.project-body .container > :last-child {
		grid-column: 1 / -1;
	}

  .service-detail {
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
  }

}

/* --- xl: 1200px — Large desktops --- */
@media (min-width: 1200px) {
	.container {
		padding: 0 2.5rem;
	}
}
