/**
 * LumenPath — Mobile-first wellness coaching theme (meltrivo-inspired layout)
 */

:root {
	--sage: #3d6b5e;
	--sage-dark: #2f5349;
	--sage-light: #5a8f7f;
	--terra: #c4846c;
	--terra-hover: #b0725c;
	--dark: #2c3330;
	--text: #4a4a4a;
	--text-light: #6b6b6b;
	--white: #ffffff;
	--cream: #f8f6f3;
	--bg-alt: #f0ece6;
	--line: #e0dbd4;
	--overlay: rgba(44, 51, 48, 0.62);
	--font-serif: 'Lora', Georgia, serif;
	--font-sans: 'Source Sans 3', system-ui, sans-serif;
	--radius: 6px;
	--radius-btn: 50px;
	--shadow: 0 10px 40px rgba(44, 51, 48, 0.1);
	--container: min(100% - 2rem, 1100px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	font-family: var(--font-sans);
	font-size: 16px;
	line-height: 1.75;
	color: var(--text);
	background: var(--white);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--sage); }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-serif);
	font-weight: 600;
	line-height: 1.3;
	margin: 0 0 0.5em;
	color: var(--dark);
}

.container { width: var(--container); margin-inline: auto; }

.screen-reader-text {
	position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

/* Buttons */
.btn {
	display: inline-block;
	padding: 0.85rem 1.85rem;
	font-family: var(--font-sans);
	font-size: 0.82rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	border-radius: var(--radius-btn);
	border: 2px solid transparent;
	cursor: pointer;
	transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn-primary {
	background: var(--terra);
	color: var(--white);
	border-color: var(--terra);
}

.btn-primary:hover {
	background: var(--terra-hover);
	border-color: var(--terra-hover);
	color: var(--white);
}

.btn-outline {
	background: transparent;
	color: var(--white);
	border-color: var(--white);
}

.btn-outline:hover {
	background: var(--white);
	color: var(--sage-dark);
}

.btn-dark {
	background: var(--dark);
	color: var(--white);
}

.btn-dark:hover {
	background: var(--sage-dark);
	color: var(--white);
}

/* Inner pages header */
.site-header--inner {
	position: sticky;
	top: 0;
	z-index: 900;
	background: var(--white);
	border-bottom: 1px solid var(--line);
	box-shadow: var(--shadow);
}

.header-bar {
	display: grid;
	grid-template-columns: 44px 1fr auto;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75rem 1rem;
}

.site-header--inner .site-title {
	margin: 0;
	font-size: 1.05rem;
	font-family: var(--font-serif);
	text-align: center;
}

.site-logo-mark {
	color: var(--terra);
	margin-right: 0.35rem;
}

.header-cta {
	font-size: 0.72rem;
	font-weight: 600;
	text-transform: uppercase;
	padding: 0.5rem 1rem;
	background: var(--sage);
	color: var(--white);
	border-radius: var(--radius-btn);
	white-space: nowrap;
}

.header-cta:hover { background: var(--sage-dark); color: var(--white); }

.main-navigation {
	display: none;
	padding: 0 1rem 1rem;
	border-top: 1px solid var(--line);
}

.main-navigation.is-open { display: block; }

.primary-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.primary-menu a {
	display: block;
	padding: 0.75rem 0;
	border-bottom: 1px solid var(--line);
	font-size: 0.9rem;
	font-weight: 500;
}

/* Nav toggle */
.nav-toggle {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 44px;
	height: 44px;
	padding: 0;
	background: none;
	border: none;
	cursor: pointer;
}

.nav-toggle span {
	display: block;
	width: 22px;
	height: 2px;
	background: var(--dark);
	transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle--light span { background: var(--white); }

.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero-section {
	position: relative;
	min-height: 100svh;
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: stretch;
}

.hero-overlay {
	position: absolute;
	inset: 0;
	background: var(--overlay);
}

.hero-inner {
	position: relative;
	z-index: 1;
	width: 100%;
	display: flex;
	flex-direction: column;
	padding: 1rem;
}

.hero-header {
	display: grid;
	grid-template-columns: 44px 1fr 44px;
	align-items: center;
	gap: 0.5rem;
}

.site-branding--hero .site-title {
	margin: 0;
	font-size: 1rem;
	font-family: var(--font-serif);
	text-align: center;
}

.site-branding--hero .site-title a { color: var(--white); }
.site-branding--hero .site-logo-mark { color: var(--terra); }

.hero-nav {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background: rgba(44, 51, 48, 0.95);
	padding: 1rem;
}

.hero-nav.is-open { display: block; }

.hero-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.hero-menu a {
	display: block;
	padding: 0.75rem 0;
	color: var(--white);
	border-bottom: 1px solid rgba(255,255,255,0.15);
	font-size: 0.9rem;
}

.hero-menu a:hover { color: var(--terra); }

.hero-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	padding: 3rem 0.5rem;
	max-width: 680px;
	margin-inline: auto;
}

.hero-kicker {
	font-size: 0.85rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--terra);
	margin-bottom: 1rem;
}

.hero-title {
	font-size: clamp(1.75rem, 6vw, 2.75rem);
	color: var(--white);
	margin-bottom: 1rem;
	line-height: 1.2;
}

.hero-subtitle {
	font-size: 1rem;
	color: rgba(255,255,255,0.9);
	margin-bottom: 2rem;
	max-width: 540px;
}

.hero-actions {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	width: 100%;
	max-width: 280px;
}

.hero-actions .btn { width: 100%; text-align: center; }

/* Featured In */
.featured-section {
	padding: 2.5rem 0;
	background: var(--cream);
	text-align: center;
}

.featured-label {
	font-size: 0.78rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--text-light);
	margin-bottom: 1.25rem;
}

