/*
 * GIN.MD Contact 1.3
 */

.ginmd-contact-page .page-header,
.ginmd-contact-page .woocommerce-breadcrumb {
	display: none !important;
}

/* Stage 23: premium Contact hero with generated reception background. */
.ginmd-contact-hero {
	min-height: 700px;
	padding: 48px 32px 34px;
	background-position: center center;
}

.ginmd-contact-hero::before {
	z-index: -2;
	background:
		linear-gradient(90deg, rgba(34, 13, 12, 0.74) 0%, rgba(46, 18, 16, 0.55) 43%, rgba(44, 20, 18, 0.08) 68%),
		linear-gradient(0deg, rgba(31, 12, 11, 0.28), rgba(255, 238, 215, 0.02));
}

.ginmd-contact-hero::after {
	position: absolute;
	z-index: 2;
	inset: 20px;
	border: 1px solid rgba(235, 202, 153, 0.28);
	content: "";
	pointer-events: none;
}

.ginmd-contact-hero-grid {
	display: grid;
	min-height: 610px;
	grid-template-columns: minmax(0, 1fr) minmax(390px, 0.72fr);
	gap: clamp(30px, 5vw, 78px);
	align-items: center;
}

.ginmd-contact-hero-copy {
	position: relative;
	z-index: 3;
	max-width: 690px;
	padding: clamp(34px, 4vw, 58px) clamp(28px, 4.5vw, 64px);
	border-left: 2px solid #d1a164;
	background: linear-gradient(105deg, rgba(43, 17, 15, 0.78), rgba(56, 22, 19, 0.56));
	box-shadow: 0 30px 75px rgba(29, 10, 9, 0.2);
	backdrop-filter: blur(7px);
}

.ginmd-contact-hero .ginmd-contact-eyebrow {
	color: #e4bd7c;
}

.ginmd-contact-hero-copy h1 {
	max-width: 650px;
	font-size: clamp(58px, 6vw, 88px);
	letter-spacing: -0.055em;
	line-height: 0.94;
}

.ginmd-contact-hero-copy > p:not(.ginmd-contact-eyebrow) {
	max-width: 540px;
	color: rgba(255, 246, 234, 0.82);
	font-size: 16px;
	line-height: 1.72;
}

.ginmd-contact-hero .ginmd-contact-button {
	border-color: #d2a161;
	background: #d2a161;
	color: #291310;
}

.ginmd-contact-hero .ginmd-contact-button:hover,
.ginmd-contact-hero .ginmd-contact-button:focus-visible {
	border-color: #fff7ec;
	background: #fff7ec;
	color: #291310;
}

.ginmd-contact-hero-product {
	position: relative;
	z-index: 3;
	display: flex;
	height: 590px;
	align-items: flex-end;
	justify-content: center;
	padding: 24px 26px 0;
}

.ginmd-contact-hero-product img {
	display: block;
	width: auto;
	max-width: 100%;
	height: min(560px, 100%);
	object-fit: contain;
	filter: drop-shadow(0 36px 30px rgba(38, 15, 13, 0.4));
}

@media (max-width: 1024px) {
	.ginmd-contact-hero-grid {
		grid-template-columns: minmax(0, 1fr) minmax(300px, 0.65fr);
		gap: 20px;
	}

	.ginmd-contact-hero-copy {
		padding: 38px 34px;
	}

	.ginmd-contact-hero-product {
		height: 525px;
		padding-inline: 10px;
	}
}

@media (max-width: 767px) {
	.ginmd-contact-hero {
		min-height: 1010px;
		padding: 36px 20px 24px;
		background-position: 62% center;
	}

	.ginmd-contact-hero::before {
		background:
			linear-gradient(180deg, rgba(40, 15, 13, 0.7) 0%, rgba(48, 18, 16, 0.42) 58%, rgba(46, 18, 16, 0.12) 100%),
			linear-gradient(90deg, rgba(42, 16, 14, 0.44), rgba(42, 16, 14, 0.06));
	}

	.ginmd-contact-hero::after {
		inset: 12px;
	}

	.ginmd-contact-hero-grid {
		min-height: 940px;
		grid-template-columns: 1fr;
		grid-template-rows: auto 420px;
		gap: 14px;
		align-items: start;
	}

	.ginmd-contact-hero-copy {
		max-width: none;
		padding: 30px 24px;
	}

	.ginmd-contact-hero-copy h1 {
		font-size: clamp(48px, 15vw, 68px);
	}

	.ginmd-contact-hero-copy > p:not(.ginmd-contact-eyebrow) {
		font-size: 15px;
		line-height: 1.62;
	}

	.ginmd-contact-hero-product {
		height: 430px;
		padding: 0 34px;
	}

	.ginmd-contact-hero-product img {
		height: 420px;
	}
}

