/* ==========================================================================
   Front Page – PlanBTheme
   ========================================================================== */

/* ── Reset overrides for front page ── */
.home #page.site.grid-container.container {
	max-width: none;
}

.planb-front-page .site-content,
.planb-front-page .inside-article {
	padding: 0;
	margin: 0;
	max-width: none;
}

.planb-front-page .entry-content:not(:first-child) {
	margin-top: 0;
}

.planb-front-page {
	overflow-x: hidden;
}

/* ── Reusable: section-title ── */
.planb-front-page .section-title {
	font-size: 24px;
	margin: 0 8px;
	padding-bottom: 40px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

/* ==========================================================================
   Section 1 – Hero
   ========================================================================== */
.fp-hero {
	padding: 100px 5vw;
}

.fp-hero-inner {
	max-width: 2000px;
	margin: 0 auto;
}

/* Title row */
.hero-heading-row {
	display: flex;
	align-items: flex-start;
	gap: 40px;
	text-align: left;
}

.hero-title {
	flex: 1 1 0%;
	font-size: 64px;
	line-height: 1.1;
	font-weight: 700;
	margin: 0;
	text-transform: uppercase;
}

.hero-description {
	flex: 0 0 25%;
	max-width: 420px;
	min-width: min(300px, 100%);
	font-size: 16px;
	font-weight: 300;
	line-height: 1.3;
	margin: 0;
	text-align: left;
}

/* Hero slider */
.hero-slider {
	position: relative;
	width: 100%;
	height: max(calc(100vh - 100px), 400px);
	margin-top: 40px;
	overflow: hidden;
}

.hero-slide {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center top;
	opacity: 0;
	transition: opacity 1s ease;
	border-radius: 25px;
}

.hero-slide.active {
	opacity: 1;
}

/* ==========================================================================
   Section 2 – Logo Banner
   ========================================================================== */
.fp-logo-banner {
	overflow: hidden;
	white-space: nowrap;
	padding: 20px 0;
	width: calc(100vw - var(--scrollbar-width, 0px));
}

.logo-banner {
	display: inline-flex;
	align-items: center;
	transform-style: preserve-3d;
}

.banner-text {
	display: inline-block;
	font-size: 10vw;
	text-transform: uppercase;
	font-weight: 400;
	line-height: 1;
	margin: 0 0.15em;
	transition: transform 0.4s ease;
	white-space: nowrap;
}

.fp-logo-banner:hover .banner-text,
.fp-logo-banner.hovered .banner-text {
	transform: skew(-15deg, 0deg);
}

.banner-separator {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	vertical-align: middle;
	width: 2.4vw;
	height: 2.4vw;
}

.banner-separator::before {
	content: "";
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	background-color: var(--accent);
}

/* ==========================================================================
   Section 3 – About
   ========================================================================== */
.fp-about {
	padding: 80px 5vw;
}

.fp-about-inner {
	max-width: 1300px;
	margin: 0 auto;
	display: flex;
	gap: 40px;
}

.about-col {
	flex: 1 1 50%;
}

.about-body {
	font-size: 24px;
	line-height: 1.4;
	font-weight: 500;
}

.about-body p {
	margin-bottom: 1em;
}

.about-body p:last-child {
	margin-bottom: 0;
}

.about-image-wrapper {
	height: 350px;
	width: 100%;
	border-radius: 30px;
	overflow: hidden;
	margin-bottom: 20px;
}

.about-image-wrapper:last-child {
	margin-bottom: 0;
}

.about-image-wrapper img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(100%);
}

/* ==========================================================================
   Section 4 – Experience
   ========================================================================== */
.fp-experience {
	background-color: #ffffff;
	border-radius: 50px;
	padding: 50px 5vw;
	max-width: 2000px;
	margin: 0 auto;
}

.fp-experience-inner {
	max-width: 1300px;
	margin: 0 auto;
}

.fp-experience .section-title {
	color: #000000;
}

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

.experience-card {
	display: block;
	text-decoration: none;
	color: inherit;
}

a.experience-card:hover {
	color: inherit;
	text-decoration: none;
}

.experience-card-image {
	position: relative;
	width: 100%;
	height: 450px;
	overflow: hidden;
	border-radius: 16px;
}

.experience-card-bg {
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	filter: grayscale(100%);
	transition: filter 0.4s ease, transform 0.4s ease;
}

.experience-card:hover .experience-card-bg {
	filter: grayscale(0%);
	transform: scale(1.1);
}

.experience-card-btn {
	position: absolute;
	bottom: 40px;
	right: 40px;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background: #ffffff;
	color: #000000;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	z-index: 1;
	overflow: hidden;
}

.icon-wrapper {
	display: flex;
	flex-direction: column;
	align-items: center;
	transition: transform 0.4s ease-out;
}

.icon-wrapper i {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 50px;
	width: 50px;
	font-size: 25px;
}

.experience-card:hover .icon-wrapper {
	transform: translateY(-50px);
}

.experience-card-title {
	padding: 10px;
	font-size: 24px;
	color: #000000;
	font-weight: 500;
	text-transform: uppercase;
}

/* ==========================================================================
   Section 5 – Our Services
   ========================================================================== */
.fp-services {
	padding: 80px 5vw;
}

.fp-services-inner {
	max-width: 1300px;
	margin: 0 auto;
}

