/*
Theme Name: Lumina — Clinic Theme
Theme URI: https://example.com/lumina
Author: Your Clinic
Description: A clean, refined theme for a laser hair removal / aesthetics clinic. Designed to pair with the Clinic Suite plugin (booking, services, guides). Warm neutrals, soft accent, Fraunces + Manrope typography. All bodies welcome.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lumina
*/

:root {
	--cs-ink: #2b2622;
	--cs-muted: #7a716a;
	--cs-bg: #fbf8f4;
	--cs-surface: #ffffff;
	--cs-line: #ece5dc;
	--cs-accent: #b08968;
	--cs-accent-deep: #8c6b52;
	--cs-radius: 16px;
	--cs-shadow: 0 1px 2px rgba(43,38,34,.04), 0 12px 30px -18px rgba(43,38,34,.25);
	--cs-display: "Fraunces", Georgia, "Times New Roman", serif;
	--cs-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--cs-wrap: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--cs-bg);
	color: var(--cs-ink);
	font-family: var(--cs-body);
	font-size: 18px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

a { color: var(--cs-accent-deep); }

h1, h2, h3, h4 {
	font-family: var(--cs-display);
	font-weight: 500;
	line-height: 1.12;
	color: var(--cs-ink);
	margin: 0 0 .6em;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.35rem; }

img { max-width: 100%; height: auto; }

.wrap { max-width: var(--cs-wrap); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: clamp(3rem, 7vw, 6rem) 0; }
.section--tint { background: var(--cs-surface); border-block: 1px solid var(--cs-line); }
.eyebrow {
	display: inline-block;
	font-family: var(--cs-body);
	font-size: .78rem;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--cs-accent-deep);
	margin-bottom: .9rem;
}
.section__head { max-width: 640px; margin-bottom: 2.5rem; }
.section__head p { color: var(--cs-muted); margin: 0; }
.lead { font-size: 1.15rem; color: var(--cs-muted); }

