/*
Theme Name: Webrazvoj
Theme URI: https://webrazvoj.hr
Author: Webrazvoj
Description: Moderna i profesionalna WordPress tema za digitalne agencije, freelancere i kreativce.
Requires at least: 6.4
Tested up to: 6.9
Requires PHP: 7.4
Version: 1.0.0
Text Domain: webrazvoj
*/

@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url('../Fonts/Inter/Inter-VariableFont_opsz,wght.ttf') format('truetype-variations');
}

@font-face {
	font-family: 'Inter';
	font-style: italic;
	font-weight: 100 900;
	font-display: swap;
	src: url('../Fonts/Inter/Inter-Italic-VariableFont_opsz,wght.ttf') format('truetype-variations');
}

:root {
	--bg: #0b0d0c;
	--bg-soft: #101412;
	--panel: #151a17;
	--panel-2: #1b211d;
	--text: #f4f7f2;
	--muted: #a7b0a8;
	--dim: #6d776f;
	--green: #00f5a0;
	--green-2: #00c986;
	--line: rgba(244, 247, 242, 0.11);
	--shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
	--radius: 26px;
	--shell: min(1180px, calc(100vw - 40px));
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-weight: 600;
	overflow-x: hidden;
}

body::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -3;
	background:
		radial-gradient(circle at 18% 10%, rgba(0, 245, 160, 0.12), transparent 28rem),
		radial-gradient(circle at 90% 20%, rgba(0, 201, 134, 0.08), transparent 24rem),
		linear-gradient(180deg, #0b0d0c 0%, #0d100f 48%, #090b0a 100%);
}

a {
	color: inherit;
	text-decoration: none;
}

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

button,
input,
textarea {
	font: inherit;
}

.shell {
	width: var(--shell);
	margin-inline: auto;
}

.section-pad {
	padding: 110px 0;
}

.site-noise {
	position: fixed;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	opacity: 0.22;
	background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
	background-size: 44px 44px;
	mask-image: radial-gradient(circle at center, black, transparent 76%);
}

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

.site-header {
	position: fixed;
	top: 18px;
	left: 0;
	right: 0;
	z-index: 50;
	width: min(1180px, calc(100vw - 40px));
	margin-inline: auto;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: center;
	gap: 24px;
	padding: 13px 20px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 999px;
	background: rgba(11, 13, 12, 0.72);
	backdrop-filter: blur(18px);
	box-shadow: 0 18px 70px rgba(0, 0, 0, 0.24);
}

.brand {
	font-size: 1.28rem;
	font-weight: 900;
	letter-spacing: -0.06em;
}

.brand span {
	position: relative;
	color: var(--text);
}

.brand span::after {
	content: "";
	position: absolute;
	right: -10px;
	bottom: 1px;
	z-index: -1;
	width: 24px;
	height: 24px;
	border-radius: 999px;
	background: var(--green);
}

.brand-logo {
	max-width: 187px;
}

.nav {
	display: flex;
	justify-content: center;
	gap: 26px;
	color: var(--muted);
	font-size: 0.83rem;
}

.nav a {
	font-size: 1.2rem;
}

.nav a,
.header-cta,
.socials a,
.project-card a {
	transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.nav a:hover,
.socials a:hover,
.project-card a:hover {
	color: var(--green);
}

.header-cta {
	display: inline-flex;
	align-items: center;
	justify-self: end;
	gap: 8px;
	padding: 10px 17px;
	border: 1px solid rgba(0, 245, 160, 0.5);
	border-radius: 999px;
	color: var(--text);
	font-size: 1.2rem;
	font-weight: 800;
}

.header-cta:hover {
	background: rgba(0, 245, 160, 0.1);
	transform: translateY(-1px);
}

/* ==========================================================================
    OSNOVNE POSTAVKE ZA HERO SEKCIJU
========================================================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    width: 100%;
    background-image: url(/assets/images/ErikStanic.webp);
	/*background-image: url(/test/assets/images/StanicErik.webp);*/
    background-position: top center;
    background-repeat: no-repeat;
    /*background-size: cover;*/
	background-size: contain;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
    background-color: #000000;
}

