/* ═══════════════════════════════════════════════
   BREW & CO. — COFFEE SHOP PLANNER
   Design System: Terracotta Studio × Organic Luxury
   Fonts: Playfair Display + Cabinet Grotesk
═══════════════════════════════════════════════ */

/* ── CSS VARIABLES ── */
:root {
  --terracotta:    #B5563E;
  --terracotta-lt: #D4896A;
  --terracotta-dk: #8B3A28;
  --cream:         #F2E6D9;
  --cream-dk:      #E8D5C0;
  --brown-dk:      #3D2B1F;
  --brown-md:      #6B4C3B;
  --brown-lt:      #8B7355;
  --white:         #FDFAF7;
  --off-white:     #F7F2EC;
  --text-primary:  #2C1810;
  --text-secondary:#6B4C3B;
  --text-muted:    #9B8070;
  --border:        #E0CDB8;
  --border-lt:     #EDE0D0;
  --success:       #4A7C59;
  --warning:       #C8860A;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Cabinet Grotesk', 'Helvetica Neue', sans-serif;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;

  --shadow-sm:  0 2px 8px rgba(61,43,31,0.08);
  --shadow-md:  0 8px 24px rgba(61,43,31,0.12);
  --shadow-lg:  0 20px 60px rgba(61,43,31,0.16);
  --shadow-xl:  0 32px 80px rgba(61,43,31,0.20);

  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
input, select, textarea, button { font-family: var(--font-body); }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 600; }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 600; }
h4 { font-size: 1.2rem; font-weight: 600; }
h5 { font-size: 1rem; font-weight: 600; font-family: var(--font-body); }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta);
  background: rgba(181,86,62,0.1);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-title {
  color: var(--brown-dk);
  margin-bottom: 12px;
}

.section-sub {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 560px;
  margin-bottom: 48px;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--terracotta);
  color: var(--white);
  border: none;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary:hover {
  background: var(--terracotta-dk);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(181,86,62,0.35);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--brown-dk);
  border: 2px solid var(--border);
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.btn-ghost:hover {
  border-color: var(--terracotta);
  color: var(--terracotta);
  background: rgba(181,86,62,0.05);
}

.btn-lg { padding: 16px 32px; font-size: 1.05rem; }

/* ── HEADER ── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(253,250,247,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-lt);
  transition: var(--transition);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-icon { font-size: 1.8rem; }

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brown-dk);
}

.logo-tagline {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition);
}
.header-nav a:hover { color: var(--terracotta); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--brown-dk);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  padding: 120px 80px 80px;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.4;
}

.hero-circles { position: absolute; inset: 0; }
.circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.06;
}
.c1 {
  width: 600px; height: 600px;
  background: var(--terracotta);
  top: -200px; right: -100px;
}
.c2 {
  width: 400px; height: 400px;
  background: var(--brown-lt);
  bottom: -100px; left: -100px;
}
.c3 {
  width: 200px; height: 200px;
  background: var(--terracotta-lt);
  top: 40%; left: 40%;
}

.hero-content {
  position: relative;
  z-index: 1;
  animation: fadeUp 0.8s ease both;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(181,86,62,0.1);
  color: var(--terracotta);
  border: 1px solid rgba(181,86,62,0.2);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-title {
  color: var(--brown-dk);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.hero-title em {
  font-style: italic;
  color: var(--terracotta);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--brown-dk);
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

.hero-image-wrap {
  position: relative;
  z-index: 1;
  animation: fadeUp 0.8s 0.2s ease both;
}

.hero-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}

.card-float {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--border-lt);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-md);
  animation: float 4s ease-in-out infinite;
}

.card-float-2 { animation-delay: -2s; }

.card-float:first-child {
  top: 32px;
  left: -24px;
}

.card-float-2 {
  bottom: 48px;
  right: -24px;
}

.card-icon { font-size: 1.5rem; }

.card-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.card-text strong {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brown-dk);
}

.card-text span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ── OVERVIEW ── */
.overview {
  background: var(--off-white);
  padding: 100px 0;
  border-top: 1px solid var(--border-lt);
  border-bottom: 1px solid var(--border-lt);
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.overview-card {
  background: var(--white);
  border: 1px solid var(--border-lt);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.overview-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--terracotta);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.overview-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--terracotta-lt);
}

