/* ==========================================================
   WEBBOTICA — PROJECT FOLDER CTA
========================================================== */

.wb-project {
	--wb-blue: #496af9;
	--wb-blue-hover: #3f5fe7;
	--wb-bg: #fafaf8;
	--wb-surface: #ffffff;
	--wb-heading: #111827;
	--wb-copy: #6b7280;
	--wb-border: #e5e7eb;
	--wb-muted: #f3f4f6;

	position: relative;
	overflow: hidden;
	background: var(--wb-bg);
	padding: clamp(92px, 10vw, 150px) 0 28px;
	font-family: "Plus Jakarta Sans", sans-serif;
}

.wb-project *,
.wb-project *::before,
.wb-project *::after {
	box-sizing: border-box;
}

.wb-project__container {
	width: min(1240px, calc(100% - 48px));
	margin: 0 auto;
	display: grid;
	grid-template-columns: minmax(0, 0.86fr) minmax(520px, 1.14fr);
	gap: clamp(72px, 8vw, 132px);
	align-items: center;
}

.wb-project__intro {
	align-self: center;
	padding-top: 10px;
}

.wb-project__kicker { display:none;

	margin: 0 0 24px;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.15em;
	color: var(--wb-copy);
}

.wb-project__title {
	max-width: 640px;
	margin: 0;
	color: var(--wb-heading);
	font-size: clamp(3.45rem, 5.2vw, 5.85rem);
	line-height: 0.96;
	letter-spacing: -0.065em;
	font-weight: 600;
}

.wb-project__copy {
	max-width: 470px;
	margin: 30px 0 0;
	color: var(--wb-copy);
	font-size: clamp(1rem, 1.25vw, 1.12rem);
	line-height: 1.72;
}

.wb-project__contact {
	margin-top:24px;
	padding:18px 22px;
	border:1px solid var(--wb-border);
	border-radius:14px;
	transform:rotate(-1deg);
	max-width: 470px;
}

.wb-project__contact-label {
	margin: 0 0 14px;
	color: var(--wb-copy);
	font-size: 0.82rem;
	font-weight: 600;
}

.wb-project__contact-links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 26px;
}

.wb-project__contact-links a {
	position: relative;
	color: var(--wb-heading);
	font-size: 0.95rem;
	font-weight: 600;
	text-decoration: none;
}

.wb-project__contact-links a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -4px;
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 220ms ease;
}

.wb-project__contact-links a:hover::after,
.wb-project__contact-links a:focus-visible::after {
	transform: scaleX(1);
	transform-origin: left;
}

.wb-folder {
	position: relative;
	padding-top: 38px;
	filter: drop-shadow(0 24px 40px rgba(17, 24, 39, 0.08));
}

.wb-folder__back {
	position: absolute;
	inset: 0 20px 20px 28px;
	border: 1px solid #dfe3e8;
	border-radius: 20px 20px 14px 14px;
	background: #f3f4f6;
}


.wb-folder__back::before {
	content: "";
	position: absolute;
	left: -1px;
	top: -26px;
	width: 34%;
	height: 40px;
	border: 1px solid #dfe3e8;
	border-bottom: 0;
	border-radius: 17px 38px 0 0;
	background: #f3f4f6;
}

.wb-folder__tabs {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: stretch;
	gap: 0;
	border-bottom: 1px solid rgba(17, 24, 39, 0.10);
}

.wb-folder__tab {
	position: relative;
	flex: 0 0 210px;
	min-width: 0;
	height: auto;
	padding: 22px 24px 18px;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--wb-copy);
	font: inherit;
	font-size: 0.84rem;
	font-weight: 700;
	cursor: pointer;
	transition: color 200ms ease, background 200ms ease;
}


.wb-folder__tab::after {
	content: "";
	position: absolute;
	left: 24px;
	right: 24px;
	bottom: -1px;
	height: 2px;
	background: transparent;
}

.wb-folder__tab.is-active::after {
	background: var(--wb-blue);
}

.wb-folder__tab:hover {
	color: var(--wb-heading);
	background: rgba(17, 24, 39, 0.018);
}

.wb-folder__tab.is-active {
	height: auto;
	background: transparent;
	color: var(--wb-heading);
	transform: none;
}

.wb-folder__sheet {
	position: relative;
	z-index: 2;
	min-height: 620px;
	padding: 0;
	border: 1px solid #dfe3e8;
	border-radius: 18px 18px 14px 14px;
	background: var(--wb-surface);
	overflow: hidden;
}


.wb-folder__form {
	min-height: 556px;
	padding: clamp(38px, 4.3vw, 58px);
}

.wb-folder__panel {
	animation: wbFolderPanelIn 300ms ease both;
}

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

