/* Learnnet contact page */

:root {
	--ln-brown: #6d675d;
	--ln-lime: #ccd871;
	--ln-teal: #7ebec5;
	--ln-sage: #b5c17b;
	--ln-dark: #2f2b27;
	--ln-muted: #8a847a;
	--ln-bg: #f8f7f4;
	--ln-white: #ffffff;
	--ln-shadow: 0 12px 32px rgba(47, 43, 39, 0.12);
	--ln-radius: 8px;
	--ln-container: min(1140px, calc(100% - 48px));
}

body.learnnet-contact {
	font-family: 'Open Sans', Helvetica, Arial, sans-serif;
	color: var(--ln-brown);
	background: var(--ln-white);
}

body.learnnet-contact #main-content {
	padding: 0;
	margin: 0;
}

body.learnnet-contact #page-container {
	overflow: visible;
}

.ln-contact-main {
	overflow-x: hidden;
}

.ln-container {
	width: var(--ln-container);
	margin: 0 auto;
}

.ln-section {
	padding: 72px 0 88px;
}

.ln-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ln-teal);
	margin-bottom: 14px;
}

.ln-eyebrow::before {
	content: '»»';
	font-weight: 700;
}

/* Hero band */
.ln-contact-hero {
	background: linear-gradient(135deg, #2f2b27 0%, #4a453f 100%);
	color: var(--ln-white);
	padding: 120px 0 72px;
}

.ln-contact-hero__inner {
	width: var(--ln-container);
	margin: 0 auto;
	max-width: 720px;
}

.ln-contact-hero h1 {
	font-family: 'ABeeZee', 'Open Sans', sans-serif;
	font-size: clamp(2.2rem, 4vw, 3rem);
	line-height: 1.12;
	margin: 0 0 18px;
	font-weight: 700;
}

.ln-contact-hero p {
	font-size: 18px;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.9);
	margin: 0;
}

/* Layout */
.ln-contact-grid {
	display: grid;
	grid-template-columns: 1fr 1.1fr;
	gap: 32px;
	align-items: start;
}

.ln-contact-cards {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.ln-contact-card {
	background: var(--ln-white);
	border-radius: var(--ln-radius);
	box-shadow: var(--ln-shadow);
	padding: 28px 24px;
}

.ln-contact-card__icon {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgba(204, 216, 113, 0.25);
	color: var(--ln-brown);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.04em;
	margin-bottom: 16px;
}

.ln-contact-card h3 {
	font-family: 'ABeeZee', 'Open Sans', sans-serif;
	font-size: 1.15rem;
	margin: 0 0 10px;
	color: var(--ln-brown);
}

.ln-contact-card p,
.ln-contact-card a {
	font-size: 15px;
	line-height: 1.65;
	color: var(--ln-muted);
	margin: 0;
	text-decoration: none;
}

.ln-contact-card a:hover {
	color: var(--ln-sage);
}

/* Form card */
.ln-contact-form-card {
	background: var(--ln-white);
	border-radius: var(--ln-radius);
	box-shadow: var(--ln-shadow);
	padding: 36px 32px;
}

.ln-contact-form-card h2 {
	font-family: 'ABeeZee', 'Open Sans', sans-serif;
	font-size: clamp(1.6rem, 3vw, 2rem);
	margin: 0 0 10px;
	color: var(--ln-brown);
}

.ln-contact-form-card > p {
	font-size: 16px;
	line-height: 1.65;
	color: var(--ln-muted);
	margin: 0 0 28px;
}

.ln-contact-form .ln-field {
	margin-bottom: 20px;
}

.ln-contact-form label {
	display: block;
	font-size: 14px;
	font-weight: 600;
	color: var(--ln-brown);
	margin-bottom: 8px;
}

.ln-contact-form input[type="text"],
.ln-contact-form input[type="email"],
.ln-contact-form textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 14px 16px;
	border: 1px solid #e0ddda;
	border-radius: 6px;
	font-family: inherit;
	font-size: 15px;
	color: var(--ln-brown);
	background: var(--ln-white);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ln-contact-form input:focus,
.ln-contact-form textarea:focus {
	outline: none;
	border-color: var(--ln-lime);
	box-shadow: 0 0 0 3px rgba(204, 216, 113, 0.25);
}

.ln-contact-form textarea {
	min-height: 160px;
	resize: vertical;
}

.ln-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 16px 32px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
	border: none;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.ln-btn--primary {
	background: var(--ln-lime);
	color: var(--ln-brown);
}

.ln-btn--primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(204, 216, 113, 0.35);
}

.ln-contact-form .wpcf7-response-output {
	margin-top: 16px;
	padding: 12px 16px;
	border-radius: 6px;
	font-size: 14px;
	display: none;
}

.ln-contact-form .wpcf7-response-output.is-success {
	display: block;
	background: #eef5e6;
	color: #3d5a2c;
	border: 1px solid #c5d9b0;
}

