@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }
* { scrollbar-width: thin; scrollbar-color: #cbd5e1 transparent; }
*::-webkit-scrollbar { width: 8px; height: 8px; }
*::-webkit-scrollbar-track { background: transparent; }
*::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 999px; }
*::-webkit-scrollbar-thumb:hover { background: #94a3b8; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--ink); background: var(--bg); line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
::selection { background: var(--primary); color: #fff; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* ===================== Theme palettes (templates.ts) ===================== */
/* Default = Sage & Earth */
:root {
  --primary: #5a7a5a;
  --primary-dark: #3f5a3f;
  --primary-light: #e7ede6;
  --accent: #c9a87c;
  --accent-dark: #8a6b40;
  --accent-light: #f3eadd;
  --bg: #fbfaf7;
  --bg-alt: #f5f2ec;
  --surface: #ffffff;
  --soft: #f4f1ec;
  --border: #e0dcd2;
  --ink: #2a2a25;
  --ink-soft: #5c5c52;
  --ink-faint: #8f8f80;
  --on-primary: #ffffff;
  --font-head: 'Cormorant Garamond', 'Georgia', 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --hero-gradient: linear-gradient(135deg, #4a6b4a 0%, #3f5a3f 100%);
  --hero-overlay: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.5) 100%);
  --hero-text: #ffffff;
  --shadow-sm: 0 1px 3px rgba(63, 90, 63, 0.08);
  --shadow-md: 0 4px 16px rgba(63, 90, 63, 0.12);
  --shadow-lg: 0 12px 40px rgba(63, 90, 63, 0.18);
}
html[data-theme="lavender"] {  --font-head: 'Cormorant Garamond', 'Georgia', 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --primary: #7c6ba0;
  --primary-dark: #5e4f7a;
  --primary-light: #ece7f3;
  --accent: #c9b8db;
  --accent-dark: #6f5a94;
  --accent-light: #f1ebf7;
  --bg: #fbfafc;
  --bg-alt: #f4f1f8;
  --surface: #ffffff;
  --soft: #f5f2f9;
  --border: #e2dde8;
  --ink: #2a2530;
  --ink-soft: #5e5570;
  --ink-faint: #948ba3;
  --on-primary: #ffffff;
  --hero-gradient: linear-gradient(135deg, #6b5a8a 0%, #5e4f7a 100%);
  --hero-overlay: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.5) 100%);
  --hero-text: #ffffff;
  --shadow-sm: 0 1px 3px rgba(94, 79, 122, 0.08);
  --shadow-md: 0 4px 16px rgba(94, 79, 122, 0.12);
  --shadow-lg: 0 12px 40px rgba(94, 79, 122, 0.18);
}
html[data-theme="charcoal"] {  --font-head: 'Cormorant Garamond', 'Georgia', 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --primary: #3a3a3a;
  --primary-dark: #222222;
  --primary-light: #e9e9e9;
  --accent: #d4af37;
  --accent-dark: #8a6b15;
  --accent-light: #f7efd8;
  --bg: #ffffff;
  --bg-alt: #f7f6f3;
  --surface: #ffffff;
  --soft: #f5f3ef;
  --border: #e0ddd6;
  --ink: #1a1a1a;
  --ink-soft: #55554f;
  --ink-faint: #8e8e85;
  --on-primary: #ffffff;
  --hero-gradient: linear-gradient(135deg, #2a2a2a 0%, #222222 100%);
  --hero-overlay: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.55) 100%);
  --hero-text: #ffffff;
  --shadow-sm: 0 1px 3px rgba(34, 34, 34, 0.08);
  --shadow-md: 0 4px 16px rgba(34, 34, 34, 0.12);
  --shadow-lg: 0 12px 40px rgba(34, 34, 34, 0.18);
}
html[data-theme="blush"] {  --font-head: 'Cormorant Garamond', 'Georgia', 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --primary: #b06a7a;
  --primary-dark: #8a4f5c;
  --primary-light: #f4e3e7;
  --accent: #e8c4ca;
  --accent-dark: #96505f;
  --accent-light: #faf0f2;
  --bg: #fdfbfb;
  --bg-alt: #f9f1f2;
  --surface: #ffffff;
  --soft: #faf3f4;
  --border: #ecdfe1;
  --ink: #2a1f22;
  --ink-soft: #6b555b;
  --ink-faint: #a58d93;
  --on-primary: #ffffff;
  --hero-gradient: linear-gradient(135deg, #a05a6a 0%, #8a4f5c 100%);
  --hero-overlay: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.5) 100%);
  --hero-text: #ffffff;
  --shadow-sm: 0 1px 3px rgba(138, 79, 92, 0.08);
  --shadow-md: 0 4px 16px rgba(138, 79, 92, 0.12);
  --shadow-lg: 0 12px 40px rgba(138, 79, 92, 0.18);
}