.overview-card:hover::before { transform: scaleX(1); }

.ov-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.overview-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--brown-dk);
  margin-bottom: 8px;
  font-family: var(--font-body);
}

.overview-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 16px;
}

.ov-link {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--terracotta);
  letter-spacing: 0.04em;
}

/* ── PLANNER SECTION ── */
.planner-section {
  padding: 100px 0;
}

/* ── TAB NAV ── */
.tab-nav {
  display: flex;
  gap: 8px;
  background: var(--off-white);
  border: 1px solid var(--border-lt);
  border-radius: var(--radius-lg);
  padding: 8px;
  margin-bottom: 40px;
  overflow-x: auto;
  scrollbar-width: none;
}
.tab-nav::-webkit-scrollbar { display: none; }

.tab-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border: none;
  background: transparent;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}

.tab-btn:hover {
  background: var(--white);
  color: var(--brown-dk);
}

.tab-btn.active {
  background: var(--white);
  color: var(--terracotta);
  box-shadow: var(--shadow-sm);
}

.tab-icon { font-size: 1.1rem; }

/* ── TAB PANELS ── */
.tab-panel {
  display: none;
  animation: fadeUp 0.4s ease both;
}
.tab-panel.active { display: block; }

.panel-header {
  margin-bottom: 40px;
}
.panel-header h3 {
  color: var(--brown-dk);
  margin-bottom: 8px;
}
.panel-header p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* ── CONCEPT TAB ── */
.concept-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.concept-card.full-width { grid-column: 1 / -1; }

.concept-card {
  background: var(--white);
  border: 1px solid var(--border-lt);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.cc-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-lt);
}

.cc-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--terracotta);
  opacity: 0.4;
  line-height: 1;
}

.cc-header h4 {
  color: var(--brown-dk);
}

.concept-types { display: flex; flex-direction: column; gap: 12px; }

.concept-type {
  display: flex;
  gap: 16px;
  padding: 16px;
  border: 2px solid var(--border-lt);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
}

.concept-type:hover,
.concept-type.selected {
  border-color: var(--terracotta);
  background: rgba(181,86,62,0.04);
}

.ct-icon { font-size: 1.5rem; flex-shrink: 0; }

.ct-info strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--brown-dk);
  margin-bottom: 4px;
}

.ct-info p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Brand Form */
.brand-form { display: flex; flex-direction: column; gap: 20px; }

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brown-dk);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  color: var(--text-primary);
  background: var(--white);
  transition: border-color var(--transition);
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(181,86,62,0.1);
}

.mood-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mood-tag {
  padding: 6px 14px;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
}

.mood-tag:hover,
.mood-tag.active {
  border-color: var(--terracotta);
  background: var(--terracotta);
  color: var(--white);
}

/* Location Grid */
.location-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.loc-item {
  padding: 20px;
  background: var(--off-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-lt);
}

.loc-icon { font-size: 1.5rem; margin-bottom: 10px; }

.loc-item h5 {
  font-weight: 700;
  color: var(--brown-dk);
  margin-bottom: 6px;
}

.loc-item p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ── FLOOR PLAN TAB ── */
.floorplan-content { display: flex; flex-direction: column; gap: 40px; }

.fp-zones h4,
.fp-visual h4,
.fp-design-tips h4 {
  color: var(--brown-dk);
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.zones-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.zone-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-lt);
  position: relative;
  overflow: hidden;
}

.zone-bar    { background: rgba(181,86,62,0.06); border-color: rgba(181,86,62,0.2); }
.zone-seating{ background: rgba(212,137,106,0.06); border-color: rgba(212,137,106,0.2); }
.zone-kitchen{ background: rgba(139,115,85,0.06); border-color: rgba(139,115,85,0.2); }
.zone-other  { background: rgba(160,160,160,0.06); border-color: rgba(160,160,160,0.2); }

.zone-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--terracotta);
  margin-bottom: 4px;
}

.zone-pct {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--brown-dk);
  margin-bottom: 8px;
}

.zone-card p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
  line-height: 1.5;
}