.ginmd-contact-page .site-main,
.ginmd-contact-page .site-content,
.ginmd-contact-page .content-area {
	margin: 0;
	padding: 0;
}

.ginmd-contact-shell {
	width: min(100%, 1180px);
	margin-inline: auto;
}

.ginmd-contact-eyebrow {
	margin: 0 0 14px;
	color: #c3924d;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.24em;
	line-height: 1.35;
	text-transform: uppercase;
}

.ginmd-contact-button {
	display: inline-flex;
	min-height: 52px;
	align-items: center;
	justify-content: center;
	padding: 15px 25px;
	border: 1px solid #bd8e4a;
	background: #bd8e4a;
	color: #10261b;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.13em;
	line-height: 1.2;
	text-decoration: none;
	text-transform: uppercase;
	transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.ginmd-contact-button:hover,
.ginmd-contact-button:focus-visible {
	border-color: #fff;
	background: #fff;
	color: #10261b;
}

.ginmd-contact-hero {
	position: relative;
	display: flex;
	min-height: 620px;
	align-items: center;
	overflow: hidden;
	padding: 82px 32px;
	background-image: var(--ginmd-contact-hero);
	background-position: center;
	background-size: cover;
	color: #fff;
	isolation: isolate;
}

.ginmd-contact-hero::before {
	position: absolute;
	z-index: -1;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(3, 16, 11, 0.95) 0%, rgba(3, 16, 11, 0.78) 45%, rgba(3, 16, 11, 0.28) 78%),
		linear-gradient(0deg, rgba(3, 16, 11, 0.22), rgba(3, 16, 11, 0.06));
	content: "";
}

.ginmd-contact-hero-copy h1 {
	max-width: 800px;
	margin: 0 0 28px;
	color: #fff;
	font-size: clamp(60px, 7vw, 98px);
	font-weight: 500;
	letter-spacing: -0.065em;
	line-height: 0.92;
}

.ginmd-contact-hero-copy > p:not(.ginmd-contact-eyebrow) {
	max-width: 600px;
	margin: 0 0 34px;
	color: rgba(255, 255, 255, 0.76);
	font-size: 17px;
	line-height: 1.78;
}

.ginmd-contact-main {
	padding: 92px 32px;
	background: #f2eee7;
}

.ginmd-contact-main-grid {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(440px, 1.1fr);
	gap: clamp(56px, 8vw, 112px);
	align-items: start;
}

.ginmd-contact-details h2,
.ginmd-contact-form-heading h2,
.ginmd-contact-paths-heading h2 {
	margin: 0;
	color: #10261b;
	font-size: clamp(42px, 5vw, 68px);
	font-weight: 500;
	letter-spacing: -0.055em;
	line-height: 0.98;
}

.ginmd-contact-lead {
	max-width: 560px;
	margin: 27px 0 42px;
	color: #626b65;
	font-size: 16px;
	line-height: 1.8;
}

.ginmd-contact-list {
	border-top: 1px solid #d7d6d0;
}

.ginmd-contact-item {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr);
	gap: 22px;
	padding: 25px 0;
	border-bottom: 1px solid #d7d6d0;
}

