/*
 * Contact (9709) v2 (29-sep-2026, SPEC-SECONDARY-V2.md): mismo lenguaje visual que la home v2 y About.
 * Autocontenida: tokens y componentes copiados de home-v2.css / pages/about.css; prefijo z2-.
 * El formulario es el de contact-form-7 sin cambios: solo se estilizan sus campos.
 * Version anterior: contact.css.backup_before_v2_20260929
 */

/* ---------- tokens (iguales a home-v2.css / about.css) ---------- */
.z2-main {
	--z2-bg: #000;
	--z2-surface: rgba(255, 255, 255, .035);
	--z2-surface-2: rgba(255, 255, 255, .055);
	--z2-border: rgba(255, 255, 255, .09);
	--z2-border-h: rgba(255, 255, 255, .16);
	--z2-radius: 22px;
	--z2-radius-in: 12px;
	--z2-accent: #FFA500;
	--z2-accent-h: #FFBA3D;
	--z2-title: #FFF;
	--z2-text: #D9D9D9;
	--z2-muted: #9C9C9C;
	--z2-max: 1200px;
	--z2-gut: 24px;
	--z2-gap: 120px;
	--z2-ease: cubic-bezier(.2, .7, .2, 1);
	background: var(--z2-bg);
	color: var(--z2-text);
	font-family: var(--pm-font-ui);
	font-size: 18px;
	line-height: 1.65;
	letter-spacing: -0.005em;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

.z2 {
	position: relative;
	isolation: isolate;
	padding-bottom: 150px; /* el footer sube 80 px (margin-top -80 en footer.css) */
}

.z2 p {
	margin: 0 0 1em;
}

.z2 p:last-child {
	margin-bottom: 0;
}

.z2 strong {
	color: var(--z2-title);
	font-weight: 600;
}

.z2 a {
	color: var(--z2-accent);
	text-decoration: none;
	transition: color .2s ease;
}

.z2 p a:hover,
.z2 li a:hover {
	color: var(--z2-accent-h);
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
}

.z2-wrap {
	width: 100%;
	max-width: calc(var(--z2-max) + 2 * var(--z2-gut));
	margin: 0 auto;
	padding: 0 var(--z2-gut);
	position: relative;
}

/* ---------- tipografia ---------- */
.z2-h1,
.z2-h2,
.z2-h3 {
	margin: 0;
	color: var(--z2-title);
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1.08;
	font-family: inherit;
}

.z2-h1 {
	font-size: clamp(40px, 4.6vw, 64px);
	letter-spacing: -0.03em;
	line-height: 1.04;
}

.z2-h2 {
	font-size: clamp(26px, 2.4vw, 32px);
	line-height: 1.15;
}

.z2-h3 {
	font-size: clamp(20px, 1.6vw, 22px);
	line-height: 1.25;
}

.z2-kicker {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 18px !important;
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.65;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--z2-accent);
}

.z2-kicker::before {
	content: "";
	width: 22px;
	height: 1px;
	background: currentColor;
	opacity: .7;
}

/* kicker sin texto: solo la linea naranja */
.z2-kicker--line::before {
	width: 44px;
	height: 2px;
	border-radius: 2px;
	opacity: .9;
}

/* ---------- cabecera de pagina ---------- */
.z2-top {
	position: relative;
	padding-top: 96px;
}

.z2-top__head {
	max-width: 820px;
}

.z2-top__head--center {
	margin: 0 auto;
	text-align: center;
}

/* ---------- cards ---------- */
.z2-card {
	position: relative;
	background: var(--z2-surface);
	border: 1px solid var(--z2-border);
	border-radius: var(--z2-radius);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 1px 2px rgba(0, 0, 0, .4);
}

/* ---------- reveal al scroll (fade + 16 px, stagger por --z2-d) ---------- */
.z2-card,
.z2-reveal {
	transition:
		opacity .6s var(--z2-ease) var(--z2-d, 0ms),
		translate .6s var(--z2-ease) var(--z2-d, 0ms),
		transform .2s ease,
		border-color .2s ease;
}

.z2-js .z2-reveal:not(.is-in) {
	opacity: 0;
	translate: 0 16px;
}

/* ---------- brillo ambar ---------- */
.z2-glow {
	position: absolute;
	z-index: -1;
	pointer-events: none;
	border-radius: 50%;
	background: radial-gradient(closest-side, rgba(255, 165, 0, .10), rgba(255, 140, 0, .04) 55%, rgba(255, 140, 0, 0));
}

.z2-glow--top {
	width: 1100px;
	height: 760px;
	left: 50%;
	top: -260px;
	transform: translateX(-50%);
	opacity: .8;
}

/* ---------- formulario (contact-form-7): mismos campos, look v2 ---------- */
.z2-form {
	max-width: 760px;
	margin: 0 auto;
	padding: 44px 48px 26px; /* el ultimo parrafo del formulario ya deja 22 px */
}

.z2-form .wpcf7 p {
	margin: 0 0 22px;
}

.z2-form .wpcf7 label {
	display: block;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.4;
	color: #E6E6E6;
}

.z2-form .wpcf7 br {
	display: none;
}

.z2-form .wpcf7-form-control-wrap {
	display: block;
	margin-top: 10px;
}