.zone-card ul { display: flex; flex-direction: column; gap: 4px; }
.zone-card li {
  font-size: 0.78rem;
  color: var(--text-secondary);
  padding-left: 12px;
  position: relative;
}
.zone-card li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--terracotta);
  font-weight: 700;
}

/* Floor Plan Diagram */
.floorplan-diagram {
  background: var(--off-white);
  border: 1px solid var(--border-lt);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.fp-room {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1fr;
  grid-template-rows: auto auto auto;
  gap: 8px;
  margin-bottom: 16px;
}

.fp-zone {
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
  min-height: 70px;
}

.fp-entrance  { background: rgba(181,86,62,0.12); color: var(--terracotta-dk); border: 1px dashed var(--terracotta-lt); }
.fp-counter   { background: rgba(181,86,62,0.2); color: var(--terracotta-dk); border: 1px solid var(--terracotta); grid-row: span 2; }
.fp-display   { background: rgba(212,137,106,0.15); color: var(--brown-md); border: 1px solid var(--terracotta-lt); }
.fp-seating1  { background: rgba(212,137,106,0.1); color: var(--brown-md); border: 1px solid rgba(212,137,106,0.3); }
.fp-seating2  { background: rgba(212,137,106,0.1); color: var(--brown-md); border: 1px solid rgba(212,137,106,0.3); grid-column: span 2; }
.fp-lounge    { background: rgba(212,137,106,0.08); color: var(--brown-md); border: 1px solid rgba(212,137,106,0.2); }
.fp-boh       { background: rgba(139,115,85,0.12); color: var(--brown-md); border: 1px solid rgba(139,115,85,0.3); }
.fp-restroom  { background: rgba(160,160,160,0.1); color: var(--text-secondary); border: 1px solid rgba(160,160,160,0.3); }

.fp-legend {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.leg-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.leg-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Design Tips */
.design-tips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.tip-card {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--border-lt);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.tip-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.tip-icon { font-size: 1.5rem; margin-bottom: 12px; }

.tip-card h5 {
  color: var(--brown-dk);
  margin-bottom: 8px;
}

.tip-card p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ── BUDGET TAB ── */
.budget-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: start;
}

.budget-section-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--terracotta);
  padding: 16px 0 12px;
  border-bottom: 1px solid var(--border-lt);
  margin-bottom: 12px;
  margin-top: 8px;
}

.budget-items { display: flex; flex-direction: column; gap: 8px; }

.budget-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 16px;
  background: var(--off-white);
  border: 1px solid var(--border-lt);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.budget-item:hover {
  border-color: var(--terracotta-lt);
  background: rgba(181,86,62,0.03);
}

.budget-item label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
  flex: 1;
}

.budget-input-wrap {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  min-width: 130px;
  transition: border-color var(--transition);
}

.budget-input-wrap:focus-within {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(181,86,62,0.1);
}

.currency {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

.budget-input {
  border: none;
  outline: none;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brown-dk);
  background: transparent;
  width: 100%;
  text-align: right;
}

/* Budget Summary */
.budget-summary { position: sticky; top: 100px; }

.summary-card {
  background: var(--brown-dk);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 20px;
}

.summary-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(242,230,217,0.15);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
}

.summary-row span {
  font-size: 0.85rem;
  color: rgba(242,230,217,0.7);
}

.summary-row strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--cream);
}

.summary-row.highlight strong {
  font-size: 1.1rem;
  color: var(--terracotta-lt);
}