/* 1. STAVKA: Kružna maska (Reflektor efekt - oštro u sredini, tamno sa strana) */
.hero-mask-overlay {
    position: absolute;
    inset: 0;
    /* Centralni dio (55% širine) je providan, a prema vani prelazi u tamnu boju */
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0) 20%, rgba(11, 11, 11, 0.6) 40%, rgba(11, 11, 11, 0.95) 100%);
    z-index: 1;
    pointer-events: none; /* Osigurava da se gumbi ispod maske mogu kliknuti */
}

/* Klasični tamni gradijent odozgo prema dolje za dodatnu čitljivost teksta pri dnu */
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(11, 11, 11, 0.8) 100%);
    z-index: 2;
    pointer-events: none;
}

/* Glavni kontejner sadržaja */
.hero-container {
    position: relative;
    z-index: 3; /* Iznad oba overlay sloja */
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 140px 20px 40px 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* ==========================================================================
    SREDIŠNJI DIO (LIJEVO / DESNO)
========================================================================== */
.hero-main-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 50px;
    flex-grow: 1;
    padding-bottom: 60px;
}

/* Lijeva strana - Veliki naslov */
.hero-left {
    flex: 1;
    max-width: 60%;
    min-height: 110px;
}

.hero-title {
    font-size: clamp(2.5rem, 6.5vw, 6rem);
    font-weight: 800;
    line-height: 1.02;
    margin: 0;
    display: flex;
    flex-direction: column;
    letter-spacing: -1px;
}

.text-white {
    color: #ffffff;
}

/* Efekt prozirnog teksta sa zelenim/cijan obrubom */
.text-stroke {
    color: transparent;
    -webkit-text-stroke-width: 2px;
    -webkit-text-stroke-color: #00ffaa; 
}

/* Desna strana - Opis i Gumbi */
.hero-right {
    flex: 1;
    max-width: 38%;
    padding-bottom: 15px;
    min-height: 180px;
}

.hero-subtitle {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
}

.hero-description {
    color: #a5a5a5;
    font-size: 0.98rem;
    line-height: 1.6;
    margin-bottom: 35px;
}

/* ==========================================================================
    BUTTONS
========================================================================== */
.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    display: inline-block;
    padding: 14px 30px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: #161616;
    color: #ffffff;
    border: 1px solid #2a2a2a;
}

.btn-primary:hover {
    background-color: #00ffaa;
    color: #000000;
    border-color: #00ffaa;
}

.btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid #00ffaa;
}

.btn-secondary:hover {
    background-color: #00ffaa;
    color: #000000;
}

