/* ===== VARIABLES ===== */
:root {
  --green-900: #0d1f17;
  --green-800: #173426;
  --green-700: #1e4a34;
  --green-600: #267a4f;
  --green-500: #2f9b64;
  --green-400: #4ec98a;
  --green-300: #7ee0ad;
  --green-200: #b5edd2;
  --green-100: #e0f7ec;
  --green-50: #f0faf5;
  --gold-500: #c9a84c;
  --gold-400: #d4b86a;
  --gold-300: #e2cf94;
  --neutral-900: #111;
  --neutral-800: #222;
  --neutral-700: #444;
  --neutral-600: #666;
  --neutral-500: #888;
  --neutral-400: #aaa;
  --neutral-300: #ccc;
  --neutral-200: #e5e5e5;
  --neutral-100: #f5f5f5;
  --neutral-50: #fafafa;
  --white: #fff;
  --red-500: #e53e3e;
  --orange-500: #dd6b20;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,.15);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--neutral-800);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ===== HEADER ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(23,52,38,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header-inner {
  max-width: 1280px; min-height: 94px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  padding: 8px 32px;
}
.logo { display: inline-flex; align-items: center; }
.logo img { display: block; height: 80px; width: auto; }

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 480px;
  display: flex; align-items: center; justify-content: center;
  padding: 120px 32px 80px; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--green-900) 0%, var(--green-800) 40%, #1a3a2e 100%);
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 30%, rgba(78,201,138,.12) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 80%, rgba(201,168,76,.08) 0%, transparent 50%);
}
.hero-content {
  position: relative; max-width: 680px; text-align: center; z-index: 1;
}
.hero-badge {
  display: inline-block;
  background: rgba(78,201,138,.15); border: 1px solid rgba(78,201,138,.3);
  color: var(--green-300); font-size: 12px; font-weight: 600;
  padding: 6px 16px; border-radius: 20px;
  text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 20px;
}
.hero h1 {
  font-family: var(--font-display); font-size: 48px; font-weight: 600;
  color: var(--white); line-height: 1.2; margin-bottom: 16px;
}
.hero p {
  color: rgba(255,255,255,.7); font-size: 17px; line-height: 1.7;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 14px; font-weight: 600;
  cursor: pointer; border: none; transition: all .2s;
  text-decoration: none;
}
.btn-primary {
  background: var(--green-600); color: var(--white);
}
.btn-primary:hover { background: var(--green-500); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-primary:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn-ghost {
  background: rgba(255,255,255,.1); color: var(--white);
  border: 1px solid rgba(255,255,255,.25);
}
.btn-ghost:hover { background: rgba(255,255,255,.2); }
.btn-outline {
  background: transparent; color: var(--green-700);
  border: 1.5px solid var(--green-600);
}
.btn-outline:hover { background: var(--green-50); }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-xs { padding: 5px 12px; font-size: 12px; border-radius: 4px; }

/* ===== STEPS BAR ===== */
.steps-bar {
  display: flex; align-items: center; justify-content: center;
  gap: 0; padding: 32px 32px 8px; max-width: 600px; margin: 0 auto;
}
.step {
  display: flex; align-items: center; gap: 8px;
  cursor: pointer; opacity: .4; transition: opacity .3s;
}
.step.active { opacity: 1; }
.step.completed { opacity: .8; }
.step-num {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--green-700); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 600;
}
.step.active .step-num { background: var(--green-500); box-shadow: 0 0 0 4px rgba(47,155,100,.2); }
.step.completed .step-num { background: var(--green-400); }
.step-label { font-size: 13px; font-weight: 500; color: var(--neutral-700); }
.step-line { flex: 1; max-width: 60px; height: 2px; background: var(--neutral-300); margin: 0 8px; }

