:root {
	--funtly-black: #08090d;
	--funtly-navy: #101828;
	--funtly-dark: #151922;
	--funtly-white: #ffffff;
	--funtly-soft: #fff7ed;
	--funtly-soft-2: #f8fafc;
	--funtly-gray: #667085;
	--funtly-border: rgba(15, 23, 42, 0.10);
	--funtly-yellow: #ffcc00;
	--funtly-orange: #ff6a00;
	--funtly-red: #ff3d3d;
	--funtly-blue: #1d9bf0;
	--funtly-green: #22c55e;
	--funtly-radius: 26px;
	--funtly-shadow: 0 24px 70px rgba(15, 23, 42, 0.14);
}

.funtly-home {
	background: var(--funtly-white);
	color: var(--funtly-navy);
	overflow: hidden;
}

.funtly-container {
	width: min(1200px, calc(100% - 40px));
	margin: 0 auto;
}

.funtly-section {
	padding: 96px 0;
}

.funtly-section-heading {
	max-width: 760px;
	margin-bottom: 46px;
}

.funtly-section-heading.center {
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}

.funtly-section-heading.split {
	max-width: none;
	display: flex;
	justify-content: space-between;
	gap: 30px;
	align-items: flex-end;
}

.funtly-section-heading span,
.funtly-eyebrow,
.funtly-quote-box > div > span {
	display: inline-flex;
	margin-bottom: 12px;
	font-size: 13px;
	font-weight: 900;
	letter-spacing: 0.10em;
	text-transform: uppercase;
	color: var(--funtly-orange);
}

.funtly-section-heading h2,
.funtly-seo-section h2,
.funtly-quote-box h2 {
	margin: 0;
	font-size: clamp(32px, 4vw, 54px);
	line-height: 1.05;
	letter-spacing: -0.055em;
	color: var(--funtly-navy);
}

.funtly-section-heading p,
.funtly-seo-section p,
.funtly-quote-box p {
	margin: 16px 0 0;
	font-size: 18px;
	line-height: 1.75;
	color: var(--funtly-gray);
}

/* HERO */
.funtly-hero {
	position: relative;
	padding: 116px 0 110px;
	background:
		radial-gradient(circle at 12% 18%, rgba(255, 204, 0, 0.34), transparent 25%),
		radial-gradient(circle at 82% 20%, rgba(29, 155, 240, 0.24), transparent 28%),
		radial-gradient(circle at 72% 88%, rgba(255, 106, 0, 0.28), transparent 30%),
		linear-gradient(135deg, #08090d 0%, #111827 46%, #1f2937 100%);
	color: var(--funtly-white);
	isolation: isolate;
}

.funtly-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
	background-size: 42px 42px;
	mask-image: linear-gradient(to bottom, rgba(0,0,0,0.65), transparent);
	z-index: -1;
}

.funtly-hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
	gap: 58px;
	align-items: center;
}

.funtly-hero-content h1 {
	margin: 0;
	max-width: 820px;
	font-size: clamp(44px, 6.4vw, 86px);
	line-height: 0.95;
	letter-spacing: -0.075em;
	color: var(--funtly-white);
}

.funtly-hero-content p {
	max-width: 680px;
	margin: 26px 0 0;
	font-size: 20px;
	line-height: 1.75;
	color: rgba(255, 255, 255, 0.78);
}

.funtly-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 36px;
}

.funtly-btn-primary,
.funtly-btn-secondary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 56px;
	padding: 0 28px;
	border-radius: 999px;
	font-size: 16px;
	font-weight: 950;
	text-decoration: none !important;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.funtly-btn-primary {
	background: linear-gradient(135deg, var(--funtly-yellow), var(--funtly-orange));
	color: #111111 !important;
	box-shadow: 0 18px 42px rgba(255, 106, 0, 0.34);
}

.funtly-btn-secondary {
	border: 1px solid rgba(255, 255, 255, 0.24);
	color: var(--funtly-white) !important;
	background: rgba(255, 255, 255, 0.06);
	backdrop-filter: blur(14px);
}

.funtly-btn-primary:hover,
.funtly-btn-secondary:hover {
	transform: translateY(-3px);
}

.funtly-hero-stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	margin-top: 40px;
	max-width: 720px;
}

.funtly-hero-stats div {
	padding: 18px;
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.14);
	backdrop-filter: blur(14px);
}