.ginmd-contact-item > .ginmd-contact-item-icon {
	display: grid;
	width: 40px;
	height: 40px;
	margin-top: 1px;
	place-items: center;
	border: 1px solid rgba(169, 120, 53, 0.42);
	border-radius: 50%;
	background: rgba(189, 142, 74, 0.055);
	color: #a97835;
	transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.ginmd-contact-item-icon svg {
	display: block;
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.55;
}

.ginmd-contact-item:hover > .ginmd-contact-item-icon,
.ginmd-contact-item:focus-within > .ginmd-contact-item-icon {
	border-color: #a97835;
	background: #a97835;
	color: #f7f0e7;
}

.ginmd-contact-item p {
	margin: 0 0 6px;
	color: #888e89;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.15em;
	text-transform: uppercase;
}

.ginmd-contact-item strong,
.ginmd-contact-item a {
	display: block;
	color: #10261b;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.65;
	text-decoration: none;
}

.ginmd-contact-item a:hover,
.ginmd-contact-item a:focus-visible {
	color: #a97835;
}

.ginmd-contact-primary-link {
	font-size: 20px !important;
	letter-spacing: -0.02em;
}

.ginmd-contact-form-card {
	padding: clamp(34px, 5vw, 58px);
	background: #fff;
	box-shadow: 0 24px 70px rgba(15, 35, 25, 0.08);
}

.ginmd-contact-form-heading {
	margin-bottom: 34px;
	padding-bottom: 28px;
	border-bottom: 1px solid #e3e4e0;
}

.ginmd-contact-form-heading h2 {
	font-size: clamp(40px, 4.5vw, 58px);
}

.ginmd-contact-form-heading > p:last-child {
	margin: 16px 0 0;
	color: #737b76;
	font-size: 13px;
}

.ginmd-contact-form-card .ginmd-form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.ginmd-contact-form-card .ginmd-field {
	display: block;
	margin: 0 0 20px;
	color: #10261b;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.ginmd-contact-form-card .ginmd-field > span {
	display: block;
	margin-top: 9px;
}

.ginmd-contact-form-card input[type="text"],
.ginmd-contact-form-card input[type="email"],
.ginmd-contact-form-card textarea {
	width: 100%;
	margin: 0;
	border: 1px solid #d9dcd8;
	border-radius: 0;
	background: #fafaf8;
	box-shadow: none;
	color: #10261b;
	font-size: 15px;
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
	transition: border-color 180ms ease, background 180ms ease;
}

.ginmd-contact-form-card input[type="text"],
.ginmd-contact-form-card input[type="email"] {
	height: 54px;
	padding: 0 16px;
}

.ginmd-contact-form-card textarea {
	min-height: 160px;
	padding: 15px 16px;
	resize: vertical;
}

.ginmd-contact-form-card input:focus,
.ginmd-contact-form-card textarea:focus {
	border-color: #bd8e4a;
	outline: 2px solid rgba(189, 142, 74, 0.14);
	background: #fff;
}

.ginmd-contact-form-card .ginmd-privacy {
	margin: 4px 0 22px;
	color: #68716b;
	font-size: 12px;
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.65;
	text-transform: none;
}

.ginmd-contact-form-card .ginmd-privacy .wpcf7-list-item {
	margin: 0;
}

.ginmd-contact-form-card .ginmd-privacy label {
	display: flex;
	gap: 10px;
	align-items: flex-start;
}

.ginmd-contact-form-card .ginmd-privacy input {
	margin-top: 4px;
}

.ginmd-contact-form-card input[type="submit"] {
	min-height: 54px;
	padding: 15px 28px;
	border: 1px solid #10261b;
	border-radius: 0;
	background: #10261b;
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.ginmd-contact-form-card input[type="submit"]:hover,
.ginmd-contact-form-card input[type="submit"]:focus-visible {
	border-color: #bd8e4a;
	background: #bd8e4a;
	color: #10261b;
}

.ginmd-contact-form-card .wpcf7-not-valid-tip {
	margin-top: 7px;
	color: #9e342d;
	font-size: 12px;
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
}

.ginmd-contact-form-card .wpcf7-response-output {
	margin: 20px 0 0 !important;
	padding: 14px 16px !important;
	border: 1px solid #bd8e4a !important;
	color: #343b37;
	font-size: 13px;
	line-height: 1.6;
}

.ginmd-honeypot {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	clip-path: inset(50%) !important;
	white-space: nowrap !important;
}

.ginmd-form-note {
	margin: 16px 0 0;
	color: #8a908c;
	font-size: 11px;
	line-height: 1.6;
}

.ginmd-contact-paths {
	padding: 82px 32px 92px;
	background: #fff;
}

.ginmd-contact-paths-heading {
	display: grid;
	grid-template-columns: minmax(180px, 0.35fr) minmax(0, 1fr);
	gap: 44px;
	align-items: end;
	margin-bottom: 48px;
}

.ginmd-contact-paths-heading h2 {
	max-width: 760px;
	font-size: clamp(40px, 5vw, 64px);
}

.ginmd-contact-path-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	border-top: 1px solid #dfe2de;
}

.ginmd-contact-path-grid > a {
	display: flex;
	min-height: 250px;
	flex-direction: column;
	padding: 28px 30px 30px 0;
	border-right: 1px solid #dfe2de;
	color: #10261b;
	text-decoration: none;
	transition: background 180ms ease, padding 180ms ease;
}

.ginmd-contact-path-grid > a + a {
	padding-left: 30px;
}

.ginmd-contact-path-grid > a:last-child {
	border-right: 0;
}

.ginmd-contact-path-grid > a:hover,
.ginmd-contact-path-grid > a:focus-visible {
	background: #f5f2ec;
	padding-right: 30px;
}

.ginmd-contact-path-grid .ginmd-contact-path-icon {
	display: grid;
	width: 46px;
	height: 46px;
	place-items: center;
	border: 1px solid rgba(169, 120, 53, 0.42);
	border-radius: 50%;
	background: rgba(189, 142, 74, 0.055);
	color: #a97835;
	transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.ginmd-contact-path-icon svg {
	display: block;
	width: 21px;
	height: 21px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.5;
}

.ginmd-contact-path-grid > a:hover .ginmd-contact-path-icon,
.ginmd-contact-path-grid > a:focus-visible .ginmd-contact-path-icon {
	border-color: #a97835;
	background: #a97835;
	color: #f7f0e7;
}

.ginmd-contact-path-grid strong {
	margin-top: auto;
	font-size: 27px;
	font-weight: 500;
	letter-spacing: -0.035em;
	line-height: 1.12;
}

.ginmd-contact-path-grid small {
	margin-top: 10px;
	color: #717973;
	font-size: 13px;
	line-height: 1.5;
}

@media (prefers-reduced-motion: reduce) {
	.ginmd-contact-button,
	.ginmd-contact-item-icon,
	.ginmd-contact-path-icon,
	.ginmd-contact-form-card input,
	.ginmd-contact-form-card textarea,
	.ginmd-contact-path-grid > a {
		transition: none;
	}
}

@media (max-width: 1024px) {
	.ginmd-contact-hero,
	.ginmd-contact-main,
	.ginmd-contact-paths {
		padding-inline: 28px;
	}

	.ginmd-contact-main-grid {
		grid-template-columns: minmax(0, 0.8fr) minmax(400px, 1.2fr);
		gap: 48px;
	}
}

@media (max-width: 767px) {
	.ginmd-contact-hero,
	.ginmd-contact-main,
	.ginmd-contact-paths {
		padding: 56px 20px;
	}

	.ginmd-contact-hero {
		min-height: 560px;
		background-position: 62% center;
	}

	.ginmd-contact-hero::before {
		background: linear-gradient(90deg, rgba(3, 16, 11, 0.95), rgba(3, 16, 11, 0.58));
	}

	.ginmd-contact-hero-copy h1 {
		font-size: clamp(52px, 17vw, 74px);
	}

	.ginmd-contact-main-grid,
	.ginmd-contact-form-card .ginmd-form-grid,
	.ginmd-contact-paths-heading,
	.ginmd-contact-path-grid {
		grid-template-columns: 1fr;
	}

	.ginmd-contact-main-grid {
		gap: 46px;
	}

	.ginmd-contact-form-card {
		padding: 30px 22px;
	}

	.ginmd-contact-paths-heading {
		gap: 10px;
		margin-bottom: 34px;
	}

	.ginmd-contact-path-grid {
		border-top: 0;
	}

	.ginmd-contact-path-grid > a,
	.ginmd-contact-path-grid > a + a {
		min-height: 190px;
		padding: 24px 0;
		border-top: 1px solid #dfe2de;
		border-right: 0;
	}

	.ginmd-contact-path-grid > a:hover,
	.ginmd-contact-path-grid > a:focus-visible {
		padding-right: 20px;
		padding-left: 20px;
	}
}

/* Stage 23 final cascade: premium Contact hero. */
.ginmd-contact-hero {
	min-height: 700px;
	padding: 48px 32px 34px;
	background-position: center center;
}

.ginmd-contact-hero::before {
	z-index: -2;
	background:
		linear-gradient(90deg, rgba(34, 13, 12, 0.74) 0%, rgba(46, 18, 16, 0.55) 43%, rgba(44, 20, 18, 0.08) 68%),
		linear-gradient(0deg, rgba(31, 12, 11, 0.28), rgba(255, 238, 215, 0.02));
}

.ginmd-contact-hero::after {
	position: absolute;
	z-index: 2;
	inset: 20px;
	border: 1px solid rgba(235, 202, 153, 0.28);
	content: "";
	pointer-events: none;
}

.ginmd-contact-hero-grid {
	display: grid;
	min-height: 610px;
	grid-template-columns: minmax(0, 1fr) minmax(390px, 0.72fr);
	gap: clamp(30px, 5vw, 78px);
	align-items: center;
}

.ginmd-contact-hero-copy {
	position: relative;
	z-index: 3;
	max-width: 690px;
	padding: clamp(34px, 4vw, 58px) clamp(28px, 4.5vw, 64px);
	border-left: 2px solid #d1a164;
	background: linear-gradient(105deg, rgba(43, 17, 15, 0.78), rgba(56, 22, 19, 0.56));
	box-shadow: 0 30px 75px rgba(29, 10, 9, 0.2);
	backdrop-filter: blur(7px);
}

.ginmd-contact-hero .ginmd-contact-eyebrow {
	color: #e4bd7c;
}

.ginmd-contact-hero-copy h1 {
	max-width: 650px;
	font-size: clamp(58px, 6vw, 88px);
	letter-spacing: -0.055em;
	line-height: 0.94;
}

.ginmd-contact-hero-copy > p:not(.ginmd-contact-eyebrow) {
	max-width: 540px;
	color: rgba(255, 246, 234, 0.82);
	font-size: 16px;
	line-height: 1.72;
}

.ginmd-contact-hero .ginmd-contact-button {
	border-color: #d2a161;
	background: #d2a161;
	color: #291310;
}

.ginmd-contact-hero .ginmd-contact-button:hover,
.ginmd-contact-hero .ginmd-contact-button:focus-visible {
	border-color: #fff7ec;
	background: #fff7ec;
	color: #291310;
}

.ginmd-contact-hero-product {
	position: relative;
	z-index: 3;
	display: flex;
	height: 590px;
	align-items: flex-end;
	justify-content: center;
	padding: 24px 26px 0;
}

.ginmd-contact-hero-product img {
	display: block;
	width: auto;
	max-width: 100%;
	height: min(560px, 100%);
	object-fit: contain;
	filter: drop-shadow(0 36px 30px rgba(38, 15, 13, 0.4));
}

@media (max-width: 1024px) {
	.ginmd-contact-hero-grid {
		grid-template-columns: minmax(0, 1fr) minmax(300px, 0.65fr);
		gap: 20px;
	}

	.ginmd-contact-hero-copy {
		padding: 38px 34px;
	}

	.ginmd-contact-hero-product {
		height: 525px;
		padding-inline: 10px;
	}
}

@media (max-width: 767px) {
	.ginmd-contact-hero {
		min-height: 1010px;
		padding: 36px 20px 24px;
		background-position: 62% center;
	}

	.ginmd-contact-hero::before {
		background:
			linear-gradient(180deg, rgba(40, 15, 13, 0.7) 0%, rgba(48, 18, 16, 0.42) 58%, rgba(46, 18, 16, 0.12) 100%),
			linear-gradient(90deg, rgba(42, 16, 14, 0.44), rgba(42, 16, 14, 0.06));
	}

	.ginmd-contact-hero::after {
		inset: 12px;
	}

	.ginmd-contact-hero-grid {
		min-height: 940px;
		grid-template-columns: 1fr;
		grid-template-rows: auto 420px;
		gap: 14px;
		align-items: start;
	}

	.ginmd-contact-hero-copy {
		max-width: none;
		padding: 30px 24px;
	}

	.ginmd-contact-hero-copy h1 {
		font-size: clamp(48px, 15vw, 68px);
	}

	.ginmd-contact-hero-copy > p:not(.ginmd-contact-eyebrow) {
		font-size: 15px;
		line-height: 1.62;
	}

	.ginmd-contact-hero-product {
		height: 430px;
		padding: 0 34px;
	}

	.ginmd-contact-hero-product img {
		height: 420px;
	}
}
