/* ==================================================
   Chandel Realty — Contact Page
================================================== */

.cr-contact-page {
	background: #ffffff;
	color: #172234;
	overflow: hidden;
}

.cr-contact-page *,
.cr-contact-page *::before,
.cr-contact-page *::after {
	box-sizing: border-box;
}

.cr-contact-page .cr-container {
	width: min(1180px, calc(100% - 40px));
	margin-inline: auto;
}

.cr-contact-page h1,
.cr-contact-page h2,
.cr-contact-page h3,
.cr-contact-page p {
	margin-top: 0;
}

.cr-contact-page h1,
.cr-contact-page h2,
.cr-contact-page h3 {
	color: #102033;
	line-height: 1.15;
}

.cr-contact-page p {
	color: #647184;
	line-height: 1.75;
}

.cr-contact-page .cr-section-label {
	display: inline-block;
	margin-bottom: 14px;
	color: #b18432;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}


/* Buttons */

.cr-contact-page .cr-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	padding: 13px 24px;
	border: 1px solid transparent;
	border-radius: 7px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	transition:
		transform 0.25s ease,
		background-color 0.25s ease,
		border-color 0.25s ease;
}

.cr-contact-page .cr-btn:hover {
	transform: translateY(-2px);
}


/* Hero */

.cr-contact-hero {
	position: relative;
	padding: 105px 0 100px;
	background:
		radial-gradient(
			circle at 82% 20%,
			rgba(177, 132, 50, 0.17),
			transparent 28%
		),
		linear-gradient(135deg, #f8f6f1 0%, #ffffff 68%);
}

.cr-contact-hero::after {
	position: absolute;
	top: 50%;
	right: 9%;
	width: 260px;
	height: 260px;
	border: 1px solid rgba(177, 132, 50, 0.22);
	border-radius: 50%;
	content: "";
	transform: translateY(-50%);
}

.cr-contact-hero .cr-container {
	position: relative;
	z-index: 2;
}

.cr-contact-hero h1 {
	max-width: 800px;
	margin-bottom: 22px;
	font-size: clamp(42px, 5.5vw, 70px);
	letter-spacing: -0.04em;
}

.cr-contact-hero p {
	max-width: 680px;
	margin-bottom: 0;
	font-size: 18px;
}


/* Main Contact Section */

.cr-contact-main {
	padding: 100px 0;
}

.cr-contact-main > .cr-container {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	align-items: start;
	gap: 75px;
}

.cr-contact-details h2,
.cr-contact-form-wrap > h2 {
	margin-bottom: 18px;
	font-size: clamp(32px, 4vw, 48px);
}

.cr-contact-details__intro,
.cr-contact-form-wrap > p {
	margin-bottom: 32px;
	font-size: 16px;
}


/* Contact Cards */

.cr-contact-cards {
	display: grid;
	gap: 14px;
	margin-bottom: 28px;
}

.cr-contact-card {
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 19px 20px;
	border: 1px solid #e2e6eb;
	border-radius: 12px;
	background: #ffffff;
	color: #102033;
	text-decoration: none;
	transition:
		transform 0.25s ease,
		border-color 0.25s ease,
		box-shadow 0.25s ease;
}

a.cr-contact-card:hover {
	transform: translateY(-3px);
	border-color: rgba(177, 132, 50, 0.55);
	box-shadow: 0 15px 35px rgba(16, 32, 51, 0.08);
	color: #102033;
}

.cr-contact-card__icon {
	display: flex;
	flex: 0 0 48px;
	width: 48px;
	height: 48px;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	background: rgba(177, 132, 50, 0.12);
}

.cr-contact-card__icon svg {
	width: 24px;
	height: 24px;
	fill: none;
	stroke: #a77b2d;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.7;
}

.cr-contact-card small,
.cr-contact-card strong {
	display: block;
}

.cr-contact-card small {
	margin-bottom: 3px;
	color: #7a8593;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.cr-contact-card strong {
	color: #102033;
	font-size: 16px;
	line-height: 1.4;
	overflow-wrap: anywhere;
}

.cr-contact-note {
	padding: 22px 24px;
	border-left: 4px solid #b18432;
	border-radius: 0 10px 10px 0;
	background: #f7f5f0;
}

.cr-contact-note strong {
	display: block;
	margin-bottom: 5px;
	color: #102033;
}

.cr-contact-note p {
	margin-bottom: 0;
	font-size: 14px;
}


/* Form Container */

.cr-contact-form-wrap {
	padding: 42px;
	border: 1px solid #e2e6eb;
	border-radius: 20px;
	background: #ffffff;
	box-shadow: 0 25px 65px rgba(16, 32, 51, 0.1);
}

.cr-contact-form-wrap > h2 {
	font-size: clamp(30px, 3.5vw, 42px);
}


/* Form Messages */

.cr-form-message {
	margin-bottom: 25px;
	padding: 15px 17px;
	border-radius: 8px;
	font-size: 14px;
	line-height: 1.6;
}

.cr-form-message--success {
	border: 1px solid #a7d8b2;
	background: #edf9f0;
	color: #246835;
}

.cr-form-message--error {
	border: 1px solid #e7b5b5;
	background: #fff1f1;
	color: #9d3030;
}


/* Form Fields */

.cr-contact-form {
	position: relative;
}

.cr-form-row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.cr-form-field {
	margin-bottom: 19px;
}

.cr-form-field label {
	display: block;
	margin-bottom: 7px;
	color: #25364a;
	font-size: 14px;
	font-weight: 700;
}

.cr-form-field label span {
	color: #b18432;
}

.cr-form-field input,
.cr-form-field select,
.cr-form-field textarea {
	display: block;
	width: 100%;
	margin: 0;
	border: 1px solid #d9dfe5;
	border-radius: 8px;
	outline: none;
	background: #ffffff;
	color: #172234;
	font-family: inherit;
	font-size: 15px;
	transition:
		border-color 0.2s ease,
		box-shadow 0.2s ease;
}

.cr-form-field input,
.cr-form-field select {
	height: 50px;
	padding: 0 14px;
}

.cr-form-field textarea {
	min-height: 130px;
	padding: 13px 14px;
	resize: vertical;
}

.cr-form-field input:focus,
.cr-form-field select:focus,
.cr-form-field textarea:focus {
	border-color: #b18432;
	box-shadow: 0 0 0 3px rgba(177, 132, 50, 0.13);
}

.cr-form-field input::placeholder,
.cr-form-field textarea::placeholder {
	color: #9aa3ad;
}


/* Consent */

.cr-form-consent {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 2px 0 22px;
	color: #5e6b7c;
	font-size: 13px;
	line-height: 1.55;
	cursor: pointer;
}

.cr-form-consent input {
	flex: 0 0 auto;
	width: 17px;
	height: 17px;
	margin-top: 2px;
	accent-color: #b18432;
}


/* Submit Button */

.cr-contact-form__submit {
	display: inline-flex;
	width: 100%;
	min-height: 52px;
	align-items: center;
	justify-content: center;
	padding: 13px 22px;
	border: 0;
	border-radius: 8px;
	background: #102033;
	color: #ffffff;
	font-family: inherit;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	transition:
		transform 0.25s ease,
		background-color 0.25s ease;
}

.cr-contact-form__submit:hover {
	transform: translateY(-2px);
	background: #b18432;
}

.cr-contact-form__privacy {
	margin: 13px 0 0;
	color: #89929e;
	font-size: 12px;
	text-align: center;
}


/* Honeypot */

.cr-form-honeypot {
	position: absolute !important;
	top: -9999px !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	opacity: 0 !important;
}


/* Map */

.cr-contact-map {
	padding: 100px 0;
	background: #f7f8fa;
}

.cr-contact-map__heading {
	max-width: 700px;
	margin-bottom: 35px;
}

.cr-contact-map__heading h2 {
	margin-bottom: 10px;
	font-size: clamp(32px, 4vw, 50px);
}

.cr-contact-map__heading p {
	margin-bottom: 0;
}

.cr-contact-map__frame {
	height: 450px;
	border: 7px solid #ffffff;
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 18px 50px rgba(16, 32, 51, 0.12);
}

.cr-contact-map__frame iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}


