/* =========================================================
   PepX Scientific — Contact page
========================================================= */

.contact-page {
	background: var(--pepx-white);
	overflow: hidden;
}

/* Hero */

.contact-hero {
	position: relative;
	min-height: 740px;
	padding: 100px 0 120px;
	background:
		radial-gradient(
			circle at 82% 22%,
			rgba(45, 101, 255, 0.15),
			transparent 31%
		),
		linear-gradient(180deg, #ffffff 0%, #f3f7ff 100%);
	overflow: hidden;
}

.contact-hero__glow {
	position: absolute;
	border-radius: 50%;
	pointer-events: none;
}

.contact-hero__glow--one {
	top: -220px;
	right: -180px;
	width: 720px;
	height: 720px;
	background: rgba(54, 105, 255, 0.09);
}

.contact-hero__glow--two {
	bottom: -250px;
	left: 22%;
	width: 520px;
	height: 520px;
	background: rgba(145, 177, 255, 0.13);
	filter: blur(8px);
}

.contact-hero__grid {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: minmax(0, 0.94fr) minmax(500px, 1.06fr);
	align-items: center;
	gap: 70px;
}

.contact-hero__content {
	max-width: 720px;
}

.contact-hero h1 {
	margin: 24px 0 28px;
	color: var(--pepx-navy);
	font-family: var(--pepx-font-heading);
	font-size: clamp(78px, 7.5vw, 122px);
	font-weight: 400;
	line-height: 0.87;
}

.contact-hero h1 span {
	display: block;
	color: var(--pepx-blue);
}

.contact-hero__content > p {
	max-width: 630px;
	margin: 0 0 35px;
	color: var(--pepx-muted);
	font-size: 17px;
	line-height: 1.8;
}

.contact-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.contact-hero__facts {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	max-width: 590px;
	margin-top: 50px;
	border-top: 1px solid var(--pepx-border);
}

.contact-hero__facts > div {
	padding: 24px 18px 0 0;
}

.contact-hero__facts strong {
	display: block;
	margin-bottom: 5px;
	color: var(--pepx-navy);
	font-family: var(--pepx-font-heading);
	font-size: 33px;
	font-weight: 400;
	line-height: 1;
}

.contact-hero__facts span {
	color: var(--pepx-muted);
	font-size: 8px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.contact-hero__visual {
	position: relative;
	min-height: 560px;
}

.contact-hero__orb {
	position: absolute;
	border-radius: 50%;
}

.contact-hero__orb--large {
	top: 10px;
	right: 5px;
	width: 525px;
	height: 525px;
	background:
		radial-gradient(
			circle at 32% 25%,
			rgba(255, 255, 255, 0.98),
			rgba(210, 224, 255, 0.55) 47%,
			rgba(229, 236, 255, 0.2)
		);
	border: 1px solid rgba(34, 92, 255, 0.12);
	box-shadow:
		inset 0 0 90px rgba(255, 255, 255, 0.88),
		0 45px 105px rgba(34, 92, 255, 0.13);
}

.contact-hero__orb--small {
	top: 48px;
	left: 28px;
	width: 115px;
	height: 115px;
	background: linear-gradient(145deg, #ffffff, #c8d9ff);
	box-shadow: 0 24px 55px rgba(34, 92, 255, 0.16);
}

.contact-hero__message {
	position: absolute;
	z-index: 4;
	top: 72px;
	right: 20px;
	width: 430px;
	padding: 38px;
	background: rgba(255, 255, 255, 0.84);
	border: 1px solid rgba(255, 255, 255, 0.97);
	border-radius: 32px;
	box-shadow: 0 36px 90px rgba(38, 66, 125, 0.16);
	backdrop-filter: blur(24px);
	transform: rotate(2deg);
}

.contact-hero__message-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-bottom: 22px;
	margin-bottom: 28px;
	border-bottom: 1px solid var(--pepx-border);
	color: var(--pepx-muted);
	font-size: 8px;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.contact-hero__message-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	background: var(--pepx-blue-soft);
	color: var(--pepx-blue);
	border-radius: 15px;
}

.contact-hero__message-icon svg,
.contact-hero__badge svg,
.contact-option-card__icon svg,
.contact-form-section__detail-icon svg,
.contact-form-section__panel-icon svg,
.contact-notice__icon svg {
	width: 22px;
	height: 22px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.contact-hero__message > strong {
	display: block;
	margin-bottom: 16px;
	color: var(--pepx-navy);
	font-family: var(--pepx-font-heading);
	font-size: 43px;
	font-weight: 400;
	line-height: 0.95;
}

.contact-hero__message > p {
	margin: 0 0 26px;
	color: var(--pepx-muted);
	font-size: 11px;
	line-height: 1.75;
}

.contact-hero__message-lines {
	display: grid;
	gap: 10px;
	margin-bottom: 25px;
}

.contact-hero__message-lines span {
	height: 9px;
	background: var(--pepx-border-light);
	border-radius: 999px;
}

.contact-hero__message-lines span:nth-child(2) {
	width: 83%;
}

.contact-hero__message-lines span:nth-child(3) {
	width: 61%;
}

.contact-hero__message-status {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 18px;
	border-top: 1px solid var(--pepx-border);
	font-size: 9px;
}

.contact-hero__message-status span {
	color: var(--pepx-muted);
}

.contact-hero__message-status strong {
	color: var(--pepx-success);
}

.contact-hero__badge {
	position: absolute;
	z-index: 6;
	left: 15px;
	bottom: 18px;
	display: flex;
	align-items: center;
	gap: 13px;
	padding: 15px 18px;
	background: rgba(255, 255, 255, 0.84);
	border: 1px solid rgba(255, 255, 255, 0.96);
	border-radius: 20px;
	box-shadow: var(--pepx-shadow-md);
	backdrop-filter: blur(20px);
}

.contact-hero__badge > span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	background: var(--pepx-blue-soft);
	color: var(--pepx-blue);
	border-radius: 13px;
}

.contact-hero__badge strong,
.contact-hero__badge small {
	display: block;
}

.contact-hero__badge strong {
	color: var(--pepx-navy);
	font-size: 10px;
}

.contact-hero__badge small {
	color: var(--pepx-muted);
	font-size: 8px;
}

/* Support options */

.contact-options {
	padding: 130px 0;
	background: var(--pepx-blue-pale);
}

.contact-section-heading {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 50px;
	margin-bottom: 55px;
}

.contact-section-heading h2 {
	margin: 18px 0 0;
	color: var(--pepx-navy);
	font-family: var(--pepx-font-heading);
	font-size: clamp(62px, 6vw, 90px);
	font-weight: 400;
	line-height: 0.92;
}

.contact-section-heading > p {
	max-width: 450px;
	margin: 0 0 7px;
	color: var(--pepx-muted);
	font-size: 13px;
	line-height: 1.8;
}

.contact-options__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}

.contact-option-card {
	min-height: 350px;
	padding: 29px;
	background: rgba(255, 255, 255, 0.86);
	border: 1px solid rgba(255, 255, 255, 0.97);
	border-radius: 27px;
	box-shadow: 0 17px 42px rgba(34, 61, 119, 0.055);
	backdrop-filter: blur(15px);
	transition:
		transform var(--pepx-transition),
		box-shadow var(--pepx-transition);
}

.contact-option-card:hover {
	box-shadow: 0 28px 70px rgba(34, 61, 119, 0.13);
	transform: translateY(-8px);
}

.contact-option-card__number {
	display: block;
	margin-bottom: 42px;
	color: var(--pepx-blue);
	font-family: var(--pepx-font-heading);
	font-size: 31px;
	line-height: 1;
}

.contact-option-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	margin-bottom: 28px;
	background: var(--pepx-blue-soft);
	color: var(--pepx-blue);
	border-radius: 16px;
}