.funtly-hero-stats strong {
	display: block;
	font-size: 24px;
	color: var(--funtly-yellow);
}

.funtly-hero-stats span {
	display: block;
	margin-top: 4px;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.72);
}

.funtly-hero-visual {
	position: relative;
	min-height: 560px;
}

.funtly-signboard {
	position: absolute;
	inset: 40px 10px 40px 20px;
	border-radius: 34px;
	padding: 38px;
	background:
		linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04)),
		linear-gradient(135deg, #252a35, #0c0d11);
	border: 1px solid rgba(255, 255, 255, 0.18);
	box-shadow:
		0 30px 90px rgba(0, 0, 0, 0.35),
		0 0 80px rgba(255, 106, 0, 0.18);
	display: flex;
	flex-direction: column;
	justify-content: center;
	overflow: hidden;
}

.funtly-signboard::before {
	content: "";
	position: absolute;
	inset: 18px;
	border-radius: 26px;
	border: 2px solid rgba(255, 204, 0, 0.42);
	box-shadow: 0 0 40px rgba(255, 204, 0, 0.25);
}

.funtly-sign-top {
	position: relative;
	z-index: 1;
	font-size: 18px;
	font-weight: 950;
	letter-spacing: 0.28em;
	color: var(--funtly-yellow);
}

.funtly-sign-main {
	position: relative;
	z-index: 1;
	margin-top: 22px;
	font-size: clamp(44px, 5vw, 68px);
	line-height: 0.92;
	font-weight: 1000;
	letter-spacing: -0.06em;
	color: #ffffff;
	text-shadow: 0 0 32px rgba(255, 204, 0, 0.20);
}

.funtly-sign-line {
	position: relative;
	z-index: 1;
	width: 150px;
	height: 8px;
	border-radius: 999px;
	margin-top: 28px;
	background: linear-gradient(90deg, var(--funtly-yellow), var(--funtly-orange), var(--funtly-red));
	box-shadow: 0 0 32px rgba(255, 106, 0, 0.48);
}

.funtly-sign-bottom {
	position: relative;
	z-index: 1;
	margin-top: 24px;
	color: rgba(255, 255, 255, 0.74);
	font-weight: 800;
}

.funtly-floating-card {
	position: absolute;
	z-index: 3;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 16px;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.88);
	color: var(--funtly-navy);
	box-shadow: var(--funtly-shadow);
	backdrop-filter: blur(14px);
}

.funtly-floating-card span {
	display: inline-flex;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, var(--funtly-yellow), var(--funtly-orange));
	font-weight: 950;
	color: #111111;
}

.funtly-floating-card strong {
	font-size: 14px;
}

.card-one {
	top: 76px;
	left: 0;
}

.card-two {
	right: 0;
	top: 250px;
}

.card-three {
	left: 60px;
	bottom: 54px;
}

/* TRUST */
.funtly-trust-strip {
	margin-top: -42px;
	position: relative;
	z-index: 5;
}

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

.funtly-trust-grid div {
	padding: 24px;
	border-radius: 24px;
	background: var(--funtly-white);
	border: 1px solid var(--funtly-border);
	box-shadow: var(--funtly-shadow);
}

.funtly-trust-grid strong {
	display: block;
	font-size: 20px;
	color: var(--funtly-navy);
}

.funtly-trust-grid span {
	display: block;
	margin-top: 8px;
	color: var(--funtly-gray);
	line-height: 1.6;
}

/* SERVICES */
.funtly-service-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.funtly-service-card {
	position: relative;
	min-height: 240px;
	padding: 30px;
	border-radius: var(--funtly-radius);
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 247, 237, 0.72));
	border: 1px solid var(--funtly-border);
	box-shadow: 0 14px 44px rgba(15, 23, 42, 0.08);
	overflow: hidden;
	transition: transform 0.22s ease, box-shadow 0.22s ease;
	content-visibility: auto;
	contain-intrinsic-size: 260px;
}

.funtly-service-card::before {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: 5px;
	background: linear-gradient(90deg, var(--funtly-yellow), var(--funtly-orange), var(--funtly-red));
}

.funtly-service-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 24px 70px rgba(15, 23, 42, 0.14);
}

