/* American Spa Management theme */
:root {
	--blush: #c2677a;
	--blush-dark: #9f4a5d;
	--blush-soft: #f8ecee;
	--cream: #fbf8f5;
	--ink: #2b2326;
	--muted: #6b5f63;
	--line: #e8dfe1;
	--white: #fff;
	--radius: 14px;
	--shadow: 0 6px 24px rgba(60, 35, 40, 0.08);
	--serif: Georgia, "Times New Roman", serif;
	--sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 90px; }
body {
	margin: 0;
	font-family: var(--sans);
	font-size: 17px;
	line-height: 1.65;
	color: var(--ink);
	background: var(--cream);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blush-dark); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
address { font-style: normal; }

.container { width: min(1100px, 100% - 32px); margin-inline: auto; }
.narrow { max-width: 760px; }
.text-center { text-align: center; }
.muted { color: var(--muted); }

/* Accessibility */
.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute; width: 1px; word-wrap: normal;
}
.skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto; margin: 0;
	left: 8px; top: 8px; z-index: 100000; padding: 12px 18px;
	background: var(--white); color: var(--ink); box-shadow: var(--shadow);
}
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
	outline: 3px solid var(--ink);
	outline-offset: 2px;
}

/* Header */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(251, 248, 245, 0.96);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--line);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.site-title { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; line-height: 1.15; }
.site-title-main { font-family: var(--serif); font-size: 1.4rem; font-weight: 700; }
.site-title-sub { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.custom-logo { max-height: 56px; width: auto; }

.main-navigation { display: flex; align-items: center; gap: 24px; }
.main-navigation ul { list-style: none; display: flex; gap: 22px; margin: 0; padding: 0; }
.main-navigation li a { text-decoration: none; color: var(--ink); font-weight: 500; padding: 8px 2px; border-bottom: 2px solid transparent; }
.main-navigation li a:hover,
.main-navigation .current-menu-item > a { border-bottom-color: var(--blush); }

.menu-toggle {
	display: none; background: none; border: 1px solid var(--line); border-radius: 10px;
	width: 46px; height: 46px; cursor: pointer; align-items: center; justify-content: center;
}
.menu-toggle-bars, .menu-toggle-bars::before, .menu-toggle-bars::after {
	display: block; width: 22px; height: 2px; background: var(--ink); position: relative; content: "";
}
.menu-toggle-bars::before { position: absolute; top: -7px; }
.menu-toggle-bars::after { position: absolute; top: 7px; }

/* Buttons */
.btn {
	display: inline-block; padding: 14px 28px; border-radius: 999px;
	background: var(--blush-dark); color: var(--white); text-decoration: none;
	font-weight: 600; border: 2px solid var(--blush-dark); cursor: pointer;
	font-family: var(--sans); font-size: 1rem; line-height: 1.2;
	transition: background .2s, color .2s;
}
.btn:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.btn-outline { background: transparent; color: var(--blush-dark); }
.btn-outline:hover { background: var(--blush-dark); border-color: var(--blush-dark); }
.btn-small { padding: 10px 20px; font-size: .95rem; white-space: nowrap; }

/* Hero */
.hero {
	background: linear-gradient(135deg, #fbeef0 0%, #f6e3e7 50%, #fbf3ee 100%);
	background-size: cover; background-position: center;
	padding: clamp(64px, 12vw, 140px) 0;
	text-align: center;
}
.hero.has-image { color: var(--white); }
.hero.has-image .eyebrow, .hero.has-image .hero-text { color: var(--white); }
.hero.has-image .btn-outline { color: var(--white); border-color: var(--white); }
.hero.has-image .btn-outline:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.hero-inner { max-width: 780px; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .85rem; font-weight: 600; color: var(--blush-dark); margin-bottom: 14px; }
.hero-text { font-size: 1.2rem; color: var(--muted); max-width: 600px; margin-inline: auto; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }

/* Sections */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-alt { background: var(--blush-soft); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.section-head p { color: var(--muted); }
.lead { font-size: 1.15rem; text-align: center; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.card {
	background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
	padding: 28px; box-shadow: var(--shadow);
}
.card h3 { color: var(--blush-dark); }
.card .price { color: var(--muted); font-size: .92rem; margin: 0; padding-top: 12px; border-top: 1px solid var(--line); }

.feature-list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; }
.feature-list li { background: var(--white); border-radius: var(--radius); padding: 18px 22px; border: 1px solid var(--line); }
.feature-list strong { display: block; font-family: var(--serif); font-size: 1.1rem; }

.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; margin: 0; }
.gallery-grid figure { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--line); }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.contact-details, .contact-form-wrap {
	background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
}
.contact-details dl { margin: 18px 0; }
.contact-details dt { font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-top: 14px; }
.contact-details dd { margin: 2px 0 0; }
.map-wrap { margin-top: 28px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); line-height: 0; }

.contact-form label { display: block; font-weight: 600; margin-bottom: 4px; }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
	width: 100%; padding: 12px 14px; border: 1px solid #cdbfc3; border-radius: 10px;
	font: inherit; background: var(--white); color: var(--ink);
}
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.notice { padding: 12px 16px; border-radius: 10px; font-weight: 500; }
.notice-ok { background: #e7f4ea; color: #1d5b2c; }
.notice-err { background: #fbe9ea; color: #8a1f2b; }

/* Content pages */
.content-area { padding: 48px 0 72px; }
.content-area.has-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; }
.content-area.has-sidebar:not(:has(.sidebar)) { grid-template-columns: minmax(0, 1fr); }
.entry { margin-bottom: 40px; }
.entry-title { margin-bottom: .3em; }
.entry-title a { color: var(--ink); text-decoration: none; }
.entry-meta { color: var(--muted); font-size: .9rem; }
.entry-thumb { display: block; margin-bottom: 16px; border-radius: var(--radius); overflow: hidden; }
.entry-content img { border-radius: 10px; }
.sidebar .widget { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 20px; }
.widget-title { font-size: 1.1rem; }
.cta-row { margin-top: 36px; }
.pagination, .post-navigation { margin: 32px 0; }
.pagination .nav-links, .post-navigation .nav-links { display: flex; gap: 12px; flex-wrap: wrap; justify-content: space-between; }
.page-numbers { padding: 8px 14px; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; background: var(--white); }
.page-numbers.current { background: var(--blush-dark); color: var(--white); border-color: var(--blush-dark); }
.comment-list { padding-left: 20px; }

/* Footer */
.site-footer { background: var(--ink); color: #eadfe2; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding: 52px 0 36px; }
.footer-title { font-size: 1.1rem; color: #fff; }
.footer-legal { color: #cbbcc0; margin-bottom: 8px; }
.footer-list, .site-footer ul { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin-bottom: 6px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 18px 0; font-size: .88rem; color: #cbbcc0; }
.footer-bottom p { margin: 0; }

/* Responsive */
@media (max-width: 860px) {
	.contact-grid, .footer-grid { grid-template-columns: 1fr; }
	.content-area.has-sidebar { grid-template-columns: 1fr; }
	.menu-toggle { display: inline-flex; }
	.main-navigation {
		display: none; position: absolute; left: 0; right: 0; top: 100%;
		flex-direction: column; align-items: stretch; gap: 14px;
		background: var(--cream); border-bottom: 1px solid var(--line);
		padding: 18px 16px 22px;
	}
	.main-navigation.is-open { display: flex; }
	.main-navigation ul { flex-direction: column; gap: 4px; }
	.main-navigation li a { display: block; padding: 12px 4px; }
	.header-call { text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; scroll-behavior: auto !important; }
}
