/**
 * ADM agency Contact page — layout from agency_contact_mockup_vi.
 * Loaded only on the WordPress page with slug `contact` (see also `lien-he`).
 *
 * @package adm-theme
 */

:root {
	--bg: #f6f3ee;
	--surface: #fffaf4;
	--text: #141414;
	--muted: #6f6a64;
	--line: #e7ddd0;
	--accent: #ef7d32;
	--accent-dark: #d86417;
	--dark: #171717;
	--max: 1200px;
	--shadow: 0 18px 50px rgba(20, 20, 20, 0.08);
	--shadow-hover: 0 30px 70px rgba(20, 20, 20, 0.14);
	--ease-premium: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
	box-sizing: border-box;
}
html {
	scroll-behavior: smooth;
}
body {
	margin: 0;
	font-family: Nunito, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	color: var(--text);
	background: #fff url("../images/site-bg.png") repeat fixed;
	line-height: 1.5;
	overflow-x: hidden;
}
body.lock-scroll {
	overflow: hidden;
}
a {
	color: inherit;
	text-decoration: none;
}
img {
	max-width: 100%;
	display: block;
}
input,
textarea,
select,
button {
	font: inherit;
}
.container {
	width: min(var(--max), calc(100% - 48px));
	margin: 0 auto;
}

.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	z-index: 70;
	backdrop-filter: blur(16px);
	background: rgba(246, 243, 238, 0.86);
	border-bottom: 1px solid rgba(231, 221, 208, 0.95);
}
.site-header.scrolled {
	background: rgba(246, 243, 238, 0.92);
}
.header-inner {
	min-height: 88px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}
.logo {
	font-size: 1.4rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	color: var(--text);
}
.nav {
	display: flex;
	align-items: center;
	gap: 32px;
}
.nav-links {
	display: flex;
	gap: 28px;
	font-size: 0.95rem;
}
.nav-links a {
	color: var(--text);
	transition: opacity 0.3s ease;
}
.nav-links a:hover {
	opacity: 0.65;
}
.header-actions {
	display: flex;
	align-items: center;
	gap: 14px;
}
.lang-switch {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 14px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.72);
	font-size: 0.9rem;
	color: var(--text);
}
.lang-switch .active {
	font-weight: 700;
}
.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 50px;
	padding: 0 22px;
	border-radius: 999px;
	border: 1px solid transparent;
	font-weight: 700;
	cursor: pointer;
	transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.button.primary {
	background: var(--accent);
	color: #fff;
	box-shadow: 0 12px 24px rgba(239, 125, 50, 0.24);
}
.button.primary:hover {
	background: var(--accent-dark);
	transform: translateY(-2px);
}
.button.ghost {
	background: #fff;
	color: var(--text);
	border-color: var(--line);
}
.button.ghost:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(20, 20, 20, 0.08);
}
.header-cta {
	min-height: 44px;
	padding: 0 18px;
}
.menu-toggle {
	display: none;
	width: 46px;
	height: 46px;
	border-radius: 999px;
	border: 1px solid var(--line);
	background: rgba(255, 255, 255, 0.75);
	color: var(--text);
	align-items: center;
	justify-content: center;
	cursor: pointer;
	position: relative;
	z-index: 2;
}
.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
	content: "";
	position: absolute;
	width: 18px;
	height: 2px;
	background: currentColor;
	transition: transform 0.35s ease, opacity 0.35s ease;
}
.menu-toggle::before {
	transform: translateY(-6px);
}
.menu-toggle::after {
	transform: translateY(6px);
}
.menu-toggle.active span {
	opacity: 0;
}
.menu-toggle.active::before {
	transform: rotate(45deg);
}
.menu-toggle.active::after {
	transform: rotate(-45deg);
}
.mobile-nav {
	display: none;
}

section {
	padding: 96px 0;
}
.reveal {
	opacity: 0;
	transform: translate3d(0, 32px, 0);
	transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in-view {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	.reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

.contact-hero {
	padding-top: 150px;
	padding-bottom: 36px;
}
.page-title {
	font-size: clamp(3rem, 7vw, 5.8rem);
	line-height: 0.92;
	letter-spacing: -0.05em;
	color: var(--accent);
	margin: 0 0 18px;
	text-transform: uppercase;
}
.page-sub {
	max-width: 820px;
	color: var(--muted);
	font-size: 1.08rem;
	line-height: 1.72;
}

.contact-layout {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: 30px;
	align-items: start;
}
.contact-info-card,
.contact-form-card {
	background: rgba(255, 255, 255, 0.82);
	border: 1px solid var(--line);
	border-radius: 34px;
	box-shadow: var(--shadow);
}
.contact-info-card {
	padding: 32px;
}
.info-title {
	font-size: 1rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--accent);
	font-weight: 800;
	margin-bottom: 18px;
}
.company-name {
	font-size: clamp(2rem, 3.2vw, 3rem);
	line-height: 0.95;
	letter-spacing: -0.04em;
	margin: 0 0 20px;
}
.info-stack {
	display: grid;
	gap: 18px;
	margin-bottom: 24px;
}
.info-item strong {
	display: block;
	margin-bottom: 6px;
	font-size: 0.92rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--muted);
}
.info-item div,
.info-item a {
	font-size: 1.02rem;
	line-height: 1.65;
	color: var(--text);
}
.map-card {
	border: 1px solid var(--line);
	border-radius: 22px;
	overflow: hidden;
	background: #fff;
	min-height: 260px;
}
.map-card iframe {
	width: 100%;
	height: 100%;
	min-height: 260px;
	border: 0;
}

