/* ==========================================================================
   Contact v2 — Full redesign (ported from contact.html prototype)
   - All rules scoped under `.contact-v2` to avoid leaking onto other pages.
   - Site nav and footer are rendered by `get_header()` / `get_footer()`,
     so no `.nav` / `footer` rules here.
   ========================================================================== */

/* Break out of the theme's default 1100px .grid-container so we get the
   same content width as home/about (max-width 1200, full-bleed sections).
   Mirror of the home-v2 / about-v2 override. */


/* Remove the 1px `rgba(0,0,0,0.08)` border around `.site-footer` — same
   reason as about-v2: the white `.site` container sits directly above
   the dark footer and the seam reads as a visible white line. */


/* Reset & globals */
.contact-v2 img { max-width: 100%; display: block; }

/* Layout helpers */


/* ==========================================================================
   HERO
   ========================================================================== */
.contact-v2 .cv2-hero {
	position: relative;
	width: 100%;
	min-height: 600px;
	display: flex;
	align-items: flex-end;
	color: #fff;
	overflow: hidden;
	background: #0a0a0a;
	padding: 0 0 60px;
	margin-top: -80px;
}
.contact-v2 .cv2-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	background: linear-gradient(180deg, rgba(10,10,10,.7) 0%, rgba(10,10,10,.85) 100%);
}
.contact-v2 .cv2-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	background: radial-gradient(ellipse at 80% 40%, rgba(196,47,47,.25), transparent 55%);
	pointer-events: none;
}
.contact-v2 .cv2-hero-inner {
	position: relative;
	z-index: 1;
	max-width: var(--max);
	margin: 0 auto;
	width: 100%;
	padding: 50px 24px 0;
}
.contact-v2 .cv2-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-size: 12px;
	letter-spacing: .32em;
	text-transform: uppercase;
	color: rgba(255,255,255,.75);
	margin-bottom: 28px;
}
.contact-v2 .cv2-eyebrow::before {
	content: "";
	width: 32px;
	height: 1px;
	background: var(--accent);
}
.contact-v2 .cv2-hero-title {
	font-size: clamp(48px, 7vw, 96px);
	font-weight: 200;
	line-height: 1.02;
	letter-spacing: -.02em;
	max-width: 960px;
	margin-bottom: 28px;
	color: #fff;
}
.contact-v2 .cv2-hero-title em {
	font-style: normal;
	color: var(--accent-2);
	font-weight: 300;
}
.contact-v2 .cv2-hero-lede {
	max-width: 620px;
	font-size: 16px;
	line-height: 1.7;
	color: rgba(255,255,255,.78);
	font-weight: 300;
	margin-bottom: 44px;
}
.contact-v2 .cv2-hero-meta {
	display: flex;
	gap: 56px;
	flex-wrap: wrap;
	padding-top: 32px;
	border-top: 1px solid rgba(255,255,255,.14);
	max-width: 820px;
}
.contact-v2 .cv2-hero-meta .cv2-k {
	font-size: 11px;
	letter-spacing: .24em;
	text-transform: uppercase;
	color: rgba(255,255,255,.5);
	margin-bottom: 8px;
}
.contact-v2 .cv2-hero-meta .cv2-v {
	font-size: 16px;
	font-weight: 400;
	color: rgba(255,255,255,.9);
}

/* ==========================================================================
   BREADCRUMB
   ========================================================================== */
.contact-v2 .cv2-crumb {
	background: var(--paper);
	padding: 22px 0;
	border-bottom: 1px solid var(--line);
}
.contact-v2 .cv2-crumb .cv2-wrap {
	font-size: 11.5px;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--muted);
}
.contact-v2 .cv2-crumb a {
	color: var(--muted);
	transition: color .2s;
}
.contact-v2 .cv2-crumb a:hover { color: var(--accent); }
.contact-v2 .cv2-crumb .cv2-sep { margin: 0 10px; color: var(--muted-2); }
.contact-v2 .cv2-crumb .cv2-current { color: var(--ink); }

/* ==========================================================================
   PRIMARY CONTACT (Email + Phone + IM)
   ========================================================================== */