.contact-option-card h3 {
	margin: 0 0 14px;
	color: var(--pepx-navy);
	font-family: var(--pepx-font-heading);
	font-size: 37px;
	font-weight: 400;
	line-height: 1;
}

.contact-option-card p {
	margin: 0 0 23px;
	color: var(--pepx-muted);
	font-size: 10px;
	line-height: 1.75;
}

.contact-option-card__note,
.contact-option-card a {
	display: inline-flex;
	color: var(--pepx-blue);
	font-size: 8px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-decoration: none;
	text-transform: uppercase;
}

/* Contact form */

.contact-form-section {
	padding: 145px 0;
	background: var(--pepx-white);
}

.contact-form-section__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(500px, 1.15fr);
	align-items: start;
	gap: 90px;
}

.contact-form-section__content h2 {
	margin: 18px 0 28px;
	color: var(--pepx-navy);
	font-family: var(--pepx-font-heading);
	font-size: clamp(62px, 6vw, 92px);
	font-weight: 400;
	line-height: 0.92;
}

.contact-form-section__content h2 span {
	display: block;
	color: var(--pepx-blue);
}

.contact-form-section__content > p {
	max-width: 610px;
	margin: 0 0 38px;
	color: var(--pepx-muted);
	font-size: 15px;
	line-height: 1.85;
}

