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

:root {
  --bg: #FAF9F6;
  --surface: #ffffff;
  --ink: #2C2825;
  --muted: #8c837a;
  --accent: #cf9b8a;
  --accent-dark: #b37e6b;
  --accent-light: #f4e8e4;
  --gold: #C5A572;
  --gold-light: #f5eee0;
  --line: #e6dfd6;
  --line-strong: #cabbac;
  --alert-bg: #fff8eb;
  --alert-text: #8c6820;
  --alert-border: #ebd19b;
  --success-bg: #eff6f2;
  --success-text: #306647;

  --shadow-sm: 0 4px 12px rgba(26, 24, 22, 0.04);
  --shadow-md: 0 12px 32px rgba(26, 24, 22, 0.06);
  --shadow-lg: 0 32px 64px rgba(26, 24, 22, 0.1);
  --shadow-glow: 0 0 40px rgba(207, 155, 138, 0.15);
  --shadow-glow-hover: 0 8px 40px rgba(207, 155, 138, 0.25), 0 0 80px rgba(207, 155, 138, 0.1);
  --shadow-gold-glow: 0 0 40px rgba(197, 165, 114, 0.15);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 0.2s;
  --duration-normal: 0.4s;
  --duration-slow: 0.6s;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 20% 0%, rgba(197,165,114,0.04), transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(207,155,138,0.05), transparent 50%),
    radial-gradient(circle at 50% 100%, rgba(207,155,138,0.04), transparent 50%);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
h1, h2, h3, h4, .serif {
  margin: 0;
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  color: var(--ink);
}
p { margin: 0; }
button, input, select { font: inherit; }
button { cursor: pointer; }

/* ====================================================================
   ANIMATIONS
   ==================================================================== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideDown {
  from { transform: translateY(-100%); }
  to   { transform: translateY(0); }
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(100%); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes progressPulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.7; }
}
@keyframes floatIn {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes barFill {
  from { width: 0; }
}
@keyframes countPulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.08); }
  100% { transform: scale(1); }
}

/* Scroll-triggered animation utilities */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--duration-slow) var(--ease-out-expo),
              transform var(--duration-slow) var(--ease-out-expo);
}
.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.animate-on-scroll.stagger-1 { transition-delay: 0.05s; }
.animate-on-scroll.stagger-2 { transition-delay: 0.1s; }
.animate-on-scroll.stagger-3 { transition-delay: 0.15s; }
.animate-on-scroll.stagger-4 { transition-delay: 0.2s; }
.animate-on-scroll.stagger-5 { transition-delay: 0.25s; }

/* ====================================================================
   HEADER — Glassmorphism
   ==================================================================== */
.app-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  background: rgba(250, 249, 246, 0.72);
  backdrop-filter: blur(32px) saturate(200%);
  -webkit-backdrop-filter: blur(32px) saturate(200%);
  border-bottom: 1px solid rgba(230, 223, 214, 0.5);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.6),
    0 4px 24px rgba(26, 24, 22, 0.04);
  animation: slideDown 0.6s var(--ease-out-expo);
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s, transform 0.3s var(--ease-out-expo);
}
.brand:hover { opacity: 0.85; transform: translateY(-1px); }

.brand-seal {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-style: italic;
  background: var(--surface);
  box-shadow: var(--shadow-gold-glow), 0 0 0 4px rgba(197, 165, 114, 0.06);
  transition: all 0.4s var(--ease-out-expo);
}
.brand:hover .brand-seal {
  box-shadow: var(--shadow-gold-glow), 0 0 0 6px rgba(197, 165, 114, 0.1);
  transform: rotate(-5deg);
}

