/* ==========================================================================
   Contact — "Visit Us" column (arched photo, address, hours, phone | email),
   a vertical line–star–line divider, and the "Message Us" form column.
   Reference: 1320px row, columns 38% / 8% / 44% spread with space-between,
   row padding 60px 0 120px, columns vertically centred, 10px inner padding.
   Shared form class names (.sv-field, .sv-field__error, .sv-form__status, .sv-hp)
   are kept for contact.js / inc/contact.php and re-styled here with higher specificity.
   ========================================================================== */

.sv-contact.sv-section {
	padding: 60px 0 120px;
	background-color: var(--sv-bg);
	scroll-margin-top: var(--sv-header-h, 80px);
}
.sv-contact__grid {
	display: grid;
	grid-template-columns: 38% 8% 44%;
	justify-content: space-between;
	align-items: center;
}
.sv-contact__col { padding: 10px; text-align: center; }

/* ---------- Left: Visit Us ---------- */
.sv-contact__visit {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 30px;
}
/* 300×420 arch with a gold hairline 10px inside it */
.sv-contact__arch {
	position: relative;
	width: 300px;
	max-width: 100%;
	aspect-ratio: 300 / 420;
	flex-shrink: 0;
}
.sv-contact__arch img {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: cover;
}
.sv-contact__arch::after {
	content: "";
	position: absolute;
	inset: 10px;
	border: 1px solid var(--sv-accent);
	border-radius: 300px 300px 0 0;
	pointer-events: none;
}
/* Reference: 36px photo → eyebrow, 40px eyebrow → lines (30px gap + these margins) */
.sv-contact__eyebrow { margin: 6px 0 10px; }

.sv-contact__lines,
.sv-contact__inline {
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 16px;
	line-height: 1.8;
	color: var(--sv-heading);
}
.sv-contact__lines li { margin: 0; }
.sv-contact__label { text-transform: uppercase; opacity: .5; }

/* "Call: … | Email: …" with a hairline between the items */
.sv-contact__inline {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0 30px;
}
.sv-contact__inline li { position: relative; margin: 0; }
.sv-contact__inline li + li::before {
	content: "";
	position: absolute;
	left: -15px;
	top: 50%;
	width: 1px;
	height: 14px;
	transform: translateY(-50%);
	background: var(--sv-line);
}
.sv-contact__inline a { color: inherit; text-decoration: none; transition: color .3s; }
.sv-contact__inline a:hover { color: var(--sv-accent); }

/* ---------- Middle: line – star – line (20px / 29px / 20px = 69px) ---------- */
.sv-contact__divider {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-self: center;
	color: var(--sv-accent);
}
.sv-contact__divider::before,
.sv-contact__divider::after {
	content: "";
	width: 1px;
	height: 20px;
	background: var(--sv-line);
}
.sv-contact__divider i {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 14px;
	height: 29px;
}
.sv-contact__divider svg { width: 14px; height: 14px; fill: currentColor; }

/* ---------- Right: Message Us ---------- */
/* Heading text is white in the reference; 16px bottom margin + 20px gap before the form */
.sv-contact .sv-heading { margin-bottom: 36px; }
.sv-contact .sv-heading__text { max-width: none; margin: 20px 0 0; color: var(--sv-heading); }

.sv-contact__form { position: relative; text-align: left; }
.sv-contact__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.sv-contact .sv-field { position: relative; display: flex; flex-direction: column; gap: 6px; margin: 0; }
.sv-contact .sv-field--full { grid-column: 1 / -1; }

.sv-contact .sv-field input,
.sv-contact .sv-field textarea {
	display: block;
	width: 100%;
	height: 50px;
	margin: 0;
	padding: 0 20px;
	background: transparent;
	border: 1px solid var(--sv-line);
	border-radius: 5px;
	color: var(--sv-heading);
	font-family: var(--sv-body-font);
	font-size: 16px;
	line-height: 1.5;
	outline: 0;
	box-shadow: none;
	transition: border-color .3s;
	color-scheme: dark;
	-webkit-appearance: none;
	appearance: none;
}
.sv-contact .sv-field textarea {
	height: auto;
	min-height: 0;
	padding: 12px 20px;
	line-height: 1.6;
	resize: vertical;
}
.sv-contact .sv-field input::placeholder,
.sv-contact .sv-field textarea::placeholder { color: var(--sv-text); opacity: .5; }
.sv-contact .sv-field input:focus,
.sv-contact .sv-field textarea:focus { border-color: var(--sv-accent); }
.sv-contact .sv-field.has-error input,
.sv-contact .sv-field.has-error textarea { border-color: #d9534f; }
.sv-contact .sv-field__error { display: block; font-size: 12px; line-height: 1.4; color: #e8766f; }
.sv-contact .sv-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

.sv-contact__actions { text-align: center; }
.sv-contact__submit {
	cursor: pointer;
	border-radius: 0;
	-webkit-appearance: none;
	appearance: none;
}
.sv-contact__submit[disabled] { opacity: .6; pointer-events: none; }

.sv-contact .sv-form__status { margin: 16px 0 0; min-height: 1.5em; font-size: 15px; text-align: center; }
.sv-contact .sv-form__status:empty { display: none; }
.sv-contact .sv-form__status.is-success { color: var(--sv-accent); font-family: var(--sv-heading-font); font-size: 22px; line-height: 1.4; }
.sv-contact .sv-form__status.is-error { color: #e8766f; }

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
	.sv-contact__grid { grid-template-columns: 40% 6% 48%; }
}
@media (max-width: 991px) {
	.sv-contact.sv-section { padding: 60px 0 100px; }
	.sv-contact__grid { grid-template-columns: 1fr; row-gap: 40px; }
	.sv-contact__col { padding: 0; }
	/* The divider turns horizontal between the stacked columns */
	.sv-contact__divider { flex-direction: row; }
	.sv-contact__divider::before,
	.sv-contact__divider::after { width: 60px; height: 1px; }
	.sv-contact__divider i { width: 29px; height: 14px; }
}
@media (max-width: 767px) {
	.sv-contact.sv-section { padding: 50px 0 80px; }
	.sv-contact__arch { width: 260px; }
	.sv-contact__inline { flex-direction: column; gap: 0; }
	.sv-contact__inline li + li::before { display: none; }
	.sv-contact__fields { grid-template-columns: 1fr; }
	.sv-contact__submit { width: 100%; justify-content: center; }
}
