/**
 * YNY Shop — Contact page
 */

.yny-contact {
	--yny-red: #EE3124;
	--yny-ink: #0D1117;
	--yny-slate: #1E293B;
	--yny-muted: #64748B;
	--yny-surface: #F4F6F8;
	--yny-border: #E2E8F0;
	--yny-white: #FFFFFF;
	--yny-max: 1280px;
	font-family: Inter, system-ui, -apple-system, sans-serif;
	color: var(--yny-ink);
}

.yny-contact *,
.yny-contact *::before,
.yny-contact *::after {
	box-sizing: border-box;
}

/* Hero */
.yny-contact__hero {
	position: relative;
	overflow: hidden;
	background-color: var(--yny-ink);
	background-image:
		linear-gradient(
			105deg,
			rgba(13, 17, 23, 0.94) 0%,
			rgba(13, 17, 23, 0.82) 42%,
			rgba(13, 17, 23, 0.68) 72%,
			rgba(30, 41, 59, 0.55) 100%
		),
		var(--yny-contact-hero-bg);
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	border-bottom: 3px solid var(--yny-red);
	color: var(--yny-white);
}

.yny-contact__hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 85% 20%, rgb(238 49 36 / 14%) 0%, transparent 55%);
	pointer-events: none;
}

.yny-contact__hero-inner {
	position: relative;
	z-index: 1;
	max-width: var(--yny-max);
	margin: 0 auto;
	padding: clamp(2.5rem, 6vw, 4rem) clamp(1.25rem, 4vw, 2rem);
}

.yny-contact__badge {
	display: inline-block;
	padding: 0.25rem 0.75rem;
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 4px;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #ff6b60;
}

.yny-contact__title {
	margin: 0.75rem 0 0.5rem;
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	font-weight: 700;
	letter-spacing: -0.025em;
	line-height: 1.15;
	color: var(--yny-white);
}

.yny-contact__lead {
	margin: 0;
	max-width: 40rem;
	font-size: 1.0625rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.8);
}

/* Layout */
.yny-contact__wrap {
	max-width: var(--yny-max);
	margin: 0 auto;
	padding: clamp(2rem, 4vw, 3rem) clamp(1.25rem, 4vw, 2rem);
}

.yny-contact__notice {
	margin: 0 0 1.5rem;
	padding: 0.875rem 1rem;
	border-radius: 4px;
	font-size: 0.9375rem;
	line-height: 1.5;
}

.yny-contact__notice--success {
	background: #ecfdf5;
	border-left: 3px solid #10b981;
	color: #047857;
}

.yny-contact__notice--error {
	background: #fef2f2;
	border-left: 3px solid var(--yny-red);
	color: #b91c1c;
}

.yny-contact__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
	gap: clamp(1.5rem, 3vw, 2.5rem);
	align-items: start;
}

.yny-contact__section-title {
	margin: 0 0 1.25rem;
	padding-bottom: 0.75rem;
	border-bottom: 2px solid var(--yny-border);
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--yny-ink);
}

.yny-contact__section-title::before {
	content: "";
	display: inline-block;
	width: 4px;
	height: 1rem;
	margin-right: 0.5rem;
	background: var(--yny-red);
	vertical-align: middle;
}

/* Info cards */
.yny-contact__cards {
	display: grid;
	gap: 0.75rem;
	margin-bottom: 1.5rem;
}

.yny-contact__card {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	padding: 1rem 1.125rem;
	background: var(--yny-surface);
	border: 1px solid var(--yny-border);
	border-radius: 8px;
	transition: border-color 0.15s ease;
}

.yny-contact__card:hover {
	border-color: var(--yny-red);
}

.yny-contact__card-icon {
	flex-shrink: 0;
	width: 2.25rem;
	height: 2.25rem;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 4px;
	background: var(--yny-white);
	border: 1px solid var(--yny-border);
	font-size: 1rem;
	line-height: 1;
	color: var(--yny-red);
}

.yny-contact__card h3 {
	margin: 0 0 0.25rem;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--yny-muted);
}

.yny-contact__card p {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.5;
	color: var(--yny-slate);
}

.yny-contact__card a {
	color: var(--yny-ink);
	font-weight: 600;
	text-decoration: none;
}

.yny-contact__card a:hover {
	color: var(--yny-red);
}

.yny-contact__help {
	padding: 1.25rem;
	background: var(--yny-surface);
	border: 1px solid var(--yny-border);
	border-left: 3px solid var(--yny-red);
	border-radius: 8px;
}

.yny-contact__help h3 {
	margin: 0 0 0.5rem;
	font-size: 1rem;
	font-weight: 700;
	color: var(--yny-ink);
}

.yny-contact__help p {
	margin: 0 0 0.75rem;
	font-size: 0.9375rem;
	line-height: 1.6;
	color: var(--yny-muted);
}

.yny-contact__shop-link {
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--yny-red);
	text-decoration: none;
}

.yny-contact__shop-link:hover {
	text-decoration: underline;
}

/* Form */
.yny-contact__form-col {
	padding: 1.5rem;
	background: var(--yny-white);
	border: 1px solid var(--yny-border);
	border-radius: 8px;
	box-shadow: 0 4px 20px rgb(13 17 23 / 6%);
}

.yny-contact__form-col .yny-contact__section-title {
	margin-top: 0;
}

.yny-contact__field-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}

.yny-contact__field {
	margin-bottom: 1rem;
}

.yny-contact__field label {
	display: block;
	margin-bottom: 0.375rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--yny-slate);
}

.yny-contact__required {
	color: var(--yny-red);
}

.yny-contact__field input,
.yny-contact__field textarea {
	width: 100%;
	padding: 0.625rem 0.875rem;
	border: 1px solid var(--yny-border);
	border-radius: 4px;
	background: var(--yny-white);
	color: var(--yny-ink);
	font-family: inherit;
	font-size: 0.9375rem;
	line-height: 1.4;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.yny-contact__field input:focus,
.yny-contact__field textarea:focus {
	border-color: var(--yny-red);
	outline: none;
	box-shadow: 0 0 0 3px rgb(238 49 36 / 12%);
}

.yny-contact__field textarea {
	resize: vertical;
	min-height: 8rem;
}

.yny-contact__honeypot {
	height: 0;
	margin: 0 !important;
	overflow: hidden;
	padding: 0 !important;
	position: absolute;
	width: 0;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.yny-contact__turnstile {
	margin-top: 0.25rem;
}

.yny-contact__submit {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100%;
	min-height: 2.75rem;
	margin: 0.25rem 0 0 !important;
	padding: 0.75rem 1.5rem !important;
	border: none !important;
	border-radius: 4px !important;
	background-color: var(--yny-red) !important;
	color: var(--yny-white) !important;
	font-family: inherit !important;
	font-size: 0.9375rem !important;
	font-weight: 600 !important;
	line-height: 1 !important;
	cursor: pointer;
	transition: background-color 0.15s ease !important;
}

.yny-contact__submit:hover {
	background-color: #c62828 !important;
	color: var(--yny-white) !important;
}

@media (max-width: 781px) {
	.yny-contact__grid {
		grid-template-columns: 1fr;
	}

	.yny-contact__field-row {
		grid-template-columns: 1fr;
	}

	.yny-contact__form-col {
		padding: 1.25rem;
	}
}
