/* Block: Contact Section */

/* ── Shared ── */

.contact-section__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 3rem;
}
@media (min-width: 768px) {
	.contact-section__grid {
		grid-template-columns: 1fr 1fr;
		gap: 4rem;
	}
}

.contact-section__info {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}
.contact-section__items {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	margin-top: 2rem;
}

.contact-section__item-label {
	margin: 0 0 0.375rem;
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.6875rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	color: var(--wp--preset--color--brand-gold);
}

.contact-section__hours {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}
.contact-section__hours-row {
	display: flex;
	justify-content: space-between;
}

.contact-section__placeholder {
	font-size: 0.875rem;
}

/* ── Dark theme (homepage) ── */

.contact-section--dark {
	background: var(--wp--preset--color--brand-dark-surface);
}
.contact-section--dark .contact-section__grid {
	align-items: center;
}
@media (min-width: 768px) {
	.contact-section--dark .contact-section__grid {
		gap: 6rem;
	}
}

.contact-section--dark .contact-section__desc {
	max-width: 30rem;
	margin: 1rem 0 0;
	font-size: 0.875rem;
	line-height: 1.625;
	color: rgba(245, 243, 239, 0.6);
}

.contact-section--dark .contact-section__item-value {
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.875rem;
	line-height: 1.7;
	color: rgba(245, 243, 239, 0.8);
	margin: 0;
}
.contact-section--dark .contact-section__item-value a {
	color: rgba(245, 243, 239, 0.8);
	text-decoration: none;
	transition: color 0.3s ease;
}
.contact-section--dark .contact-section__item-value a:hover {
	color: var(--wp--preset--color--brand-gold);
}
.contact-section--dark .contact-section__separator {
	color: rgba(245, 243, 239, 0.3);
}

.contact-section--dark .contact-section__hours-day,
.contact-section--dark .contact-section__hours-time {
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.875rem;
	color: rgba(245, 243, 239, 0.75);
}
.contact-section--dark .contact-section__hours-time.is-closed {
	color: rgba(245, 243, 239, 0.4);
}

.contact-section--dark .contact-section__placeholder {
	color: rgba(245, 243, 239, 0.5);
}

/* Dark CF7 form */
.contact-section--dark .contact-section__cf7 .wpcf7-form {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}
.contact-section--dark .contact-section__cf7 label {
	display: block;
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.75rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	color: var(--wp--preset--color--brand-gold);
	margin-bottom: 0.375rem;
}
.contact-section--dark .contact-section__cf7 input[type="text"],
.contact-section--dark .contact-section__cf7 input[type="email"],
.contact-section--dark .contact-section__cf7 input[type="tel"],
.contact-section--dark .contact-section__cf7 select,
.contact-section--dark .contact-section__cf7 textarea {
	display: block;
	width: 100%;
	padding: 0.5rem 0;
	border: none;
	border-bottom: 1px solid rgba(196, 154, 60, 0.2);
	background: transparent;
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.875rem;
	color: var(--wp--preset--color--brand-cream);
	outline: none;
	transition: border-color 0.3s ease;
	border-radius: 0;
	-webkit-appearance: none;
}
.contact-section--dark .contact-section__cf7 input::placeholder,
.contact-section--dark .contact-section__cf7 textarea::placeholder {
	color: rgba(245, 243, 239, 0.5);
}
.contact-section--dark .contact-section__cf7 input:focus,
.contact-section--dark .contact-section__cf7 select:focus,
.contact-section--dark .contact-section__cf7 textarea:focus {
	border-bottom-color: var(--wp--preset--color--brand-gold);
}
.contact-section--dark .contact-section__cf7 textarea {
	resize: none;
}
.contact-section--dark .contact-section__cf7 select {
	cursor: pointer;
}
.contact-section--dark .contact-section__cf7 select option {
	background: var(--wp--preset--color--brand-dark);
}
.contact-section--dark .contact-section__cf7 .wpcf7-form p {
	margin: 0;
}
.contact-section--dark .contact-section__cf7 input[type="submit"] {
	display: block;
	width: 100%;
	padding: 0.875rem 2.5rem;
	margin-top: 0.5rem;
	background: transparent;
	color: var(--wp--preset--color--brand-gold);
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.875rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	border: 1px solid var(--wp--preset--color--brand-gold);
	cursor: pointer;
	transition: all 0.3s ease;
	border-radius: 0;
	-webkit-appearance: none;
}
.contact-section--dark .contact-section__cf7 input[type="submit"]:hover {
	background: var(--wp--preset--color--brand-gold);
	color: var(--wp--preset--color--brand-dark);
}
.contact-section--dark .contact-section__cf7 input[type="submit"]:active {
	transform: scale(0.97);
}
.contact-section--dark .contact-section__cf7 .wpcf7-not-valid-tip {
	font-size: 0.75rem;
	color: #e74c3c;
	margin-top: 0.25rem;
}
.contact-section--dark .contact-section__cf7 .wpcf7-response-output {
	font-size: 0.875rem;
	padding: 1rem 0;
	margin: 0;
	border: none;
	text-align: center;
	color: var(--wp--preset--color--brand-cream);
}