.brand strong { display: block; font-size: 16px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.brand small { display: block; color: var(--muted); font-size: 13px; margin-top: 4px; letter-spacing: 0.02em; font-weight: 400; }

.desktop-nav { display: none; gap: 4px; }
.desktop-nav a {
  color: var(--muted);
  text-decoration: none;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 16px;
  transition: all 0.3s var(--ease-out-expo);
  position: relative;
}
.desktop-nav a::after {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: all 0.3s var(--ease-out-expo);
  transform: translateX(-50%);
}
.desktop-nav a:hover, .desktop-nav a.active {
  color: var(--ink);
  background: rgba(197, 165, 114, 0.08);
}
.desktop-nav a:hover::after, .desktop-nav a.active::after {
  width: 20px;
}

/* ====================================================================
   LAYOUT
   ==================================================================== */
main {
  width: min(1300px, 100%);
  margin: 0 auto;
  padding: 32px 24px 100px;
  display: grid;
  gap: 80px;
}

/* ====================================================================
   HERO
   ==================================================================== */
.hero {
  position: relative;
  min-height: 600px;
  display: grid;
  align-items: end;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #1a1816;
  animation: fadeIn 1s var(--ease-out-expo) forwards;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  transform: scale(1.02);
  transition: transform 12s ease-out;
}
.hero:hover .hero-image { transform: scale(1.06); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(26, 24, 22, 0) 10%, rgba(26, 24, 22, 0.4) 50%, rgba(26, 24, 22, 0.88) 100%),
    linear-gradient(90deg, rgba(26, 24, 22, 0.3) 0%, transparent 50%);
}

.hero-content {
  position: relative;
  padding: 60px 48px;
  color: #ffffff;
  max-width: 900px;
  z-index: 2;
}

.script-label {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: var(--gold);
  font-size: 28px;
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero h1 {
  font-size: clamp(48px, 6vw, 80px);
  line-height: 1.05;
  color: #ffffff;
  margin-bottom: 24px;
  text-shadow: 0 4px 16px rgba(0,0,0,0.2);
  letter-spacing: -0.02em;
}

.hero-content p:last-child {
  color: rgba(255, 255, 255, 0.85);
  font-size: 18px;
  line-height: 1.7;
  font-weight: 300;
  max-width: 680px;
  letter-spacing: 0.01em;
}

.hero-panel {
  position: absolute;
  right: 48px;
  bottom: 48px;
  display: flex;
  gap: 32px;
  padding: 24px 32px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,0.5) inset;
  z-index: 2;
  animation: floatIn 0.8s 0.3s var(--ease-out-expo) both;
}

.hero-panel div { display: grid; gap: 6px; }
.hero-panel span { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 600; }
.hero-panel strong { color: var(--ink); font-size: 18px; font-weight: 600; font-family: 'Playfair Display', serif; }

/* ====================================================================
   SECTIONS & GRIDS
   ==================================================================== */
.section-title {
  margin-bottom: 40px;
  text-align: center;
}
.section-title.compact { margin-bottom: 32px; text-align: left; }
.eyebrow {
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}
.section-title h2 {
  font-size: clamp(32px, 5vw, 48px);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.section-title p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
  max-width: 720px;
  margin: 0 auto;
}
.section-title.compact p:not(.eyebrow) { margin: 0; }

.overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.metric-card {
  background: var(--surface);
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: 12px;
  transition: all var(--duration-normal) var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}
.metric-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  opacity: 0;
  transition: opacity var(--duration-normal);
}
.metric-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 1px var(--gold) inset;
  opacity: 0;
  transition: opacity var(--duration-normal);
}
.metric-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md), var(--shadow-glow-hover);
}
.metric-card:hover::before { opacity: 1; }
.metric-card:hover::after { opacity: 0.4; }

.metric-card span { color: var(--muted); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; }
.metric-card strong { font-family: 'Playfair Display', serif; font-size: 28px; color: var(--ink); line-height: 1.1; }
.metric-card small { color: var(--muted); font-size: 15px; line-height: 1.6; }

.metric-card.accent {
  background: var(--alert-bg);
  border-color: var(--alert-border);
}
.metric-card.accent span { color: var(--alert-text); }
.metric-card.accent strong { color: var(--alert-text); font-size: 48px; }
.metric-card.accent small { color: rgba(140, 104, 32, 0.85); }
.metric-card.accent::before { background: linear-gradient(90deg, var(--alert-text), var(--gold)); }
.metric-card.accent::after { box-shadow: 0 0 0 1px var(--alert-text) inset; }

/* ====================================================================
   VENUE CARDS
   ==================================================================== */
.venue-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 32px;
}