/* ===== TEMPLATES BAR ===== */
.templates-bar {
  max-width: 1200px; margin: 0 auto; padding: 32px 32px 16px;
  text-align: center;
}
.templates-bar h3 { font-size: 16px; color: var(--neutral-600); margin-bottom: 20px; font-weight: 500; }
.templates-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px; margin-bottom: 16px;
}
.template-card {
  background: var(--white); border: 1.5px solid var(--neutral-200);
  border-radius: var(--radius-md); padding: 16px;
  cursor: pointer; transition: all .2s; text-align: left;
}
.template-card:hover { border-color: var(--green-400); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.template-card.selected { border-color: var(--green-500); background: var(--green-50); }
.template-card h4 { font-size: 13px; font-weight: 600; color: var(--green-800); margin-bottom: 4px; line-height: 1.4; }
.template-card .template-meta { font-size: 11px; color: var(--neutral-500); }
.template-card .template-cities { font-size: 11px; color: var(--green-600); margin-top: 6px; }

/* ===== STEP PANELS ===== */
.step-panel { max-width: 1200px; margin: 0 auto; padding: 24px 32px 48px; background: var(--white); scroll-margin-top: 110px; }
.step-panel.hidden { display: none; }
.panel-header { text-align: center; margin-bottom: 28px; }
.panel-header h2 { font-family: var(--font-display); font-size: 28px; color: var(--green-800); margin-bottom: 8px; }
.panel-header p { color: var(--neutral-600); font-size: 15px; }
.panel-actions { display: flex; justify-content: center; gap: 12px; margin-top: 32px; }

/* ===== MAP ===== */
.map-and-cities { display: grid; grid-template-columns: 1fr 320px; gap: 24px; margin-bottom: 24px; }
.map-container {
  height: 480px; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-md);
  border: 1px solid var(--neutral-200);
}
.city-sidebar {
  display: flex; flex-direction: column; gap: 8px;
  max-height: 480px; overflow-y: auto; padding-right: 4px;
}
.city-card {
  background: var(--white); border: 1.5px solid var(--neutral-200);
  border-radius: var(--radius-md); padding: 14px; cursor: pointer;
  transition: all .2s;
}
.city-card:hover { border-color: var(--green-300); box-shadow: var(--shadow-sm); }
.city-card.selected { border-color: var(--green-500); background: var(--green-50); }
.city-card h4 { font-size: 14px; font-weight: 600; color: var(--green-800); margin-bottom: 4px; }
.city-card p { font-size: 12px; color: var(--neutral-600); line-height: 1.5; }
.city-card .city-themes { display: flex; gap: 4px; margin-top: 6px; flex-wrap: wrap; }
.city-tag {
  font-size: 10px; padding: 2px 8px; border-radius: 10px;
  background: var(--green-100); color: var(--green-700); font-weight: 500;
}

