/* ==========================================================================
   Northfield Theatre — Contact Page
   ========================================================================== */

.contact-page {
	background: var(--color-bg);
}

/* --- Hero ------------------------------------------------------------ */
.contact-hero {
	background: var(--color-dark);
	color: var(--color-bg);
	padding: var(--space-3xl) 0;
}

.contact-hero__inner {
	max-width: 820px;
}

.contact-hero__eyebrow {
	font-size: var(--text-sm);
	font-weight: var(--weight-semibold);
	letter-spacing: 0.25em;
	text-transform: uppercase;
	color: var(--color-accent);
	margin-bottom: var(--space-md);
}

.contact-hero__title {
	color: var(--color-bg);
	font-size: clamp(2.25rem, 5vw, 4rem);
	font-weight: var(--weight-black);
	line-height: 1;
	letter-spacing: -0.02em;
	margin-bottom: var(--space-lg);
}

.contact-hero__lead {
	font-size: var(--text-lg);
	line-height: var(--leading-normal);
	color: rgba(255, 255, 255, 0.85);
	max-width: 58ch;
}

/* --- Contact cards --------------------------------------------------- */
.contact-cards {
	padding: var(--space-3xl) 0;
}

.contact-cards__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-lg);
}

@media (min-width: 768px) {
	.contact-cards__grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.contact-card {
	padding: var(--space-xl);
	background: var(--color-bg);
	border: 1px solid var(--color-border);
	border-top: 4px solid var(--color-accent);
	display: flex;
	flex-direction: column;
	gap: var(--space-xs);
	transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.contact-card:hover {
	border-top-color: var(--color-primary);
	box-shadow: var(--shadow-md);
}

.contact-card__icon {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--color-bg-soft);
	color: var(--color-primary);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-bottom: var(--space-sm);
}

.contact-card__title {
	font-family: var(--font-heading);
	font-size: var(--text-xl);
	font-weight: var(--weight-bold);
	color: var(--color-dark);
	margin: 0;
}

.contact-card__line1 {
	font-family: var(--font-heading);
	font-size: var(--text-lg);
	font-weight: var(--weight-semibold);
	margin: 0;
}

.contact-card__line1 a {
	color: var(--color-primary);
	text-decoration: none;
	border-bottom: 2px solid transparent;
	transition: border-color var(--transition-base);
}

.contact-card__line1 a:hover {
	border-bottom-color: var(--color-accent);
}

.contact-card__line2 {
	font-size: var(--text-sm);
	color: var(--color-text-muted);
	font-weight: var(--weight-semibold);
	margin: 0;
}

.contact-card__line3 {
	font-size: var(--text-sm);
	color: var(--color-text);
	line-height: var(--leading-snug);
	margin: var(--space-xs) 0 0;
}

/* --- Form layout ---------------------------------------------------- */
.contact-form-section {
	padding: var(--space-3xl) 0;
}

.contact-form-layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-2xl);
}

@media (min-width: 960px) {
	.contact-form-layout {
		grid-template-columns: 1fr 1.4fr;
		gap: var(--space-3xl);
		align-items: start;
	}
}

.contact-form-intro__eyebrow {
	font-size: var(--text-sm);
	font-weight: var(--weight-semibold);
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--color-text-muted);
	margin-bottom: var(--space-md);
}

.contact-form-intro__heading {
	font-family: var(--font-heading);
	font-size: clamp(1.75rem, 4vw, 2.75rem);
	font-weight: var(--weight-extrabold);
	letter-spacing: -0.02em;
	color: var(--color-dark);
	line-height: 1.1;
	margin-bottom: var(--space-lg);
}

.contact-form-intro__body {
	color: var(--color-text);
	line-height: var(--leading-normal);
	margin-bottom: var(--space-md);
	font-size: var(--text-base);
	max-width: 38ch;
}

/* --- Form elements -------------------------------------------------- */
.contact-form {
	background: var(--color-bg);
	padding: var(--space-xl);
	border: 1px solid var(--color-border);
}

@media (min-width: 768px) {
	.contact-form {
		padding: var(--space-2xl);
	}
}

.contact-form__row {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-md);
}

@media (min-width: 640px) {
	.contact-form__row {
		grid-template-columns: 1fr 1fr;
	}
}

.contact-form .form-label {
	font-weight: var(--weight-semibold);
	color: var(--color-dark);
	font-size: var(--text-sm);
	margin-bottom: var(--space-sm);
	letter-spacing: 0.02em;
}