/* ==========================================================================
    HERO FOOTER
========================================================================== */
.hero-footer-row {
    width: 100%;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.founder-info {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.founder-dot {
    width: 8px;
    height: 8px;
    background-color: #00ffaa;
    border-radius: 50%;
    display: inline-block;
}

.founder-info p {
    color: #ffffff;
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
}

.founder-info p span {
    color: #777777;
    font-weight: 400;
}

/* ==========================================================================
    INTRO
========================================================================== */

.intro {
	display: grid;
	grid-template-columns: 0.25fr 1fr;
	gap: 40px;
}

section.intro.shell.section-pad.pb-0 {
    padding-bottom: 0;
}

.intro h2,
.intro h3 {
	max-width: 860px;
	font-size: clamp(2.3rem, 4.7vw, 5rem);
}

.intro h2,
.intro h3,
.projects-head h2,
.process h2,
.faq h2,
.contact h2 {
	margin: 0 0 18px;
	font-size: clamp(2rem, 4vw, 2.5rem);
	line-height: 1.05;
	letter-spacing: -0.055em;
	font-weight: 900;
}

.intro p,
.project-card p,
.project-card span,
.process p,
.contact p,
.services-title .section-label,
.mini-service p {
	color: var(--muted);
	line-height: 1.75;
}

.card-category.green,
.intro .section-label.green {
	color: var(--green);
}

/* ==========================================================================
    SERVICES
========================================================================== */

.services {
	display: grid;
	grid-template-columns: 0.82fr 1fr 1fr;
	gap: 70px;
	align-items: center;
}

.service-list {
	display: grid;
	gap: 34px;
}

.mini-service {
	display: grid;
	grid-template-columns: 42px 1fr;
	gap: 18px;
	padding: 18px;
	border: 1px solid transparent;
	border-radius: 18px;
}

.mini-service.is-active,
.mini-service:hover {
	border-color: var(--line);
	background: rgba(255, 255, 255, 0.045);
}

.icon {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border: 1px solid rgba(0, 245, 160, 0.34);
	border-radius: 10px;
	color: var(--green);
}

.mini-service h3 {
	margin: 0 0 8px;
	font-size: 1rem;
}

.mini-service p {
	margin: 0;
	font-size: 0.92rem;
}

.services-title h2 {
	margin: 0 0 70px;
    font-size: clamp(3rem, 5.7vw, 5.2rem);
    line-height: 1;
    letter-spacing: normal;
    font-weight: 900;
}

.service-photo img {
	border-radius: 22px;
	background:
		linear-gradient(180deg, rgba(0, 245, 160, 0.12), rgba(0, 0, 0, 0.36)),
		linear-gradient(135deg, #27352e, #0e1411 70%);
	box-shadow: var(--shadow);
}

.service-photo-small {
	height: 310px;
	transform: translateY(34px);
}

.service-photo-large {
	height: 430px;
}

.service-content-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* ==========================================================================
    STATS
========================================================================== */

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

.stats div {
	min-height: 190px;
	padding: 22px 24px;
	border: 1px solid var(--line);
    text-align: center;
}

.stats p {
	max-width: 210px;
	margin: 0 0 42px;
	font-size: 1rem;
	line-height: 1.35;
    min-height: 40px;
}

.stats-number {
    font-size: clamp(3.5rem, 7vw, 6rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.45);
    color: transparent;
    line-height: 1;
}

.stats-number span {
    color: transparent;
    -webkit-text-stroke-width: 2px;
    -webkit-text-stroke-color: #00ffaa;
}

/* ==========================================================================
    PROJECTS
========================================================================== */

.projects {
	padding-bottom: 40px;
}

.projects-head {
	display: grid;
	grid-template-columns: 0.55fr 1fr;
	gap: 70px;
	margin-bottom: 46px;
}

.project-stack {
	position: relative;
	display: grid;
	gap: 26px;
}

.project-card {
	position: sticky;
	top: 112px;
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: end;
	gap: 28px;
	padding: clamp(28px, 5vw, 40px);
	border: 1px solid rgba(0, 245, 160, 0.16);
	border-radius: 34px;
	background:
		linear-gradient(135deg, rgba(0, 245, 160, 0.13), rgba(255, 255, 255, 0.035)),
		var(--panel);
	box-shadow: var(--shadow);
	box-shadow: 0 15px 15px rgba(0, 0, 0, 0.2);
	overflow: hidden;
}

.project-card::after {
	content: "";
	position: absolute;
	right: -80px;
	top: -120px;
	width: 340px;
	height: 340px;
	border-radius: 999px;
	background: rgba(0, 245, 160, 0.12);
	filter: blur(10px);
}

.project-card:nth-child(2) {
	top: 140px;
	background:
		linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(0, 245, 160, 0.1)),
		#121814;
}

.project-card:nth-child(3) {
	top: 168px;
	background:
		linear-gradient(135deg, rgba(0, 245, 160, 0.09), rgba(255, 255, 255, 0.045)),
		#101411;
}

.project-card:nth-child(4) {
	top: 196px;
}

.project-card:nth-child(5) {
	top: 224px;
}

.project-card:nth-child(6) {
	top: 252px;
}

.project-card:nth-child(7) {
	top: 280px;
}

.project-card .card-category {
	margin: 0 0 18px;
	color: var(--green);
	font-size: 0.88rem;
	font-weight: 900;
}

.project-card h3 {
	position: relative;
	z-index: 1;
	max-width: 760px;
	margin: 0 0 20px;
	font-size: clamp(2.2rem, 5vw, 2.5rem);
	line-height: 0.98;
	letter-spacing: -0.07em;
}

.project-card a {
	position: relative;
	z-index: 1;
	color: var(--green);
	font-weight: 900;
}

.project-card span:not(.card-category span) {
    /* background-color: #161616; */
    color: #ffffff;
    border: 1px solid #2a2a2a;
    display: inline-block;
    padding: 5px 15px;
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.045);
    margin-right: 5px;
}

.card-description {
    margin: 0 0 20px;
}

.project-photo img {
	max-height: 215px;
    margin-bottom: 30px;
}

/* ==========================================================================
    PROCESS & FAQ
========================================================================== */

.process,
.faq {
	display: grid;
	grid-template-columns: 0.8fr 1fr;
	gap: 64px;
}

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

.process-grid article,
.faq-grid article {
	padding: 26px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: rgba(255, 255, 255, 0.035);
}

.process-grid span {
	color: var(--green);
	font-weight: 900;
}

.faq-grid h3 {
	margin: 0 0 12px;
}

.faq-grid p {
	margin: 0;
	color: var(--muted);
	line-height: 1.75;
}

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

.contact-panel {
	display: grid;
	grid-template-columns: 0.9fr 1fr;
	gap: 52px;
	padding: clamp(28px, 5vw, 62px);
	border: 1px solid rgba(0, 245, 160, 0.18);
	border-radius: 36px;
	background:
		radial-gradient(circle at 20% 10%, rgba(0, 245, 160, 0.12), transparent 24rem),
		var(--panel);
	box-shadow: var(--shadow);
}

form {
	display: grid;
	gap: 15px;
}

label {
	display: grid;
	gap: 8px;
	color: var(--muted);
	font-size: 0.9rem;
}

input,
textarea {
	width: 100%;
	border: 1px solid var(--line);
	border-radius: 16px;
	background: rgba(0, 0, 0, 0.22);
	color: var(--text);
	padding: 14px 16px;
	outline: none;
}

input:focus,
textarea:focus {
	border-color: rgba(0, 245, 160, 0.7);
	box-shadow: 0 0 0 4px rgba(0, 245, 160, 0.1);
}

.form-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.form-status {
	margin: 0;
	padding: 12px 14px;
	border-radius: 14px;
	font-size: 0.92rem;
	line-height: 1.4;
}

.form-status--success {
	border: 1px solid rgba(0, 245, 160, 0.42);
	background: rgba(0, 245, 160, 0.1);
	color: var(--text);
}

.form-status--error {
	border: 1px solid rgba(255, 99, 99, 0.42);
	background: rgba(255, 99, 99, 0.1);
	color: var(--text);
}

.footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 26px 0 44px;
	border-top: 1px solid var(--line);
	color: var(--muted);
}