/* Selected cities strip */
.selected-cities-strip {
  display: flex; gap: 10px; flex-wrap: wrap; min-height: 44px;
  padding: 12px 0; align-items: center;
}
.selected-city-chip {
  display: flex; align-items: center; gap: 6px;
  background: var(--green-700); color: var(--white);
  padding: 8px 14px; border-radius: 20px; font-size: 13px; font-weight: 500;
}
.selected-city-chip .chip-remove {
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(255,255,255,.2); border: none; color: var(--white);
  cursor: pointer; font-size: 14px; display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.selected-city-chip .chip-remove:hover { background: rgba(255,255,255,.4); }
.travel-arrow { color: var(--neutral-400); font-size: 18px; }

/* ===== ACTIVITIES CONTAINER ===== */
.duration-bar {
  display: flex; align-items: center; gap: 24px;
  background: var(--white); border: 1px solid var(--neutral-200);
  border-radius: var(--radius-md); padding: 16px 24px; margin-bottom: 24px;
  box-shadow: var(--shadow-sm); flex-wrap: wrap;
}
.duration-bar label { font-weight: 600; font-size: 14px; color: var(--green-800); }
.duration-control { display: flex; align-items: center; gap: 8px; }
.dur-btn {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1.5px solid var(--green-500); background: var(--white);
  color: var(--green-600); font-size: 18px; font-weight: 600;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.dur-btn:hover { background: var(--green-50); }
#daysDisplay { font-size: 24px; font-weight: 700; color: var(--green-800); min-width: 32px; text-align: center; }
.intensity-meter { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.intensity-label { font-size: 13px; color: var(--neutral-600); }
.intensity-value { font-size: 13px; font-weight: 600; min-width: 80px; }
.intensity-bar-bg { width: 120px; height: 6px; border-radius: 3px; background: var(--neutral-200); overflow: hidden; }
.intensity-bar-fill { height: 100%; border-radius: 3px; transition: width .3s, background .3s; }

.city-activities-section {
  background: var(--white); border: 1px solid var(--neutral-200);
  border-radius: var(--radius-lg); margin-bottom: 20px;
  overflow: hidden; box-shadow: var(--shadow-sm);
}
.city-section-header {
  display: flex; align-items: center; gap: 12px;
  padding: 18px 24px; background: var(--neutral-100); color: var(--green-800);
  cursor: pointer; border-bottom: 2px solid var(--green-600);
}
.city-section-header h3 { font-size: 18px; font-weight: 600; flex: 1; }
.city-section-header .city-count { font-size: 12px; color: var(--neutral-500); }
.city-section-body { padding: 20px 24px; }

.activity-category { margin-bottom: 20px; }
.activity-category:last-child { margin-bottom: 0; }
.activity-category h4 {
  font-size: 13px; text-transform: uppercase; letter-spacing: .8px;
  color: var(--neutral-500); margin-bottom: 10px; padding-bottom: 6px;
  border-bottom: 1px solid var(--neutral-200);
}
.activity-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; }
.activity-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px; border: 1.5px solid var(--neutral-200);
  border-radius: var(--radius-sm); cursor: pointer; transition: all .2s;
}
.activity-item:hover { border-color: var(--green-300); background: var(--green-50); }
.activity-item.selected { border-color: var(--green-500); background: var(--green-100); }
.activity-item.locked {
  cursor: not-allowed; border-color: var(--neutral-200);
  background: var(--neutral-100); opacity: .62;
}
.activity-item.locked:hover { border-color: var(--neutral-200); background: var(--neutral-100); }
.activity-check {
  width: 20px; height: 20px; border-radius: 4px; flex-shrink: 0;
  border: 2px solid var(--neutral-300); display: flex; align-items: center; justify-content: center;
  transition: all .2s; margin-top: 2px;
}
.activity-item.selected .activity-check {
  background: var(--green-500); border-color: var(--green-500); color: var(--white);
}
.activity-info h5 { font-size: 13px; font-weight: 600; color: var(--neutral-800); margin-bottom: 2px; }
.activity-info .duration-badge {
  font-size: 10px; font-weight: 600; padding: 1px 6px;
  border-radius: 8px; background: var(--green-100); color: var(--green-700);
  vertical-align: middle; margin-left: 4px;
}
.activity-info p { font-size: 11px; color: var(--neutral-600); line-height: 1.4; }
.activity-info .activity-tag {
  display: inline-block; font-size: 10px; padding: 1px 6px;
  border-radius: 4px; background: var(--neutral-100); color: var(--neutral-500);
  margin-top: 4px;
}
.activity-info .linked-workshop-tag {
  display: block; width: fit-content; margin-top: 6px;
  background: var(--green-100); color: var(--green-700);
}
.activity-info .audience-tag {
  background: #fff3cf; color: #7b5919; font-weight: 600;
}
.activity-lock-note {
  display: block; margin-top: 7px; font-size: 10px; font-weight: 600;
  color: var(--neutral-600);
}

/* ===== REVIEW ===== */
.review-container { margin-bottom: 32px; }
.review-city-block {
  background: var(--white); border: 1px solid var(--neutral-200);
  border-radius: var(--radius-lg); margin-bottom: 16px; overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.review-city-header {
  padding: 16px 24px; background: var(--neutral-100); color: var(--green-800);
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 2px solid var(--green-600);
}
.review-city-header h3 { font-size: 18px; }
.review-city-header span { font-size: 13px; color: var(--neutral-500); }
.review-city-body { padding: 20px 24px; }
.review-item {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 0; border-bottom: 1px solid var(--neutral-100);
}
.review-item:last-child { border-bottom: none; }
.review-dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
}
.review-dot.company { background: var(--green-500); }
.review-dot.workshop { background: var(--gold-500); }
.review-dot.sightseeing { background: var(--neutral-400); }
.review-item-info { flex: 1; }
.review-item-info strong { font-size: 14px; }
.review-item-info span { font-size: 12px; color: var(--neutral-500); display: block; }

.review-summary {
  background: var(--green-50); border: 1px solid var(--green-200);
  border-radius: var(--radius-md); padding: 20px 24px; margin-bottom: 24px;
}
.review-summary h3 { font-size: 16px; color: var(--green-800); margin-bottom: 12px; }
.review-stats { display: flex; gap: 24px; flex-wrap: wrap; }
.review-stat { text-align: center; }
.review-stat .stat-num { font-size: 28px; font-weight: 700; color: var(--green-700); display: block; }
.review-stat .stat-label { font-size: 12px; color: var(--neutral-600); }

.review-warnings {
  background: #fff8f0; border: 1px solid #fde5c0;
  border-radius: var(--radius-md); padding: 16px 20px; margin-bottom: 20px;
}
.review-warnings h4 { color: var(--orange-500); font-size: 14px; margin-bottom: 8px; }
.review-warnings li { font-size: 13px; color: var(--neutral-700); margin-bottom: 4px; list-style: none; padding-left: 20px; position: relative; }
.review-warnings li::before { content: '!'; position: absolute; left: 0; color: var(--orange-500); font-weight: 700; }

/* ===== PRICING ===== */
.review-pricing {
  background: linear-gradient(135deg, var(--green-800), var(--green-700));
  border-radius: var(--radius-lg); margin-bottom: 20px;
  overflow: hidden; box-shadow: var(--shadow-md);
}
.pricing-inner { padding: 28px 32px; text-align: center; }
.pricing-label {
  font-size: 13px; text-transform: uppercase; letter-spacing: 1px;
  color: rgba(255,255,255,.6); margin-bottom: 8px;
}
.pricing-range {
  font-family: var(--font-display); font-size: 36px; font-weight: 700;
  color: var(--white); margin-bottom: 10px;
}
.pricing-currency { font-size: 16px; font-weight: 400; opacity: .6; vertical-align: middle; }
.pricing-note { font-size: 13px; color: rgba(255,255,255,.5); max-width: 500px; margin: 0 auto; line-height: 1.5; }
.pricing-note + .pricing-note { margin-top: 6px; }

/* ===== AI ASSESSMENT ===== */
.programme-evaluation{background:var(--white);border:1px solid var(--green-200);border-radius:var(--radius-lg);padding:24px;margin-bottom:20px;box-shadow:var(--shadow-sm)}
.evaluation-heading{display:flex;align-items:end;justify-content:space-between;margin-bottom:18px}.evaluation-heading span{display:block;font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:var(--neutral-500)}.evaluation-heading strong{font-family:var(--font-display);font-size:42px;color:var(--green-700)}.evaluation-heading h3{color:var(--green-800)}
.score-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.score-item{display:grid;grid-template-columns:1fr auto;gap:6px;font-size:12px}.score-item b{color:var(--green-700)}.score-item i{grid-column:1/-1;height:5px;background:var(--neutral-200);border-radius:4px;overflow:hidden}.score-item em{display:block;height:100%;background:var(--gold-500)}.programme-evaluation ul{margin:18px 0 8px;padding-left:20px;color:var(--neutral-700);font-size:13px}.programme-evaluation small{color:var(--neutral-500)}
@media(max-width:700px){.score-grid{grid-template-columns:1fr 1fr}.evaluation-heading{align-items:flex-start;flex-direction:column}}
.review-assessment {
  background: #fff8f0; border: 1px solid #fde5c0;
  border-radius: var(--radius-md); padding: 20px 24px; margin-bottom: 20px;
}
.review-assessment.good {
  background: var(--green-50); border-color: var(--green-200);
}
.assessment-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}
.assessment-header h4 { font-size: 15px; color: var(--neutral-800); margin: 0; }
.verdict-badge {
  font-size: 12px; font-weight: 700; padding: 4px 14px;
  border-radius: 12px; text-transform: uppercase; letter-spacing: .5px;
}
.verdict-proceed { background: #d4f5e2; color: #1a7a3a; }
.verdict-caution { background: #fef0d5; color: #8a6a10; }
.verdict-rethink { background: #fde2e2; color: #9a2a2a; }
.review-assessment ul { list-style: none; padding: 0; margin: 0 0 14px 0; }
.review-assessment li {
  font-size: 13px; color: var(--neutral-700); margin-bottom: 6px;
  padding-left: 22px; position: relative; line-height: 1.5;
}
.review-assessment li::before {
  content: '!'; position: absolute; left: 0; top: 0;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--orange-500); color: var(--white);
  font-size: 10px; font-weight: 700; display: flex;
  align-items: center; justify-content: center;
}
.review-assessment.good li::before { background: var(--green-500); content: '\2713'; }
.verdict-message {
  font-size: 14px; color: var(--neutral-700); line-height: 1.6;
  padding-top: 12px; border-top: 1px solid rgba(0,0,0,.06);
  font-weight: 500;
}

/* ===== DAY-BY-DAY ===== */
.day-by-day { margin-bottom: 24px; }
.day-by-day h3 {
  font-family: var(--font-display); font-size: 22px;
  color: var(--green-800); margin-bottom: 16px;
}
.day-card {
  display: flex; gap: 0;
  background: var(--white); border: 1px solid var(--neutral-200);
  border-radius: var(--radius-md); margin-bottom: 8px;
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: box-shadow .2s;
}
.day-card:hover { box-shadow: var(--shadow-md); }
.day-card.day-arrival { border-left: 4px solid var(--gold-500); }
.day-card.day-travel { border-left: 4px solid var(--neutral-400); }
.day-num {
  min-width: 130px; padding: 16px 18px;
  background: var(--green-50); border-right: 1px solid var(--neutral-200);
  display: flex; flex-direction: column; justify-content: center;
}
.day-number { font-size: 15px; font-weight: 700; color: var(--green-800); }
.day-city { font-size: 12px; color: var(--green-600); margin-top: 2px; }
.day-content { flex: 1; padding: 12px 18px; display: flex; flex-direction: column; gap: 4px; }
.day-slot { display: flex; align-items: baseline; gap: 10px; padding: 4px 0; }
.slot-time {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  color: var(--neutral-500); min-width: 72px; letter-spacing: .3px;
}
.slot-activity { font-size: 13px; color: var(--neutral-800); line-height: 1.5; }

@media (max-width: 600px) {
  .day-card { flex-direction: column; }
  .day-num { min-width: unset; flex-direction: row; gap: 8px; align-items: center;
    border-right: none; border-bottom: 1px solid var(--neutral-200); padding: 10px 16px; }
  .pricing-range { font-size: 28px; }
}

/* ===== ENQUIRY FORM ===== */
.enquiry-form {
  background: var(--white); border: 1px solid var(--neutral-200);
  border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm);
}
.enquiry-form h3 { font-family: var(--font-display); font-size: 22px; color: var(--green-800); margin-bottom: 20px; }
.consent-group label { display: flex; align-items: flex-start; gap: 9px; font-size: 12px; font-weight: 400; color: var(--neutral-600); }
.consent-group input { width: auto; margin-top: 2px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 500; color: var(--neutral-700); margin-bottom: 4px; }
.form-group input, .form-group textarea {
  width: 100%; padding: 10px 14px; border: 1.5px solid var(--neutral-200);
  border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 14px;
  transition: border .2s; outline: none;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--green-500); }
