/*
Theme Name: Main Landing
Theme URI: https://example.com/main-landing
Author: Codex
Description: Landing theme for the main site highlighting fast, professional website builds for multiple professions.
Version: 1.0.0
Text Domain: main-landing
*/

:root {
	--color-primary: #b3540b;
	--color-accent: #f59e0b;
	--color-surface: #f8f9fb;
	--color-card: #fffdf9;
	--color-text: #1f1a14;
	--color-muted: #5c5146;
	--radius: 16px;
	--shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
	--font-display: "Manrope", "Segoe UI", system-ui, sans-serif;
	--font-body: "Inter", "Segoe UI", system-ui, sans-serif;
}

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

body {
	margin: 0;
	font-family: var(--font-body);
	color: var(--color-text);
	background: #f4f6f8;
	line-height: 1.7;
}

a {
	color: var(--color-primary);
	text-decoration: none;
}

a:hover {
	color: #0b2f64;
}

.site {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

header.site-header {
	position: sticky;
	top: 0;
	z-index: 20;
	backdrop-filter: blur(10px);
	/* background: rgba(243, 242, 241, 0.95); */
	border-bottom: 1px solid rgba(179, 84, 11, 0.12);
}

.nav-bar {
	max-width: 1180px;
	margin: 0 auto;
	padding: 16px 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-weight: 800;
	font-family: var(--font-display);
	color: var(--color-primary);
}

.brand-mark {
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
	box-shadow: 0 8px 24px rgba(179, 84, 11, 0.2);
}

.brand-logo {
	max-height: 44px;
	max-width: 180px;
	width: auto;
	height: auto;
	display: block;
	object-fit: contain;
}

.nav-links {
	list-style: none;
	display: flex;
	gap: 16px;
	margin: 0;
	padding: 0;
}

.nav-links a {
	color: var(--color-text);
	padding: 12px 14px;
	border-radius: 12px;
	font-weight: 600;
	letter-spacing: 0.01em;
}

.nav-links a:hover {
	background: rgba(245, 158, 11, 0.12);
	color: var(--color-primary);
}

.hero {
	position: relative;
	overflow: hidden;
	background: linear-gradient(180deg, #e07b2b, #c35d19);
}

.hero-inner {
	position: relative;
	max-width: 1180px;
	margin: 0 auto;
	padding: 32px 20px 80px;
	display: grid;
	grid-template-columns: 1.3fr 1fr;
	gap: 28px;
	align-items: center;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
	border-radius: 999px;
	background: linear-gradient(135deg, #e8f2ff, #d9eaff);
	color: #1d4ed8;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: 12px;
	box-shadow: 0 8px 18px rgba(29, 78, 216, 0.12);
	animation: eyebrow-blink 2s ease-in-out infinite;
}

.hero h1 {
	font-family: var(--font-display);
	font-size: clamp(38px, 6vw, 58px);
	margin: 14px 0;
	color: #fff;
	line-height: 1.2;
}

.hero p.lead {
	color: #fff7ee;
	font-size: 19px;
	max-width: 720px;
	line-height: 1.65;
}

@keyframes eyebrow-pulse {
	0% { transform: translateY(0); box-shadow: 0 8px 18px rgba(162, 59, 5, 0.12); }
	50% { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(162, 59, 5, 0.16); }
	100% { transform: translateY(0); box-shadow: 0 8px 18px rgba(162, 59, 5, 0.12); }
}

@keyframes eyebrow-blink {
	0%, 100% { opacity: 1; transform: translateY(0); }
	45% { opacity: 0.6; transform: translateY(-1px); }
	60% { opacity: 1; transform: translateY(0); }
}

.hero-bullets {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 12px;
	margin: 18px 0 22px;
}

.pill {
	background: rgba(255, 255, 255, 0.18);
	color: #fffdf8;
	padding: 10px 12px;
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.3);
	font-weight: 600;
}

/* Hero-specific tweaks for contrast on orange background */
.hero .pill {
	background: rgba(255, 255, 255, 0.9);
	color: #a23b05;
	border: 1px solid rgba(162, 59, 5, 0.14);
}

.hero .btn-primary {
	background: linear-gradient(135deg, #f08a3d, #d46a1f);
	box-shadow: 0 12px 26px rgba(192, 93, 25, 0.28);
}

.hero .btn-secondary {
	background: #fff;
	color: #a23b05;
	border: 1px solid rgba(162, 59, 5, 0.22);
}

.hero-card {
	background: #fff5eb;
	border: 1px solid rgba(162, 59, 5, 0.18);
}

.cta-row {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.btn {
	border: none;
	cursor: pointer;
	font-weight: 800;
	padding: 14px 18px;
	border-radius: 12px;
	transition: transform 0.1s ease, box-shadow 0.2s ease;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
}

.btn-primary {
	background: linear-gradient(135deg, #e07b2b, #c35d19);
	color: #fff;
	box-shadow: 0 12px 26px rgba(192, 93, 25, 0.25);
}

.btn-secondary {
	background: #fff1e6;
	color: var(--color-primary);
	border: 1px solid rgba(192, 93, 25, 0.22);
}

.btn:hover {
	transform: translateY(-2px);
}

.hero-card {
	background: #fff4e9;
	border: 1px solid rgba(192, 93, 25, 0.18);
	border-radius: var(--radius);
	padding: 20px;
	backdrop-filter: blur(12px);
	box-shadow: var(--shadow);
}

.hero-card h2 {
	margin-top: 0;
	font-size: 20px;
}

.section {
	max-width: 1180px;
	margin: 0 auto;
	padding: 32px 20px;
}

.section h2 {
	font-family: var(--font-display);
	font-size: 32px;
	margin: 0 0 12px;
	color: var(--color-primary);
}

.section p {
	color: #3b332a;
	margin-top: 0;
}

.subhead {
	color: #f59e0b;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: 12px;
	margin-bottom: 6px;
	display: inline-block;
}

.card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 18px;
}

.card {
	background: #fff6ee;
	border: 1px solid rgba(192, 93, 25, 0.16);
	border-radius: var(--radius);
	padding: 18px;
	box-shadow: var(--shadow);
}

.card strong {
	color: var(--color-primary);
	font-family: var(--font-display);
}

.testimonial-card p {
	margin: 0 0 12px;
	color: #3b332a;
}

.testimonial-card strong {
	display: block;
	color: var(--color-primary);
}

.demo-card {
	display: block;
	color: inherit;
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.demo-card:hover,
.demo-card:focus {
	transform: translateY(-2px);
	box-shadow: 0 12px 20px rgba(0, 0, 0, 0.08);
}

.steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 16px;
}

.step {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 12px;
	align-items: center;
	background: #fff2e6;
	border: 1px solid rgba(192, 93, 25, 0.16);
	border-radius: 14px;
	padding: 14px;
}

.step .num {
	width: 36px;
	height: 36px;
	border-radius: 12px;
	background: linear-gradient(135deg, var(--color-accent), #f59e0b);
	color: #3b2414;
	font-weight: 800;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.pricing-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 16px;
}

.pricing-card {
	background: #ffffff;
	border: 1px solid rgba(192, 93, 25, 0.16);
	border-radius: var(--radius);
	padding: 18px;
	box-shadow: var(--shadow);
	display: grid;
	gap: 10px;
}

.pricing-card h3 {
	margin: 0;
	color: var(--color-primary);
}

.price {
	font-size: 24px;
	font-weight: 800;
	color: var(--color-primary);
}

.pricing-card ul {
	margin: 0;
	padding-left: 18px;
	color: #4b3f34;
}

/* Contact layout */
.contact-block {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 12px;
}

.contact-card {
	background: #fff6ee;
	border: 1px solid rgba(192, 93, 25, 0.16);
	border-radius: 12px;
	padding: 14px 16px;
	box-shadow: var(--shadow);
}

/* Form styling */
form,
.wpcf7-form {
	display: grid;
	gap: 12px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
textarea,
select {
	width: 100%;
	padding: 12px 14px;
	border-radius: 10px;
	border: 1px solid rgba(192, 93, 25, 0.18);
	background: #fffdf9;
	color: var(--color-text);
	font-family: var(--font-body);
	box-sizing: border-box;
}

textarea {
	min-height: 140px;
	resize: vertical;
}

input[type="submit"],
button[type="submit"],
.wpcf7-submit {
	align-self: start;
}

.cta-banner {
	background: linear-gradient(135deg, #fffaf3, #ffe9d5);
	border: 1px solid rgba(179, 84, 11, 0.16);
	border-radius: var(--radius);
	padding: 22px;
	box-shadow: var(--shadow);
	display: grid;
	grid-template-columns: 2fr auto;
	gap: 14px;
	align-items: center;
}

.cta-actions {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.footer {
	background: linear-gradient(135deg, #fff7ef 0%, #ffffff 60%);
	border-top: 1px solid rgba(192, 93, 25, 0.2);
	padding: 28px 20px;
	color: #3b332a;
}

.footer-inner {
	max-width: 1180px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 16px 24px;
	align-items: start;
	font-size: 14px;
	line-height: 1.6;
}

.footer-brand {
	display: grid;
	gap: 10px;
	order: 1;
}

.footer-logo img,
.footer-logo svg {
	max-width: 160px;
	height: auto;
}

.footer-logo-text {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 20px;
	color: var(--color-primary);
}

.footer-brand p {
	margin: 0;
	color: #3b332a;
	opacity: 0.9;
}

.footer-links h3,
.footer-meta h3 {
	margin: 0 0 8px;
	font-size: 13px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--color-accent);
}

.footer-links ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 6px;
	justify-items: end;
}

.footer-links a {
	color: #3b332a;
	text-decoration: none;
	font-weight: 600;
}

.footer-links a:hover,
.footer-links a:focus {
	color: var(--color-primary);
	text-decoration: underline;
}

.footer-meta {
	display: grid;
	gap: 8px;
	color: #3b332a;
	opacity: 0.85;
	order: 2;
}

@media (min-width: 768px) {
	.footer-links {
		text-align: right;
	}

	.footer-links {
		grid-column: -2;
	}
}

.footer-links {
	order: 3;
}

@media (max-width: 900px) {
	.hero-inner {
		grid-template-columns: 1fr;
		padding-top: 90px;
	}
}

@media (max-width: 640px) {
	.nav-links {
		display: none;
	}

	.section {
		padding: 40px 16px;
	}
}