.contact-form-card {
	padding: 34px;
}
.form-eyebrow {
	font-size: 1rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--accent);
	font-weight: 800;
	margin-bottom: 14px;
}
.form-headline {
	font-size: clamp(1rem, 2.4vw, 1rem);
	line-height: 1.3;
	margin: 0 0 28px;
	max-width: 760px;
}
.contact-form {
	display: grid;
	gap: 22px;
}
.form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}
.field {
	display: grid;
	gap: 10px;
}
.field label {
	font-size: 1rem;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: #3d3d3d;
}
.field .hint {
	color: #8d8d8d;
	font-size: 0.95rem;
	text-transform: none;
	font-weight: 500;
}
.input,
.textarea,
.select {
	width: 100%;
	border: 0;
	background: #2f2f31;
	color: #fff;
	border-radius: 0;
	padding: 16px 16px;
	min-height: 58px;
}
.textarea {
	min-height: 128px;
	resize: vertical;
}
.section-divider {
	height: 1px;
	background: rgba(239, 125, 50, 0.55);
	margin: 6px 0 2px;
}
.budget-wrap {
	max-width: 240px;
}
.select-wrap {
	position: relative;
}
.select {
	appearance: none;
	padding-right: 48px;
	color: #cfcfcf;
}
.select-wrap::after {
	content: "\2304";
	position: absolute;
	right: 18px;
	top: 50%;
	transform: translateY(-54%);
	color: #fff;
	font-size: 1.5rem;
	pointer-events: none;
}
.submit-wrap {
	display: flex;
	justify-content: flex-start;
	padding-top: 10px;
}
.submit-btn {
	min-width: 128px;
	min-height: 58px;
	border: 0;
	background: #ef3d26;
	color: #fff;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	cursor: pointer;
}
.submit-btn:hover {
	background: #d7311c;
}

/* Contact Form 7 inside contact card (same layout as static .contact-form) */
.contact-form-card .wpcf7 {
	margin: 0;
}
.contact-form-card .wpcf7 > form.wpcf7-form,
.contact-form-card .wpcf7 form.wpcf7-form {
	display: grid;
	gap: 22px;
	margin: 0;
}
.contact-form-card .wpcf7-form p {
	margin: 0;
}
.contact-form-card .wpcf7 .form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}
.contact-form-card .wpcf7 .form-row .field {
	margin: 0;
}
.contact-form-card .wpcf7 input[type="text"],
.contact-form-card .wpcf7 input[type="email"],
.contact-form-card .wpcf7 input[type="url"],
.contact-form-card .wpcf7 input[type="number"],
.contact-form-card .wpcf7 textarea,
.contact-form-card .wpcf7 select {
	width: 100%;
	border: 0;
	background: #2f2f31;
	color: #fff;
	border-radius: 0;
	padding: 16px 16px;
	min-height: 58px;
	font: inherit;
	box-sizing: border-box;
}
.contact-form-card .wpcf7 textarea {
	min-height: 128px;
	resize: vertical;
}
.contact-form-card .wpcf7 select {
	appearance: none;
	padding-right: 48px;
	color: #cfcfcf;
}
.contact-form-card .wpcf7 .select-wrap {
	position: relative;
}
.contact-form-card .wpcf7 .select-wrap::after {
	content: "\2304";
	position: absolute;
	right: 18px;
	top: 50%;
	transform: translateY(-54%);
	color: #fff;
	font-size: 1.5rem;
	pointer-events: none;
}
.contact-form-card .wpcf7 input::placeholder,
.contact-form-card .wpcf7 textarea::placeholder {
	color: rgba(255, 255, 255, 0.55);
}
.contact-form-card .wpcf7 input[type="submit"].submit-btn,
.contact-form-card .wpcf7 input.wpcf7-submit {
	min-width: 128px;
	min-height: 58px;
	border: 0;
	background: #ef3d26;
	color: #fff;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	cursor: pointer;
	padding: 0 24px;
}
.contact-form-card .wpcf7 input[type="submit"].submit-btn:hover,
.contact-form-card .wpcf7 input.wpcf7-submit:hover {
	background: #d7311c;
}
.contact-form-card .wpcf7 .wpcf7-not-valid-tip {
	margin-top: 6px;
	font-size: 0.9rem;
	color: #c62828;
}
.contact-form-card .wpcf7 .wpcf7-response-output {
	margin: 12px 0 0;
	padding: 12px 14px;
	border-radius: 12px;
	font-size: 0.95rem;
}