.wb-folder__heading {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 28px;
	margin-bottom: 34px;
	padding-bottom: 26px;
	border-bottom: 1px solid var(--wb-border);
}

.wb-folder__file-label {
	display: block;
	margin-bottom: 9px;
	color: var(--wb-copy);
	font-size: 0.67rem;
	font-weight: 700;
	letter-spacing: 0.16em;
}

.wb-folder__heading h3 {
	margin: 0;
	color: var(--wb-heading);
	font-size: clamp(1.45rem, 2vw, 1.85rem);
	line-height: 1.2;
	letter-spacing: -0.035em;
}

.wb-folder__reference { display:none;

	flex: 0 0 auto;
	text-align: right;
}

.wb-folder__reference span {
	display: block;
	color: var(--wb-blue);
	font-size: 1.08rem;
	font-weight: 800;
	letter-spacing: -0.04em;
}

.wb-folder__reference small {
	display: block;
	margin-top: 3px;
	color: #9ca3af;
	font-size: 0.57rem;
	font-weight: 700;
	letter-spacing: 0.13em;
}

.wb-field {
	position: relative;
	margin-bottom: 25px;
}

.wb-field label {
	display: block;
	margin-bottom: 8px;
	color: var(--wb-heading);
	font-size: 0.74rem;
	font-weight: 700;
}

.wb-field input,
.wb-field select,
.wb-field textarea {
	display: block;
	width: 100%;
	border: 0;
	border-bottom: 1px solid #cfd4dc;
	border-radius: 0;
	outline: none;
	background: transparent;
	padding: 8px 0 13px;
	color: var(--wb-heading);
	font: inherit;
	font-size: 1rem;
	line-height: 1.45;
	transition: border-color 180ms ease;
}

.wb-field input::placeholder,
.wb-field textarea::placeholder {
	color: #a1a8b3;
}

.wb-field input:focus,
.wb-field select:focus,
.wb-field textarea:focus {
	border-color: var(--wb-blue);
}

.wb-field textarea {
	resize: vertical;
	min-height: 105px;
}

.wb-field__error {
	display: block;
	min-height: 16px;
	margin-top: 5px;
	color: #b42318;
	font-size: 0.72rem;
}

.wb-folder__hint {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 6px;
}

.wb-folder__hint button,
.wb-folder__back-link {
	padding: 0;
	border: 0;
	background: none;
	color: var(--wb-heading);
	font: inherit;
	font-size: 0.78rem;
	font-weight: 700;
	cursor: pointer;
	text-decoration: underline;
	text-decoration-color: #c4c9d1;
	text-underline-offset: 4px;
}

.wb-folder__hint span {
	color: #9ca3af;
	font-size: 0.7rem;
}

.wb-folder__action {
	margin-top: 34px;
}

.wb-folder__submit {
	width: 100%;
	min-height: 56px;
	border: 1px solid var(--wb-blue);
	border-radius: 12px;
	background: var(--wb-blue);
	color: #fff;
	font: inherit;
	font-size: 0.92rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	cursor: pointer;
	box-shadow: 0 10px 22px rgba(73, 106, 249, 0.18);
	transition:
		transform 180ms ease,
		background 180ms ease,
		box-shadow 180ms ease;
}

.wb-folder__submit:hover {
	background: var(--wb-blue-hover);
	transform: translateY(-1px);
	box-shadow: 0 14px 28px rgba(73, 106, 249, 0.22);
}

.wb-folder__submit:active {
	transform: translateY(0);
}

.wb-folder__submit:focus-visible,
.wb-folder__tab:focus-visible,
.wb-folder__hint button:focus-visible,
.wb-folder__back-link:focus-visible,
.wb-project__contact-links a:focus-visible,
.wb-project__utility a:focus-visible {
	outline: 3px solid rgba(73, 106, 249, 0.24);
	outline-offset: 4px;
}

.wb-folder__status {
	min-height: 20px;
	margin: 11px 0 0;
	color: var(--wb-copy);
	font-size: 0.76rem;
	text-align: center;
}

.wb-project__utility {
	grid-column: 1 / -1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: clamp(54px, 7vw, 94px);
	padding-top: 22px;
	border-top: 1px solid var(--wb-border);
	color: #8a909a;
	font-size: 0.73rem;
}

.wb-project__utility > span {
	color: var(--wb-heading);
	font-weight: 700;
}

.wb-project__utility div {
	display: flex;
	gap: 20px;
}

.wb-project__utility a {
	color: inherit;
	text-decoration: none;
}

.wb-project__utility a:hover {
	color: var(--wb-heading);
}