.funtly-service-icon {
	width: 54px;
	height: 54px;
	border-radius: 18px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, var(--funtly-yellow), var(--funtly-orange));
	color: #111111;
	font-size: 22px;
	font-weight: 950;
	box-shadow: 0 12px 28px rgba(255, 106, 0, 0.26);
}

.funtly-service-number {
	position: absolute;
	right: 24px;
	top: 24px;
	font-size: 42px;
	font-weight: 1000;
	color: rgba(15, 23, 42, 0.06);
}

.funtly-service-card h3 {
	margin: 24px 0 12px;
	font-size: 23px;
	color: var(--funtly-navy);
}

.funtly-service-card p {
	margin: 0;
	color: var(--funtly-gray);
	line-height: 1.75;
}

/* PROJECTS */
.funtly-project-section {
	background:
		radial-gradient(circle at 12% 20%, rgba(255, 204, 0, 0.20), transparent 26%),
		radial-gradient(circle at 88% 12%, rgba(29, 155, 240, 0.15), transparent 30%),
		var(--funtly-soft-2);
}

.funtly-small-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0 18px;
	border-radius: 999px;
	background: var(--funtly-navy);
	color: var(--funtly-white) !important;
	text-decoration: none !important;
	font-weight: 900;
	white-space: nowrap;
}

.funtly-portfolio-masonry {
	column-count: 3;
	column-gap: 22px;
}

.funtly-project-card {
	position: relative;
	display: inline-block;
	width: 100%;
	margin: 0 0 22px;
	border-radius: 28px;
	overflow: hidden;
	background: #111827;
	box-shadow: var(--funtly-shadow);
	break-inside: avoid;
	content-visibility: auto;
	contain-intrinsic-size: 420px;
}

.funtly-project-image {
	min-height: 300px;
	background:
		linear-gradient(135deg, rgba(255, 204, 0, 0.28), rgba(255, 106, 0, 0.16)),
		linear-gradient(135deg, #394150, #111827);
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(255, 255, 255, 0.56);
	font-weight: 950;
}

.funtly-project-image img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: inherit;
	object-fit: cover;
	background: #111827;
	transform: translateZ(0);
}

.funtly-project-card.tall .funtly-project-image {
	min-height: 460px;
}

.funtly-project-card.medium .funtly-project-image {
	min-height: 360px;
}

.funtly-project-card.short .funtly-project-image {
	min-height: 250px;
}

/* TYPES */
.funtly-type-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.funtly-type-grid a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 74px;
	padding: 20px;
	border-radius: 22px;
	background: linear-gradient(135deg, #ffffff, #fff7ed);
	border: 1px solid var(--funtly-border);
	color: var(--funtly-navy) !important;
	text-decoration: none !important;
	font-weight: 950;
	box-shadow: 0 12px 34px rgba(15, 23, 42, 0.06);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.funtly-type-grid a:hover {
	transform: translateY(-4px);
	box-shadow: 0 20px 54px rgba(15, 23, 42, 0.12);
}

.funtly-type-grid strong {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, var(--funtly-yellow), var(--funtly-orange));
	color: #111111;
}

/* SEO */
.funtly-seo-section {
	background: linear-gradient(135deg, #fff7ed 0%, #ffffff 55%, #eef6ff 100%);
}

.funtly-seo-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
	gap: 42px;
	align-items: start;
}

.funtly-seo-section p {
	font-size: 18px;
	line-height: 1.85;
}

.funtly-location-box {
	padding: 34px;
	border-radius: 30px;
	background:
		linear-gradient(135deg, rgba(255, 204, 0, 0.18), rgba(255, 106, 0, 0.10)),
		var(--funtly-white);
	border: 1px solid var(--funtly-border);
	box-shadow: var(--funtly-shadow);
}

.funtly-location-box strong {
	display: block;
	font-size: 26px;
	line-height: 1.15;
	color: var(--funtly-navy);
}

.funtly-location-box p {
	margin-bottom: 0;
}

/* PROCESS */
.funtly-process-section {
	background:
		radial-gradient(circle at 15% 20%, rgba(255, 204, 0, 0.22), transparent 26%),
		radial-gradient(circle at 85% 70%, rgba(255, 106, 0, 0.18), transparent 30%),
		var(--funtly-black);
	color: var(--funtly-white);
}

.funtly-section-heading.light h2 {
	color: var(--funtly-white);
}