.featured-logos {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1rem 1.5rem;
}

.featured-logos li {
	font-family: var(--font-serif);
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--text-light);
	opacity: 0.75;
}

/* Sections */
.section {
	padding: 3.5rem 0;
}

.section-title {
	font-size: clamp(1.5rem, 4vw, 2rem);
	text-align: center;
	margin-bottom: 1rem;
}

.section-lead {
	text-align: center;
	max-width: 640px;
	margin: 0 auto;
	color: var(--text-light);
	font-size: 1.05rem;
}

.services-intro { padding-bottom: 1.5rem; }

/* Services grid */
.services-grid {
	display: grid;
	gap: 2rem;
}

.service-card {
	background: var(--white);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow);
}

.service-image img {
	width: 100%;
	height: 220px;
	object-fit: cover;
}

.service-body {
	padding: 1.5rem;
}

.service-body h3 {
	font-size: 1.35rem;
	color: var(--sage);
}

.service-body p {
	color: var(--text-light);
	margin-bottom: 1rem;
}

.read-more {
	font-size: 0.82rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--terra);
}

.read-more:hover { color: var(--sage); }

/* Advice banner */
.advice-section {
	position: relative;
	background-size: cover;
	background-position: center;
	padding: 4rem 0;
	text-align: center;
}

.advice-overlay {
	position: absolute;
	inset: 0;
	background: rgba(61, 107, 94, 0.78);
}

.advice-inner {
	position: relative;
	z-index: 1;
	color: var(--white);
	max-width: 600px;
}

.advice-inner h2 {
	color: var(--white);
	font-size: clamp(1.5rem, 4vw, 2rem);
	margin-bottom: 1rem;
}

.advice-inner p {
	margin-bottom: 1.5rem;
	opacity: 0.95;
}

/* Courses */
.courses-section { background: var(--cream); }

.courses-grid {
	display: grid;
	gap: 2rem;
	align-items: center;
}

.courses-image img {
	width: 100%;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

.courses-copy h3 {
	font-size: 1.5rem;
	margin-bottom: 1rem;
}

.courses-copy p {
	color: var(--text-light);
	margin-bottom: 1.5rem;
}

/* Blog grid */
.blog-section { background: var(--white); }

.blog-grid {
	display: grid;
	gap: 1.5rem;
}

.blog-card {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	transition: box-shadow 0.2s;
}

.blog-card:hover { box-shadow: var(--shadow); }

.blog-card-image {
	display: block;
	overflow: hidden;
}

.blog-card-image img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	transition: transform 0.3s;
}

