/* ==========================================================================
   Contact: Hero and Direct Contact Channels
   ========================================================================== */

.ajt-contact-hero {
	position: relative;
	min-height: 100svh;
	display: flex;
	align-items: center;
	overflow: hidden;
	box-sizing: border-box;
	color: #FAF8F5;
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.7s ease, transform 0.7s ease;
}

.ajt-contact-hero.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.ajt-contact-hero-media {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.ajt-contact-hero-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.ajt-contact-hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg,
		rgba(28,27,25,0.64) 0%,
		rgba(28,27,25,0.52) 28%,
		rgba(28,27,25,0.70) 62%,
		rgba(28,27,25,0.88) 100%
	);
}

.ajt-contact-hero-inner {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 980px;
	margin: 0 auto;
	padding: clamp(120px, 16vw, 170px) clamp(20px, 5vw, 32px) clamp(60px, 8vw, 90px);
	box-sizing: border-box;
}

.ajt-contact-hero-intro {
	text-align: center;
	max-width: 560px;
	margin: 0 auto clamp(44px, 6vw, 60px);
}

.ajt-contact-hero-eyebrow,
.ajt-contact-hero-title,
.ajt-contact-hero-lead {
	text-shadow: 0 2px 14px rgba(0,0,0,0.55);
}

.ajt-contact-hero-eyebrow {
	color: #E3DCD1;
}

.ajt-contact-hero-title {
	font-family: 'Fraunces', serif;
	font-size: clamp(1.9rem, 4.6vw, 2.9rem);
	line-height: 1.2;
	color: #FAF8F5;
	margin: 10px 0 16px;
}

.ajt-contact-hero-lead {
	color: #F1EEE9;
	font-size: clamp(0.98rem, 1.6vw, 1.08rem);
	max-width: 44ch;
	margin: 0 auto;
}

.ajt-contact-hero-channels {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
}

.ajt-contact-hero-card {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 6px;
	padding: 32px 20px;
	box-sizing: border-box;
	border: 1.5px solid rgba(250,248,245,0.28);
	border-radius: 10px;
	text-decoration: none;
	background: rgba(28,27,25,0.42);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	transition: border-color 0.3s ease, background 0.3s ease, transform 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
	.ajt-contact-hero-card:hover,
	.ajt-contact-hero-card:focus-visible {
		transform: translateY(-3px);
		border-color: #E8935F;
		background: rgba(28,27,25,0.62);
	}
}

.ajt-contact-hero-card:active {
	transform: translateY(0);
}

.ajt-contact-hero-card-icon {
	width: 30px;
	height: 30px;
	margin-bottom: 8px;
	color: #E8935F;
	flex-shrink: 0;
}

.ajt-contact-hero-card-icon svg {
	width: 100%;
	height: 100%;
	display: block;
}