/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 1040px) {
	.wb-project {
		padding-top: 104px;
	}

	.wb-project__container {
		grid-template-columns: minmax(0, 0.78fr) minmax(460px, 1.22fr);
		gap: 52px;
	}

	.wb-project__title {
		font-size: clamp(3.2rem, 6.1vw, 4.7rem);
	}

	.wb-folder__form {
		padding: 40px;
	}
}

/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 820px) {
	.wb-project {
		padding: 84px 0 24px;
	}

	.wb-project__container {
		width: min(100% - 32px, 620px);
		grid-template-columns: 1fr;
		gap: 52px;
	}

	.wb-project__intro {
		padding-top: 0;
	}

	.wb-project__kicker { display:none;

		margin-bottom: 18px;
	}

	.wb-project__title {
		font-size: clamp(3rem, 13vw, 4.8rem);
		line-height: 0.96;
	}

	.wb-project__copy {
		margin-top: 22px;
		max-width: 34rem;
		font-size: 0.97rem;
		line-height: 1.65;
	}

	.wb-project__contact {
		margin-top: 38px;
	}

	.wb-project__contact-links {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}

	.wb-folder {
		padding-top: 28px;
	}

	.wb-folder__back {
		inset: 0 8px 14px 12px;
	}

	.wb-folder__back::before {
		top: -20px;
		height: 30px;
		width: 42%;
	}

	.wb-folder__tab {
		flex: 1;
		padding: 18px 16px 15px;
		font-size: 0.78rem;
	}

	.wb-folder__sheet {
		min-height: 0;
		border-radius: 15px 15px 14px 14px;
	}

	.wb-folder__form {
		min-height: 0;
		padding: 31px 22px 24px;
	}

	.wb-folder__heading {
		margin-bottom: 27px;
		padding-bottom: 20px;
	}

	.wb-folder__reference { display:none;

		display: none;
	}

	.wb-field {
		margin-bottom: 22px;
	}

	.wb-folder__action {
		margin-top: 28px;
	}

	.wb-folder__submit {
		min-height: 54px;
	}

	.wb-project__utility {
		margin-top: 26px;
	}

@media (max-width: 820px) {

	/* Allow title and contact details to be positioned separately */
	.wb-project__intro {
		display: contents;
	}

	/* 1. Title first */
	.wb-project__title {
		display: block;
		order: 1;
	}

	/* Hide supporting text and contact label */
	.wb-project__copy,
	.wb-project__kicker {
		display: none;
	}

	/* 2. Folder after title */
	.wb-folder {
		order: 2;
	}

	/* 3. Contact details after folder */
	.wb-project__contact {
		order: 3;
		
	}
.wb-project__contact-label{
	text-align:  center;
}
	.wb-project__contact-links {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 8px;
		text-align: center;
	}

	/* Phone first */
	.wb-project__contact-links a[href^="tel:"] {
		order: 1;
	}

	/* Email second */
	.wb-project__contact-links a[href^="mailto:"] {
		order: 2;
	}

	/* Privacy and Terms remain at the bottom */
	.wb-project__utility {
		order: 4;
	}

	.wb-project__container {
		gap: 24px;
	}
}
}

@media (max-width: 420px) {
	.wb-project__container {
		width: min(100% - 24px, 620px);
	}

	.wb-project__title {
		font-size: 12.7vw;
	}

	.wb-project__utility {
		align-items: flex-start;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wb-project *,
	.wb-project *::before,
	.wb-project *::after {
		scroll-behavior: auto !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

/* Wrapper keeps the contact box + pricing link together */
.wb-project__contact-wrap {
	width: 100%;
}


/* Pricing sits OUTSIDE the contact box */
.wb-project__pricing-link {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;

	margin-top: 14px;

	color: var(--color-paragraph);
	font-size: 13px;
	font-weight: 500;
	line-height: 1.5;

	text-decoration: none;
}

.wb-project__pricing-link strong {
	display: inline-flex;
	align-items: center;
	gap: 4px;

	color: var(--color-heading);
	font-weight: 500;

	border-bottom: 1px solid rgba(17, 24, 39, 0.3);

	transition:
		color var(--transition-fast),
		border-color var(--transition-fast);
}

.wb-project__pricing-link:hover strong {
	color: var(--color-primary);
	border-color: var(--color-primary);
}


@media (max-width: 767px) {

	.wb-project__pricing-link {
		margin-top: 12px;
		padding-left: 2px;
	}

}
@media (max-width: 767px) {

	.wb-project__title {
		order: 1;
	}

	.wb-project__copy {
		order: 2;
	}

	.wb-project__contact {
		order: 3;
	}

	.wb-project__pricing-link {
		order: 4;
		margin-top: 12px;
	}
}