.venue-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-normal) var(--ease-out-expo);
  display: flex;
  flex-direction: column;
}
.venue-card:hover {
  box-shadow: var(--shadow-lg), var(--shadow-glow-hover);
  transform: translateY(-8px);
  border-color: rgba(197, 165, 114, 0.3);
}
.venue-card.featured {
  border-color: var(--gold);
  box-shadow: 0 12px 32px rgba(197, 165, 114, 0.15);
}
.venue-card.featured::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  z-index: 3;
}

.venue-image {
  position: relative;
  height: 280px;
  overflow: hidden;
}
.venue-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out-expo);
}
.venue-card:hover .venue-image img { transform: scale(1.08); }

.venue-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 8px 16px;
  border-radius: 30px;
  box-shadow: var(--shadow-md);
}

.venue-body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 1;
}

.venue-title { display: flex; justify-content: space-between; align-items: flex-start; }
.venue-title h3 { font-size: 28px; margin-bottom: 8px; }
.venue-title p { color: var(--muted); font-size: 15px; }

.source-link {
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  background: var(--gold-light);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: all 0.3s var(--ease-out-expo);
  white-space: nowrap;
}
.source-link:hover { background: #ebe0cc; transform: translateY(-1px); }

.contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  color: var(--muted);
  border: 1px solid var(--line);
}
.contact-pill strong { color: var(--ink); font-weight: 600; }

.venue-desc { color: var(--ink); font-size: 15px; line-height: 1.6; font-style: italic; }

.venue-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 20px;
  background: var(--bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
}
.fact { display: flex; flex-direction: column; gap: 6px; }
.fact span { color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; }
.fact strong { font-size: 14px; line-height: 1.5; color: var(--ink); font-weight: 500; }

.list-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: auto; border-top: 1px solid var(--line); padding-top: 24px; }
.list-columns h4 { font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 12px; }
.soft-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.soft-list li { position: relative; padding-left: 20px; font-size: 14px; color: var(--ink); line-height: 1.5; }
.soft-list.pros li::before { content: "✦"; position: absolute; left: 0; color: var(--gold); font-size: 12px; top: 2px; }
.soft-list.cons li::before { content: "✕"; position: absolute; left: 0; color: #d6b3b3; font-size: 12px; top: 2px; }

/* ====================================================================
   TWO-COL LAYOUTS
   ==================================================================== */
.decision-layout, .planning-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}

/* ====================================================================
   SCOREBOARD
   ==================================================================== */
.score-board { display: grid; gap: 20px; }
.score-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s var(--ease-out-expo);
}
.score-card:hover {
  transform: translateX(8px);
  border-color: var(--gold);
  box-shadow: var(--shadow-md), var(--shadow-gold-glow);
}
.score-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.score-head strong { font-family: 'Playfair Display', serif; font-size: 24px; }
.score-total {
  background: linear-gradient(135deg, var(--gold-light), var(--accent-light));
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 15px;
  font-weight: 700;
  color: var(--gold);
  border: 1px solid rgba(197, 165, 114, 0.2);
}

.score-row {
  display: grid;
  grid-template-columns: 120px 1fr 36px;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}
.score-row:last-child { margin-bottom: 0; }
.score-row span { color: var(--muted); font-size: 14px; }
.score-row b { font-size: 14px; text-align: right; font-weight: 600; }

.bar {
  height: 8px;
  background: var(--bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
}
.bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  border-radius: 10px;
  transition: width 0.8s var(--ease-out-expo);
}
.bar.animate i {
  animation: barFill 1s var(--ease-out-expo) forwards;
}

/* ====================================================================
   SIDE CARDS
   ==================================================================== */
.source-card, .timeline-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 100px;
}

.source-card h3, .timeline-card h3 {
  font-size: 24px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.source-card ul {
  padding-left: 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 32px 0;
}
.source-card ul:last-child { margin-bottom: 0; }

.questions-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.questions-list li {
  background: var(--alert-bg);
  border: 1px solid var(--alert-border);
  color: var(--alert-text);
  padding: 16px;
  border-radius: var(--radius-md);
  font-size: 14px;
  line-height: 1.6;
  position: relative;
  padding-left: 40px;
  transition: all 0.3s var(--ease-out-expo);
}
.questions-list li:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}
.questions-list li::before {
  content: "!";
  position: absolute;
  left: 16px;
  top: 16px;
  width: 16px;
  height: 16px;
  background: var(--alert-text);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: bold;
  font-size: 10px;
}

