/**
 * Trang Liên hệ — Nước Đá 168
 */

.c168-page {
	box-sizing: border-box;
	color: var(--text-color);
	background: var(--white);
	width: 100%;
	overflow-x: hidden;
}

.c168-page *,
.c168-page *::before,
.c168-page *::after {
	box-sizing: border-box;
}

@media (max-width: 768px) {
	.c168-page {
		padding-bottom: 76px;
	}
}

/* ── Hero ── */
.c168-hero {
	position: relative;
	min-height: clamp(480px, 68vh, 620px);
	display: flex;
	align-items: center;
	background: var(--main-color) var(--c168-hero-bg) center/cover no-repeat;
	color: var(--white);
}

.c168-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(2, 27, 66, 0.93) 0%, rgba(2, 27, 66, 0.78) 50%, rgba(0, 90, 130, 0.6) 100%);
}

.c168-hero__inner {
	position: relative;
	z-index: 1;
	width: 100%;
	box-sizing: border-box;
	padding-top: clamp(88px, 11vw, 124px);
	padding-bottom: clamp(72px, 9vw, 96px);
	/* Không dùng padding shorthand — tránh ghi đè padding ngang của .container-168 */
}

.c168-hero__content {
	max-width: 760px;
}

.c168-hero__title {
	font-size: clamp(1.875rem, 4.2vw, 3rem);
	font-weight: 800;
	line-height: 1.22;
	margin: 0 0 18px;
	color: var(--white);
}

.c168-hero__desc {
	font-size: var(--font-size-base);
	line-height: 1.75;
	opacity: 0.92;
	margin: 0 0 28px;
	max-width: 620px;
}

.c168-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.c168-hero__wave {
	position: absolute;
	bottom: -1px;
	left: 0;
	width: 100%;
	line-height: 0;
}

.c168-hero__wave svg {
	display: block;
	width: 100%;
	height: 48px;
}

/* ── Quick channels ── */
.c168-channels {
	padding-top: clamp(48px, 6vw, 64px) !important;
	margin-top: -24px;
	position: relative;
	z-index: 2;
}

.c168-channels__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(14px, 2vw, 20px);
}

.c168-channel-card {
	background: var(--white);
	padding: clamp(22px, 3vw, 28px);
	border-radius: var(--radius-lg);
	border: 1px solid rgba(2, 27, 66, 0.08);
	box-shadow: var(--shadow-md);
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.c168-channel-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-card-hover);
}

.c168-channel-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	width: 100%;
	min-width: 0;
}

.c168-channel-card__icon {
	width: 50px;
	height: 50px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: var(--radius-md);
	font-size: 1.2rem;
	margin-bottom: 14px;
}

.c168-channel-card--phone .c168-channel-card__icon {
	background: rgba(0, 195, 255, 0.12);
	color: var(--accent-color);
}

.c168-channel-card--zalo .c168-channel-card__icon {
	background: rgba(0, 104, 255, 0.12);
	color: #0068ff;
}

.c168-channel-card--email .c168-channel-card__icon {
	background: rgba(2, 27, 66, 0.08);
	color: var(--main-color);
}

.c168-channel-card--quote .c168-channel-card__icon {
	background: rgba(40, 167, 69, 0.12);
	color: #28a745;
}

.c168-channel-card__title {
	font-size: var(--font-size-sm);
	font-weight: 800;
	color: var(--main-color);
	margin: 0 0 6px;
}

.c168-channel-card__value {
	font-size: clamp(1rem, 2.2vw, 1.125rem);
	font-weight: 800;
	color: var(--main-color);
	margin: 0 0 8px;
	word-break: break-word;
	letter-spacing: 0.02em;
}

.c168-channel-card--phone .c168-channel-card__value,
.c168-channel-card--zalo .c168-channel-card__value {
	font-size: clamp(1.0625rem, 2.4vw, 1.25rem);
	letter-spacing: 0.04em;
}

.c168-channel-card__desc {
	font-size: var(--font-size-xs);
	color: var(--text-muted);
	line-height: 1.55;
	margin: 0 0 auto;
	padding-bottom: 16px;
	flex: 1;
}

.c168-channel-card__btn {
	width: 100%;
	justify-content: center;
	margin-top: auto;
}

/* ── Form ── */
.c168-form-layout {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: clamp(32px, 5vw, 48px);
	align-items: start;
}

.c168-form-intro__list {
	list-style: none;
	padding: 0;
	margin: 24px 0 28px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.c168-form-intro__list li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: var(--font-size-sm);
	color: var(--text-muted);
	line-height: 1.55;
}

.c168-form-intro__list li i {
	color: var(--accent-color);
	margin-top: 3px;
	flex-shrink: 0;
}

.c168-form-intro__cta {
	padding: 18px 20px;
	background: var(--white);
	border-radius: var(--radius-md);
	border: 1px solid rgba(0, 195, 255, 0.2);
}

