/* =========================================================
   Contact page (page-contactos.php) — editorial two-column
   Info rail on the left, self-contained form on the right.
   Reuses brand tokens (--ink, --stone, --line, --paper-tint…).
   ========================================================= */

.cos-contact {
	max-width: 1080px;
	margin: 0 auto;
	padding: clamp(48px, 7vw, 96px) var(--gutter) clamp(72px, 9vw, 128px);
}

/* ── Hero ─────────────────────────────────────────────── */
.cos-contact__hero {
	max-width: 640px;
	margin: 0 0 clamp(40px, 6vw, 72px);
}
.cos-contact__eyebrow {
	display: block;
	margin-bottom: 16px;
}
.cos-contact__title {
	font-family: var(--sans);
	font-weight: 400;
	text-transform: uppercase;
	font-size: var(--fs-h1-page);
	line-height: 1.1;
	letter-spacing: 0.02em;
	color: var(--ink);
	margin: 0 0 18px;
}
.cos-contact__intro {
	font-size: 15px;
	line-height: 1.7;
	color: var(--stone);
	margin: 0;
}

/* ── Body grid: rail + form ───────────────────────────── */
.cos-contact__body {
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: clamp(40px, 6vw, 88px);
	align-items: start;
	border-top: var(--hairline) solid var(--line);
	padding-top: clamp(36px, 5vw, 56px);
}

/* Info rail */
.cos-contact__channels {
	list-style: none;
	margin: 0 0 32px;
	padding: 0;
	display: grid;
	gap: 26px;
}
.cos-contact__channel {
	display: grid;
	gap: 5px;
}
.cos-contact__channel-label {
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--stone);
}
.cos-contact__channel-value {
	font-size: 16px;
	color: var(--ink);
	line-height: 1.3;
}
a.cos-contact__channel-value {
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
	transition: color .15s ease;
}
a.cos-contact__channel-value:hover {
	color: var(--stone);
}
.cos-contact__channel-note {
	font-size: 13px;
	color: var(--stone);
	line-height: 1.4;
}
.cos-contact__faq-hint {
	font-size: 13px;
	line-height: 1.6;
	color: var(--stone);
	margin: 0;
	padding-top: 24px;
	border-top: var(--hairline) solid var(--line);
}
.cos-contact__faq-hint a {
	color: var(--ink);
	text-decoration: underline;
	text-underline-offset: 3px;
}
.cos-contact__faq-hint a:hover {
	color: var(--stone);
}

/* ── Form ─────────────────────────────────────────────── */
.cos-contact-form {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 22px 20px;
}
.cos-contact-form__notice {
	grid-column: 1 / -1;
	margin: 0;
	padding: 14px 18px;
	font-size: 14px;
	line-height: 1.5;
	border: var(--hairline) solid var(--line);
}
.cos-contact-form__notice--ok {
	background: var(--paper-tint);
	color: var(--ink);
	border-color: var(--line-strong);
}
.cos-contact-form__notice--error {
	background: rgba(138, 42, 42, 0.06);
	color: var(--error);
	border-color: rgba(138, 42, 42, 0.3);
}

.cos-field {
	grid-column: 1 / -1;
	display: grid;
	gap: 8px;
}
.cos-field--half {
	grid-column: span 1;
}
.cos-field label {
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--stone);
}
.cos-field label span {
	color: var(--ink);
}
.cos-field input[type="text"],
.cos-field input[type="email"],
.cos-field textarea {
	width: 100%;
	font-family: var(--sans);
	font-size: 14px;
	letter-spacing: 0.01em;
	color: var(--ink);
	background: var(--paper);
	border: 1px solid var(--line-strong);
	border-radius: 0;
	-webkit-appearance: none;
	appearance: none;
	transition: border-color .15s ease;
}
.cos-field input[type="text"],
.cos-field input[type="email"] {
	height: 50px;
	padding: 0 14px;
}
.cos-field textarea {
	min-height: 150px;
	padding: 13px 14px;
	line-height: 1.6;
	resize: vertical;
}
.cos-field input:focus,
.cos-field textarea:focus {
	outline: none;
	border-color: var(--ink);
}
.cos-field input[aria-invalid="true"],
.cos-field textarea[aria-invalid="true"] {
	border-color: var(--error);
}
.cos-field__error {
	font-size: 12px;
	color: var(--error);
	letter-spacing: 0.01em;
}

/* Honeypot — keep it out of sight + out of the tab order */
.cos-field--hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.cos-contact-form__submit.cta {
	grid-column: 1 / -1;
	width: auto;
	justify-self: start;
	display: inline-flex;
	justify-content: center;
	gap: 8px;
	margin-top: 4px;
}

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 860px) {
	.cos-contact__body {
		grid-template-columns: 1fr;
		gap: 40px;
	}
}

@media (max-width: 600px) {
	.cos-contact {
		padding-left: 24px;
		padding-right: 24px;
	}
	.cos-contact-form {
		grid-template-columns: 1fr;
		gap: 18px;
	}
	.cos-field--half {
		grid-column: 1 / -1;
	}
	.cos-contact-form__submit.cta {
		width: 100%;
		justify-self: stretch;
	}
}