/* ====================================================================
   BUDGET & TABLES
   ==================================================================== */
.budget-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}
.budget-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: all var(--duration-normal) var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}
.budget-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  opacity: 0;
  transition: opacity var(--duration-normal);
}
.budget-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md), var(--shadow-glow-hover);
  border-color: rgba(197, 165, 114, 0.3);
}
.budget-card:hover::before { opacity: 1; }
.budget-card span { display: block; color: var(--muted); font-size: 14px; }
.budget-card strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  color: var(--gold);
  margin: 8px 0;
}

.table-wrap {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow-x: auto;
  box-shadow: var(--shadow-sm);
}
table {
  width: 100%;
  min-width: 800px;
  border-collapse: collapse;
}
th, td {
  padding: 20px 24px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
th {
  background: var(--bg);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
td { line-height: 1.6; }
tr:last-child td { border-bottom: none; }
tr:hover td { background: rgba(197, 165, 114, 0.03); }

/* ====================================================================
   PLANNING
   ==================================================================== */
.progress-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.progress-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: 16px;
  font-weight: 600;
  font-family: 'Playfair Display', serif;
}
.progress-track {
  height: 12px;
  background: var(--bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  transition: width 0.8s var(--ease-out-expo);
  position: relative;
}
.progress-fill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  background-size: 200% 100%;
  animation: shimmer 3s infinite linear;
}

.task-list { display: grid; gap: 12px; }
.task-item {
  display: flex;
  gap: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px;
  align-items: flex-start;
  transition: all 0.3s var(--ease-out-expo);
  cursor: pointer;
}
.task-item:hover {
  background: rgba(197, 165, 114, 0.03);
  transform: translateX(6px);
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
}
.task-item input {
  margin-top: 4px;
  width: 20px;
  height: 20px;
  accent-color: var(--gold);
}
.task-item strong { display: block; font-size: 16px; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.task-item small { display: block; color: var(--muted); font-size: 14px; line-height: 1.5; }

.timeline { display: grid; gap: 24px; }
.timeline div {
  position: relative;
  padding-left: 32px;
}
.timeline div::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  z-index: 2;
  box-shadow: 0 0 0 4px var(--gold-light);
}
.timeline div::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 20px;
  bottom: -24px;
  width: 2px;
  background: var(--line-strong);
  z-index: 1;
}
.timeline div:last-child::after { display: none; }
.timeline span { display: block; color: var(--gold); font-weight: 700; font-size: 13px; margin-bottom: 4px; letter-spacing: 0.05em; }
.timeline strong { display: block; font-size: 18px; margin-bottom: 4px; font-family: 'Playfair Display', serif; }
.timeline small { display: block; color: var(--muted); font-size: 14px; }

/* ====================================================================
   GUESTS
   ==================================================================== */
.section-title.with-action {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  text-align: left;
}

.guest-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: grid;
  gap: 24px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-md);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.guest-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

input, select {
  height: 48px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  font-size: 15px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
input:focus, select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(197, 165, 114, 0.15);
}

.form-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.primary-button, .ghost-button, .row-button {
  height: 48px;
  padding: 0 24px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  transition: all 0.3s var(--ease-out-expo);
}
.primary-button {
  background: var(--ink);
  color: #fff;
  border: 1px solid var(--ink);
}
.primary-button:hover {
  background: #000;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.primary-button:active {
  transform: translateY(0) scale(0.98);
}

.compare-menus-btn {
  background: linear-gradient(135deg, var(--gold), var(--accent-dark));
  color: #fff;
  border: none;
  position: relative;
  overflow: hidden;
}
.compare-menus-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  background-size: 200% 100%;
  animation: shimmer 4s infinite linear;
}
.compare-menus-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(197, 165, 114, 0.3);
}
.compare-menus-btn:active {
  transform: translateY(0) scale(0.98);
}