.contact-form-section__details {
	display: grid;
}

.contact-form-section__details > div {
	display: grid;
	grid-template-columns: 54px 1fr;
	align-items: start;
	gap: 17px;
	padding: 20px 0;
	border-top: 1px solid var(--pepx-border);
}

.contact-form-section__details > div:last-child {
	border-bottom: 1px solid var(--pepx-border);
}

.contact-form-section__detail-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	background: var(--pepx-blue-soft);
	color: var(--pepx-blue);
	border-radius: 15px;
}

.contact-form-section__details strong {
	display: block;
	margin-bottom: 5px;
	color: var(--pepx-navy);
	font-size: 12px;
}

.contact-form-section__details p {
	margin: 0;
	color: var(--pepx-muted);
	font-size: 10px;
	line-height: 1.7;
}

.contact-form-section__panel {
	padding: 40px;
	background:
		radial-gradient(
			circle at 85% 10%,
			rgba(70, 117, 255, 0.12),
			transparent 30%
		),
		linear-gradient(180deg, #ffffff, #f7f9ff);
	border: 1px solid var(--pepx-border-light);
	border-radius: 32px;
	box-shadow: 0 30px 80px rgba(34, 61, 119, 0.1);
}

.contact-form-section__panel-header {
	display: flex;
	align-items: center;
	gap: 15px;
	padding-bottom: 24px;
	margin-bottom: 28px;
	border-bottom: 1px solid var(--pepx-border);
}

.contact-form-section__panel-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	background: var(--pepx-blue-soft);
	color: var(--pepx-blue);
	border-radius: 16px;
}

.contact-form-section__panel-header strong,
.contact-form-section__panel-header small {
	display: block;
}

.contact-form-section__panel-header strong {
	margin-bottom: 4px;
	color: var(--pepx-navy);
	font-size: 13px;
}

.contact-form-section__panel-header small {
	color: var(--pepx-muted);
	font-size: 9px;
}

.contact-form-placeholder {
	padding: 38px;
	background: var(--pepx-blue-soft);
	border: 1px dashed rgba(34, 92, 255, 0.25);
	border-radius: 20px;
	text-align: center;
}

.contact-form-placeholder strong {
	display: block;
	margin-bottom: 10px;
	color: var(--pepx-navy);
	font-size: 14px;
}

.contact-form-placeholder p {
	margin: 0 0 17px;
	color: var(--pepx-muted);
	font-size: 10px;
	line-height: 1.7;
}

.contact-form-placeholder code {
	display: inline-block;
	padding: 10px 13px;
	background: var(--pepx-white);
	color: var(--pepx-blue);
	border-radius: 10px;
	font-size: 11px;
}

