/**
 * Exclusive Yala Safari — Contact Us
 */

/* theme.json sets elements.heading to the dark "contrast" colour, and WordPress
   emits that as a rule on h1-h6 directly. A direct rule beats inheritance, so a
   heading inside one of these dark sections ignored the section's own bone
   colour and rendered near-black on near-black. Opt them back in. */
.eys-contact-hero :is(h1, h2, h3, h4, h5, h6),
.eys-contact-offices :is(h1, h2, h3, h4, h5, h6) {
	color: inherit;
}

.eys-page--contact {
	background: var(--eys-bone);
}

.eys-contact-hero {
	position: relative;
	isolation: isolate;
	padding: 4.5rem clamp(1.25rem, 4vw, 2.5rem) 3.25rem;
	color: var(--eys-bone);
	background: linear-gradient(135deg, #1a1714 0%, #2c2620 48%, #3a3228 100%);
	overflow: hidden;
}

.eys-contact-hero__veil {
	position: absolute;
	inset: 0;
	z-index: 0;
	background:
		radial-gradient(ellipse 70% 60% at 85% 15%, rgba(196, 165, 116, 0.22), transparent 60%),
		radial-gradient(ellipse 45% 50% at 8% 90%, rgba(154, 123, 79, 0.16), transparent 55%);
	pointer-events: none;
}

.eys-contact-hero__content {
	position: relative;
	z-index: 1;
	width: min(720px, 100%);
	margin: 0 auto;
	text-align: center;
}

.eys-contact-hero__kicker {
	margin: 0 0 0.75rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--eys-gold);
}

.eys-contact-hero__title {
	margin: 0 0 0.85rem;
	font-family: var(--eys-display);
	font-size: clamp(2.75rem, 7vw, 4.5rem);
	font-weight: 600;
	line-height: 1.02;
}

.eys-contact-hero__lede {
	margin: 0 auto;
	max-width: 38rem;
	font-size: 1.05rem;
	line-height: 1.55;
	color: rgba(250, 248, 244, 0.78);
}

.eys-contact-main {
	padding: 0 clamp(1rem, 4vw, 2rem) 3.5rem;
}

.eys-contact-main__inner {
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
	gap: 2rem;
	width: min(1100px, 100%);
	margin: -1.75rem auto 0;
	position: relative;
	z-index: 2;
}

.eys-contact-info,
.eys-contact-form-panel {
	padding: 1.75rem 1.6rem 1.85rem;
	border: 1px solid rgba(154, 123, 79, 0.22);
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 14px 36px rgba(20, 17, 14, 0.07);
}

.eys-contact-info .eys-eyebrow {
	margin: 0 0 0.55rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--eys-bronze);
}

.eys-contact-info__title {
	margin: 0 0 0.65rem;
	font-family: var(--eys-display);
	font-size: clamp(1.7rem, 3vw, 2.15rem);
	font-weight: 600;
	line-height: 1.15;
	color: var(--eys-ink);
}

.eys-contact-info__lede {
	margin: 0 0 1.35rem;
	font-size: 0.95rem;
	line-height: 1.55;
	color: var(--eys-muted);
}

.eys-contact-channels {
	list-style: none;
	margin: 0 0 1.5rem;
	padding: 0;
	display: grid;
	gap: 0.95rem;
}

.eys-contact-channels__label {
	display: block;
	margin-bottom: 0.2rem;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--eys-muted);
}

.eys-contact-channels a,
.eys-contact-channels span:not(.eys-contact-channels__label) {
	color: var(--eys-ink);
	font-size: 1.02rem;
	font-weight: 600;
	text-decoration: none;
}

.eys-contact-channels a:hover {
	color: var(--eys-bronze);
}

.eys-contact-info__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
}

.eys-contact-form-panel__title {
	margin: 0 0 1.15rem;
	font-family: var(--eys-display);
	font-size: 1.65rem;
	font-weight: 600;
	color: var(--eys-ink);
}

.eys-contact-notice {
	margin: 0 0 1rem;
	padding: 0.75rem 0.9rem;
	border-radius: 8px;
	font-size: 0.9rem;
	font-weight: 600;
}

.eys-contact-notice--ok {
	background: rgba(154, 123, 79, 0.12);
	color: var(--eys-earth);
	border: 1px solid rgba(154, 123, 79, 0.28);
}

.eys-contact-notice--err {
	background: #fdf2f2;
	color: #8a2b2b;
	border: 1px solid #efc4c4;
}

.eys-contact-form {
	display: grid;
	gap: 0.95rem;
}

.eys-contact-form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.85rem;
}

.eys-contact-field {
	display: grid;
	gap: 0.35rem;
}

.eys-contact-field span {
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: var(--eys-earth);
}

.eys-contact-field abbr {
	text-decoration: none;
	color: var(--eys-bronze);
}

.eys-contact-field input,
.eys-contact-field textarea {
	width: 100%;
	padding: 0.7rem 0.85rem;
	border: 1px solid rgba(44, 38, 32, 0.16);
	border-radius: 8px;
	background: #fcfbf9;
	color: var(--eys-ink);
	font-family: var(--eys-font);
	font-size: 0.95rem;
	line-height: 1.4;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.eys-contact-field input:focus,
.eys-contact-field textarea:focus {
	outline: none;
	border-color: var(--eys-bronze);
	box-shadow: 0 0 0 3px rgba(154, 123, 79, 0.18);
	background: #fff;
}

.eys-contact-field textarea {
	resize: vertical;
	min-height: 8rem;
}

.eys-contact-form__honeypot {
	position: absolute !important;
	left: -9999px !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.eys-contact-form__submit {
	justify-self: start;
	margin-top: 0.25rem;
	border: 0;
	cursor: pointer;
}

.eys-contact-offices {
	padding: 3rem clamp(1rem, 4vw, 2rem) 4rem;
	background: var(--eys-night);
	color: var(--eys-bone);
}

.eys-contact-offices__inner {
	width: min(1100px, 100%);
	margin: 0 auto;
}

.eys-contact-offices__head {
	margin-bottom: 1.75rem;
	text-align: center;
}

.eys-contact-offices__head .eys-eyebrow {
	margin: 0 0 0.5rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--eys-gold);
}

.eys-contact-offices__head h2 {
	margin: 0;
	font-family: var(--eys-display);
	font-size: clamp(1.8rem, 3.5vw, 2.4rem);
	font-weight: 600;
}

.eys-contact-offices__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.25rem;
}

.eys-office-card {
	padding: 1.5rem 1.4rem 1.55rem;
	border: 1px solid rgba(196, 165, 116, 0.28);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.03);
}

.eys-office-card h3 {
	margin: 0 0 0.2rem;
	font-family: var(--eys-display);
	font-size: 1.55rem;
	font-weight: 600;
}

.eys-office-card__role {
	margin: 0 0 1rem;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--eys-gold);
}

.eys-office-card ul {
	list-style: none;
	margin: 0 0 1.1rem;
	padding: 0;
	display: grid;
	gap: 0.55rem;
	font-size: 0.92rem;
	line-height: 1.45;
	color: rgba(250, 248, 244, 0.78);
}

.eys-office-card a {
	color: var(--eys-gold);
	text-decoration: none;
}

.eys-office-card a:hover {
	color: var(--eys-bone);
}

.eys-office-card__map {
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

@media (max-width: 860px) {
	.eys-contact-main__inner,
	.eys-contact-offices__grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 560px) {
	.eys-contact-form__row {
		grid-template-columns: 1fr;
	}
}