.ghost-button {
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--ink);
}
.ghost-button:hover {
  background: var(--bg);
  border-color: var(--ink);
}
.row-button {
  height: 36px;
  padding: 0 16px;
  font-size: 13px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 20px;
}
.row-button:hover { background: var(--line-strong); }

.guest-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding: 0 8px;
}
.guest-toolbar input { width: 340px; border-radius: 30px; padding-left: 20px; }
.guest-toolbar span { color: var(--muted); font-size: 15px; font-weight: 600; }

.status-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.status-Чернова { background: var(--bg); color: var(--muted); border: 1px solid var(--line); }
.status-Поканен { background: #eef2ff; color: #4f46e5; border: 1px solid #c7d2fe; }
.status-Потвърден { background: var(--success-bg); color: var(--success-text); border: 1px solid #a7f3d0; }
.status-Неможе { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }

/* ====================================================================
   INVITATION PREVIEW
   ==================================================================== */
.invite-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.invite-photo {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
}
.invite-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out-expo);
}
.invite-photo:hover img { transform: scale(1.05); }

.invitation-card {
  text-align: center;
  padding: 64px 40px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.invitation-card::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(197, 165, 114, 0.2);
  pointer-events: none;
}

.invite-kicker {
  font-family: 'Inter', sans-serif;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  margin-bottom: 24px;
}
.invitation-card h2 {
  font-size: clamp(48px, 6vw, 72px);
  line-height: 1;
  color: var(--ink);
  margin-bottom: 24px;
}
.invitation-card h2 span {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 0.8em;
  color: var(--gold);
  display: inline-block;
  margin: 0 12px;
}
.invite-date {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  letter-spacing: 0.15em;
  color: var(--ink);
  margin-bottom: 40px;
  text-transform: uppercase;
}

.ornament {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto 40px;
}

.invitation-card p.invite-text {
  color: var(--muted);
  line-height: 1.8;
  font-size: 16px;
  margin-bottom: 48px;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
  font-style: italic;
}

.invite-details {
  display: grid;
  gap: 20px;
}
.invite-details div {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.invite-details div:last-child { border-bottom: none; padding-bottom: 0; }
.invite-details strong { display: block; font-family: 'Inter', sans-serif; text-transform: uppercase; letter-spacing: 0.1em; font-size: 12px; margin-bottom: 8px; color: var(--muted); }
.invite-details span { color: var(--ink); font-size: 18px; font-family: 'Playfair Display', serif; }

/* ====================================================================
   FOOTER
   ==================================================================== */
.footer {
  text-align: center;
  padding: 40px 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  margin-top: 80px;
}

/* ====================================================================
   MOBILE BOTTOM TAB BAR
   ==================================================================== */
.mobile-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background: rgba(250, 249, 246, 0.82);
  backdrop-filter: blur(32px) saturate(200%);
  -webkit-backdrop-filter: blur(32px) saturate(200%);
  border-top: 1px solid rgba(230, 223, 214, 0.5);
  display: none;
  justify-content: space-around;
  padding: 8px 12px;
  padding-bottom: calc(8px + env(safe-area-inset-bottom, 16px));
  box-shadow: 0 -4px 32px rgba(0,0,0,0.06);
  animation: slideUp 0.4s var(--ease-out-expo);
}
.mobile-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 8px 12px;
  color: var(--muted);
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: all 0.3s var(--ease-out-expo);
  position: relative;
}
.mobile-nav a .nav-icon {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease-out-expo);
}
.mobile-nav a .nav-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mobile-nav a.active {
  color: var(--gold);
  background: rgba(197, 165, 114, 0.1);
}
.mobile-nav a.active .nav-icon {
  transform: translateY(-2px);
}
.mobile-nav a:active {
  transform: scale(0.92);
}

/* ====================================================================
   MODAL — Menu Comparison
   ==================================================================== */
