/* ==========================================================================
   OG Hemp - Contact Us Page Stylesheet (Equal Height Grid & Spacing)
   Path: app/public/wp-content/themes/shoptimizer-child-theme/assets/css/oghemp-contact.css
   ========================================================================== */

:root {
	--og-green-primary: #2E5B38;
	--og-green-dark: #1E3A24;
	--og-green-light: #EBF2EC;
	--og-cream-bg: #F9F8F3;
	--og-gold-accent: #C5A059;
	--og-text-dark: #1C241E;
	--og-text-muted: #5A655D;
	--og-card-shadow: 0 12px 32px rgba(28, 36, 30, 0.08);
	--og-card-radius: 16px;
	--og-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.oghemp-contact-wrapper {
	background-color: var(--og-cream-bg);
	color: var(--og-text-dark);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	line-height: 1.6;
	overflow-x: hidden;
	padding-bottom: 60px;
}

/* 1. Header (Compact & Conversion-Focused) */
.oghemp-contact-hero {
	position: relative;
	padding: 50px 24px 30px;
	background: linear-gradient(180deg, #FFFFFF 0%, var(--og-cream-bg) 100%);
	text-align: center;
}

.oghemp-contact-hero .hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 16px;
	background: var(--og-green-light);
	color: var(--og-green-primary);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 1.2px;
	text-transform: uppercase;
	border-radius: 50px;
	margin-bottom: 16px;
	border: 1px solid rgba(46, 91, 56, 0.15);
}

.oghemp-contact-hero h1 {
	font-family: "Playfair Display", Georgia, serif;
	font-size: 44px;
	font-weight: 700;
	color: var(--og-text-dark);
	margin-bottom: 12px;
	line-height: 1.15;
}

.oghemp-contact-hero h1 span {
	color: var(--og-green-primary);
	position: relative;
	display: inline-block;
}

.oghemp-contact-hero h1 span::after {
	content: '';
	position: absolute;
	bottom: 4px;
	left: 0;
	width: 100%;
	height: 6px;
	background: rgba(197, 160, 89, 0.3);
	border-radius: 3px;
	z-index: -1;
}

.oghemp-contact-hero .hero-subtitle {
	max-width: 720px;
	margin: 0 auto;
	font-size: 17px;
	color: var(--og-text-muted);
	line-height: 1.6;
}

/* 2. Main Conversion Section (Equal Height Two Column Split) */
.oghemp-contact-main-section {
	max-width: 1140px;
	margin: 40px auto;
	padding: 0 24px;
}

.oghemp-contact-grid {
	display: grid;
	grid-template-columns: 1.25fr 0.75fr;
	gap: 32px;
	align-items: stretch; /* Stretch both columns to identical height */
}

/* Form Container Card */
.oghemp-form-card {
	background: #FFFFFF;
	padding: 36px 32px;
	border-radius: var(--og-card-radius);
	border: 1px solid rgba(46, 91, 56, 0.15);
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100%;
	box-sizing: border-box;
}

.oghemp-form-card h2 {
	font-family: "Playfair Display", Georgia, serif;
	font-size: 28px;
	font-weight: 700;
	color: var(--og-text-dark);
	margin-bottom: 6px;
}

.oghemp-form-card p.form-sub {
	font-size: 14px;
	color: var(--og-text-muted);
	margin-bottom: 20px;
}

.form-privacy-note {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: var(--og-text-muted);
	margin-top: 14px;
}

/* Form Inputs Styling */
.wpcf7 p {
	margin-bottom: 14px;
}

.wpcf7 label {
	font-size: 14px;
	font-weight: 600;
	color: var(--og-text-dark);
	display: block;
	margin-bottom: 4px;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea,
.wpcf7 select {
	width: 100%;
	padding: 11px 14px;
	border: 1px solid rgba(0, 0, 0, 0.15);
	border-radius: 8px;
	background: #FAFAFA;
	font-size: 14px;
	color: var(--og-text-dark);
	transition: var(--og-transition);
	box-sizing: border-box;
}

.wpcf7 textarea {
	rows: 5;
	height: 110px;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus {
	outline: none;
	border-color: var(--og-green-primary);
	background: #FFFFFF;
	box-shadow: 0 0 0 3px rgba(46, 91, 56, 0.12);
}

.wpcf7 input[type="submit"] {
	background: var(--og-green-primary);
	color: #FFFFFF;
	padding: 13px 36px;
	border: none;
	border-radius: 50px;
	font-weight: 700;
	font-size: 15px;
	cursor: pointer;
	transition: var(--og-transition);
	width: 100%;
	margin-top: 6px;
}

.wpcf7 input[type="submit"]:hover {
	background: var(--og-green-dark);
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(46, 91, 56, 0.25);
}

/* Right Side Trust & Compact Info Column (Stretched Height) */
.oghemp-trust-column {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100%;
	box-sizing: border-box;
}

/* 1. Top Image Card */
.product-image-card {
	border-radius: var(--og-card-radius);
	overflow: hidden;
	box-shadow: var(--og-card-shadow);
	border: 1px solid rgba(0, 0, 0, 0.06);
	height: 200px;
	flex-shrink: 0;
}

.product-image-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* 2. Middle Contact Details Box */
.oghemp-compact-contact-box {
	background: #FFFFFF;
	padding: 22px 20px;
	border-radius: var(--og-card-radius);
	border: 1px solid rgba(46, 91, 56, 0.12);
	box-shadow: 0 4px 16px rgba(0,0,0,0.03);
	margin: 16px 0;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.oghemp-compact-contact-box h3 {
	font-family: "Playfair Display", Georgia, serif;
	font-size: 19px;
	font-weight: 700;
	color: var(--og-text-dark);
	margin-bottom: 12px;
	padding-bottom: 8px;
	border-bottom: 2px solid var(--og-green-light);
}

.info-item {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 10px;
	font-size: 13.5px;
	color: var(--og-text-muted);
}

.info-item:last-child {
	margin-bottom: 0;
}

.info-item svg {
	color: var(--og-green-primary);
	flex-shrink: 0;
	margin-top: 2px;
}

.info-item strong {
	color: var(--og-text-dark);
}

.info-item a {
	color: var(--og-green-primary);
	text-decoration: none;
	font-weight: 600;
}

.info-item a:hover {
	text-decoration: underline;
}

/* 3. Bottom Trust Perks Box */
.oghemp-trust-perks-box {
	background: var(--og-green-light);
	padding: 18px 20px;
	border-radius: var(--og-card-radius);
	border: 1px solid rgba(46, 91, 56, 0.15);
	flex-shrink: 0;
}

.oghemp-trust-perks-box h4 {
	font-size: 13.5px;
	font-weight: 700;
	color: var(--og-green-primary);
	margin-bottom: 10px;
	text-transform: uppercase;
	letter-spacing: 0.8px;
}

.perks-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.perks-list li {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 600;
	color: var(--og-text-dark);
	margin-bottom: 8px;
}

.perks-list li:last-child {
	margin-bottom: 0;
}

.perks-list li svg {
	color: var(--og-green-primary);
	flex-shrink: 0;
}

/* 3. Bottom Trust Bar */
.oghemp-bottom-trust-bar {
	max-width: 1140px;
	margin: 36px auto 20px;
	padding: 0 24px;
}

.trust-bar-card {
	background: #FFFFFF;
	padding: 20px 32px;
	border-radius: 50px;
	box-shadow: 0 4px 20px rgba(0,0,0,0.04);
	border: 1px solid rgba(0,0,0,0.06);
	display: flex;
	align-items: center;
	justify-content: space-around;
	flex-wrap: wrap;
	gap: 20px;
}

.trust-bar-item {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13.5px;
	font-weight: 700;
	color: var(--og-text-dark);
}

.trust-bar-item svg {
	color: var(--og-green-primary);
}

/* Responsive */
@media (max-width: 992px) {
	.oghemp-contact-grid {
		grid-template-columns: 1fr;
		align-items: start;
	}
	.oghemp-trust-column {
		height: auto;
		gap: 20px;
	}
	.oghemp-compact-contact-box {
		margin: 0;
	}
	.trust-bar-card {
		border-radius: var(--og-card-radius);
		flex-direction: column;
		align-items: flex-start;
	}
}

@media (max-width: 640px) {
	.oghemp-contact-hero h1 {
		font-size: 32px;
	}
	.oghemp-form-card {
		padding: 24px 18px;
	}
}