.footer a {
	color: var(--muted);
	text-decoration: underline;
	text-underline-offset: 3px;
	transition: color 180ms ease;
}

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

/* ==========================================================================
    PRIVACY PAGE
========================================================================== */

.privacy-section {
	padding-top: 140px;
}

.privacy-container {
	max-width: 800px;
}

.privacy-container h1 {
	font-size: clamp(2rem, 5vw, 3.2rem);
	font-weight: 800;
	letter-spacing: -1.5px;
	margin: 16px 0 24px;
}

.privacy-lead {
	font-size: 1.15rem;
	color: var(--muted);
	margin-bottom: 60px;
	line-height: 1.6;
}

.privacy-content {
	display: flex;
	flex-direction: column;
	gap: 48px;
}

.privacy-content article {
	padding: 32px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--panel);
}

.privacy-content h2 {
	font-size: 1.3rem;
	font-weight: 700;
	margin: 0 0 18px;
	color: var(--text);
}

.privacy-content p {
	color: var(--muted);
	line-height: 1.7;
	margin: 0 0 14px;
}

.privacy-content ul {
	margin: 0 0 14px;
	padding-left: 22px;
	color: var(--muted);
	line-height: 1.7;
}

.privacy-content li {
	margin-bottom: 6px;
}

.privacy-content a {
	color: var(--green);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.privacy-content a:hover {
	color: var(--green-2);
}

.privacy-content strong {
	color: var(--text);
	font-weight: 700;
}

/* ==========================================================================
    COOKIE BANNER
========================================================================== */

.cookie-banner {
	position: fixed;
	bottom: 20px;
	left: 20px;
	right: 20px;
	z-index: 1000;
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 20px;
	box-shadow: var(--shadow);
	animation: slideUp 320ms ease;
}

@keyframes slideUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.cookie-banner__content {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.cookie-banner__text {
	margin: 0;
	color: var(--muted);
	font-size: 0.95rem;
	line-height: 1.5;
}

.cookie-banner__actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.cookie-banner__actions .btn {
	flex: 1;
	min-width: 100px;
	padding: 12px 20px;
	font-size: 0.9rem;
}

@media (min-width: 640px) {
	.cookie-banner__content {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}

	.cookie-banner__text {
		flex: 1;
		margin-right: 20px;
	}

	.cookie-banner__actions {
		flex-shrink: 0;
		flex-wrap: nowrap;
	}
}

[data-reveal] {
	opacity: 0;
	transform: translateY(34px);
	transition: opacity 720ms cubic-bezier(.2,.8,.2,1), transform 720ms cubic-bezier(.2,.8,.2,1);
}

[data-reveal].is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* ==========================================================================
    HAMBURGER + MOBILE NAV
========================================================================== */

.hamburger {
	display: none;
	flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 40px;
    height: 34px;
    padding: 6px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    cursor: pointer;
    z-index: 60;
    box-shadow: none;
    justify-self: end;
    border: none;
    outline: none;
    background: transparent;
}

.hamburger span {
	display: block;
	width: 100%;
	height: 2px;
	border-radius: 2px;
	background: var(--text);
	transition: transform 280ms ease, opacity 280ms ease;
}

.hamburger.is-open span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.hamburger.is-open span:nth-child(2) {
	opacity: 0;
}

.hamburger.is-open span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
	position: fixed;
	inset: 0;
	z-index: 45;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 40px;
	padding: 40px 24px;
	background: rgba(11, 13, 12, 0.96);
	backdrop-filter: blur(24px);
	opacity: 0;
	pointer-events: none;
	transition: opacity 320ms ease;
}

.mobile-nav.is-open {
	opacity: 1;
	pointer-events: auto;
}

.mobile-nav__links {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 28px;
}

.mobile-nav__links a {
	font-size: 1.6rem;
	font-weight: 800;
	letter-spacing: -0.03em;
	color: var(--text);
	transition: color 180ms ease;
}

.mobile-nav__links a:hover,
.mobile-nav__links a:focus-visible {
	color: var(--green);
}

.mobile-nav__cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 28px;
	border: 1px solid rgba(0, 245, 160, 0.5);
	border-radius: 999px;
	color: var(--text);
	font-size: 1.1rem;
	font-weight: 800;
	transition: background 180ms ease, transform 180ms ease;
}