/* Final CTA */

.cr-contact-cta {
	padding: 80px 0;
	background: #b18432;
}

.cr-contact-cta .cr-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 50px;
}

.cr-contact-cta span {
	display: block;
	margin-bottom: 10px;
	color: rgba(255, 255, 255, 0.82);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

.cr-contact-cta h2 {
	max-width: 690px;
	margin-bottom: 0;
	color: #ffffff;
	font-size: clamp(30px, 4vw, 46px);
}

.cr-contact-cta__actions {
	display: flex;
	flex-shrink: 0;
	gap: 12px;
}

.cr-contact-page .cr-btn--light {
	background: #ffffff;
	color: #102033;
}

.cr-contact-page .cr-btn--light:hover {
	background: #f3f3f3;
	color: #102033;
}

.cr-contact-page .cr-btn--outline-light {
	border-color: rgba(255, 255, 255, 0.75);
	background: transparent;
	color: #ffffff;
}

.cr-contact-page .cr-btn--outline-light:hover {
	border-color: #ffffff;
	background: #ffffff;
	color: #102033;
}


/* Tablet */

@media (max-width: 960px) {

	.cr-contact-hero {
		padding: 85px 0;
	}

	.cr-contact-main > .cr-container {
		grid-template-columns: 1fr;
		gap: 55px;
	}

	.cr-contact-cta .cr-container {
		align-items: flex-start;
		flex-direction: column;
	}
}


/* Mobile */

@media (max-width: 680px) {

	.cr-contact-page .cr-container {
		width: min(100% - 28px, 1180px);
	}

	.cr-contact-hero,
	.cr-contact-main,
	.cr-contact-map {
		padding: 70px 0;
	}

	.cr-contact-hero h1 {
		font-size: 40px;
	}

	.cr-contact-hero p {
		font-size: 16px;
	}

	.cr-contact-form-wrap {
		padding: 30px 22px;
		border-radius: 15px;
	}

	.cr-form-row {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.cr-contact-card {
		align-items: flex-start;
		padding: 17px;
	}

	.cr-contact-card__icon {
		flex-basis: 43px;
		width: 43px;
		height: 43px;
	}

	.cr-contact-map__frame {
		height: 360px;
		border-width: 5px;
	}

	.cr-contact-cta {
		padding: 65px 0;
	}

	.cr-contact-cta__actions {
		width: 100%;
		flex-direction: column;
	}

	.cr-contact-cta__actions .cr-btn {
		width: 100%;
	}
}