.contact-v2 .cv2-primary { background: #fff; border-bottom: 1px solid var(--line); }
.contact-v2 .cv2-primary-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	background: #fff;
}
.contact-v2 .cv2-pri-card {
	padding: 56px 48px;
	position: relative;
	transition: background .3s;
	border-right: 1px solid var(--line);
	display: flex;
	flex-direction: column;
	color: var(--ink);
}
.contact-v2 .cv2-pri-card:last-child { border-right: none; }
.contact-v2 .cv2-pri-card:hover { background: var(--tile); }
.contact-v2 .cv2-pri-icon {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid var(--ink);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 32px;
	color: var(--ink);
	transition: all .3s;
}
.contact-v2 .cv2-pri-card:hover .cv2-pri-icon {
	background: var(--accent);
	border-color: var(--accent);
	color: #fff;
}
.contact-v2 .cv2-pri-icon svg { width: 18px; height: 18px; stroke-width: 1.6; }
.contact-v2 .cv2-pri-label {
	font-size: 12px;
	letter-spacing: .24em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 14px;
}
.contact-v2 .cv2-pri-val {
	font-size: clamp(22px, 2.5vw, 32px);
	font-weight: 300;
	color: var(--ink);
	letter-spacing: -.01em;
	line-height: 1.2;
	margin-bottom: 8px;
	word-break: break-all;
}
.contact-v2 .cv2-pri-val a { border-bottom: 1px solid transparent; transition: border-color .2s; }
.contact-v2 .cv2-pri-val a:hover {
	border-bottom-color: var(--accent);
	color: var(--accent);
}
.contact-v2 .cv2-pri-note {
	font-size: 13px;
	color: var(--muted);
	font-weight: 300;
	margin-top: auto;
	padding-top: 24px;
}

/* IM divider */
.contact-v2 .cv2-ch-divider {
	display: flex;
	align-items: center;
	gap: 20px;
	margin: 56px 0 32px;
	font-size: 11.5px;
	letter-spacing: .24em;
	text-transform: uppercase;
	color: var(--muted-2);
}
.contact-v2 .cv2-ch-divider::before,
.contact-v2 .cv2-ch-divider::after {
	content: "";
	flex: 1;
	height: 1px;
	background: var(--line);
}

/* IM channel grid */
.contact-v2 .cv2-ch-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}
.contact-v2 .cv2-ch-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 32px 28px;
	transition: all .3s;
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 20px;
	color: var(--ink);
}
.contact-v2 .cv2-ch-card.cv2-whatsapp { cursor: pointer; }
.contact-v2 .cv2-ch-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 16px 32px -12px rgba(0,0,0,.1);
	border-color: transparent;
}
.contact-v2 .cv2-ch-icon {
	width: 48px;
	height: 48px;
	border-radius: 10px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-weight: 600;
}
.contact-v2 .cv2-ch-card.cv2-whatsapp .cv2-ch-icon { background: #25D366; }
.contact-v2 .cv2-ch-card.cv2-wechat .cv2-ch-icon { background: #07C160; }
.contact-v2 .cv2-ch-card.cv2-qq .cv2-ch-icon { background: #1E90FF; }
.contact-v2 .cv2-ch-icon svg { width: 22px; height: 22px; }
.contact-v2 .cv2-ch-body { flex: 1; min-width: 0; }
.contact-v2 .cv2-ch-name {
	font-size: 11px;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 8px;
}
.contact-v2 .cv2-ch-val {
	font-size: 18px;
	font-weight: 400;
	color: var(--ink);
	letter-spacing: -.005em;
	word-break: break-all;
	line-height: 1.35;
}
.contact-v2 .cv2-ch-copy {
	position: absolute;
	top: 16px;
	right: 16px;
	font-size: 11px;
	color: var(--muted-2);
	letter-spacing: .1em;
	opacity: 0;
	transition: opacity .2s;
}
.contact-v2 .cv2-ch-card:hover .cv2-ch-copy { opacity: 1; }

/* ==========================================================================
   LOCATION (Address + Map)
   ========================================================================== */
.contact-v2 .cv2-location {
	background: #fff;
	border-top: 1px solid var(--line);
}
.contact-v2 .cv2-loc-grid {
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: 64px;
	align-items: stretch;
}
.contact-v2 .cv2-loc-info {
	padding: 8px 0;
	display: flex;
	flex-direction: column;
}
.contact-v2 .cv2-addr-block { margin-bottom: 32px; }
.contact-v2 .cv2-flag {
	font-size: 11px;
	letter-spacing: .3em;
	text-transform: uppercase;
	color: var(--muted-2);
	margin-bottom: 12px;
}
.contact-v2 .cv2-addr-title {
	font-size: 18px;
	font-weight: 500;
	color: var(--ink);
	margin-bottom: 8px;
	letter-spacing: -.005em;
}
.contact-v2 .cv2-addr-text {
	font-size: 15px;
	color: #3a3a42;
	font-weight: 300;
	line-height: 1.7;
}
.contact-v2 .cv2-loc-info hr {
	border: 0;
	height: 1px;
	background: var(--line-2);
	margin: 0 0 32px;
}
.contact-v2 .cv2-loc-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 8px;
}
.contact-v2 .cv2-btn-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 20px;
	border: 1px solid var(--line);
	border-radius: 6px;
	font-size: 13.5px;
	color: var(--ink);
	transition: all .2s;
	background: #fff;
	text-decoration: none;
}
.contact-v2 .cv2-btn-link:hover {
	border-color: var(--ink);
	background: var(--ink);
	color: #fff;
}
.contact-v2 .cv2-btn-link svg { width: 14px; height: 14px; stroke-width: 1.8; }

.contact-v2 .cv2-loc-map {
	position: relative;
	border-radius: var(--radius);
	overflow: hidden;
	border: 1px solid var(--line);
	background: var(--tile);
	min-height: 440px;
}
.contact-v2 .cv2-loc-map iframe {
	width: 100%;
	height: 100%;
	border: 0;
	position: absolute;
	inset: 0;
	filter: grayscale(.15) contrast(.98);
}
.contact-v2 .cv2-pin {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -100%);
	z-index: 2;
	pointer-events: none;
}
.contact-v2 .cv2-pin .cv2-dot-outer {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: rgba(196,47,47,.18);
	display: flex;
	align-items: center;
	justify-content: center;
	animation: cv2-pulse 2s ease-out infinite;
}
.contact-v2 .cv2-pin .cv2-dot-inner {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--accent);
	box-shadow: 0 4px 12px rgba(196,47,47,.5);
	border: 2px solid #fff;
}
@keyframes cv2-pulse {
	0%   { box-shadow: 0 0 0 0 rgba(196,47,47,.5); }
	100% { box-shadow: 0 0 0 24px rgba(196,47,47,0); }
}

