/* ==========================================================================
   Contact Page Styles — Nguyễn Hà Bằng Theme (template-lien-he.php)
   Dùng chung breadcrumb, .nhb-shell và sidebar với archive.css.
   ========================================================================== */

.nhb-contact {
	padding: 0 0 80px;
}

.nhb-contact .nhb-shell {
	max-width: 1400px;
}

.nhb-contact-heading {
	font-family: "Playfair Display", Georgia, "Times New Roman", serif;
	font-size: clamp(26px, 2.4vw, 34px);
	font-weight: 700;
	color: #2e1758;
	margin: 0 0 6px;
	line-height: 1.2;
}

.nhb-contact-sub {
	font-size: 15px;
	color: #646da0;
	margin: 0 0 26px;
	line-height: 1.6;
}

/* --- Hero --------------------------------------------------------------- */
.nhb-contact-hero {
	position: relative;
	padding: 72px 0 72px;
	min-height: 0;
	background-size: cover;
	background-position: right center;
	background-repeat: no-repeat;
	background-color: #f6efe4;
}

.nhb-contact-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(253, 249, 243, 1) 0%, rgba(253, 249, 243, 0.96) 45%, rgba(253, 249, 243, 0.5) 62%, rgba(253, 249, 243, 0) 82%);
}

.nhb-contact-hero .nhb-shell {
	position: relative;
	z-index: 1;
}

.nhb-contact-hero__crumbs {
	margin-bottom: 48px;
}

.nhb-contact-hero__title {
	margin: 0 0 14px;
	font-family: "Playfair Display", Georgia, "Times New Roman", serif;
	font-size: clamp(36px, 4.2vw, 60px);
	font-weight: 800;
	line-height: 1.12;
	color: #2e1758;
}

.nhb-contact-hero__title span {
	display: block;
}

.nhb-contact-hero__title em {
	display: block;
	margin-top: 24px;
	font-style: normal;
	color: #c3791a;
}

.nhb-contact-hero__desc {
	max-width: 560px;
	font-size: 17px;
	line-height: 1.65;
	color: #334e8f;
	margin: 0 0 30px;
}

.nhb-contact-hero__badges {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 22px 36px;
}

.nhb-contact-hero__badges li {
	display: flex;
	align-items: center;
	gap: 12px;
}

.nhb-contact-hero__badge-icon {
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: #ffffff;
	color: #d3923a;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 14px rgba(211, 146, 58, 0.15);
	flex-shrink: 0;
}

.nhb-contact-hero__badge-icon svg {
	width: 22px;
	height: 22px;
}

.nhb-contact-hero__badges strong {
	display: block;
	font-size: 14.5px;
	color: #2e1758;
	font-weight: 700;
}

.nhb-contact-hero__badges small {
	display: block;
	font-size: 13px;
	color: #646da0;
}

/* --- Body --------------------------------------------------------------- */
.nhb-contact-body {
	margin-top: 36px;
}

/* Form + quote */
.nhb-contact-form-card {
	display: grid;
	grid-template-columns: 1fr 440px;
	gap: 40px;
	background: #ffffff;
	border: 1px solid #f1f5f9;
	border-radius: 20px;
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.04);
	padding: 40px;
	margin-bottom: 56px;
}

.nhb-contact-form-card__quote {
	margin: 0;
	border-radius: 16px;
	overflow: hidden;
	align-self: stretch;
}

.nhb-contact-form-card__quote img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Contact cards */
.nhb-contact-info {
	margin-bottom: 56px;
}

.nhb-contact-cards {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

.nhb-contact-card {
	background: #ffffff;
	border: 1px solid #f1f5f9;
	border-radius: 16px;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
	padding: 24px 22px;
}

.nhb-contact-card__icon {
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: #fef3de;
	color: #d3923a;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 14px;
}

.nhb-contact-card__icon svg {
	width: 22px;
	height: 22px;
}

.nhb-contact-card h3 {
	font-family: "Montserrat", sans-serif;
	font-size: 15px;
	font-weight: 700;
	color: #2e1758;
	margin: 0 0 8px;
}

.nhb-contact-card__main {
	display: block;
	font-size: 15px;
	font-weight: 600;
	color: #2e1758;
	text-decoration: none;
	line-height: 1.5;
	margin-bottom: 4px;
	word-break: break-word;
}

a.nhb-contact-card__main:hover {
	color: #c3791a;
}

.nhb-contact-card p {
	margin: 0;
	font-size: 13px;
	color: #646da0;
	line-height: 1.55;
}

/* Location */
.nhb-contact-location {
	display: grid;
	grid-template-columns: 420px 1fr;
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.05);
	margin-bottom: 64px;
	background: #ffffff;
}