.services-list {
	position: relative;
}

.service-row {
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 40px 5px 40px 20px;
	text-decoration: none;
	color: var(--contrast);
	font-size: 50px;
	font-weight: 500;
	line-height: 1;
	border-top: 2px solid #776060;
	border-radius: 25px 25px 0 0;
	transition: background-color 0.3s ease, padding-left 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.service-row:hover {
	background-color: var(--accent-orange);
	padding-left: 50px;
	text-decoration: none;
	border-top-color: var(--accent-orange);
}

.service-badge {
	font-size: 0.3em;
	font-weight: 300;
	opacity: 0.6;
	position: relative;
	min-width: 2em;
	transition: color 0.3s ease;
	top: -7px;
}

.service-row:hover .service-badge {
	color: #000000;
	opacity: 1;
}

.service-title {
	flex: 1;
	text-transform: uppercase;
}

.service-image-preview {
	position: fixed;
	top: 20%;
	right: 5%;
	width: 30vw;
	height: 60vh;
	z-index: 50;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
	border-radius: 16px;
	overflow: hidden;
}

.service-row:hover + .service-image-preview {
	opacity: 1;
}

.service-image-preview-bg {
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
}

/* ==========================================================================
   Section 6 – Logos
   ========================================================================== */
.fp-logos {
	padding: 80px 5vw;
}

.fp-logos-inner {
	max-width: 1300px;
	margin: 0 auto;
}

.logos-slider {
	overflow: hidden;
	cursor: grab;
	touch-action: pan-y;
	user-select: none;
}

.logos-slider.is-dragging {
	cursor: grabbing;
}

.logos-slider-track {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 20px;
	will-change: transform;
}

.logo-slide {
	flex: 0 0 200px;
	width: 200px;
	height: 110px;
	box-sizing: border-box;
	padding: 8px;
	border-radius: 8px;
	background-color: #ffffff;
	background-repeat: no-repeat;
	background-position: center;
	background-origin: content-box;
	background-size: contain;
}

.logo-slide:hover {
	opacity: 0.64;
}

/* ==========================================================================
   Section 7 – Agency Spirit
   ========================================================================== */
.fp-agency-spirit {
	padding: 80px 5vw;
}

.fp-agency-spirit-inner {
	max-width: 1300px;
	margin: 0 auto;
}

.agency-spirit-image-wrapper {
	text-align: center;
}

.agency-spirit-image-wrapper img {
	width: 100%;
	max-width: 600px;
	height: auto;
}

/* ==========================================================================
   Section 8 – CTA (Let's Get Started)
   ========================================================================== */
.fp-cta {
	padding: 100px 5vw;
	text-align: center;
}

.cta-link {
	display: inline-flex;
	align-items: center;
	gap: 30px;
	text-decoration: none;
	color: var(--contrast);
	transition: transform 0.3s ease;
}

.cta-link:hover {
	transform: scale(0.9);
	color: var(--contrast);
	text-decoration: none;
}

.cta-text {
	font-size: 100px;
	font-weight: 400;
	line-height: 1.1;
	text-transform: capitalize;
}

.cta-btn {
	width: 100px;
	height: 100px;
	border-radius: 50%;
	background: #ffffff;
	color: #000000;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	transition: transform 0.3s ease;
	transform: rotate(45deg);
	font-size: 35px;
}

.cta-link:hover .cta-btn {
	transform: rotate(0deg);
}

/* ==========================================================================
   Responsive – max-width: 990px
   ========================================================================== */
@media (max-width: 990px) {
	/* Hero */
	.hero-heading-row {
		flex-direction: column;
		gap: 20px;
	}

	.hero-description {
		flex: none;
		max-width: none;
		min-width: 0;
		margin-right: 100px;
	}

	/* About */
	.fp-about-inner {
		flex-direction: column;
	}

	/* Experience */
	.experience-grid {
		grid-template-columns: 1fr;
	}

	.experience-card-image {
		height: 350px;
	}

	/* Services */
	.service-row {
		font-size: 25px;
	}

	.service-image-preview {
		display: none;
	}

	/* CTA */
	.cta-text {
		font-size: 80px;
	}
}

/* ==========================================================================
   Responsive – max-width: 768px
   ========================================================================== */
@media (max-width: 768px) {
	/* Hero */
	.hero-title {
		font-size: 48px;
	}

	.hero-heading-row {
		text-align: center;
		align-items: center;
	}

	.hero-description {
		text-align: center;
		margin-right: 0;
		max-width: 420px;
	}

	/* Banner */
	.banner-text {
		font-size: 8vw;
	}

	.banner-separator::before {
		font-size: 8vw;
	}

	/* About */
	.about-body {
		font-size: 22px;
	}

	/* CTA */
	.cta-text {
		font-size: 50px;
	}

	.cta-btn {
		width: 50px;
		height: 50px;
		font-size: 20px;
	}
}

/* ==========================================================================
   Responsive – max-width: 480px
   ========================================================================== */
@media (max-width: 480px) {
	.hero-title {
		font-size: 36px;
	}

	.experience-card-image {
		height: 300px;
	}

	.cta-text {
		font-size: 30px;
	}

	.cta-link {
		gap: 15px;
	}

	.cta-btn {
		width: 36px;
		height: 36px;
	}

	.fp-hero {
		padding: 60px 5vw;
	}
}