/* ==========================================================================
   META STRIP (dark)
   ========================================================================== */
.contact-v2 .cv2-meta-strip {
	background: var(--ink-3);
	color: #fff;
	padding: 60px 0;
}
.contact-v2 .cv2-meta-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0;
}
.contact-v2 .cv2-meta-item {
	padding: 8px 32px;
	border-left: 1px solid var(--line-dark);
}
.contact-v2 .cv2-meta-item:first-child {
	border-left: none;
	padding-left: 0;
}
.contact-v2 .cv2-meta-item .cv2-k {
	font-size: 11px;
	letter-spacing: .24em;
	text-transform: uppercase;
	color: rgba(255,255,255,.5);
	margin-bottom: 12px;
}
.contact-v2 .cv2-meta-item .cv2-v {
	font-size: 20px;
	font-weight: 300;
	letter-spacing: -.005em;
	color: #fff;
	line-height: 1.3;
}
.contact-v2 .cv2-meta-item .cv2-s {
	font-size: 12.5px;
	color: rgba(255,255,255,.5);
	margin-top: 6px;
}

/* ==========================================================================
   CTA BAND
   ========================================================================== */
.contact-v2 .cv2-btn:hover .cv2-arrow { transform: translateX(4px); }

/* ==========================================================================
   Reveal animation
   ========================================================================== */
.contact-v2 .cv2-reveal.cv2-in {
	opacity: 1;
	transform: none;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
	.contact-v2 .cv2-loc-grid { grid-template-columns: 1fr; gap: 48px; }
	.contact-v2 .cv2-loc-map  { min-height: 360px; }
	.contact-v2 .cv2-ch-grid  { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
	.contact-v2 .cv2-hero-inner { padding: 180px 24px 0; }
	.contact-v2 .cv2-hero-meta  { gap: 28px; }
	.contact-v2 .cv2-wrap       { padding-left: 24px; padding-right: 24px; }
	.contact-v2 .cv2-cta-inner  { padding-left: 24px; padding-right: 24px; }
	.contact-v2 section         { padding: 64px 0; }
	.contact-v2 .cv2-primary-grid { grid-template-columns: 1fr; }
	.contact-v2 .cv2-pri-card {
		border-right: none;
		border-bottom: 1px solid var(--line);
		padding: 40px 28px;
	}
	.contact-v2 .cv2-pri-card:last-child { border-bottom: none; }
	.contact-v2 .cv2-ch-grid    { grid-template-columns: 1fr; gap: 14px; }
	.contact-v2 .cv2-ch-card    { padding: 24px 20px; }
	.contact-v2 .cv2-meta-grid  {
		grid-template-columns: repeat(2, 1fr);
		gap: 32px 0;
	}
	.contact-v2 .cv2-meta-item {
		padding: 8px 20px;
		border-left: 1px solid var(--line-dark);
	}
	.contact-v2 .cv2-meta-item:nth-child(odd) {
		border-left: none;
		padding-left: 0;
	}
	.contact-v2 .cv2-cta-inner { grid-template-columns: 1fr; gap: 32px; }
	.contact-v2 .cv2-cta-actions { justify-self: start; width: 100%; }
	.contact-v2 .cv2-btn        { width: 100%; min-width: 0; }
}