/* ══════════════════════════════════════════════════════════════
   SITEMAP.CSS — MyNestrova human-facing sitemap page
   Loaded ONLY on sitemap.html, after shared.css.

   Contains everything that was previously inline in sitemap.html's
   <style> block, MINUS the rules now living in shared.css (reset,
   html scroll-behavior, img base rule, and the color tokens
   verified identical to shared.css: --cream --warm --sand --ink
   --muted --light --white).

   This page's nav/footer use different class names than home.css
   (.mobile-menu vs .mob) and different token names than main.css
   (--terracotta/--terra-dark vs --tc/--tc-d, --r-lg:22px vs 20px),
   so — per the site's established Phase 1 rule — nothing here was
   merged into those stylesheets. It stays a clean, page-specific
   sheet like home.css and main.css.
   ══════════════════════════════════════════════════════════════ */

/* Page-specific tokens (not yet standardized against home.css/main.css) */
:root {
  --terracotta: #c47b5a;
  --terra-dark: #9e5c3e;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --shadow: 0 2px 20px rgba(30, 26, 23, .08);
  --shadow-hover: 0 8px 40px rgba(30, 26, 23, .14);
}

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }

.container { width: min(1140px, 100% - 3rem); margin-inline: auto; }

/* ── NAV ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 247, 242, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--sand);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
}
.nav-logo span { color: var(--terracotta); }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a { font-size: 14px; color: var(--muted); transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--terracotta); }
.btn-primary {
  display: inline-block;
  background: var(--terracotta);
  color: #fff;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 40px;
  border: none;
  cursor: pointer;
  transition: background .2s;
  text-decoration: none;
}
.btn-primary:hover { background: var(--terra-dark); }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: all .3s; }
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--cream);
  border-top: 1px solid var(--sand);
  padding: 16px 0;
  list-style: none;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { display: block; padding: 11px 24px; font-size: 15px; color: var(--muted); }
.mobile-menu a:hover { color: var(--terracotta); }

/* ── HERO ── */
.page-hero {
  background: var(--warm);
  border-bottom: 1px solid var(--sand);
  padding: 72px 0 60px;
  text-align: center;
}
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(253, 247, 242, .9);
  border: 1px solid var(--sand);
  border-radius: 50px;
  padding: 5px 18px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.hero-label::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--terracotta);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .5; transform: scale(1.5); }
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 14px;
}
.page-hero h1 em { font-style: italic; color: var(--terracotta); }
.page-hero-sub {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 480px;
  margin: 0 auto;
}

/* ── MAIN CONTENT ── */
.page-content { padding: 52px 0 80px; }
.content-inner {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ── CARDS (now <section> elements) ── */
.card {
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: var(--r-md);
  padding: clamp(20px, 4vw, 30px);
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.card-header { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.card-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.card h2 {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-weight: 600;
  color: var(--ink);
}

/* ── SITEMAP LINK LISTS (now <ul>/<li>) ── */
.sitemap-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
}
.sitemap-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  color: var(--ink);
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--warm);
  border: 1px solid var(--sand);
  font-size: 14px;
  font-weight: 500;
  transition: all .22s;
}
.sitemap-links a:hover {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: #fff;
  transform: translateX(5px);
}
.sitemap-links a:hover .link-icon { background: rgba(255, 255, 255, .2); border-color: transparent; color: #fff; }
.sitemap-links a:hover .link-arrow { color: #fff; opacity: .8; }
.link-meta { display: flex; align-items: center; gap: 10px; }
.link-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  transition: all .22s;
}
.link-arrow { font-size: 12px; color: var(--light); transition: color .22s; }

/* ── 2-COL LINK GRID ── */
.links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

/* ── FOOTER ── */
footer { background: var(--ink); color: var(--cream); padding: 60px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand-logo { font-family: var(--font-display); font-size: 24px; font-weight: 600; margin-bottom: 12px; }
.footer-brand-logo span { color: var(--terracotta); }
.footer-brand-desc { font-size: 14px; color: var(--light); line-height: 1.7; margin-bottom: 20px; max-width: 280px; }
.footer-social { display: flex; gap: 12px; }
.footer-social-btn { width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .08); display: flex; align-items: center; justify-content: center; transition: background .2s; }
.footer-social-btn:hover { background: var(--terracotta); }
.footer-social-btn svg { width: 16px; height: 16px; fill: var(--cream); }
.footer-col-title { font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--light); margin-bottom: 18px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; color: rgba(253, 247, 242, .7); transition: color .2s; }
.footer-links a:hover { color: var(--terracotta); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom-text { font-size: 13px; color: var(--light); }
.footer-affiliate-disc { font-size: 12px; color: rgba(253, 247, 242, .4); max-width: 500px; line-height: 1.6; }

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-label::before { animation: none; }
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
  .links-grid { grid-template-columns: 1fr; }
  footer .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  footer .footer-grid { grid-template-columns: 1fr; }
}