/**
 * Contact page layout — hero form + map + FAQ.
 * Brand navy (#07318c), keeps site header/footer.
 */

.contact-page {
	--contact-hero-bg: #07318c;
	--contact-hero-fg: #ffffff;
	--contact-hero-muted: rgba(255, 255, 255, 0.78);
	--contact-accent: #5b8fef;
}

/* —— Hero —— */
.contact-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(3rem, 6vw, 5rem);
	background:
		radial-gradient(ellipse 50% 60% at 8% 20%, rgba(91, 143, 239, 0.28), transparent 55%),
		radial-gradient(ellipse 40% 50% at 92% 80%, rgba(255, 255, 255, 0.08), transparent 50%),
		var(--contact-hero-bg);
	color: var(--contact-hero-fg);
}

.contact-hero__decor {
	pointer-events: none;
	position: absolute;
	inset: 0;
	z-index: 0;
}

.contact-hero__shape {
	position: absolute;
	border-radius: 0.65rem;
	opacity: 0.55;
	animation: contact-float 8s ease-in-out infinite;
}

.contact-hero__shape--a {
	top: 12%;
	left: 3%;
	width: 2.4rem;
	height: 2.4rem;
	background: #ffffff;
	transform: rotate(18deg);
}

.contact-hero__shape--b {
	top: 58%;
	left: 6%;
	width: 1.6rem;
	height: 1.6rem;
	border-radius: 999px;
	background: #5b8fef;
	animation-delay: -2s;
}

.contact-hero__shape--c {
	top: 18%;
	right: 4%;
	width: 2rem;
	height: 2rem;
	background: #e8c84a;
	border-radius: 0.35rem;
	animation-delay: -4s;
}

.contact-hero__shape--d {
	bottom: 16%;
	right: 7%;
	width: 2.8rem;
	height: 1.4rem;
	background: rgba(255, 255, 255, 0.35);
	border-radius: 999px;
	animation-delay: -1s;
}

@keyframes contact-float {
	0%,
	100% {
		transform: translateY(0) rotate(18deg);
	}
	50% {
		transform: translateY(-10px) rotate(22deg);
	}
}

.contact-hero__shape--b {
	animation-name: contact-float-b;
}

@keyframes contact-float-b {
	0%,
	100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-8px);
	}
}

.contact-hero__grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: clamp(1.5rem, 4vw, 3rem);
	align-items: center;
}

.contact-hero__eyebrow {
	display: inline-block;
	margin-bottom: 0.65rem;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #9db7f5;
}

.contact-hero__title {
	margin: 0 0 0.85rem;
	font-family: var(--twp-font-display);
	font-size: clamp(1.85rem, 4.2vw, 3rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.12;
	color: var(--contact-hero-fg);
	max-width: 16ch;
}

.contact-hero__lead {
	margin: 0 0 1.35rem;
	max-width: 34rem;
	font-size: 1rem;
	line-height: 1.6;
	color: var(--contact-hero-muted);
}

.contact-hero__points {
	list-style: none;
	margin: 0 0 1.5rem;
	padding: 0;
	display: grid;
	gap: 0.7rem;
}

.contact-hero__points li {
	display: flex;
	align-items: flex-start;
	gap: 0.7rem;
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.4;
	color: #f3f6ff;
}

.contact-hero__check {
	display: grid;
	place-items: center;
	width: 1.35rem;
	height: 1.35rem;
	flex-shrink: 0;
	margin-top: 0.1rem;
	border-radius: 999px;
	background: #5b8fef;
	color: #ffffff;
}

.contact-hero__meta {
	list-style: none;
	margin: 0 0 1.25rem;
	padding: 0;
	display: grid;
	gap: 0.55rem;
}

.contact-hero__meta li {
	display: grid;
	gap: 0.15rem;
	font-size: 0.875rem;
}

.contact-hero__meta strong {
	font-size: 0.7rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #9db7f5;
}

.contact-hero__meta span,
.contact-hero__meta a {
	color: #f3f6ff;
	text-decoration: none;
}

.contact-hero__meta a:hover {
	color: #ffffff;
	text-decoration: underline;
}

.contact-hero__channels .btn--primary {
	background: #5b8fef;
	border-color: #5b8fef;
	color: #061018;
}

.contact-hero__channels .btn--primary:hover {
	background: #7aa4f5;
	border-color: #7aa4f5;
}

.contact-hero__card {
	background: #ffffff;
	color: var(--twp-color-fg);
	border-radius: 1.15rem;
	padding: clamp(1.25rem, 3vw, 1.75rem);
	box-shadow:
		0 24px 48px rgba(0, 0, 0, 0.22),
		0 2px 0 rgba(255, 255, 255, 0.08) inset;
}

[data-theme="dark"] .contact-hero__card {
	background: #121826;
	color: var(--twp-color-fg);
	border: 1px solid #2a3344;
}

.contact-hero__card-head {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	margin-bottom: 1.1rem;
}

.contact-hero__card-head strong {
	font-family: var(--twp-font-display);
	font-size: 1.2rem;
	font-weight: 800;
}

.contact-hero__card-head span {
	font-size: 0.8125rem;
	color: var(--twp-color-muted);
}

.contact-hero__card .form__label {
	color: var(--twp-color-fg);
}

.contact-hero__card .form__input,
.contact-hero__card .form__textarea {
	background: #f4f6fb;
	border-color: #e2e6ef;
}

[data-theme="dark"] .contact-hero__card .form__input,
[data-theme="dark"] .contact-hero__card .form__textarea {
	background: #0a0e16;
	border-color: #2a3344;
}

.contact-hero__card .btn--primary {
	width: 100%;
	justify-content: center;
	margin-top: 0.35rem;
	padding: 0.85rem 1.25rem;
	font-size: 0.95rem;
}

/* —— Map —— */
.contact-map {
	padding: clamp(2.5rem, 5vw, 4rem) 0;
	background: #ffffff;
	border-bottom: 1px solid var(--twp-color-border);
}

[data-theme="dark"] .contact-map {
	background: var(--twp-color-bg);
}

.contact-map__inner {
	display: grid;
	gap: 1.25rem;
}

.contact-map__head {
	text-align: center;
	max-width: 40rem;
	margin: 0 auto;
}

.contact-map__title {
	margin: 0 0 0.4rem;
	font-family: var(--twp-font-display);
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--twp-color-primary);
}

