/* Shared + home page styles */
:root {
  --bg: #FAF8F5;
  --surface: #FFFFFF;
  --surface-2: #F3F0EB;
  --text: #141210;
  --text-soft: #5C5650;
  --text-faint: #9A938C;
  --accent: #7A6652;
  --border: rgba(20, 18, 16, 0.08);
  --radius: 20px;
  --gap: 16px;
  --max: 1140px;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --shadow: 0 1px 0 rgba(20,18,16,0.04), 0 12px 40px rgba(20,18,16,0.06);
  --action-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: clip; }
body { overflow-x: clip; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--action-h) + 24px);
}

.shell {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 20px 0 48px;
}

/* ── Page nav (subpages) ── */
.page-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  margin-bottom: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 12px;
  z-index: 40;
}

.page-nav .logo img { height: 44px; width: auto; max-width: 160px; display: block; object-fit: contain; }

.page-nav-back {
  font-size: 0.75rem;
  color: var(--text-soft);
  text-decoration: none;
}

.page-nav-back:hover { color: var(--text); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s, transform 0.15s;
  color: inherit;
}

.btn:hover { opacity: 0.88; }

.btn-primary { background: var(--text); color: #fff; }
.btn-outline { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-sm { padding: 10px 16px; font-size: 0.75rem; }

/* ── Language switch ── */
.lang-switch {
  display: flex;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.lang-btn {
  border: none;
  background: transparent;
  padding: 6px 9px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  color: var(--text-faint);
  transition: background 0.2s, color 0.2s;
}

.lang-btn.is-active {
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 1px 3px rgba(20, 18, 16, 0.08);
}

.lang-btn:hover:not(.is-active) {
  color: var(--text-soft);
}

/* ── Site nav (shared) ── */
.site-nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 12px 20px;
  margin-bottom: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 16px;
  z-index: 50;
}

.site-nav .logo img {
  height: 48px;
  width: auto;
  max-width: 160px;
  display: block;
  object-fit: contain;
}

.site-nav-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 24px;
  list-style: none;
  font-size: 0.8125rem;
}

.site-nav-links a {
  color: var(--text-soft);
  text-decoration: none;
  transition: color 0.2s;
}

.site-nav-links a:hover,
.site-nav-links a.is-active { color: var(--text); }

.site-nav-links a.is-active { font-weight: 500; }

.site-nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ── Page nav (subpages fallback) ── */
.action-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  display: flex;
  height: var(--action-h);
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.action-bar button,
.action-bar a {
  flex: 1;
  min-width: 0;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--surface);
  border: none;
  border-left: 1px solid var(--border);
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s;
}

.action-bar button:first-child {
  border-left: none;
}

.action-bar button:hover,
.action-bar a:hover { background: var(--surface-2); }

.action-bar .action-book {
  background: var(--text);
  color: #fff;
}

.action-bar .action-book:hover { opacity: 0.92; background: var(--text); }

.page-head {
  margin-bottom: 28px;
}

.page-head .eyebrow {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.page-head h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 500;
  line-height: 1.15;
}

.page-head p {
  margin-top: 10px;
  color: var(--text-soft);
  font-size: 0.9375rem;
  max-width: 52ch;
}

@media (max-width: 960px) {
  .site-nav { grid-template-columns: 1fr auto; }
  .site-nav-links { display: none; }
}

@media (max-width: 560px) {
  .shell { width: min(100% - 24px, var(--max)); }
}