.z2-form .wpcf7 input[type="text"],
.z2-form .wpcf7 input[type="email"],
.z2-form .wpcf7 input[type="tel"],
.z2-form .wpcf7 input[type="url"],
.z2-form .wpcf7 input[type="number"],
.z2-form .wpcf7 select,
.z2-form .wpcf7 textarea {
	display: block;
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: 14px 16px;
	font-family: inherit;
	font-size: 17px;
	line-height: 1.4;
	letter-spacing: 0;
	color: #FFF;
	background: rgba(255, 255, 255, .035);
	border: 1px solid rgba(255, 255, 255, .09);
	border-radius: var(--z2-radius-in);
	box-shadow: none;
	outline: none;
	transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
	-webkit-appearance: none;
	appearance: none;
}

.z2-form .wpcf7 textarea {
	height: 200px;
	min-height: 140px;
	resize: vertical;
}

.z2-form .wpcf7 input:hover,
.z2-form .wpcf7 textarea:hover,
.z2-form .wpcf7 select:hover {
	border-color: rgba(255, 255, 255, .16);
}

.z2-form .wpcf7 input:focus,
.z2-form .wpcf7 textarea:focus,
.z2-form .wpcf7 select:focus {
	border-color: var(--z2-accent);
	background: rgba(255, 255, 255, .05);
	box-shadow: 0 0 0 3px rgba(255, 165, 0, .18);
}

.z2-form .wpcf7 input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 52px;
	min-width: 160px;
	margin: 6px 0 0;
	padding: 0 34px;
	font-family: inherit;
	font-size: 16px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0;
	text-transform: none;
	color: #000;
	background: var(--z2-accent);
	border: 0;
	border-radius: 999px;
	box-shadow: 0 10px 34px -12px rgba(255, 165, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .35);
	cursor: pointer;
	transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease;
	-webkit-appearance: none;
	appearance: none;
}

.z2-form .wpcf7 input[type="submit"]:hover {
	background: var(--z2-accent-h);
	transform: translateY(-1px);
	box-shadow: 0 14px 40px -12px rgba(255, 165, 0, .75), inset 0 1px 0 rgba(255, 255, 255, .4);
}

.z2-form .wpcf7 input[type="submit"]:focus-visible {
	outline: 2px solid var(--z2-accent);
	outline-offset: 3px;
}

.z2-form .wpcf7 input[type="submit"]:disabled {
	opacity: .6;
	cursor: default;
	transform: none;
}

.z2-form .wpcf7-spinner {
	vertical-align: middle;
	margin: 0 0 0 14px;
}

.z2-form .wpcf7-not-valid-tip {
	margin-top: 8px;
	font-size: 14px;
	color: #FF8A7A;
}

.z2-form .wpcf7 .wpcf7-response-output {
	margin: 22px 0 0;
	padding: 14px 18px;
	font-size: 15px;
	line-height: 1.5;
	color: #E6E6E6;
	border: 1px solid rgba(255, 255, 255, .16);
	border-radius: var(--z2-radius-in);
}

.z2-form .wpcf7 form.sent .wpcf7-response-output {
	border-color: rgba(120, 220, 140, .5);
}

.z2-form .wpcf7 form.invalid .wpcf7-response-output,
.z2-form .wpcf7 form.unaccepted .wpcf7-response-output,
.z2-form .wpcf7 form.failed .wpcf7-response-output,
.z2-form .wpcf7 form.spam .wpcf7-response-output {
	border-color: rgba(255, 165, 0, .55);
}

/* aviso del plugin cuando no encuentra el formulario */
.z2 .z2-form p.wpcf7-contact-form-not-found {
	margin: 0 0 22px;
	font-size: 16px;
	color: var(--z2-text);
}

/* ---------- contact: cards + formulario ---------- */
.z2-contact .z2-top__head {
	margin-bottom: 56px;
}

.z2-ct__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--z2-gut);
}

.z2-ct__card {
	padding: 32px 30px 34px;
	font-size: 17px;
	line-height: 1.65;
}

/* acento ambar corto arriba de cada card (como For Business en About) */
.z2-ct__card::before {
	content: "";
	display: block;
	width: 28px;
	height: 2px;
	margin-bottom: 24px;
	border-radius: 2px;
	background: var(--z2-accent);
	opacity: .85;
}

.z2 .z2-ct__card strong {
	display: block;
	margin-bottom: 10px;
	font-size: 20px;
	line-height: 1.25;
	letter-spacing: -0.015em;
}

@media (hover: hover) {
	.z2-ct__card:hover {
		border-color: var(--z2-border-h);
		transform: translateY(-2px);
	}
}

.z2-ct__form {
	margin-top: 56px;
}

@media (max-width: 960px) {
	.z2-ct__grid {
		grid-template-columns: minmax(0, 1fr);
		max-width: 760px;
		margin: 0 auto;
	}
}

@media (max-width: 767px) {
	.z2-contact .z2-top__head {
		margin-bottom: 40px;
	}

	.z2-ct__card {
		padding: 26px 22px 28px;
	}

	.z2-ct__form {
		margin-top: 40px;
	}
}

/* ---------- responsive base ---------- */
@media (max-width: 1024px) {
	.z2-main {
		--z2-gap: 96px;
	}
}

@media (max-width: 767px) {
	.z2-main {
		--z2-gap: 72px;
		--z2-gut: 20px;
		font-size: 17px;
	}

	.z2 {
		padding-bottom: 120px;
	}

	.z2-top {
		padding-top: 56px;
	}

	.z2-form {
		padding: 28px 22px 8px;
	}

	.z2-form .wpcf7 input[type="submit"] {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.z2-card,
	.z2-reveal,
	.z2-form .wpcf7 input[type="submit"] {
		transition: none !important;
	}

	.z2-js .z2-reveal:not(.is-in) {
		opacity: 1;
		translate: none;
	}
}