.contact-map__address {
	margin: 0;
	font-size: 0.95rem;
	color: var(--twp-color-muted);
}

.contact-map__address + .contact-map__address {
	margin-top: 0.35rem;
}

.contact-map__address--loc {
	font-weight: 600;
	color: var(--twp-color-text, inherit);
}

html[data-theme="dark"] .contact-map__address--loc,
[data-theme="dark"] .contact-map__address--loc {
	color: var(--twp-color-text);
}

.contact-map__frame {
	position: relative;
	overflow: hidden;
	border-radius: 1rem;
	border: 1px solid var(--twp-color-border);
	background: #e8eef8;
	aspect-ratio: 21 / 9;
	min-height: 16rem;
}

.contact-map__frame iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

/* —— FAQ —— */
.contact-faq {
	padding: clamp(2.75rem, 6vw, 4.5rem) 0 clamp(3.5rem, 7vw, 5.5rem);
	background: #ffffff;
}

[data-theme="dark"] .contact-faq {
	background: var(--twp-color-bg);
}

.contact-faq__inner {
	max-width: 44rem;
	margin: 0 auto;
}

.contact-faq__head {
	text-align: center;
	margin-bottom: 2rem;
}

.contact-faq__eyebrow {
	display: inline-block;
	margin-bottom: 0.45rem;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--twp-color-muted);
}

.contact-faq__title {
	margin: 0;
	font-family: var(--twp-font-display);
	font-size: clamp(1.65rem, 3.2vw, 2.35rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--twp-color-primary);
}

.contact-faq__list {
	display: grid;
	gap: 0;
	border-top: 1px solid var(--twp-color-border);
}

.contact-faq__item {
	border-bottom: 1px solid var(--twp-color-border);
}

.contact-faq__q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.15rem 0.15rem;
	list-style: none;
	cursor: pointer;
	font-family: var(--twp-font-display);
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--twp-color-primary);
}

.contact-faq__q::-webkit-details-marker {
	display: none;
}

.contact-faq__icon {
	display: grid;
	place-items: center;
	flex-shrink: 0;
	color: var(--twp-color-muted);
	transition: transform 0.2s ease;
}

.contact-faq__item[open] .contact-faq__icon {
	transform: rotate(180deg);
	color: var(--twp-color-primary);
}

.contact-faq__a {
	padding: 0 0.15rem 1.2rem;
}

.contact-faq__a p {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.65;
	color: var(--twp-color-muted);
	max-width: 38rem;
}

@media (max-width: 900px) {
	.contact-hero__grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.contact-hero__title {
		max-width: none;
	}

	.contact-map__frame {
		aspect-ratio: 16 / 10;
	}
}

@media (max-width: 560px) {
	.contact-hero {
		padding: 2rem 0 2.5rem;
	}

	.contact-hero__shape {
		opacity: 0.35;
	}

	.contact-hero__card {
		border-radius: 0.9rem;
		padding: 1.1rem 1rem 1.25rem;
	}

	.contact-hero__channels.btn-group,
	.contact-hero__channels {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 0.55rem;
		width: 100%;
	}

	.contact-hero__channels .btn {
		width: 100%;
		justify-content: center;
		min-height: 2.75rem;
	}

	.contact-hero__card .form__input,
	.contact-hero__card .form__textarea,
	.contact-hero__card .form__select {
		font-size: 1rem;
	}

	.contact-hero__card .btn--primary {
		width: 100%;
		min-height: 2.75rem;
	}

	.contact-map__frame {
		aspect-ratio: 4 / 3;
		min-height: 14rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.contact-hero__shape {
		animation: none;
	}
}