.form-group.full-width { grid-column: 1 / -1; }
.form-actions { display: flex; gap: 12px; justify-content: flex-end; }
.form-actions .btn:disabled { opacity: .65; cursor: wait; }
.enquiry-status { min-height: 1.5em; margin: 13px 0 0; text-align: right; font-size: 13px; font-weight: 600; }
.enquiry-status.success { color: var(--green-700); }
.enquiry-status.error { color: var(--red-500); }

/* ===== CHAT PANEL ===== */
.chat-toggle {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--green-700); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: var(--shadow-lg);
  transition: all .2s;
}
.chat-toggle:hover { background: var(--green-600); transform: scale(1.05); }
.chat-badge {
  position: absolute; top: -2px; right: -2px;
  background: var(--gold-500); color: var(--white);
  font-size: 9px; font-weight: 700; padding: 2px 6px;
  border-radius: 8px;
}
.chat-panel {
  position: fixed; bottom: 92px; right: 24px; z-index: 998;
  width: 400px; max-height: 560px; display: none; flex-direction: column;
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl); border: 1px solid var(--neutral-200);
  overflow: hidden;
}
.chat-panel.open { display: flex; }
.chat-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px; background: var(--green-800); color: var(--white);
}
.chat-header-info { display: flex; align-items: center; gap: 10px; }
.chat-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--green-500); display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
}
.chat-header-info strong { font-size: 14px; display: block; }
.chat-status { font-size: 11px; opacity: .7; }
.chat-close { background: none; border: none; color: var(--white); font-size: 24px; cursor: pointer; opacity: .7; }
.chat-close:hover { opacity: 1; }
.chat-messages {
  flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px;
  min-height: 300px; max-height: 400px;
}
.chat-msg { display: flex; }
.chat-msg.user { justify-content: flex-end; }
.msg-bubble {
  max-width: 85%; padding: 10px 14px;
  border-radius: 12px; font-size: 13px; line-height: 1.6;
  white-space: pre-wrap;
}
.chat-msg.assistant .msg-bubble {
  background: var(--neutral-100); color: var(--neutral-800);
  border-bottom-left-radius: 4px;
}
.chat-msg.user .msg-bubble {
  background: var(--green-700); color: var(--white);
  border-bottom-right-radius: 4px;
}
.msg-bubble strong { font-weight: 600; }
.chat-input-area {
  display: flex; gap: 8px; padding: 12px 16px;
  border-top: 1px solid var(--neutral-200); background: var(--neutral-50);
}
.chat-input-area input {
  flex: 1; padding: 10px 14px; border: 1.5px solid var(--neutral-200);
  border-radius: 20px; font-size: 13px; outline: none; font-family: var(--font-body);
}
.chat-input-area input:focus { border-color: var(--green-500); }
.chat-send {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--green-600); border: none; color: var(--white);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.chat-send:hover { background: var(--green-500); }

