:root {
  --bg: #f4f1e9;
  --surface: #fffdf8;
  --surface-strong: #ffffff;
  --text: #25302a;
  --muted: #68736d;
  --line: #ddd8cc;
  --accent: #2f6b57;
  --accent-2: #c98d4b;
  --shadow: 0 18px 45px rgba(48, 55, 49, 0.08);
  --radius: 24px;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(201, 141, 75, 0.12), transparent 28rem),
    linear-gradient(180deg, #f7f4ed 0%, var(--bg) 100%);
  line-height: 1.55;
}

a { color: inherit; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  min-height: 76px;
  padding: 12px max(20px, calc((100vw - var(--max)) / 2));
  background: rgba(255, 253, 248, 0.9);
  border-bottom: 1px solid rgba(221, 216, 204, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: white;
  font-weight: 800;
  background: linear-gradient(145deg, #2f6b57, #4d8a72);
}

.brand strong, .brand small { display: block; }
.brand small { color: var(--muted); font-size: 12px; }

.main-nav {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.main-nav a {
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 650;
  font-size: 14px;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--accent);
  background: rgba(47, 107, 87, 0.09);
}

.language-switch {
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 750;
}

.language-switch span { padding: 5px 8px; border-radius: 999px; }
.language-active { color: white; background: var(--accent); }
.language-muted { color: #9a9f9c; }

#app {
  min-height: calc(100vh - 150px);
}

.page {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 58px 0 80px;
}

.hero {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 36px;
  align-items: stretch;
  margin-bottom: 52px;
}

.hero-copy {
  padding: clamp(28px, 5vw, 64px);
  border-radius: 32px;
  background: linear-gradient(135deg, #234d40 0%, #356f5c 62%, #557f62 100%);
  color: white;
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  font-weight: 800;
}

.hero h1,
.section-title {
  margin: 0;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.hero h1 { font-size: clamp(44px, 7vw, 78px); max-width: 760px; }
.hero-copy > p:not(.eyebrow) { max-width: 720px; margin: 22px 0 0; font-size: 18px; color: rgba(255,255,255,.86); }

.hero-side {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  border-radius: 32px;
  color: white;
  background:
    linear-gradient(180deg, rgba(25, 35, 30, 0.05), rgba(25, 35, 30, 0.78)),
    linear-gradient(135deg, #d3a66a, #7ca28b);
  box-shadow: var(--shadow);
}

.hero-side strong { font-size: 30px; line-height: 1.1; }
.hero-side p { margin: 8px 0 0; color: rgba(255,255,255,.82); }

.section { margin-top: 54px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 22px; }
.section-title { font-size: clamp(30px, 4vw, 46px); }
.section-subtitle { max-width: 690px; margin: 8px 0 0; color: var(--muted); }

.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.72);
  box-shadow: 0 10px 28px rgba(48, 55, 49, 0.045);
  overflow: hidden;
}

.card-body { padding: 22px; }
.card h3 { margin: 0 0 8px; font-size: 22px; letter-spacing: -0.02em; }
.card p { margin: 0; color: var(--muted); }

.metric-card { padding: 22px; }
.metric-card strong { display: block; margin-bottom: 5px; font-size: 29px; color: var(--accent); }
.metric-card span { color: var(--muted); }

.asset-placeholder {
  min-height: 180px;
  display: flex;
  align-items: end;
  padding: 18px;
  color: white;
  background:
    linear-gradient(180deg, transparent 30%, rgba(29, 40, 34, .7)),
    linear-gradient(135deg, #9fc0ad, #cf9b63);
}
.asset-placeholder small { opacity: .8; }

.scenario-card {
  position: relative;
  min-height: 350px;
  display: flex;
  flex-direction: column;
}
.scenario-card .card-body { display: flex; flex: 1; flex-direction: column; }
.scenario-number {
  display: inline-flex;
  align-self: flex-start;
  padding: 6px 10px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(47,107,87,.1);
  color: var(--accent);
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.scenario-route { margin: 16px 0; font-size: 24px; font-weight: 780; line-height: 1.25; }
.scenario-card .button { margin-top: auto; align-self: flex-start; }

.button-row { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 13px;
  background: var(--accent);
  color: white;
  text-decoration: none;
  font-weight: 750;
  font-size: 14px;
}
.button.secondary { color: var(--accent); background: transparent; border-color: rgba(47,107,87,.3); }

.list-clean { margin: 14px 0 0; padding: 0; list-style: none; }
.list-clean li { position: relative; padding-left: 20px; margin: 8px 0; color: var(--muted); }
.list-clean li::before { content: "•"; position: absolute; left: 4px; color: var(--accent-2); font-weight: 900; }

.route-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 60px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  margin: 26px 0;
}
.route-line.three {
  grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr) 48px minmax(0, 1fr);
}
.route-node {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}
.route-node strong { display: block; font-size: 24px; }
.route-node span { color: var(--muted); }
.route-arrow { text-align: center; color: var(--accent); font-size: 30px; }

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tag { padding: 6px 10px; border-radius: 999px; background: #ece8de; color: #59635e; font-size: 13px; font-weight: 650; }
.tag.must { color: #285746; background: #dfeee7; }
.tag.optional { color: #7a5b32; background: #f2e7d5; }

.hotel-card .hotel-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
  margin-bottom: 12px;
}
.price { white-space: nowrap; color: var(--accent); font-weight: 850; }
.hotel-role { margin-top: 10px; font-size: 13px; font-weight: 750; color: #6e5a3b; }

.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pros-cons > div { padding: 18px; border-radius: 18px; background: rgba(255,255,255,.6); border: 1px solid var(--line); }
.pros-cons h4 { margin: 0 0 8px; }

.note {
  padding: 18px 20px;
  border-left: 4px solid var(--accent-2);
  border-radius: 0 14px 14px 0;
  background: rgba(201, 141, 75, 0.11);
  color: #5d594f;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 26px 0 38px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 900px) {
  .topbar { grid-template-columns: 1fr auto; }
  .main-nav { grid-column: 1 / -1; order: 3; justify-content: flex-start; overflow-x: auto; padding-bottom: 2px; }
  .hero { grid-template-columns: 1fr; }
  .hero-side { min-height: 250px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .route-line.three { grid-template-columns: minmax(0, 1fr) 36px minmax(0, 1fr) 36px minmax(0, 1fr); }
}

@media (max-width: 620px) {
  .page { width: min(100% - 24px, var(--max)); padding-top: 28px; }
  .topbar { padding: 10px 12px; gap: 10px; }
  .brand small { display: none; }
  .main-nav a { padding: 8px 10px; }
  .hero-copy { padding: 30px 24px; }
  .hero h1 { font-size: 44px; }
  .grid-2, .grid-3, .grid-4, .pros-cons { grid-template-columns: 1fr; }
  .route-line, .route-line.three { grid-template-columns: 1fr; }
  .route-arrow { transform: rotate(90deg); }
  .footer { flex-direction: column; }
}