/* Fluent Forms */

.contact-form-section .ff-el-group {
	margin-bottom: 20px;
}

.contact-form-section .ff-el-input--label label {
	color: var(--pepx-navy);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.contact-form-section .ff-el-form-control {
	min-height: 54px;
	padding: 14px 16px;
	background: var(--pepx-white);
	border: 1px solid var(--pepx-border);
	border-radius: 14px;
	color: var(--pepx-navy);
	font-family: var(--pepx-font-body);
	box-shadow: none;
}

.contact-form-section textarea.ff-el-form-control {
	min-height: 150px;
	resize: vertical;
}

.contact-form-section .ff-el-form-control:focus {
	border-color: var(--pepx-blue);
	box-shadow: 0 0 0 4px rgba(34, 92, 255, 0.1);
}

.contact-form-section .ff-btn-submit {
	min-height: 54px;
	padding: 0 24px;
	background: var(--pepx-blue);
	border: 0;
	border-radius: 14px;
	color: var(--pepx-white);
	font-family: var(--pepx-font-body);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* Guidance */

.contact-guidance {
	padding: 20px 0 120px;
	background: var(--pepx-white);
}

.contact-guidance__panel {
	display: grid;
	grid-template-columns: minmax(320px, 0.76fr) minmax(0, 1.24fr);
	align-items: center;
	gap: 65px;
	padding: 75px;
	background:
		radial-gradient(
			circle at 85% 12%,
			rgba(56, 108, 255, 0.26),
			transparent 31%
		),
		linear-gradient(135deg, #101828, #17233c);
	border-radius: 38px;
	box-shadow: 0 34px 88px rgba(16, 24, 40, 0.2);
}

.contact-guidance__intro .home-eyebrow {
	color: #8facff;
}

.contact-guidance__intro h2 {
	margin: 18px 0 20px;
	color: var(--pepx-white);
	font-family: var(--pepx-font-heading);
	font-size: clamp(52px, 5vw, 74px);
	font-weight: 400;
	line-height: 0.93;
}

.contact-guidance__intro p {
	max-width: 420px;
	margin: 0;
	color: rgba(255, 255, 255, 0.65);
	font-size: 13px;
	line-height: 1.8;
}

.contact-guidance__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 14px;
}

.contact-guidance__grid > div {
	min-height: 170px;
	padding: 25px;
	background: rgba(255, 255, 255, 0.065);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 21px;
}

.contact-guidance__grid span {
	display: block;
	margin-bottom: 22px;
	color: #8facff;
	font-family: var(--pepx-font-heading);
	font-size: 27px;
	line-height: 1;
}

.contact-guidance__grid strong {
	display: block;
	margin-bottom: 7px;
	color: var(--pepx-white);
	font-size: 11px;
}

.contact-guidance__grid p {
	margin: 0;
	color: rgba(255, 255, 255, 0.6);
	font-size: 9px;
	line-height: 1.65;
}

/* Notice */

.contact-notice {
	padding: 0 0 95px;
	background: var(--pepx-white);
}

.contact-notice__panel {
	display: flex;
	align-items: flex-start;
	gap: 20px;
	padding: 28px 32px;
	background: #f8faff;
	border: 1px solid var(--pepx-border-light);
	border-radius: 22px;
}

.contact-notice__icon {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	background: var(--pepx-blue-soft);
	color: var(--pepx-blue);
	border-radius: 15px;
}

.contact-notice strong {
	display: block;
	margin-bottom: 6px;
	color: var(--pepx-navy);
	font-size: 12px;
}

.contact-notice p {
	margin: 0;
	color: var(--pepx-muted);
	font-size: 10px;
	line-height: 1.75;
}

/* CTA */

.contact-cta {
	padding: 0 0 120px;
}

.contact-cta__panel {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 50px;
	padding: 65px 70px;
	background:
		radial-gradient(
			circle at 88% 20%,
			rgba(63, 111, 255, 0.25),
			transparent 32%
		),
		linear-gradient(135deg, #101828, #17233c);
	border-radius: 36px;
	box-shadow: 0 32px 85px rgba(16, 24, 40, 0.2);
}

.contact-cta__panel .home-eyebrow {
	color: #8eabff;
}

.contact-cta__panel h2 {
	max-width: 760px;
	margin: 18px 0 16px;
	color: var(--pepx-white);
	font-family: var(--pepx-font-heading);
	font-size: clamp(54px, 5vw, 76px);
	font-weight: 400;
	line-height: 0.92;
}

.contact-cta__panel p {
	max-width: 650px;
	margin: 0;
	color: rgba(255, 255, 255, 0.66);
	font-size: 13px;
	line-height: 1.8;
}

.contact-cta__actions {
	display: flex;
	flex: 0 0 auto;
	flex-wrap: wrap;
	gap: 12px;
}

.contact-cta__panel .pepx-button--secondary {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.22);
	color: var(--pepx-white);
}

/* Responsive */

@media (max-width: 1120px) {
	.contact-hero__grid {
		grid-template-columns: minmax(0, 0.9fr) minmax(450px, 1.1fr);
		gap: 30px;
	}

	.contact-options__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.contact-form-section__grid {
		gap: 55px;
	}
}

@media (max-width: 900px) {
	.contact-hero__grid,
	.contact-form-section__grid,
	.contact-guidance__panel {
		grid-template-columns: 1fr;
	}

	.contact-hero__visual {
		width: min(100%, 650px);
		margin-inline: auto;
	}

	.contact-cta__panel {
		align-items: flex-start;
		flex-direction: column;
	}

	.contact-cta__actions {
		width: 100%;
	}
}

@media (max-width: 680px) {
	.contact-hero {
		min-height: auto;
		padding: 70px 0 40px;
	}

	.contact-hero h1 {
		font-size: clamp(65px, 19vw, 90px);
	}

	.contact-hero__content > p {
		font-size: 15px;
	}

	.contact-hero__actions {
		display: grid;
		grid-template-columns: 1fr;
	}

	.contact-hero__facts strong {
		font-size: 26px;
	}

	.contact-hero__visual {
		left: 50%;
		width: 550px;
		min-height: 510px;
		margin-left: -275px;
		transform: scale(0.78);
		transform-origin: top center;
	}

	.contact-options,
	.contact-form-section {
		padding: 90px 0;
	}

	.contact-section-heading {
		align-items: flex-start;
		flex-direction: column;
		margin-bottom: 38px;
	}

	.contact-options__grid {
		grid-template-columns: 1fr;
	}

	.contact-option-card {
		min-height: auto;
	}

	.contact-option-card__number {
		margin-bottom: 28px;
	}

	.contact-form-section__panel {
		padding: 28px 22px;
		border-radius: 26px;
	}

	.contact-guidance {
		padding-bottom: 90px;
	}

	.contact-guidance__panel {
		gap: 40px;
		padding: 40px 25px;
		border-radius: 29px;
	}

	.contact-guidance__grid {
		grid-template-columns: 1fr;
	}

	.contact-notice {
		padding-bottom: 75px;
	}

	.contact-notice__panel {
		padding: 24px;
	}

	.contact-cta {
		padding-bottom: 90px;
	}

	.contact-cta__panel {
		padding: 42px 25px;
		border-radius: 28px;
	}

	.contact-cta__actions {
		display: grid;
		grid-template-columns: 1fr;
	}
}

@media (max-width: 430px) {
	.contact-hero__facts {
		grid-template-columns: 1fr;
	}

	.contact-hero__facts > div {
		padding: 15px 0;
		border-bottom: 1px solid var(--pepx-border);
	}

	.contact-hero__message {
		width: 420px;
	}

	.contact-notice__panel {
		flex-direction: column;
	}
}