.contact-form__required {
	color: var(--color-danger);
	margin-left: 2px;
	font-weight: var(--weight-bold);
}

.contact-form .form-input,
.contact-form .form-select,
.contact-form .form-textarea {
	border-width: 1.5px;
	padding: 0.85em 1em;
	font-size: var(--text-base);
}

.contact-form .form-input:focus,
.contact-form .form-select:focus,
.contact-form .form-textarea:focus {
	border-color: var(--color-primary);
	box-shadow: 0 0 0 3px rgba(27, 77, 62, 0.15);
}

.contact-form [aria-invalid="true"] {
	border-color: var(--color-danger);
}

.contact-form [aria-invalid="true"]:focus {
	box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.2);
}

.contact-form__error {
	display: block;
	color: var(--color-danger);
	font-size: var(--text-sm);
	margin-top: var(--space-xs);
	font-weight: var(--weight-medium);
}

.contact-form__consent {
	padding-top: var(--space-sm);
}

.contact-form__checkbox {
	display: grid;
	grid-template-columns: 20px 1fr;
	gap: var(--space-sm);
	align-items: start;
	cursor: pointer;
	font-size: var(--text-sm);
	color: var(--color-text);
}

.contact-form__checkbox input {
	width: 20px;
	height: 20px;
	margin-top: 1px;
	accent-color: var(--color-primary);
	cursor: pointer;
}

.contact-form__checkbox a {
	color: var(--color-primary);
	text-decoration: underline;
}

.contact-form__status {
	margin-top: var(--space-lg);
	padding: var(--space-md) var(--space-lg);
	border-radius: var(--radius-sm);
	font-size: var(--text-base);
	font-weight: var(--weight-medium);
}

.contact-form__status--success {
	background: rgba(45, 122, 79, 0.1);
	color: #1d5234;
	border-left: 4px solid var(--color-success);
}

.contact-form__status--error {
	background: rgba(185, 28, 28, 0.1);
	color: var(--color-danger);
	border-left: 4px solid var(--color-danger);
}

/* --- Address / map -------------------------------------------------- */
.contact-address {
	padding: var(--space-3xl) 0;
}

.contact-address__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-2xl);
	align-items: stretch;
}

@media (min-width: 768px) {
	.contact-address__grid {
		grid-template-columns: 1fr 1.5fr;
	}
}

.contact-address__heading {
	font-family: var(--font-heading);
	font-size: clamp(1.5rem, 3vw, 2.25rem);
	font-weight: var(--weight-extrabold);
	margin-bottom: var(--space-md);
	letter-spacing: -0.02em;
}

.contact-address__text {
	font-style: normal;
	font-size: var(--text-base);
	line-height: var(--leading-normal);
	color: var(--color-text);
	margin-bottom: var(--space-lg);
}

.contact-address__text strong {
	color: var(--color-dark);
	font-weight: var(--weight-bold);
	font-size: var(--text-lg);
}

.contact-address__social {
	list-style: none;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: var(--space-sm);
	font-size: var(--text-sm);
}

.contact-address__social a {
	display: inline-flex;
	align-items: center;
	gap: var(--space-sm);
	color: var(--color-primary);
	font-weight: var(--weight-semibold);
	text-decoration: none;
	transition: color var(--transition-base);
}

.contact-address__social a:hover {
	color: var(--color-primary-dark);
}

.contact-address__map {
	min-height: 360px;
	background:
		linear-gradient(135deg, #F3EDE2 0%, #E4D9C3 100%);
	background-size: 28px 28px;
	background-image:
		linear-gradient(rgba(27, 77, 62, 0.04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(27, 77, 62, 0.04) 1px, transparent 1px),
		linear-gradient(135deg, #F3EDE2 0%, #E4D9C3 100%);
	border: 1px solid var(--color-border);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: var(--space-xl);
}

.contact-address__map-inner {
	max-width: 360px;
	text-align: center;
}

.contact-address__map-icon {
	display: inline-block;
	font-size: 2.5rem;
	margin-bottom: var(--space-md);
}

.contact-address__map-title {
	font-family: var(--font-heading);
	font-size: var(--text-xl);
	font-weight: var(--weight-bold);
	color: var(--color-dark);
	margin-bottom: var(--space-sm);
}

.contact-address__map-note {
	color: var(--color-text-muted);
	font-size: var(--text-sm);
	line-height: var(--leading-snug);
	margin-bottom: var(--space-md);
}