.c168-form-intro__cta p {
	margin: 0 0 8px;
	font-size: var(--font-size-xs);
	font-weight: 700;
	color: var(--text-muted);
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.c168-form-intro__phone {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: var(--font-size-lg);
	font-weight: 800;
	color: var(--main-color);
	text-decoration: none;
}

.c168-form-intro__phone:hover {
	color: var(--accent-color);
}

.c168-form-card {
	background: var(--white);
	padding: clamp(24px, 4vw, 36px);
	border-radius: var(--radius-lg);
	border: 1px solid rgba(2, 27, 66, 0.08);
	box-shadow: var(--shadow-md);
}

.c168-form__group {
	margin-bottom: 16px;
}

.c168-form__group label {
	display: block;
	font-size: var(--font-size-xs);
	font-weight: 700;
	color: var(--main-color);
	margin-bottom: 8px;
}

.c168-form__group label span {
	color: #e55353;
}

.c168-form__group--highlight input {
	border-color: rgba(0, 195, 255, 0.45);
	background: rgba(0, 195, 255, 0.04);
}

.c168-form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.c168-form input[type="text"],
.c168-form input[type="email"],
.c168-form input[type="tel"],
.c168-form select,
.c168-form textarea {
	width: 100%;
	padding: 14px 16px;
	border: 1px solid var(--border-light);
	border-radius: var(--radius-md);
	font-size: var(--font-size-sm);
	font-family: inherit;
	color: var(--text-color);
	background: var(--white);
	transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.c168-form select {
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23021b42' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
	padding-right: 40px;
}

.c168-form input:focus,
.c168-form select:focus,
.c168-form textarea:focus {
	outline: none;
	border-color: var(--accent-color);
	box-shadow: 0 0 0 3px rgba(0, 195, 255, 0.15);
}

.c168-form textarea {
	resize: vertical;
	min-height: 100px;
}

.c168-form__submit {
	width: 100%;
	margin-top: 8px;
	justify-content: center;
}

.c168-form .form-message {
	margin-bottom: 16px;
	margin-top: 0;
	padding: 14px 16px;
	border-radius: var(--radius-md);
	font-size: var(--font-size-sm);
	font-weight: 600;
	line-height: 1.5;
}

.c168-form .form-message--success {
	background: #d4edda;
	border: 1px solid #c3e6cb;
	color: #155724;
}

.c168-form .form-message--error {
	background: #f8d7da;
	border: 1px solid #f5c6cb;
	color: #721c24;
}

.c168-form .c168-field-error {
	border-color: #e55353 !important;
	box-shadow: 0 0 0 3px rgba(229, 83, 83, 0.15) !important;
}

/* ── Service areas ── */
.c168-areas__inner {
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: clamp(28px, 4vw, 40px);
	align-items: center;
}

.c168-areas__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.c168-area-tag {
	padding: 10px 18px;
	background: var(--bg-light);
	border: 1px solid rgba(2, 27, 66, 0.08);
	border-radius: var(--radius-pill);
	font-size: var(--font-size-xs);
	font-weight: 600;
	color: var(--main-color);
}

/* ── Stores ── */
.c168-stores__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(14px, 2vw, 18px);
}

.c168-store-card {
	display: flex;
	gap: 14px;
	padding: 18px 20px;
	background: var(--white);
	border-radius: var(--radius-md);
	border: 1px solid rgba(2, 27, 66, 0.07);
	box-shadow: var(--shadow-sm);
	transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.c168-store-card:hover {
	border-color: rgba(0, 195, 255, 0.25);
	box-shadow: var(--shadow-md);
}

.c168-store-card__icon {
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 195, 255, 0.1);
	border-radius: var(--radius-sm);
	color: var(--accent-color);
}

.c168-store-card__body h3 {
	font-size: var(--font-size-sm);
	font-weight: 700;
	color: var(--main-color);
	margin: 0 0 6px;
	line-height: 1.35;
}

.c168-store-card__body p {
	margin: 0 0 12px;
	font-size: var(--font-size-xs);
	color: var(--text-muted);
	line-height: 1.55;
}

.c168-store-card__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.c168-store-card__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.8125rem;
	font-weight: 700;
	color: var(--accent-color);
	text-decoration: none;
}

.c168-store-card__link:hover {
	color: var(--accent-hover);
}

/* ── Map ── */
.c168-map__grid {
	display: grid;
	grid-template-columns: 0.85fr 1.15fr;
	gap: clamp(28px, 4vw, 40px);
	align-items: center;
}

.c168-map__address {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: var(--font-size-sm);
	color: var(--text-muted);
	line-height: 1.6;
	margin: 20px 0;
	padding: 14px 16px;
	background: var(--bg-light);
	border-radius: var(--radius-md);
}

.c168-map__address i {
	color: var(--accent-color);
	margin-top: 3px;
}

.c168-map__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.c168-map__embed {
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-md);
	border: 1px solid var(--border-light);
	aspect-ratio: 4 / 3;
	min-height: 300px;
}

.c168-map__embed iframe {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 300px;
}