.nhb-contact-location__info {
	background: #fdf7ee;
	padding: 36px 36px;
	display: flex;
	flex-direction: column;
}

.nhb-contact-location__info .nhb-contact-heading {
	margin-bottom: 26px;
}

.nhb-contact-location__addr {
	display: flex;
	gap: 14px;
	margin-bottom: 28px;
}

.nhb-contact-location__addr svg {
	width: 24px;
	height: 24px;
	color: #d3923a;
	flex-shrink: 0;
	margin-top: 2px;
}

.nhb-contact-location__addr strong {
	display: block;
	font-size: 15.5px;
	color: #2e1758;
	line-height: 1.5;
	margin-bottom: 8px;
}

.nhb-contact-location__addr p {
	margin: 0;
	font-size: 14px;
	color: #646da0;
	line-height: 1.6;
}

.nhb-contact-location__btn {
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 22px;
	border-radius: 999px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	color: #2e1758;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: border-color 0.2s ease, color 0.2s ease;
}

.nhb-contact-location__btn svg {
	width: 17px;
	height: 17px;
}

.nhb-contact-location__btn:hover {
	background: #f3edfc;
	border-color: #2e1758;
	color: #2e1758;
}

.nhb-contact-location__map {
	min-height: 380px;
}

.nhb-contact-location__map iframe {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 380px;
	border: 0;
}

/* Reasons */
.nhb-contact-reasons {
	text-align: center;
}

.nhb-contact-reasons__line {
	display: block;
	width: 44px;
	height: 3px;
	margin: 0 auto 18px;
	border-radius: 2px;
	background: #d3923a;
}

.nhb-contact-reasons h2 {
	font-family: "Playfair Display", Georgia, "Times New Roman", serif;
	font-size: clamp(24px, 2.3vw, 32px);
	font-weight: 700;
	color: #2e1758;
	margin: 0 0 36px;
}

.nhb-contact-reasons__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	text-align: left;
}

.nhb-contact-reason {
	display: flex;
	gap: 14px;
	align-items: flex-start;
}

.nhb-contact-reason__icon {
	width: 54px;
	height: 54px;
	border-radius: 50%;
	background: #fef3de;
	color: #d3923a;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.nhb-contact-reason__icon svg {
	width: 24px;
	height: 24px;
}

.nhb-contact-reason strong {
	display: block;
	font-size: 15px;
	color: #2e1758;
	margin-bottom: 6px;
	line-height: 1.4;
}

.nhb-contact-reason p {
	margin: 0;
	font-size: 13.5px;
	color: #646da0;
	line-height: 1.6;
}

/* --- Responsive --------------------------------------------------------- */
@media (max-width: 1280px) {
	.nhb-contact-form-card {
		grid-template-columns: 1fr 360px;
	}
}

@media (max-width: 1080px) {
	.nhb-contact-form-card {
		grid-template-columns: 1fr;
	}

	.nhb-contact-form-card__quote {
		display: none;
	}

	.nhb-contact-cards,
	.nhb-contact-reasons__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.nhb-contact-location {
		grid-template-columns: 1fr;
	}

	.nhb-contact-location__map,
	.nhb-contact-location__map iframe {
		min-height: 320px;
	}
}

@media (max-width: 768px) {
	.nhb-contact-hero {
		padding: 20px 0 280px;
		background-position: center bottom;
	}

	.nhb-contact-hero::before {
		background: linear-gradient(180deg, #fdf9f3 0%, #fdf9f3 60%, rgba(253, 249, 243, 0.6) 80%, rgba(253, 249, 243, 0) 100%);
	}

	.nhb-contact-hero__crumbs {
		margin-bottom: 24px;
	}

	.nhb-contact-form-card {
		padding: 24px 20px;
	}
}

@media (max-width: 640px) {
	.nhb-contact-cards,
	.nhb-contact-reasons__grid {
		grid-template-columns: 1fr;
	}
}