.summary-row strong.positive { color: #7EC8A0; }
.summary-row strong.negative { color: #F4A0A0; }

.summary-divider {
  height: 1px;
  background: rgba(242,230,217,0.1);
  margin: 8px 0;
}

.cost-breakdown {
  background: var(--white);
  border: 1px solid var(--border-lt);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 20px;
}

.cost-breakdown h4 {
  font-size: 0.95rem;
  color: var(--brown-dk);
  margin-bottom: 16px;
}

.breakdown-bars { display: flex; flex-direction: column; gap: 10px; }

.breakdown-bar-item { display: flex; flex-direction: column; gap: 4px; }

.bar-label-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.bar-track {
  height: 6px;
  background: var(--border-lt);
  border-radius: 100px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: var(--terracotta);
  border-radius: 100px;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.budget-tips {
  background: rgba(181,86,62,0.06);
  border: 1px solid rgba(181,86,62,0.15);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
}

.budget-tips h4 {
  font-size: 0.9rem;
  color: var(--brown-dk);
  margin-bottom: 12px;
}

.budget-tips ul { display: flex; flex-direction: column; gap: 8px; }

.budget-tips li {
  font-size: 0.8rem;
  color: var(--text-secondary);
  padding-left: 16px;
  position: relative;
  line-height: 1.4;
}

.budget-tips li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--terracotta);
  font-weight: 700;
  font-size: 0.7rem;
}

/* ── EQUIPMENT TAB ── */
.equipment-layout { display: flex; flex-direction: column; gap: 32px; }

.eq-progress-bar {
  background: var(--white);
  border: 1px solid var(--border-lt);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
}

.eq-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brown-dk);
  margin-bottom: 10px;
}

.eq-progress-track {
  height: 8px;
  background: var(--border-lt);
  border-radius: 100px;
  overflow: hidden;
}

.eq-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--terracotta), var(--terracotta-lt));
  border-radius: 100px;
  width: 0%;
  transition: width 0.5s ease;
}

.equipment-categories { display: flex; flex-direction: column; gap: 24px; }

.eq-category {
  background: var(--white);
  border: 1px solid var(--border-lt);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.eq-cat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 24px;
  background: var(--off-white);
  border-bottom: 1px solid var(--border-lt);
}

.eq-cat-icon { font-size: 1.3rem; }

.eq-cat-header h4 {
  font-size: 1rem;
  color: var(--brown-dk);
  flex: 1;
}

.eq-cat-count {
  font-size: 0.78rem;
  color: var(--text-muted);
  background: var(--white);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: 100px;
}

.eq-items {
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.eq-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--transition);
}

.eq-item:hover { background: var(--off-white); }

.eq-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--terracotta);
  cursor: pointer;
  flex-shrink: 0;
}

.eq-name {
  flex: 1;
  font-size: 0.88rem;
  color: var(--text-primary);
  transition: color var(--transition);
}

.eq-item input:checked ~ .eq-name {
  text-decoration: line-through;
  color: var(--text-muted);
}

.eq-cost {
  font-size: 0.78rem;
  color: var(--text-muted);
  background: var(--off-white);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  font-weight: 500;
}

/* ── TIMELINE TAB ── */
.timeline-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  align-items: start;
}

.timeline-phases { display: flex; flex-direction: column; gap: 32px; }

.phase {
  background: var(--white);
  border: 1px solid var(--border-lt);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.phase-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 28px;
  background: var(--off-white);
  border-bottom: 1px solid var(--border-lt);
}

.phase-badge {
  background: var(--terracotta);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  flex-shrink: 0;
}

.phase-badge-gold {
  background: linear-gradient(135deg, #C8860A, #E6A020);
}

.phase-header h4 {
  flex: 1;
  color: var(--brown-dk);
}

.phase-duration {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.timeline-items {
  padding: 8px 0;
}

.tl-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 0;
  border-bottom: 1px solid var(--border-lt);
  transition: background var(--transition);
}

.tl-item:last-child { border-bottom: none; }
.tl-item:hover { background: rgba(181,86,62,0.02); }

.tl-week {
  padding: 20px 20px 20px 28px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--terracotta);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-right: 1px solid var(--border-lt);
  display: flex;
  align-items: flex-start;
  padding-top: 22px;
}

.tl-content {
  padding: 20px 28px;
}

.tl-content h5 {
  color: var(--brown-dk);
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.tl-content ul { display: flex; flex-direction: column; gap: 5px; }

.tl-content li {
  font-size: 0.82rem;
  color: var(--text-secondary);
  padding-left: 14px;
  position: relative;
  line-height: 1.4;
}

.tl-content li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--terracotta-lt);
  font-size: 0.7rem;
}