.mobile-nav__cta:hover {
	background: rgba(0, 245, 160, 0.1);
	transform: translateY(-1px);
}

/* ==========================================================================
    RESPONZIVNOST
========================================================================== */

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

	[data-reveal] {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

@media (max-width: 980px) {
	.site-header {
		border-radius: 26px;
	}

	.nav {
		display: none;
	}

	.hamburger {
		display: flex;
	}

	.site-header {
		grid-template-columns: minmax(0, 1fr) auto auto;
	}

	.header-cta {
		display: none;
	}

	.hero-section {
		background-size: cover;
    	background-attachment: fixed;
	}

	.hero-main-row {
		flex-direction: column;
		align-items: flex-start;
		gap: 30px;
	}

	.hero-left,
	.hero-right {
		max-width: 100%;
	}

	.hero-title {
		font-size: clamp(2.2rem, 7vw, 4rem);
	}

	.hero-subtitle {
		font-size: 1.2rem;
	}

	.hero-buttons {
		flex-direction: row;
		flex-wrap: wrap;
	}

	.intro,
	.services,
	.process,
	.faq,
	.contact-panel {
		grid-template-columns: 1fr;
		gap: 42px;
	}

	.services {
		gap: 40px;
	}

	.intro {
		gap: 20px;
	}

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

	.stats p {
		max-width: initial;
		font-size: 1rem;
		line-height: normal;
		min-height: 40px;
		margin: 20px 0;
	}

	.service-photo-large,
	.service-photo-small {
		height: auto;
	}

	.service-photo-large {
		order: -1;
	}

	.project-card {
		position: relative !important;
		top: auto !important;
		grid-template-columns: 1fr;
		min-height: auto;
	}

	.project-card h3 {
		font-size: clamp(1.5rem, 4vw, 2rem);
	}

	.project-photo {
		order: -1;
	}

	.project-photo img {
		max-height: 180px;
		margin-bottom: 20px;
	}

	.project-card span:not(.card-category span) {
		width: 47%;
        text-align: center;
        margin: 1%;
        padding: 5px 10px;
	}

	.footer {
		align-items: flex-start;
		flex-direction: column;
	}
}

@media (max-width: 640px) {
	:root {
		--shell: min(100vw - 24px, 1180px);
	}

	.section-pad {
		padding: 76px 0;
	}

	.site-header {
		top: 10px;
		padding: 12px;
	}

	.services-title h2 {
		margin-bottom: 34px;
		-webkit-text-stroke-width: 1.3px;
	}

	.stats,
	.process-grid,
	.faq-grid {
		grid-template-columns: 1fr;
	}

	.hero-buttons {
		flex-direction: column;
		width: 100%;
	}

	.btn {
		width: 100%;
	}

	.mobile-nav__links a {
		font-size: 1.35rem;
	}

	.privacy-section {
		padding-top: 120px;
	}

	.privacy-content article {
		padding: 22px;
	}

	.privacy-container h1 {
		font-size: 1.8rem;
	}

	.privacy-lead {
		font-size: 1rem;
		margin-bottom: 40px;
	}
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
}

/* ==========================================================================
    LANDSCAPE + MOBILE LANDSCAPE FIXES
========================================================================== */

@media (max-height: 500px) and (orientation: landscape) {
	.mobile-nav {
		justify-content: flex-start;
		gap: 18px;
		padding: 112px 24px 24px;
		overflow-y: auto;
	}

	.mobile-nav__links {
		gap: 14px;
	}

	.mobile-nav__links a {
		font-size: 1.15rem;
		line-height: 1.1;
	}

	.mobile-nav__cta {
		padding: 10px 24px;
		font-size: 1rem;
	}

	.hero-buttons {
		flex-direction: column;
		width: 100%;
	}

	.hero-section {
		min-height: 100vh;
		background-attachment: scroll;
	}

	.hero-container {
		padding: 100px 20px 20px 20px;
		min-height: 100vh;
	}

	.hero-main-row {
		flex-direction: row;
		gap: 30px;
		padding-bottom: 20px;
	}

	.hero-left {
		max-width: 55%;
	}

	.hero-right {
		max-width: 42%;
	}

	.hero-title {
		font-size: clamp(1.8rem, 5vw, 3.5rem);
	}

	.hero-subtitle {
		font-size: 1rem;
		margin-bottom: 8px;
	}

	.hero-description {
		font-size: 0.82rem;
		margin-bottom: 16px;
	}

	.hero-footer-row {
		padding-top: 12px;
	}

	.project-card {
		position: relative !important;
		top: auto !important;
		grid-template-columns: 1fr;
		min-height: auto;
		padding: 24px;
	}

	.project-card h3 {
		font-size: 1.3rem;
	}

	.project-photo img {
		max-height: initial;
		margin-bottom: 16px;
	}

	.section-pad {
		padding: 60px 0;
	}
}