/*
Theme Name: Haru24
Theme URI: https://haru24.com/
Description: ธีมเฉพาะของ Haru24 Nuru Massage ภาษาอังกฤษ (หน้าแรก) จีนตัวย่อ (/zh/) และญี่ปุ่น (/ja/) เน้นความเร็ว Local SEO, AEO และ GEO แก้ข้อมูลร้านได้ที่ ปรับแต่ง > ข้อมูลร้าน Haru24
Version: 2.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: haru24
*/

:root {
	--bg: #1c1517;
	--bg-2: #251c1f;
	--surface: #2e2327;
	--line: #3f3035;
	--text: #f4ece6;
	--muted: #c4b5ad;
	--accent: #e9a3b6;      /* sakura */
	--accent-ink: #2a1219;
	--gold: #d4b07a;
	--radius: 14px;
	--wrap: 1080px;
	--sans: "Noto Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--serif: "Noto Serif", Georgia, serif;
}
html:lang(zh) {
	--sans: "Noto Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
	--serif: "Noto Serif", "Songti SC", "STSong", "SimSun", "Noto Serif SC", serif;
}
html:lang(ja) {
	--sans: "Noto Sans", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", "Noto Sans JP", sans-serif;
	--serif: "Noto Serif", "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
}
html:lang(zh) .faq-item summary h3, html:lang(ja) .faq-item summary h3 { font-weight: 500; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 400 17px/1.75 var(--sans);
	padding-bottom: 64px; /* room for the mobile CTA bar */
}
@media (min-width: 820px) { body { padding-bottom: 0; } }

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--gold); }
img { max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.3; margin: 0 0 .6em; }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); color: var(--text); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
main > section.wrap { padding-top: 56px; padding-bottom: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(28, 21, 23, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; }
.brand { font: 700 1.5rem/1 var(--serif); color: var(--text); text-decoration: none; letter-spacing: .02em; }
.brand span { color: var(--accent); }
.custom-logo { max-height: 44px; width: auto; display: block; }
.site-header nav { display: flex; gap: 18px; align-items: center; font-size: .95rem; }
.site-header nav a { color: var(--muted); text-decoration: none; }
.site-header nav a:hover { color: var(--text); }
.site-header nav .lang { border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; color: var(--text); }
@media (max-width: 640px) { .site-header nav a:not(.lang) { display: none; } }

/* Hero */
.hero {
	padding: 72px 0 64px;
	background:
		radial-gradient(60rem 30rem at 85% -10%, rgba(233, 163, 182, .22), transparent 60%),
		radial-gradient(40rem 24rem at -10% 110%, rgba(212, 176, 122, .14), transparent 60%),
		var(--bg-2);
	border-bottom: 1px solid var(--line);
}
.eyebrow { color: var(--gold); font-size: .9rem; letter-spacing: .06em; margin-bottom: 14px; }
.hero h1 { font-size: clamp(2.1rem, 1.4rem + 3.4vw, 3.6rem); margin-bottom: 18px; }
.hero h1 small { display: block; font: 500 clamp(1.05rem, .9rem + .7vw, 1.4rem)/1.5 var(--sans); color: var(--accent); margin-top: 10px; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 40em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn { display: inline-block; padding: 12px 22px; border-radius: 999px; font-weight: 600; text-decoration: none; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #f2b9c8; color: var(--accent-ink); }
.btn-ghost { border: 1px solid var(--line); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--accent); color: var(--text); }

/* Answer box (AEO / featured snippet target) */
.answer-box { background: var(--surface); border-left: 4px solid var(--accent); border-radius: var(--radius); padding: 20px 22px; font-size: 1.05rem; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: 16px 0 0; }
.facts div { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.facts dt { color: var(--muted); font-size: .85rem; }
.facts dd { margin: 2px 0 0; font-weight: 600; }

/* Features */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.grid > div { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.grid h3 { color: var(--accent); }
.grid p { color: var(--muted); margin: 0; }

/* Prose */
.prose { max-width: 760px; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .3em; }
.prose h3 { margin-top: 1.4em; color: var(--gold); }

/* Services */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; }
.card p { color: var(--muted); font-size: .95rem; }
.prices { list-style: none; margin: auto 0 0; padding: 0; border-top: 1px solid var(--line); }
.prices li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.prices li:last-child { border-bottom: 0; }
.price { color: var(--gold); font-weight: 600; font-variant-numeric: tabular-nums; }
.note { color: var(--muted); font-size: .9rem; margin-top: 14px; }

/* Steps */
.steps ol { counter-reset: step; list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.steps li { counter-increment: step; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 20px 20px 64px; position: relative; }
.steps li::before { content: counter(step); position: absolute; left: 18px; top: 18px; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 700; display: grid; place-items: center; }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; list-style: none; padding: 16px 32px 16px 0; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 1.5rem; color: var(--accent); }
.faq-item[open] summary::after { content: "–"; }
.faq-item summary h3 { display: inline; font: 600 1.05rem/1.5 var(--sans); margin: 0; }
.faq-answer { color: var(--muted); padding-bottom: 8px; }

/* Contact */
.contact-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 820px) { .contact-grid { grid-template-columns: 1fr 1.3fr; } }
address { font-style: normal; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.map { width: 100%; min-height: 320px; border: 0; border-radius: var(--radius); background: var(--bg-2); }

.policy p { color: var(--muted); font-size: .95rem; }

/* Footer */
.site-footer { margin-top: 64px; padding: 28px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.site-footer a { color: var(--text); }
.small { font-size: .85rem; }

/* Mobile CTA bar */
.mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.mobile-cta a { padding: 16px 8px; text-align: center; font-weight: 600; text-decoration: none; }
.mobile-cta a:first-child { background: var(--accent); color: var(--accent-ink); }
.mobile-cta a:last-child { background: var(--surface); color: var(--text); }
@media (min-width: 820px) { .mobile-cta { display: none; } }

/* Generic pages / posts */
.page-content { padding-top: 48px; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.btn { transition: none; }
}