.blog-card:hover .blog-card-image img { transform: scale(1.03); }

.blog-card-body { padding: 1.25rem; }

.blog-card-body h4 {
	font-size: 1.05rem;
	margin-bottom: 0.5rem;
	line-height: 1.4;
}

.blog-cat {
	font-size: 0.72rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--sage);
}

.blog-meta {
	font-size: 0.8rem;
	color: var(--text-light);
	margin-bottom: 0.75rem;
}

.blog-excerpt {
	font-size: 0.92rem;
	color: var(--text-light);
	margin-bottom: 0.75rem;
}

.demo-note {
	text-align: center;
	font-size: 0.85rem;
	color: var(--text-light);
	margin-top: 1.5rem;
}

/* Testimonial */
.testimonial-section {
	background: var(--bg-alt);
	text-align: center;
}

.testimonial-inner { max-width: 700px; }

.testimonial-quote {
	margin: 0;
	padding: 0;
	border: none;
}

.testimonial-quote p {
	font-family: var(--font-serif);
	font-size: clamp(1.1rem, 3vw, 1.35rem);
	font-style: italic;
	line-height: 1.6;
	color: var(--dark);
	margin-bottom: 1.25rem;
}

.testimonial-quote cite {
	font-style: normal;
	font-weight: 600;
	font-size: 0.9rem;
	color: var(--sage);
}

/* Story */
.story-grid {
	display: grid;
	gap: 2rem;
	align-items: center;
}

.story-copy h2 { font-size: 1.75rem; margin-bottom: 1rem; }

.story-copy p {
	color: var(--text-light);
	margin-bottom: 1.5rem;
}

.story-image img {
	width: 100%;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

/* Contact */
.contact-section { background: var(--cream); }

.contact-grid {
	display: grid;
	gap: 2.5rem;
}

.contact-form-wrap h2,
.contact-info h3 {
	font-size: 1.5rem;
	margin-bottom: 1rem;
}

.contact-form input,
.contact-form textarea,
.search-field {
	width: 100%;
	padding: 0.85rem 1rem;
	margin-bottom: 0.85rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	font-family: var(--font-sans);
	font-size: 0.95rem;
	background: var(--white);
}

.contact-form input:focus,
.contact-form textarea:focus,
.search-field:focus {
	outline: none;
	border-color: var(--sage);
}

.form-feedback { font-size: 0.9rem; margin-top: 0.5rem; }
.form-feedback.is-success { color: var(--sage); }
.form-feedback.is-error { color: #c0392b; }

.contact-info p { color: var(--text-light); margin-bottom: 1.5rem; }

/* Footer */
.site-footer {
	background: var(--dark);
	color: rgba(255,255,255,0.85);
}

.footer-top { padding: 2.5rem 0 1.5rem; }

.footer-grid {
	display: grid;
	gap: 1.5rem;
	text-align: center;
}

.footer-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem 1.25rem;
}

.footer-menu a {
	font-size: 0.85rem;
	color: rgba(255,255,255,0.8);
}

.footer-menu a:hover { color: var(--terra); }

.footer-contact {
	font-family: var(--font-serif);
	font-size: 1rem;
	font-weight: 400;
	margin: 0;
	color: rgba(255,255,255,0.9);
}

.footer-contact a { color: inherit; }
.footer-contact a:hover { color: var(--terra); }

.footer-social-wrap { padding-bottom: 1.5rem; text-align: center; }

.social-links {
	display: flex;
	justify-content: center;
	gap: 1.25rem;
}

.social-links a {
	font-size: 0.78rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: rgba(255,255,255,0.7);
}

.social-links a:hover { color: var(--terra); }

.footer-friend-links {
	border-top: 1px solid rgba(255,255,255,0.12);
	padding: 1.5rem 0;
}

.friend-links-block { text-align: center; }

.friend-links-label {
	font-size: 0.72rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: rgba(255,255,255,0.5);
	margin-bottom: 0.75rem;
}

.friend-links-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.4rem 1rem;
}

