/* ============================================================
   CONTACT MAIN: two-column grid
   (Hero dùng chung .about-hero — CSS ở about.css, không lặp lại ở đây)
   ============================================================ */

.contact-main {
	padding: 64px 0 72px;
}

.contact-grid {
	display: grid;
	grid-template-columns: 380px 1fr;
	gap: 48px;
	align-items: start;
}

@media (max-width: 991px) {
	.contact-grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}
}

@media (max-width: 767px) {
	.contact-main { padding: 44px 0 52px; }
}


/* ============================================================
   CONTACT CARDS (left column)
   ============================================================ */

.contact-info {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.contact-card {
	display: flex;
	gap: 16px;
	background: #fff;
	border: 1.5px solid var(--color-border);
	border-radius: 16px;
	padding: 20px;
	transition: border-color .2s, box-shadow .2s;
}

.contact-card:hover {
	border-color: rgba(230, 0, 126, .3);
	box-shadow: 0 4px 20px rgba(230, 0, 126, .08);
}

.contact-card__icon {
	flex-shrink: 0;
	width: 46px;
	height: 46px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.contact-card__icon--green  { background: #fce4f0; color: var(--color-primary); }
.contact-card__icon--blue   { background: #dbeafe; color: var(--color-blue); }
.contact-card__icon--orange { background: #fef3c7; color: #d97706; }
.contact-card__icon--purple { background: #ede9fe; color: #7c3aed; }

.contact-card__body { flex: 1; min-width: 0; }

.contact-card__label {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .8px;
	color: #aaa;
	margin: 0 0 6px;
}

.contact-card__value {
	font-size: 14px;
	color: var(--color-navy);
	line-height: 1.6;
	margin: 0;
}

.contact-card__link {
	display: inline-block;
	color: var(--color-navy);
	font-weight: 600;
	text-decoration: none;
	transition: color .2s;
}

.contact-card__link:hover { color: var(--color-primary); }

.contact-card__note {
	font-size: 12px;
	color: var(--color-primary);
	font-weight: 600;
	margin: 4px 0 0;
}

/* Channel chips inside phone card */
.contact-card__channels {
	display: flex;
	gap: 8px;
	margin-top: 8px;
	flex-wrap: wrap;
}

.contact-card__channel {
	display: inline-flex;
	align-items: center;
	font-size: 12px;
	font-weight: 700;
	padding: 4px 12px;
	border-radius: 50px;
	text-decoration: none;
	transition: opacity .2s;
}

.contact-card__channel:hover { opacity: .85; }

.contact-card__channel--zalo      { background: #0068ff; color: #fff; }
.contact-card__channel--messenger { background: #0084ff; color: #fff; }

/* Social links */
.contact-social {
	padding: 16px 20px;
	background: #f9f7f8;
	border-radius: 14px;
}

.contact-social__label {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .8px;
	color: #aaa;
	margin: 0 0 12px;
}

.contact-social__links {
	display: flex;
	gap: 10px;
}

.contact-social__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: #fff;
	color: var(--color-navy);
	border: 1.5px solid var(--color-border);
	transition: background .2s, border-color .2s, color .2s;
}

.contact-social__link:hover {
	background: var(--color-primary);
	border-color: var(--color-primary);
	color: #fff;
}


/* ============================================================
   CONTACT FORM (right column)
   ============================================================ */

.contact-form-wrap {
	background: #fff;
	border: 1.5px solid var(--color-border);
	border-radius: 20px;
	padding: 40px;
	box-shadow: 0 8px 40px rgba(0, 0, 0, .05);
}

.contact-form-header {
	margin-bottom: 28px;
	padding-bottom: 24px;
	border-bottom: 1px solid #f0f0f0;
}

.contact-form-header__title {
	font-size: 1.5rem;
	font-weight: 800;
	color: var(--color-navy);
	margin: 0 0 8px;
}

.contact-form-header__subtitle {
	font-size: 14px;
	color: #888;
	margin: 0;
	line-height: 1.6;
}

@media (max-width: 575px) {
	.contact-form-wrap { padding: 24px; border-radius: 14px; }
}


/* ============================================================
   CONTACT FORM 7 — style overrides
   ============================================================ */

.contact-form-body .wpcf7 { margin: 0 !important; }

.contact-form-body .wpcf7-form p {
	margin: 0 0 18px !important;
}

.contact-form-body .wpcf7-form label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: #555;
	margin-bottom: 6px;
}

.contact-form-body .wpcf7-form input[type="text"],
.contact-form-body .wpcf7-form input[type="email"],
.contact-form-body .wpcf7-form input[type="tel"],
.contact-form-body .wpcf7-form select,
.contact-form-body .wpcf7-form textarea {
	width: 100%;
	border: 1.5px solid #e0e0e0;
	border-radius: 10px;
	padding: 12px 16px;
	font-size: 14px;
	font-family: inherit;
	color: var(--color-navy);
	background: #fafafa;
	transition: border-color .2s, box-shadow .2s, background .2s;
	box-sizing: border-box;
	outline: none;
}

.contact-form-body .wpcf7-form input:focus,
.contact-form-body .wpcf7-form select:focus,
.contact-form-body .wpcf7-form textarea:focus {
	border-color: var(--color-primary);
	background: #fff;
	box-shadow: 0 0 0 3px rgba(230, 0, 126, .12);
}

.contact-form-body .wpcf7-form textarea {
	min-height: 140px;
	resize: vertical;
}

/* Validation error */
.contact-form-body .wpcf7-not-valid {
	border-color: #f56565 !important;
}

.contact-form-body .wpcf7-not-valid-tip {
	font-size: 12px;
	color: #e53e3e;
	margin-top: 4px;
	display: block;
}

/* Submit button */
.contact-form-body .wpcf7-form input[type="submit"],
.contact-form-body .wpcf7-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 14px 32px;
	background: var(--color-primary);
	color: #fff;
	border: none;
	border-radius: 50px;
	font-size: 15px;
	font-weight: 700;
	font-family: inherit;
	cursor: pointer;
	transition: background .2s, transform .15s;
	box-sizing: border-box;
}

.contact-form-body .wpcf7-form input[type="submit"]:hover,
.contact-form-body .wpcf7-submit:hover {
	background: var(--color-primary-dark);
	transform: translateY(-1px);
}

.contact-form-body .wpcf7-form input[type="submit"]:disabled,
.contact-form-body .wpcf7-submit.wpcf7-spinner-active {
	opacity: .65;
	cursor: not-allowed;
	transform: none;
}

/* Response output */
.contact-form-body .wpcf7-response-output {
	margin: 16px 0 0 !important;
	padding: 12px 18px !important;
	border-radius: 10px !important;
	font-size: 14px !important;
	border: none !important;
}

.contact-form-body .wpcf7-form.sent .wpcf7-response-output {
	background: #fce4f0;
	color: var(--color-primary-dark);
}

.contact-form-body .wpcf7-form.failed .wpcf7-response-output,
.contact-form-body .wpcf7-form.invalid .wpcf7-response-output {
	background: #fee2e2;
	color: #991b1b;
}

/* Spinner */
.contact-form-body .wpcf7-spinner {
	display: none !important;
}


/* ============================================================
   TRUST BAR
   ============================================================ */

.contact-trust {
	background: #f9f7f8;
	border-top: 1px solid var(--color-border);
	padding: 28px 0;
}

.contact-trust__inner {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 32px;
}

.contact-trust__item {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	font-weight: 600;
	color: #555;
	white-space: nowrap;
}

@media (max-width: 767px) {
	.contact-trust__inner {
		gap: 20px;
		justify-content: flex-start;
	}

	.contact-trust__item { white-space: normal; }
}