/* ── Light theme (contact page) ── */

.contact-section--light.mg-section {
	padding-top: 0;
}

.contact-section--light .contact-section__item-value {
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.875rem;
	line-height: 1.7;
	color: var(--wp--preset--color--body);
	margin: 0;
}
.contact-section--light .contact-section__item-value a {
	color: var(--wp--preset--color--body);
	text-decoration: none;
	transition: color 0.3s ease;
}
.contact-section--light .contact-section__item-value a:hover {
	color: var(--wp--preset--color--brand-gold);
}
.contact-section--light .contact-section__item-note {
	margin-left: 0.5rem;
	font-size: 0.75rem;
	color: var(--wp--preset--color--muted-fg);
}

.contact-section--light .contact-section__maps-link {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	margin-top: 0.375rem;
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.6875rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--wp--preset--color--brand-gold);
	text-decoration: none;
	transition: opacity 0.2s ease;
}
.contact-section--light .contact-section__maps-link:hover {
	opacity: 0.75;
}

.contact-section--light .contact-section__wechat-qr {
	display: block;
	width: 7rem;
	height: 7rem;
	margin-top: 0.5rem;
	border: 1px solid var(--wp--preset--color--border-light);
	object-fit: cover;
}

.contact-section--light .contact-section__hours-day {
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.875rem;
	color: var(--wp--preset--color--muted-fg);
}
.contact-section--light .contact-section__hours-time {
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.875rem;
	color: var(--wp--preset--color--body);
	text-align: right;
}
.contact-section--light .contact-section__hours-time.is-closed {
	opacity: 0.5;
}

.contact-section--light .contact-section__placeholder {
	color: var(--wp--preset--color--muted-fg);
}

/* Light CF7 form */
.contact-section--light .contact-section__cf7 .wpcf7-form {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}
.contact-section--light .contact-section__cf7 label {
	display: block;
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.75rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--wp--preset--color--muted-fg);
	margin-bottom: 0.375rem;
}
.contact-section--light .contact-section__cf7 input[type="text"],
.contact-section--light .contact-section__cf7 input[type="email"],
.contact-section--light .contact-section__cf7 input[type="tel"],
.contact-section--light .contact-section__cf7 select,
.contact-section--light .contact-section__cf7 textarea {
	display: block;
	width: 100%;
	padding: 0.5rem 0;
	border: none;
	border-bottom: 1px solid var(--wp--preset--color--border-light);
	background: transparent;
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.875rem;
	color: var(--wp--preset--color--body);
	outline: none;
	transition: border-color 0.3s ease;
	border-radius: 0;
	-webkit-appearance: none;
}
.contact-section--light .contact-section__cf7 input::placeholder,
.contact-section--light .contact-section__cf7 textarea::placeholder {
	color: rgba(61, 61, 56, 0.35);
}
.contact-section--light .contact-section__cf7 input:focus,
.contact-section--light .contact-section__cf7 select:focus,
.contact-section--light .contact-section__cf7 textarea:focus {
	border-bottom-color: var(--wp--preset--color--brand-gold);
}
.contact-section--light .contact-section__cf7 textarea {
	resize: none;
}
.contact-section--light .contact-section__cf7 select {
	cursor: pointer;
}
.contact-section--light .contact-section__cf7 .wpcf7-form p {
	margin: 0;
}
.contact-section--light .contact-section__cf7 input[type="submit"] {
	display: block;
	width: 100%;
	padding: 0.875rem 2.5rem;
	margin-top: 0.5rem;
	background: var(--wp--preset--color--brand-dark);
	color: var(--wp--preset--color--brand-cream);
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.75rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	border: none;
	cursor: pointer;
	transition: all 0.3s ease;
	border-radius: 0;
	-webkit-appearance: none;
}
.contact-section--light .contact-section__cf7 input[type="submit"]:hover {
	background: var(--wp--preset--color--brand-gold);
	color: var(--wp--preset--color--brand-dark);
}
.contact-section--light .contact-section__cf7 input[type="submit"]:active {
	transform: scale(0.97);
}
.contact-section--light .contact-section__cf7 .wpcf7-not-valid-tip {
	font-size: 0.75rem;
	color: #e74c3c;
	margin-top: 0.25rem;
}
.contact-section--light .contact-section__cf7 .wpcf7-response-output {
	font-size: 0.875rem;
	padding: 1rem 0;
	margin: 0;
	border: none;
	text-align: center;
	color: var(--wp--preset--color--body);
}