.friend-links-list a {
	font-size: 0.82rem;
	color: rgba(255,255,255,0.65);
}

.friend-links-list a:hover { color: var(--terra); }

.footer-bottom {
	border-top: 1px solid rgba(255,255,255,0.08);
	padding: 1rem 0;
	text-align: center;
}

.footer-bottom p {
	margin: 0;
	font-size: 0.8rem;
	color: rgba(255,255,255,0.45);
}

/* Inner pages */
.inner-page {
	padding: 2.5rem 0 4rem;
}

.entry-header { margin-bottom: 1.5rem; }

.entry-title { font-size: clamp(1.5rem, 4vw, 2.25rem); }

.entry-meta {
	font-size: 0.85rem;
	color: var(--text-light);
	margin-bottom: 1rem;
}

.entry-featured {
	margin-bottom: 1.5rem;
	border-radius: var(--radius);
	overflow: hidden;
}

.entry-featured img { width: 100%; }

.entry-content { line-height: 1.8; }
.entry-content p { margin-bottom: 1.25rem; }

.archive-header { margin-bottom: 2rem; text-align: center; }

.not-found-page { text-align: center; padding: 4rem 0; }

.search-form {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	justify-content: center;
	margin: 1.5rem 0;
}

.search-form .search-field { flex: 1; min-width: 200px; margin-bottom: 0; }

.comments-area { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--line); }

.comment-list { list-style: none; margin: 0; padding: 0; }

/* Pagination */
.pagination,
.nav-links {
	display: flex;
	justify-content: center;
	gap: 0.5rem;
	margin-top: 2rem;
	flex-wrap: wrap;
}

.page-numbers {
	display: inline-block;
	padding: 0.5rem 0.85rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	font-size: 0.85rem;
}

.page-numbers.current {
	background: var(--sage);
	color: var(--white);
	border-color: var(--sage);
}

/* Tablet */
@media (min-width: 640px) {
	.hero-actions {
		flex-direction: row;
		max-width: none;
		justify-content: center;
	}

	.hero-actions .btn { width: auto; }

	.blog-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.services-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.services-grid .service-card:last-child {
		grid-column: 1 / -1;
		max-width: 480px;
		margin-inline: auto;
		width: 100%;
	}
}

/* Desktop */
@media (min-width: 768px) {
	.header-bar { padding: 1rem 2rem; }

	.nav-toggle { display: none; }

	.main-navigation {
		display: block;
		position: static;
		padding: 0 2rem 1rem;
		border-top: none;
	}

	.primary-menu {
		display: flex;
		justify-content: center;
		gap: 2rem;
	}

	.primary-menu a {
		border: none;
		padding: 0;
	}

	.hero-header {
		grid-template-columns: 1fr auto;
		padding: 0.5rem 0;
	}

	.hero-header .nav-toggle { display: none; }

	.hero-nav {
		display: block;
		position: static;
		background: none;
		padding: 0;
	}

	.hero-menu {
		display: flex;
		gap: 1.75rem;
	}

	.hero-menu a {
		border: none;
		padding: 0;
		font-size: 0.82rem;
		font-weight: 500;
	}

	.services-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.services-grid .service-card:last-child {
		grid-column: auto;
		max-width: none;
	}

	.courses-grid {
		grid-template-columns: 1fr 1fr;
	}

	.story-grid {
		grid-template-columns: 1fr 1fr;
	}

	.contact-grid {
		grid-template-columns: 1.2fr 1fr;
	}

	.footer-grid {
		grid-template-columns: repeat(4, 1fr);
		text-align: left;
	}

	.footer-menu { justify-content: flex-start; }
}

@media (min-width: 1024px) {
	.blog-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.hero-content { padding: 4rem 0; }

	.section { padding: 5rem 0; }
}