/* ===== TOAST ===== */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(100px);
  background: var(--green-800); color: var(--white);
  padding: 14px 28px; border-radius: var(--radius-md);
  font-size: 14px; font-weight: 500; box-shadow: var(--shadow-lg);
  transition: transform .4s ease; z-index: 9999;
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--green-900); color: rgba(255,255,255,.6);
  padding: 48px 32px 24px;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-brand { margin-bottom: 20px; }
.footer-brand p { font-size: 13px; }
.footer-links { display: flex; gap: 24px; margin-bottom: 24px; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,.6); text-decoration: none; font-size: 13px; transition: color .2s; }
.footer-links a:hover { color: var(--white); }
.footer-copy { font-size: 12px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.1); }

/* ===== LEAFLET OVERRIDES ===== */
.city-marker {
  background: var(--green-600); border: 3px solid var(--white);
  border-radius: 50%; width: 16px; height: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
  transition: all .2s; cursor: pointer;
}
.city-marker:hover { transform: scale(1.3); }
.city-marker.active {
  background: var(--gold-500); border-color: var(--white);
  width: 20px; height: 20px;
  box-shadow: 0 0 0 6px rgba(201,168,76,.3), 0 2px 8px rgba(0,0,0,.3);
}
.city-popup .leaflet-popup-content-wrapper {
  border-radius: var(--radius-md); box-shadow: var(--shadow-md);
}
.city-popup .leaflet-popup-content { margin: 14px 16px; font-size: 13px; }
.city-popup-name { font-weight: 700; font-size: 15px; color: var(--green-800); margin-bottom: 4px; }
.city-popup-desc { color: var(--neutral-600); line-height: 1.5; margin-bottom: 8px; }