.funtly-section-heading.light p {
	color: rgba(255, 255, 255, 0.72);
}

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

.funtly-process-grid div {
	padding: 30px;
	border-radius: 26px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.14);
	backdrop-filter: blur(14px);
	content-visibility: auto;
	contain-intrinsic-size: 220px;
}

.funtly-process-grid strong {
	display: block;
	margin-bottom: 24px;
	font-size: 40px;
	color: var(--funtly-yellow);
}

.funtly-process-grid h3 {
	margin: 0 0 10px;
	color: var(--funtly-white);
	font-size: 24px;
}

.funtly-process-grid p {
	margin: 0;
	color: rgba(255, 255, 255, 0.72);
	line-height: 1.7;
}

/* FAQ */
.funtly-faq-wrap {
	max-width: 920px;
}

.funtly-faq-list {
	display: grid;
	gap: 16px;
}

.funtly-faq-item {
	padding: 26px;
	border-radius: 24px;
	background: var(--funtly-white);
	border: 1px solid var(--funtly-border);
	box-shadow: 0 12px 34px rgba(15, 23, 42, 0.06);
}

.funtly-faq-item h3 {
	margin: 0 0 10px;
	font-size: 21px;
	color: var(--funtly-navy);
}

.funtly-faq-item p {
	margin: 0;
	color: var(--funtly-gray);
	line-height: 1.7;
}

/* QUOTE */
.funtly-quote-section {
	padding-top: 40px;
}

.funtly-quote-box {
	position: relative;
	padding: 52px;
	border-radius: 34px;
	background:
		radial-gradient(circle at top left, rgba(255, 204, 0, 0.34), transparent 26%),
		radial-gradient(circle at bottom right, rgba(29, 155, 240, 0.20), transparent 28%),
		linear-gradient(135deg, #08090d, #111827);
	color: var(--funtly-white);
	overflow: hidden;
	box-shadow: var(--funtly-shadow);
}

.funtly-quote-box::after {
	content: "";
	position: absolute;
	right: -90px;
	top: -90px;
	width: 220px;
	height: 220px;
	border-radius: 50%;
	background: rgba(255, 106, 0, 0.28);
	filter: blur(14px);
}

.funtly-quote-box h2 {
	color: var(--funtly-white);
	max-width: 760px;
}

.funtly-quote-box p {
	max-width: 760px;
	color: rgba(255, 255, 255, 0.74);
}

.funtly-contact-grid {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin-top: 30px;
}

.funtly-contact-grid a {
	padding: 22px;
	border-radius: 22px;
	background: rgba(255, 255, 255, 0.10);
	border: 1px solid rgba(255, 255, 255, 0.14);
	color: var(--funtly-white) !important;
	text-decoration: none !important;
	backdrop-filter: blur(14px);
}

.funtly-contact-grid strong {
	display: block;
	font-size: 18px;
	color: var(--funtly-yellow);
}

.funtly-contact-grid span {
	display: block;
	margin-top: 6px;
	color: rgba(255, 255, 255, 0.78);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
	.funtly-hero-grid,
	.funtly-seo-grid {
		grid-template-columns: 1fr;
	}

	.funtly-hero-visual {
		min-height: 500px;
	}

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

	.funtly-portfolio-masonry {
		column-count: 2;
	}

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

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

	.funtly-section-heading.split {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media (max-width: 640px) {
	.funtly-container {
		width: min(100% - 28px, 1200px);
	}

	.funtly-section {
		padding: 68px 0;
	}

	.funtly-hero {
		padding: 78px 0 76px;
	}

	.funtly-hero-content h1 {
		font-size: clamp(40px, 14vw, 58px);
	}

	.funtly-hero-stats,
	.funtly-service-grid,
	.funtly-type-grid,
	.funtly-process-grid {
		grid-template-columns: 1fr;
	}

	.funtly-hero-actions {
		flex-direction: column;
	}

	.funtly-btn-primary,
	.funtly-btn-secondary {
		width: 100%;
	}

	.funtly-hero-visual {
		min-height: 420px;
	}

	.funtly-signboard {
		inset: 20px 0;
		padding: 28px;
	}

	.funtly-floating-card {
		display: none;
	}

	.funtly-portfolio-masonry {
		column-count: 1;
	}

	.funtly-quote-box {
		padding: 32px;
	}

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