/* ── Process ── */
.c168-process__steps {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.c168-process__step {
	text-align: center;
	padding: 24px 18px;
	background: var(--white);
	border-radius: var(--radius-md);
	border: 1px solid rgba(2, 27, 66, 0.08);
	box-shadow: var(--shadow-sm);
}

.c168-process__step-num {
	font-size: var(--font-size-xs);
	font-weight: 800;
	color: var(--accent-color);
	margin-bottom: 8px;
}

.c168-process__step-icon {
	width: 48px;
	height: 48px;
	margin: 0 auto 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--main-color);
	color: var(--accent-color);
	border-radius: 50%;
	font-size: 1.1rem;
}

.c168-process__step h3 {
	font-size: var(--font-size-sm);
	font-weight: 700;
	color: var(--main-color);
	margin: 0 0 8px;
	line-height: 1.35;
}

.c168-process__step p {
	margin: 0;
	font-size: var(--font-size-xs);
	color: var(--text-muted);
	line-height: 1.55;
}

/* ── FAQ ── */
.c168-faq__list {
	max-width: 820px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.c168-faq__item {
	background: var(--white);
	border: 1px solid rgba(2, 27, 66, 0.08);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-sm);
	overflow: hidden;
}

.c168-faq__item summary {
	padding: 18px 22px;
	font-size: var(--font-size-sm);
	font-weight: 700;
	color: var(--main-color);
	cursor: pointer;
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.c168-faq__item summary::-webkit-details-marker {
	display: none;
}

.c168-faq__item summary::after {
	content: '+';
	font-size: 1.25rem;
	font-weight: 400;
	color: var(--accent-color);
	flex-shrink: 0;
}

.c168-faq__item[open] summary::after {
	content: '−';
}

.c168-faq__item p {
	margin: 0;
	padding: 0 22px 18px;
	font-size: var(--font-size-sm);
	color: var(--text-muted);
	line-height: 1.65;
}

/* ── CTA ── */
.c168-cta {
	margin-bottom: 0;
}

/* ── Mobile sticky bar (tắt trên trang liên hệ khi Minh Thắng Contact Bar bật) ── */
.nuocda-hide-contact-mobile-bar .c168-mobile-bar {
	display: none !important;
}

.c168-mobile-bar {
	display: none;
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 9998;
	padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
	background: rgba(2, 27, 66, 0.97);
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
	gap: 10px;
	grid-template-columns: 1fr 1fr;
}

.c168-mobile-bar__call,
.c168-mobile-bar__zalo {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	border-radius: var(--radius-md);
	font-weight: 700;
	font-size: var(--font-size-sm);
	text-decoration: none;
}

.c168-mobile-bar__call {
	background: var(--accent-color);
	color: var(--white);
}

.c168-mobile-bar__zalo {
	background: #0068ff;
	color: var(--white);
}

/* ── Responsive ── */
@media (max-width: 1100px) {
	.c168-channels__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.c168-form-layout,
	.c168-areas__inner,
	.c168-map__grid {
		grid-template-columns: 1fr;
	}

	.c168-stores__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.c168-process__steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 768px) {
	.c168-hero {
		min-height: auto;
	}

	.c168-hero__content {
		max-width: 100%;
	}

	.c168-hero__actions {
		flex-direction: column;
	}

	.c168-hero__actions .h168-btn {
		width: 100%;
	}

	.c168-channels__grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.c168-channel-card {
		flex-direction: row;
		align-items: flex-start;
		gap: 14px;
		padding: 16px 18px;
		border-radius: var(--radius-md);
		box-shadow: var(--shadow-sm);
	}

	.c168-channel-card:hover {
		transform: none;
		box-shadow: var(--shadow-md);
	}

	.c168-channel-card--phone {
		border-left: 3px solid var(--accent-color);
	}

	.c168-channel-card--zalo {
		border-left: 3px solid #0068ff;
	}

	.c168-channel-card--email {
		border-left: 3px solid var(--main-color);
	}

	.c168-channel-card--quote {
		border-left: 3px solid #28a745;
	}

	.c168-channel-card__icon {
		width: 44px;
		height: 44px;
		margin-bottom: 0;
		align-self: center;
		font-size: 1.05rem;
	}

	.c168-channel-card__body {
		flex: 1;
	}

	.c168-channel-card__title {
		margin: 0 0 4px;
	}

	.c168-channel-card__value {
		margin: 0 0 6px;
	}

	.c168-channel-card__desc {
		padding-bottom: 0;
		margin: 0 0 12px;
		flex: none;
	}

	.c168-channel-card__btn {
		width: auto;
		min-width: 120px;
		margin-top: 0;
		align-self: flex-start;
	}

	.c168-form__row {
		grid-template-columns: 1fr;
	}

	.c168-stores__grid {
		grid-template-columns: 1fr;
	}

	.c168-process__steps {
		grid-template-columns: 1fr;
	}

	.c168-map__actions {
		flex-direction: column;
	}

	.c168-map__actions .h168-btn {
		width: 100%;
	}

	.c168-mobile-bar {
		display: grid;
	}
}

@media (max-width: 480px) {
	.c168-areas__tags {
		gap: 8px;
	}

	.c168-area-tag {
		padding: 8px 14px;
		font-size: 0.875rem;
	}
}