/* ===================== Layout & components (BASE_CSS) ===================== */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 24px; max-width: 1140px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand-logo { height: 44px; width: auto; border-radius: var(--radius); }
.brand-name { font-family: var(--font-head); font-size: 1.3rem; font-weight: 600; letter-spacing: 0.01em; }
.brand-name span { color: var(--primary); }
.nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav-link { color: var(--ink); font-weight: 500; font-size: 0.92rem; padding: 8px 14px; border-radius: 999px; transition: color .15s, background .15s; }
.nav-link:hover { text-decoration: none; background: var(--soft); color: var(--primary); }
.nav-link.active { color: var(--primary); background: var(--soft); }
.nav-cta { background: var(--primary); color: #fff !important; border-radius: 999px; padding: 9px 22px; transition: background .15s; font-weight: 600; }
.nav-cta:hover { background: var(--primary-dark); }
.nav-cta.active { background: var(--primary-dark); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 10px 8px; border-radius: 10px; }
.nav-toggle:hover { background: var(--soft); }
.nav-toggle span { display: block; width: 24px; height: 2.5px; border-radius: 999px; background: var(--ink); transition: transform .2s, opacity .2s; }
.nav-toggle span + span { margin-top: 5px; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.hero { position: relative; padding: 110px 24px 120px; text-align: center; overflow: hidden; background: var(--hero-gradient); background-size: cover; background-position: center; }
.hero::before { content: ""; position: absolute; inset: 0; background: var(--hero-overlay); }
.hero::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px); background-size: 26px 26px; }
.hero-content { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; color: var(--hero-text); }
.hero h1 { font-family: var(--font-head); font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.2; margin-bottom: 14px; font-weight: 400; }
.hero .tagline { font-size: 1.2rem; opacity: 0.9; margin-bottom: 10px; font-style: italic; }
.hero .desc { font-size: 1rem; opacity: 0.8; margin-bottom: 28px; }
.hero-cta { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.hero-cta a { padding: 14px 32px; border-radius: 999px; font-weight: 600; font-size: 0.95rem; }
.hero-cta .primary { background: var(--accent); color: var(--ink) !important; }
.hero-cta .primary:hover { text-decoration: none; filter: brightness(1.08); }
.hero-cta .ghost { border: 2px solid rgba(255,255,255,0.5); color: #fff !important; }
.hero-cta .ghost:hover { background: rgba(255,255,255,0.1); text-decoration: none; }

.notice-bar { background: var(--accent); color: var(--ink); padding: 0; overflow: hidden; }
.notice-bar-inner { display: flex; align-items: center; max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.notice-label { flex-shrink: 0; font-weight: 700; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; padding: 8px 14px 8px 0; }
.notice-track { overflow: hidden; flex: 1; position: relative; }
.notice-items { display: flex; gap: 32px; white-space: nowrap; animation: marquee 30s linear infinite; }
.notice-items a { color: var(--ink); font-size: 0.88rem; font-weight: 500; }
.notice-items a:hover { text-decoration: underline; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

.stats-strip { background: var(--soft); border-bottom: 1px solid var(--border); }
.stats-strip .container { display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; padding: 28px 24px; }
.stat-item { flex: 1; min-width: 140px; text-align: center; }
.stat-num { font-family: var(--font-head); font-size: 2.2rem; font-weight: 400; color: var(--primary); line-height: 1; }
.stat-label { font-size: 0.82rem; color: var(--ink); opacity: 0.7; margin-top: 6px; }

.section { padding: 72px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head .eyebrow { display: inline-block; font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent-dark); margin-bottom: 8px; }
.section-head h2 { font-family: var(--font-head); font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: 12px; font-weight: 400; }
.section-head p { color: var(--ink); opacity: 0.75; }

.card-grid { display: grid; gap: 24px; }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s; display: block; color: inherit; }
a.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card img { width: 100%; height: 200px; object-fit: cover; }
.card-body { padding: 22px; }
.card-body h3 { font-family: var(--font-head); font-size: 1.2rem; margin-bottom: 8px; font-weight: 500; color: var(--ink); }
.card-body p { font-size: 0.92rem; color: var(--ink); opacity: 0.8; }
.card-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; align-items: center; }
.tag { display: inline-block; font-size: 0.75rem; padding: 4px 12px; border-radius: 999px; background: var(--soft); color: var(--primary-dark); font-weight: 500; }
.price-tag { font-family: var(--font-head); font-size: 1.1rem; color: var(--primary-dark); font-weight: 600; }
.duration-tag { font-size: 0.82rem; color: var(--ink); opacity: 0.6; }
.duration-tag svg, p svg { vertical-align: -2px; margin-right: 4px; }

.therapist-card { text-align: center; }
.therapist-card img { width: 130px; height: 130px; border-radius: 50%; object-fit: cover; margin: 0 auto 16px; border: 3px solid var(--soft); }
.therapist-card h3 { font-family: var(--font-head); font-size: 1.15rem; font-weight: 500; }
.therapist-card .role { color: var(--primary-dark); font-weight: 500; font-size: 0.85rem; margin-bottom: 8px; }
.therapist-card .bio { font-size: 0.85rem; opacity: 0.75; }

.news-card { display: flex; flex-direction: column; position: relative; }
.news-card .badge-notice { position: absolute; top: 12px; left: 12px; background: var(--accent); color: var(--ink); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; z-index: 1; }
.news-date { font-size: 0.8rem; color: var(--ink); opacity: 0.6; margin-bottom: 8px; }

.offer-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; background: var(--soft); text-align: center; }
.offer-card h3 { font-family: var(--font-head); font-size: 1.2rem; margin-bottom: 8px; font-weight: 500; }
.offer-card p { font-size: 0.9rem; opacity: 0.8; }
.offer-card .promo { display: inline-block; font-family: monospace; font-size: 1rem; font-weight: 700; background: var(--primary-dark); color: #fff; padding: 6px 16px; border-radius: 999px; margin: 8px 0; }
.offer-card .valid { font-size: 0.8rem; opacity: 0.6; }

.cta-band { background: var(--hero-gradient); padding: 64px 24px; text-align: center; color: #fff; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: var(--hero-overlay); }
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 { font-family: var(--font-head); font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: 12px; font-weight: 400; }
.cta-band p { opacity: 0.85; margin-bottom: 24px; }
.cta-band a { display: inline-block; background: var(--accent); color: var(--ink) !important; padding: 14px 36px; border-radius: 999px; font-weight: 700; }
.cta-band a:hover { text-decoration: none; filter: brightness(1.08); }

.testimonial { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.testimonial .stars { color: var(--primary-dark); margin-bottom: 12px; font-size: 1rem; letter-spacing: 2px; }
.testimonial .text { font-style: italic; margin-bottom: 16px; opacity: 0.85; }
.testimonial .author { font-weight: 600; font-size: 0.9rem; }

.faq-list { max-width: 760px; margin: 0 auto; }
.faq-list details { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; padding: 0; overflow: hidden; background: var(--surface); }
.faq-list summary { padding: 18px 20px; font-weight: 500; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 1.4rem; color: var(--primary-dark); transition: transform .2s; flex-shrink: 0; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list .answer { padding: 0 20px 18px; opacity: 0.8; }
.faq-list .rich p { margin-bottom: 8px; }

.rich p { margin-bottom: 12px; }
.rich h2 { font-family: var(--font-head); font-size: 1.5rem; margin: 20px 0 10px; font-weight: 500; }
.rich h3 { font-family: var(--font-head); font-size: 1.25rem; margin: 16px 0 8px; font-weight: 500; }
.rich ul, .rich ol { margin: 0 0 12px 20px; }
.rich li { margin-bottom: 4px; }
.rich blockquote { border-left: 3px solid var(--accent); padding: 8px 16px; margin: 12px 0; background: var(--soft); border-radius: 0 8px 8px 0; font-style: italic; }

.page-hero { background: var(--hero-gradient); padding: 64px 24px 56px; text-align: center; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: var(--hero-overlay); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-family: var(--font-head); font-size: clamp(1.8rem, 4vw, 2.6rem); color: #fff; margin-bottom: 8px; font-weight: 400; }
.page-hero p { color: rgba(255,255,255,0.85); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; font-size: 0.85rem; margin-top: 16px; }
.breadcrumbs a { color: rgba(255,255,255,0.8); }
.breadcrumbs a:hover { color: #fff; }

.form-wrap { max-width: 640px; margin: 0 auto; }
.form-grid { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.form-grid .span-2 { grid-column: span 2; }
label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; }
input, textarea, select { width: 100%; padding: 11px 14px; border: 1px solid var(--border); border-radius: 8px; font-family: var(--font-body); font-size: 0.95rem; background: var(--surface); color: var(--ink); }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 15%, transparent); }
textarea { resize: vertical; min-height: 100px; }
.btn { display: inline-block; background: var(--primary); color: #fff !important; padding: 13px 32px; border-radius: 999px; font-weight: 700; border: none; cursor: pointer; font-size: 0.95rem; transition: background .15s; }
.btn:hover { background: var(--primary-dark); text-decoration: none; }
.success-box { background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: var(--radius); padding: 24px; text-align: center; }
.success-box h3 { color: #15803d; margin-bottom: 8px; }
.error-box { background: #fef2f2; border: 1px solid #fecaca; border-radius: var(--radius); padding: 16px 20px; margin-bottom: 20px; color: #b91c1c; font-weight: 600; }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-item { position: relative; border-radius: var(--radius); overflow: hidden; }
.gallery-item img { width: 100%; height: 240px; object-fit: cover; transition: transform .3s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item .caption { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(0,0,0,0.7)); color: #fff; padding: 20px 12px 10px; font-size: 0.85rem; }

.site-footer { background: var(--primary-dark); color: rgba(255,255,255,0.8); padding: 48px 0 0; margin-top: 0; }
.site-footer a { color: rgba(255,255,255,0.8); }
.site-footer a:hover { color: #fff; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 32px; padding: 0 24px 40px; max-width: 1140px; margin: 0 auto; }
.footer-col h3 { font-family: var(--font-head); color: #fff; font-size: 1.05rem; margin-bottom: 12px; font-weight: 500; }
.footer-col p { font-size: 0.88rem; margin-bottom: 8px; }
.footer-links { display: flex; flex-direction: column; gap: 6px; }
.footer-links a { font-size: 0.88rem; }
.all-link { font-weight: 600; color: var(--accent) !important; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 16px 24px; text-align: center; font-size: 0.82rem; max-width: 1140px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2px; }
.footer-bottom .footer-sep { margin: 0 6px; opacity: 0.5; }
.powered-by { opacity: .8; }
.powered-by a { color: inherit; text-decoration: none; }
.powered-by a:hover { text-decoration: underline; opacity: 1; }
.social-links { display: flex; gap: 8px; margin-top: 8px; }
.social-link { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,0.1); transition: background .15s; }
.social-link:hover { background: rgba(255,255,255,0.2); text-decoration: none; }
.social-link svg { width: 18px; height: 18px; fill: currentColor; }

.wa-float { position: fixed; bottom: 24px; right: 24px; width: 52px; height: 52px; background: #25d366; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; box-shadow: 0 4px 12px rgba(0,0,0,0.2); z-index: 100; }
.wa-float:hover { background: #1ebe5b; text-decoration: none; }
.wa-float svg { width: 28px; height: 28px; fill: currentColor; }

/* ===================== Theme switcher ===================== */
.theme-btn {
  position: fixed; bottom: 92px; right: 24px; z-index: 110;
  width: 52px; height: 52px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--primary); color: var(--on-primary);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); transition: background .15s, transform .15s;
}
.theme-btn:hover { background: var(--primary-dark); transform: translateY(-2px); }
.theme-btn svg { width: 24px; height: 24px; }
.theme-panel {
  position: fixed; bottom: 156px; right: 24px; z-index: 120;
  width: 280px; max-width: calc(100vw - 32px);
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 16px;
  display: none; text-align: left;
}
.theme-panel.open { display: block; }
.theme-panel h3 { font-family: var(--font-head); font-size: 1.1rem; margin-bottom: 4px; }
.theme-panel .theme-sub { font-size: 0.8rem; color: var(--ink-soft); margin-bottom: 12px; }
.theme-card {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left;
  background: var(--soft); border: 2px solid transparent; border-radius: var(--radius);
  padding: 10px 12px; margin-bottom: 8px; cursor: pointer;
  font-family: var(--font-body); font-size: 1rem; color: var(--ink); transition: border-color .15s, background .15s;
}
.theme-card:hover { background: color-mix(in srgb, var(--soft) 60%, var(--primary-light)); }
.theme-card.active { border-color: var(--primary); background: var(--primary-light); }
.theme-swatches { display: flex; flex-direction: column; gap: 4px; flex-shrink: 0; }
.theme-swatches .sw { width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(0,0,0,0.12); }
.theme-card .t-name { font-weight: 700; font-size: 0.9rem; }
.theme-card .t-desc { font-size: 0.75rem; color: var(--ink-soft); line-height: 1.35; }
.theme-note { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--border); font-size: 0.72rem; color: var(--ink-faint); line-height: 1.4; }

/* ===================== Responsive ===================== */
@media (max-width: 900px) {
  .card-grid.cols-3, .card-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--border); flex-direction: column; padding: 8px; gap: 0; }
  .nav.open { display: flex; }
  .nav-link { width: 100%; }
  .nav-toggle { display: block; }
  .card-grid.cols-2, .card-grid.cols-3, .card-grid.cols-4 { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .span-2 { grid-column: span 1; }
  .notice-items { animation-duration: 20s; }
  .contact-grid { grid-template-columns: 1fr !important; gap: 32px; }
  .theme-panel { right: 16px; bottom: 148px; }
  .theme-btn { right: 16px; bottom: 88px; }
}