/* Buttons --------------------------------------------------------------- */
.btn {
	display: inline-block;
	background: var(--cs-accent);
	color: #fff;
	font-weight: 600;
	text-decoration: none;
	padding: .9rem 1.6rem;
	border-radius: 10px;
	transition: background .2s ease, transform .2s ease;
}
.btn:hover { background: var(--cs-accent-deep); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn--ghost {
	background: transparent;
	color: var(--cs-ink);
	border: 1px solid var(--cs-line);
}
.btn--ghost:hover { border-color: var(--cs-accent); color: var(--cs-accent-deep); background: transparent; }

/* Header ---------------------------------------------------------------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: color-mix(in srgb, var(--cs-bg) 88%, transparent);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--cs-line);
}
.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	padding-block: 1rem;
}
.site-brand { font-family: var(--cs-display); font-size: 1.4rem; font-weight: 600; text-decoration: none; color: var(--cs-ink); }
.site-brand img { max-height: 44px; width: auto; }

.primary-nav ul { list-style: none; display: flex; gap: 1.6rem; margin: 0; padding: 0; align-items: center; }
.primary-nav a {
	text-decoration: none;
	color: var(--cs-ink);
	font-weight: 500;
	font-size: .98rem;
	padding-bottom: 3px;
	border-bottom: 2px solid transparent;
	transition: border-color .2s, color .2s;
}
.primary-nav a:hover,
.primary-nav .current-menu-item > a { color: var(--cs-accent-deep); border-color: var(--cs-accent); }
.header-cta { display: inline-flex; }

.nav-toggle {
	display: none;
	background: none;
	border: 1px solid var(--cs-line);
	border-radius: 8px;
	padding: .5rem .65rem;
	cursor: pointer;
	font-size: 1.1rem;
	line-height: 1;
}

@media (max-width: 880px) {
	.nav-toggle { display: inline-block; }
	.primary-nav {
		position: absolute;
		inset: 100% 0 auto 0;
		background: var(--cs-bg);
		border-bottom: 1px solid var(--cs-line);
		display: none;
		padding: 1rem 1.5rem 1.5rem;
	}
	.primary-nav.is-open { display: block; }
	.primary-nav ul { flex-direction: column; align-items: flex-start; gap: 1rem; }
	.header-cta { display: none; }
}

/* Hero ------------------------------------------------------------------ */
.hero {
	position: relative;
	overflow: hidden;
	padding: clamp(4rem, 9vw, 8rem) 0 clamp(3.5rem, 7vw, 6rem);
	background:
		radial-gradient(60% 80% at 85% 10%, rgba(176,137,104,.22), transparent 60%),
		radial-gradient(50% 70% at 10% 90%, rgba(140,107,82,.16), transparent 60%),
		var(--cs-bg);
}
.hero::after {
	content: "";
	position: absolute; inset: 0;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.035'/%3E%3C/svg%3E");
	pointer-events: none;
}
.hero__inner { position: relative; max-width: 720px; }
.hero h1 { margin-bottom: .4rem; }
.hero p { font-size: 1.25rem; color: var(--cs-muted); margin: 0 0 2rem; max-width: 36ch; }
.hero__actions { display: flex; gap: .9rem; flex-wrap: wrap; }

/* Feature strip --------------------------------------------------------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.feature { padding: 1.5rem; background: var(--cs-bg); border: 1px solid var(--cs-line); border-radius: var(--cs-radius); }
.feature h3 { font-size: 1.2rem; }
.feature p { color: var(--cs-muted); margin: 0; font-size: .98rem; }
.feature__mark { font-family: var(--cs-display); font-size: 1.6rem; color: var(--cs-accent); display:block; margin-bottom:.5rem; }

/* Steps ----------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; counter-reset: step; }
.step { }
.step__num {
	font-family: var(--cs-display); font-size: 1.1rem; color: var(--cs-accent-deep);
	width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--cs-accent);
	display: grid; place-items: center; margin-bottom: 1rem;
}
.step h3 { font-size: 1.2rem; }
.step p { color: var(--cs-muted); margin: 0; font-size: .98rem; }

@media (max-width: 760px) {
	.features, .steps { grid-template-columns: 1fr; }
}

/* CTA band -------------------------------------------------------------- */
.cta-band {
	background: linear-gradient(135deg, var(--cs-accent-deep), var(--cs-accent));
	color: #fff;
	border-radius: var(--cs-radius);
	padding: clamp(2.5rem, 5vw, 4rem);
	text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 50ch; margin: 0 auto 1.8rem; }
.cta-band .btn { background: #fff; color: var(--cs-accent-deep); }
.cta-band .btn:hover { background: rgba(255,255,255,.9); }

/* Content pages --------------------------------------------------------- */
.page-hero { padding: clamp(3rem,6vw,5rem) 0 1rem; }
.page-hero h1 { margin-bottom: .3rem; }
.entry { max-width: 760px; margin: 0 auto; }
.entry-content { font-size: 1.06rem; }
.entry-content h2 { margin-top: 2rem; }
.entry-content img { border-radius: var(--cs-radius); }
.entry-content blockquote {
	border-left: 3px solid var(--cs-accent);
	margin: 1.5rem 0; padding: .25rem 0 .25rem 1.25rem;
	font-family: var(--cs-display); font-size: 1.25rem; color: var(--cs-ink);
}
.post-meta { color: var(--cs-muted); font-size: .9rem; letter-spacing: .04em; }
.archive-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
@media (max-width:820px){ .archive-grid{ grid-template-columns: repeat(2,1fr);} }
@media (max-width:540px){ .archive-grid{ grid-template-columns: 1fr;} }

/* Footer ---------------------------------------------------------------- */
.site-footer {
	background: var(--cs-ink);
	color: #d9cfc5;
	padding: 3rem 0 2rem;
	margin-top: 4rem;
}
.site-footer a { color: #f0e9e0; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer__cols { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.site-footer .site-brand { color: #fff; }
.footer-nav ul { list-style: none; display: flex; gap: 1.4rem; padding: 0; margin: 0; flex-wrap: wrap; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2rem; padding-top: 1.2rem; font-size: .85rem; color: #a99e92; }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; background: #fff; padding: .6rem 1rem; border-radius: 8px; z-index: 100; }