.ln-contact-form .wpcf7-response-output.is-error {
	display: block;
	background: #fdeeee;
	color: #7a2e2e;
	border: 1px solid #f0c4c4;
}

/* Contact thank-you page */
.ln-thanks-hero__grid {
	width: var(--ln-container);
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	gap: 40px;
	align-items: center;
}

.ln-thanks-hero h1 {
	font-family: 'ABeeZee', 'Open Sans', sans-serif;
	font-size: clamp(2.2rem, 4vw, 3rem);
	line-height: 1.12;
	margin: 0 0 18px;
	font-weight: 700;
}

.ln-thanks-hero h1 em {
	font-style: normal;
	color: var(--ln-lime);
}

.ln-thanks-hero p {
	font-size: 17px;
	line-height: 1.75;
	color: rgba(255, 255, 255, 0.9);
	margin: 0;
	max-width: 560px;
}

.ln-thanks-hero__badge {
	display: flex;
	justify-content: center;
}

.ln-thanks-hero__check {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 120px;
	height: 120px;
	border-radius: 50%;
	background: var(--ln-lime);
	color: var(--ln-dark);
	font-size: 3.5rem;
	font-weight: 700;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.ln-thanks-layout {
	display: grid;
	grid-template-columns: 1.4fr 0.9fr;
	gap: 32px;
	align-items: start;
}

.ln-thanks-card,
.ln-thanks-note {
	background: var(--ln-white);
	border-radius: var(--ln-radius);
	box-shadow: var(--ln-shadow);
	padding: 32px 28px;
}

.ln-thanks-card h2,
.ln-thanks-note h3 {
	font-family: 'ABeeZee', 'Open Sans', sans-serif;
	font-size: 1.35rem;
	margin: 0 0 20px;
	color: var(--ln-brown);
}

.ln-thanks-steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.ln-thanks-step {
	display: grid;
	grid-template-columns: 40px 1fr;
	gap: 16px;
	align-items: start;
}

.ln-thanks-step__num {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--ln-teal);
	color: var(--ln-white);
	font-weight: 700;
	font-size: 1rem;
}

.ln-thanks-step strong {
	display: block;
	font-size: 1rem;
	margin-bottom: 4px;
	color: var(--ln-brown);
}

.ln-thanks-step p {
	margin: 0;
	font-size: 15px;
	line-height: 1.65;
	color: var(--ln-muted);
}

.ln-thanks-aside {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.ln-thanks-note p {
	margin: 0;
	font-size: 15px;
	line-height: 1.65;
	color: var(--ln-muted);
}

.ln-thanks-note a {
	color: var(--ln-teal);
	font-weight: 600;
}

.ln-thanks-actions {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.ln-thanks-actions .ln-btn {
	text-align: center;
}

.ln-thanks-actions .ln-link {
	text-align: center;
	font-weight: 600;
	color: var(--ln-teal);
	margin-top: 4px;
}

.ln-btn--outline {
	display: inline-block;
	padding: 14px 28px;
	border-radius: 999px;
	border: 2px solid var(--ln-sage);
	color: var(--ln-brown);
	background: transparent;
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease;
}

.ln-btn--outline:hover {
	background: var(--ln-sage);
	color: var(--ln-white);
	text-decoration: none;
}

/* Footer on lightweight pages */
body.learnnet-contact #main-footer {
	background: #6d675d;
	color: #fff;
	margin-top: 0;
}

body.learnnet-contact #footer-widgets {
	padding: 48px 0 24px;
}

body.learnnet-contact #footer-widgets .footer-widget {
	float: left;
	width: 33.33%;
	padding: 0 20px;
	box-sizing: border-box;
}

body.learnnet-contact #footer-widgets .title {
	color: #ccd871;
	font-size: 16px;
	margin-bottom: 16px;
}

body.learnnet-contact #footer-widgets a {
	color: rgba(255, 255, 255, 0.85);
	text-decoration: none;
}

body.learnnet-contact #footer-widgets a:hover {
	color: #ccd871;
}

body.learnnet-contact #footer-widgets ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

body.learnnet-contact #footer-widgets li {
	margin-bottom: 8px;
}

body.learnnet-contact #footer-bottom {
	background: #6d675d;
	padding: 16px 0;
}

body.learnnet-contact #footer-info {
	color: rgba(255, 255, 255, 0.6);
	font-size: 13px;
}

@media (max-width: 980px) {
	.ln-contact-hero {
		padding: 100px 0 56px;
	}

	.ln-contact-grid {
		grid-template-columns: 1fr;
	}

	.ln-contact-cards {
		grid-template-columns: 1fr;
	}

	body.learnnet-contact #footer-widgets .footer-widget {
		width: 100%;
		margin-bottom: 24px;
	}

	.ln-thanks-hero__grid,
	.ln-thanks-layout {
		grid-template-columns: 1fr;
	}

	.ln-thanks-hero__badge {
		justify-content: flex-start;
	}
}