.site-footer {
	background: #f0e6da;
	border-top: 1px solid #e0d3c4;
	padding: 54px 0 60px;
}
.footer-grid {
	display: grid;
	grid-template-columns: 1.35fr 0.8fr 0.8fr 1fr;
	gap: 28px;
	padding-bottom: 26px;
}
.footer-col {
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-width: 0;
}
.footer-title {
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	margin-bottom: 6px;
}
.footer-cta-text {
	font-size: 1.5rem;
	line-height: 1.1;
	letter-spacing: -0.03em;
	font-weight: 700;
	margin-bottom: 8px;
}
.footer-item,
.footer-link {
	color: var(--muted);
}
.footer-link:hover {
	color: var(--text);
}
.footer-map {
	min-height: 180px;
	border: 1px solid var(--line);
	border-radius: 18px;
	background: linear-gradient(180deg, #fff, #fbf7f2);
	overflow: hidden;
}
.footer-map iframe {
	width: 100%;
	height: 100%;
	min-height: 180px;
	border: 0;
}
.footer-bottom {
	border-top: 1px solid #e0d3c4;
	padding-top: 18px;
	color: var(--muted);
	font-size: 0.92rem;
}

@media (max-width: 1199px) {
	.footer-grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 991px) {
	.container {
		width: min(var(--max), calc(100% - 40px));
	}
	.contact-layout,
	.form-row,
	.contact-form-card .wpcf7 .form-row {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 767px) {
	.container {
		width: calc(100% - 32px);
	}
	.header-inner {
		min-height: 76px;
		gap: 12px;
	}
	.nav-links,
	.lang-switch,
	.header-cta {
		display: none;
	}
	.menu-toggle {
		display: inline-flex;
	}
	.mobile-nav {
		display: flex;
		position: fixed;
		inset: 0;
		z-index: 65;
		background: rgba(17, 17, 17, 0.94);
		backdrop-filter: blur(16px);
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		transition: opacity 0.45s var(--ease-premium), visibility 0.45s var(--ease-premium);
	}
	.mobile-nav.open {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
	}
	.mobile-nav-inner {
		width: 100%;
		padding: 108px 24px 40px;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
	}
	.mobile-links {
		display: grid;
		gap: 20px;
		font-size: 1.5rem;
		letter-spacing: -0.03em;
		color: #fff;
	}
	.mobile-bottom {
		display: grid;
		gap: 16px;
	}
	.mobile-lang {
		color: rgba(255, 255, 255, 0.76);
		border: 1px solid rgba(255, 255, 255, 0.14);
		border-radius: 999px;
		padding: 12px 16px;
		width: fit-content;
	}
	section {
		padding: 72px 0;
	}
	.contact-hero {
		padding-top: 124px;
	}
	.page-title {
		font-size: 2.45rem;
	}
	.contact-form-card,
	.contact-info-card {
		padding: 24px;
	}
	.footer-grid {
		grid-template-columns: 1fr;
	}
	.footer-cta-text {
		font-size: 1.3rem;
	}
}

/* WordPress shell (logo, lang switch, main width) */
.lang-switch a {
	color: inherit;
	text-decoration: none;
}
.lang-switch a:hover {
	opacity: 0.85;
}
.mobile-bottom .lang-switch {
	color: rgba(255, 255, 255, 0.76);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 999px;
	padding: 12px 16px;
	width: fit-content;
}
.logo-wrap {
	display: flex;
	align-items: center;
}
.site-header .logo {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
}
.site-header .logo img,
.site-header .logo .adm-theme-logo-img {
	max-height: 44px;
	width: auto;
	height: auto;
	display: block;
}
.site-header .logo .custom-logo-link {
	display: inline-flex;
	align-items: center;
}
.site-header .logo.custom-logo-link img,
.site-header .logo .custom-logo-link img {
	max-height: 44px;
	width: auto;
	height: auto;
	display: block;
}
.site-header .logo .logo-text {
	font-size: 1.4rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	color: inherit;
	text-decoration: none;
}
.footer-logo .footer-logo-link,
.footer-logo .custom-logo-link {
	display: inline-flex;
	align-items: center;
}
.footer-logo .footer-logo-link img,
.footer-logo .custom-logo-link img,
.footer-logo .adm-theme-footer-logo-img {
	max-height: 48px;
	width: auto;
}
.adm-main .adm-page-entry {
	max-width: none;
	margin: 0;
	padding: 0;
}
body.admin-bar .site-header {
	top: 32px;
}
@media screen and (max-width: 782px) {
	body.admin-bar .site-header {
		top: 46px;
	}
}

.nav-links .nav-links-menu,
.nav-links > ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 28px;
	font-size: inherit;
	align-items: center;
	flex-wrap: wrap;
}
.nav-links .nav-links-menu .menu-item,
.nav-links > ul > li {
	margin: 0;
}
.mobile-links .mobile-links-menu,
.mobile-links > ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 20px;
}
.mobile-links .mobile-links-menu .menu-item,
.mobile-links > ul > li {
	margin: 0;
}
.footer-shell-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.footer-shell-menu .menu-item {
	margin: 0;
}