.tl-item-special { background: rgba(200,134,10,0.04); }
.tl-item-special .tl-week { color: #C8860A; }
.tl-item-special .tl-content h5 { color: #8B5E00; }

.phase-launch { border-color: rgba(200,134,10,0.3); }
.phase-launch .phase-header { background: rgba(200,134,10,0.06); }

/* Timeline Sidebar */
.timeline-sidebar { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 20px; }

.tl-sidebar-card {
  background: var(--white);
  border: 1px solid var(--border-lt);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.tl-sidebar-card h4 {
  font-size: 0.95rem;
  color: var(--brown-dk);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-lt);
}

.pre-open-list { display: flex; flex-direction: column; gap: 6px; }

.pre-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--transition);
}

.pre-item:hover { background: var(--off-white); }

.pre-item input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--terracotta);
  cursor: pointer;
  flex-shrink: 0;
}

.pre-item span {
  font-size: 0.82rem;
  color: var(--text-secondary);
  transition: color var(--transition);
}

.pre-item input:checked ~ span {
  text-decoration: line-through;
  color: var(--text-muted);
}

.pitfalls-list { display: flex; flex-direction: column; gap: 8px; }

.pitfalls-list li {
  font-size: 0.8rem;
  color: var(--text-secondary);
  padding-left: 16px;
  position: relative;
  line-height: 1.4;
}

.pitfalls-list li::before {
  content: '⚠';
  position: absolute;
  left: 0;
  font-size: 0.65rem;
  color: var(--warning);
}

/* ── RESOURCES SECTION ── */
.resources-section {
  background: var(--off-white);
  padding: 100px 0;
  border-top: 1px solid var(--border-lt);
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.resource-card {
  background: var(--white);
  border: 1px solid var(--border-lt);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
}

.resource-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.res-icon { font-size: 2rem; margin-bottom: 16px; }

.resource-card h4 {
  font-size: 1rem;
  color: var(--brown-dk);
  margin-bottom: 14px;
  font-family: var(--font-body);
  font-weight: 700;
}

.resource-card ul { display: flex; flex-direction: column; gap: 6px; }

.resource-card li {
  font-size: 0.82rem;
  color: var(--text-secondary);
  padding-left: 12px;
  position: relative;
  line-height: 1.4;
}

.resource-card li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--terracotta);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
}

/* ── FOOTER ── */
.site-footer {
  background: var(--brown-dk);
  padding: 48px 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand .logo-icon { font-size: 2rem; }

.footer-brand .logo-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--cream);
  display: block;
}

.footer-brand p {
  font-size: 0.82rem;
  color: rgba(242,230,217,0.5);
  margin-top: 2px;
}

.footer-note {
  font-size: 0.85rem;
  color: rgba(242,230,217,0.5);
}

/* ── TOAST NOTIFICATION ── */
.toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: var(--brown-dk);
  color: var(--cream);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 10px;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .overview-grid { grid-template-columns: repeat(3, 1fr); }
  .overview-card:nth-child(4),
  .overview-card:nth-child(5) { grid-column: span 1; }
  .budget-layout { grid-template-columns: 1fr; }
  .budget-summary { position: static; }
  .timeline-layout { grid-template-columns: 1fr; }
  .timeline-sidebar { position: static; display: grid; grid-template-columns: 1fr 1fr; }
  .zones-grid { grid-template-columns: repeat(2, 1fr); }
  .resources-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 100px 32px 60px;
    text-align: center;
  }
  .hero-subtitle { margin: 0 auto 36px; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-image-wrap { display: none; }
  .concept-grid { grid-template-columns: 1fr; }
  .location-grid { grid-template-columns: repeat(2, 1fr); }
  .design-tips-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .header-nav { display: none; }
  .hamburger { display: flex; }
  .overview-grid { grid-template-columns: repeat(2, 1fr); }
  .zones-grid { grid-template-columns: 1fr; }
  .tab-label { display: none; }
  .tab-btn { padding: 12px 14px; }
  .tl-item { grid-template-columns: 80px 1fr; }
  .timeline-sidebar { grid-template-columns: 1fr; }
  .resources-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .overview-grid { grid-template-columns: 1fr; }
  .hero { padding: 90px 20px 50px; }
  .location-grid { grid-template-columns: 1fr; }
  .design-tips-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .stat-divider { display: none; }
}