.menu-modal {
  border: none;
  border-radius: var(--radius-lg);
  padding: 0;
  max-width: 960px;
  width: 92%;
  box-shadow: 0 32px 80px rgba(26, 24, 22, 0.2), 0 0 0 1px rgba(255,255,255,0.1);
  background: var(--bg);
  animation: scaleIn 0.35s var(--ease-out-expo);
  overflow: hidden;
}
.menu-modal::backdrop {
  background: rgba(26, 24, 22, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.modal-content {
  display: flex;
  flex-direction: column;
  max-height: 88vh;
}
.modal-header {
  padding: 24px 32px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(250, 249, 246, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 10;
}
.modal-header h2 { font-size: 28px; }
.modal-body {
  padding: 32px;
  overflow-y: auto;
  display: grid;
  gap: 24px;
}
.modal-body::-webkit-scrollbar { width: 6px; }
.modal-body::-webkit-scrollbar-track { background: transparent; }
.modal-body::-webkit-scrollbar-thumb {
  background: var(--line-strong);
  border-radius: 3px;
}
.modal-body::-webkit-scrollbar-thumb:hover {
  background: var(--muted);
}

/* Menu comparison summary bar */
.menu-summary-bar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding: 16px 20px;
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  margin-bottom: 8px;
}
.menu-summary-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  background: var(--gold-light);
  color: var(--gold);
  border: 1px solid rgba(197, 165, 114, 0.2);
}
.menu-summary-chip strong {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
}

/* Menu card */
.menu-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: grid;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}
.menu-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  opacity: 0.6;
}
.menu-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(197, 165, 114, 0.3);
}
.menu-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.menu-card h3 {
  font-size: 22px;
  font-family: 'Playfair Display', serif;
}
.menu-status {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.menu-status.full {
  background: var(--success-bg);
  color: var(--success-text);
  border: 1px solid #a7f3d0;
}
.menu-status.partial {
  background: var(--gold-light);
  color: var(--gold);
  border: 1px solid rgba(197, 165, 114, 0.3);
}
.menu-status.pending {
  background: var(--bg);
  color: var(--muted);
  border: 1px solid var(--line);
}

.menu-card p {
  color: var(--ink);
  line-height: 1.7;
  font-size: 14px;
}

/* Price grid */
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  padding: 16px;
  background: var(--bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
}
.price-item {
  text-align: center;
  padding: 12px 8px;
}
.price-item .price-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 6px;
}
.price-item .price-value {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--gold);
}
.price-item .price-note {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
  font-style: italic;
}

/* PDF links */
.pdf-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.pdf-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-light);
  color: var(--gold);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s var(--ease-out-expo);
  border: 1px solid rgba(197, 165, 114, 0.2);
}
.pdf-btn:hover {
  background: #ebe0cc;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.pdf-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

/* ====================================================================
   RESPONSIVE
   ==================================================================== */
@media (max-width: 1000px) {
  .decision-layout, .planning-layout, .invite-section {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .invite-photo { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .section-title.with-action { flex-direction: column; align-items: flex-start; gap: 20px; }
  .guest-toolbar { flex-direction: column; align-items: stretch; gap: 16px; }
  .guest-toolbar input { width: 100%; }
}

@media (max-width: 768px) {
  main { padding: 20px 16px 120px; gap: 56px; }
  .app-header { padding: 14px 16px; }
  .hero { min-height: auto; padding-top: 80px; border-radius: var(--radius-md); }
  .hero-panel { position: static; margin: 24px 16px; width: auto; flex-direction: column; gap: 16px; }
  .mobile-nav { display: flex; }
  .desktop-nav { display: none !important; }
  .venue-facts { grid-template-columns: 1fr; }
  .list-columns { grid-template-columns: 1fr; }
  .section-title h2 { font-size: 28px; }
  .venue-gallery { grid-template-columns: 1fr; }
  .modal-header h2 { font-size: 22px; }
  .modal-body { padding: 20px; }
  .price-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .hero-content { padding: 40px 24px; }
  .hero h1 { font-size: 36px; }
  .script-label { font-size: 22px; }
  .brand-seal { width: 40px; height: 40px; font-size: 15px; }
  .brand strong { font-size: 14px; }
  .brand small { font-size: 11px; }
  .price-grid { grid-template-columns: 1fr; }
}

@media (min-width: 769px) {
  .desktop-nav { display: flex; }
}