/* ===== ONBOARDING ===== */
.onboarding {
  min-height: calc(100vh - 94px); padding: 112px 32px 48px;
  display: flex; align-items: center; justify-content: center;
  background: var(--white);
  position: relative; overflow: hidden;
}
.onboarding::before {
  content: ''; position: absolute; inset: 0;
  background: none;
}
.onboard-step { display: none; width: 100%; max-width: 900px; position: relative; z-index: 1; }
.onboard-step.active { display: block; animation: fadeUp .5s ease; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.onboard-card { text-align: center; }
.onboard-step-label {
  display: inline-block; font-size: 12px; font-weight: 600;
  color: var(--white); letter-spacing: 1.2px; text-transform: uppercase;
  margin-bottom: 16px;
  background: var(--green-700); border: 1px solid var(--green-600);
  padding: 5px 14px; border-radius: 16px;
}
.onboard-card h2 {
  font-family: var(--font-display); font-size: 36px; color: var(--green-800);
  margin-bottom: 12px; line-height: 1.2;
}
.onboard-card > p {
  color: var(--neutral-600); font-size: 16px; margin-bottom: 36px;
  max-width: 600px; margin-left: auto; margin-right: auto; line-height: 1.6;
}
.onboard-options {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.onboard-options.three-col { grid-template-columns: 1fr 1fr 1fr; }
.onboard-option {
  background: var(--white); border: 2px solid var(--neutral-200);
  border-radius: var(--radius-lg); padding: 32px 24px; cursor: pointer;
  transition: all .3s; text-align: left; position: relative;
  box-shadow: var(--shadow-sm);
}
.onboard-option:hover {
  background: var(--green-50); border-color: var(--green-400);
  transform: translateY(-4px); box-shadow: var(--shadow-lg);
}
.onboard-option.selected {
  background: var(--green-50); border-color: var(--green-500);
  box-shadow: 0 0 0 4px rgba(47,155,100,.12), var(--shadow-md);
}
.onboard-icon {
  width: 60px; height: 60px; border-radius: 16px;
  background: var(--green-100); color: var(--green-700);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.intensity-icon.intensive { background: #fef0e6; color: #dd6b20; }
.intensity-icon.balanced { background: var(--green-100); color: var(--green-600); }
.intensity-icon.relaxed { background: #e8ecf8; color: #4a6abf; }
.onboard-option h3 {
  font-size: 20px; font-weight: 700; color: var(--green-800);
  margin-bottom: 10px;
}
.onboard-option p {
  font-size: 14px; color: var(--neutral-600); line-height: 1.6;
  margin-bottom: 16px;
}
.onboard-features {
  list-style: none; padding: 0; margin: 0;
}
.onboard-features li {
  font-size: 13px; color: var(--neutral-600); padding: 4px 0 4px 20px;
  position: relative;
}
.onboard-features li::before {
  content: ''; position: absolute; left: 0; top: 10px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green-500); opacity: .6;
}
.onboard-ratio { margin-top: 4px; }
.ratio-bar {
  width: 100%; height: 6px; border-radius: 3px;
  background: var(--neutral-200); overflow: hidden; margin-bottom: 6px;
}
.ratio-fill {
  height: 100%; border-radius: 3px; background: #f6a84e;
  transition: width .4s;
}
.ratio-fill.balanced-fill { background: var(--green-400); }
.ratio-fill.relaxed-fill { background: #93b5f5; }
.ratio-label { font-size: 11px; color: var(--neutral-500); }
.onboard-back {
  margin-top: 28px; color: var(--neutral-600);
  border-color: var(--neutral-300);
}
.onboard-back:hover { background: var(--neutral-100); color: var(--neutral-800); }

/* Profile badge */
.profile-badge {
  max-width: 1200px; margin: 0 auto; padding: 24px 32px 0;
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.profile-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--green-100); color: var(--green-800);
  padding: 6px 14px; border-radius: 20px; font-size: 13px; font-weight: 500;
}
.profile-chip svg { width: 14px; height: 14px; opacity: .6; }
.profile-chip.type-edu { background: #e8f4fd; color: #1a5f8a; }
.profile-chip.type-biz { background: #fef3e2; color: #8a5a1a; }
.profile-chip.pace-intensive { background: #fef0e6; color: #9a4a10; }
.profile-chip.pace-balanced { background: var(--green-100); color: var(--green-700); }
.profile-chip.pace-relaxed { background: #e8ecf8; color: #3a4a8a; }
.profile-change {
  font-size: 12px; color: var(--green-600); cursor: pointer;
  text-decoration: underline; margin-left: 4px;
}
.profile-change:hover { color: var(--green-800); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .map-and-cities { grid-template-columns: 1fr; }
  .map-container { height: 360px; }
  .city-sidebar { flex-direction: row; overflow-x: auto; gap: 10px; }
  .city-card { min-width: 200px; flex-shrink: 0; }
  .hero h1 { font-size: 32px; }
  .chat-panel { width: calc(100vw - 32px); right: 16px; bottom: 80px; }
  .form-grid { grid-template-columns: 1fr; }
  .templates-grid { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
  .onboard-options { grid-template-columns: 1fr; }
  .onboard-options.three-col { grid-template-columns: 1fr; }
  .onboard-card h2 { font-size: 26px; }
  .onboarding { padding: 90px 16px 40px; }
}
@media (max-width: 600px) {
  .header-inner { min-height: 78px; padding: 6px 16px; }
  .logo img { height: 64px; }
  .step-panel { padding: 16px 16px 40px; }
  .hero { padding: 100px 20px 60px; }
  .activity-grid { grid-template-columns: 1fr; }
}