.ajt-contact-hero-card-label {
	font-family: 'Fraunces', serif;
	font-size: 1.08rem;
	font-weight: 600;
	color: #FAF8F5;
	text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.ajt-contact-hero-card-sub {
	font-size: 0.82rem;
	color: #E3DCD1;
	text-shadow: 0 1px 8px rgba(0,0,0,0.45);
}

@media (max-width: 760px) {
	.ajt-contact-hero-channels {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 480px) {
	.ajt-contact-hero {
		min-height: 100svh;
	}

	.ajt-contact-hero-card {
		padding: 26px 18px;
	}
}

/* ==========================================================================
   Contact: Enquiry Form
   ========================================================================== */

.ajt-contact-form-section {
	padding: clamp(64px, 9vw, 120px) 0;
	background: var(--color-bg);
	box-sizing: border-box;
}

.ajt-contact-form-inner {
	max-width: 620px;
	margin: 0 auto;
	padding: 0 clamp(20px, 5vw, 32px);
	box-sizing: border-box;
}

.ajt-contact-form-intro {
	text-align: center;
	margin-bottom: clamp(40px, 6vw, 56px);
}

.ajt-contact-form-intro .ajt-section-lead {
	color: color-mix(in srgb, var(--color-text) 72%, transparent);
}

.ajt-contact-form {
	background: #FFFFFF;
	border: 1px solid var(--color-taupe);
	border-radius: 14px;
	padding: clamp(28px, 5vw, 44px);
	box-sizing: border-box;
	box-shadow: 0 20px 50px -30px rgba(28,27,25,0.25);
}

.ajt-contact-form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
}

.ajt-contact-form-field {
	position: relative;
	margin-bottom: 22px;
}

.ajt-contact-form-input {
	width: 100%;
	box-sizing: border-box;
	padding: 20px 16px 8px;
	font-size: 16px;
	font-family: 'Inter', sans-serif;
	color: var(--color-text);
	background: var(--color-bg);
	border: 1.5px solid var(--color-taupe);
	border-radius: 8px;
	transition: border-color 0.25s ease, background 0.25s ease;
}

.ajt-contact-form-input:focus {
	outline: none;
	border-color: var(--color-accent);
	background: #FFFFFF;
}

.ajt-contact-form-textarea {
	resize: vertical;
	min-height: 96px;
	padding-top: 24px;
}

.ajt-contact-form-select {
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
}

.ajt-contact-form-select-arrow {
	position: absolute;
	right: 18px;
	top: 10px;
	width: 10px;
	height: 10px;
	border-right: 2px solid var(--color-text);
	border-bottom: 2px solid var(--color-text);
	transform: rotate(45deg);
	pointer-events: none;
}

.ajt-contact-form-label {
	position: absolute;
	left: 16px;
	top: 10px;
	font-size: 16px;
	color: color-mix(in srgb, var(--color-text) 55%, transparent);
	pointer-events: none;
	transition: top 0.2s ease, font-size 0.2s ease, color 0.2s ease;
	background: transparent;
}

.ajt-contact-form-input:focus + .ajt-contact-form-label,
.ajt-contact-form-input:not(:placeholder-shown) + .ajt-contact-form-label {
	top: 6px;
	font-size: 0.72rem;
	color: var(--color-accent);
}

.ajt-contact-form-select:focus + .ajt-contact-form-label,
.ajt-contact-form-select.has-value + .ajt-contact-form-label {
	top: 6px;
	font-size: 0.72rem;
	color: var(--color-accent);
}

.ajt-contact-form-field-textarea .ajt-contact-form-label {
	top: 23px;
}

.ajt-contact-form-field-textarea .ajt-contact-form-textarea:focus + .ajt-contact-form-label,
.ajt-contact-form-field-textarea .ajt-contact-form-textarea:not(:placeholder-shown) + .ajt-contact-form-label {
	top: 6px;
}

.ajt-contact-form-error {
	display: none;
	margin-top: 6px;
	font-size: 0.78rem;
	color: #B5502C;
}

.ajt-contact-form-field.has-error .ajt-contact-form-input {
	border-color: #B5502C;
}

.ajt-contact-form-field.has-error .ajt-contact-form-error {
	display: block;
}

.ajt-contact-form-submit {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	justify-content: center;
	margin-top: 6px;
}

.ajt-contact-form-note {
	margin-top: 14px;
	text-align: center;
	font-size: 0.85rem;
	color: color-mix(in srgb, var(--color-text) 65%, transparent);
	min-height: 1.2em;
}

.ajt-contact-form-note.is-success {
	color: #3F5B45;
	font-weight: 500;
}

@media (max-width: 560px) {
	.ajt-contact-form-row {
		grid-template-columns: 1fr;
	}

	.ajt-contact-form {
		padding: 24px 20px;
		border-radius: 10px;
	}
}

/* ==========================================================================
   Contact: Location and Office Details (final section before footer)
   ========================================================================== */

.ajt-contact-location {
	background: #F1EEE9;
	padding: clamp(64px, 9vw, 120px) 0;
	box-sizing: border-box;
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.7s ease, transform 0.7s ease;
}

.ajt-contact-location.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.ajt-contact-location-inner {
	max-width: 1020px;
	margin: 0 auto;
	padding: 0 clamp(20px, 5vw, 32px);
	box-sizing: border-box;
}

.ajt-contact-location-intro {
	text-align: center;
	max-width: 560px;
	margin: 0 auto clamp(40px, 6vw, 56px);
}

.ajt-contact-location-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	align-items: stretch;
}

.ajt-contact-location-card {
	background: #FFFFFF;
	border: 1px solid var(--color-taupe);
	border-radius: 12px;
	padding: clamp(24px, 4vw, 34px);
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 26px;
}

.ajt-contact-location-row {
	display: flex;
	gap: 16px;
	align-items: flex-start;
}

.ajt-contact-location-icon {
	width: 24px;
	height: 24px;
	flex-shrink: 0;
	color: var(--color-accent);
	margin-top: 2px;
}

.ajt-contact-location-icon svg {
	width: 100%;
	height: 100%;
	display: block;
}

.ajt-contact-location-row-text {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.ajt-contact-location-row-label {
	font-family: 'Fraunces', serif;
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--color-text);
}

.ajt-contact-location-row-value {
	font-size: 0.88rem;
	color: color-mix(in srgb, var(--color-text) 78%, transparent);
	line-height: 1.5;
}

.ajt-contact-location-link {
	display: inline-block;
	width: fit-content;
	margin-top: 2px;
	color: var(--color-accent);
	text-decoration: none;
	font-size: 0.88rem;
	font-weight: 500;
	position: relative;
	padding-bottom: 1px;
}

.ajt-contact-location-link::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 1px;
	background: var(--color-accent);
	opacity: 0.4;
	transform: scaleX(1);
	transform-origin: left;
	transition: transform 0.35s ease, opacity 0.35s ease;
}

@media (hover: hover) and (pointer: fine) {
	.ajt-contact-location-link:hover::after,
	.ajt-contact-location-link:focus-visible::after {
		opacity: 1;
		transform: scaleX(1.03);
	}
}

.ajt-contact-location-map {
	position: relative;
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid var(--color-taupe);
	aspect-ratio: 1 / 1;
}

.ajt-contact-location-map iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

@media (max-width: 800px) {
	.ajt-contact-location-grid {
		grid-template-columns: 1fr;
	}

	.ajt-contact-location-map {
		aspect-ratio: 16 / 10;
	}
}