﻿:root {
  --bg: #f7f1e8;
  --surface: #fffaf4;
  --ink: #2a2522;
  --muted: #6f6258;
  --brand: #ff7a45;
  --brand-strong: #ef5d2a;
  --accent: #e84545;
  --line: #ecdcc8;
  --radius: 18px;
  --shadow: 0 14px 36px rgba(77, 43, 24, 0.12);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Manrope", "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

body {
  position: relative;
  overflow-x: hidden;
}

.texture {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(circle at 8% 10%, rgba(255, 122, 69, 0.18), transparent 38%),
    radial-gradient(circle at 88% 24%, rgba(232, 69, 69, 0.1), transparent 32%),
    linear-gradient(180deg, #fff7ef 0%, #f7f1e8 100%);
}

.container {
  width: min(1140px, 92vw);
  margin: 0 auto;
}

.header {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.logo {
  text-decoration: none;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0.01em;
}

.logo span { font-weight: 700; color: #9e3d1f; }

.nav { display: flex; gap: 18px; }

.nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.95rem;
  opacity: 0.9;
}

.nav a:hover { opacity: 1; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 3px;
}

.lang-btn {
  border: 0;
  background: transparent;
  border-radius: 8px;
  padding: 6px 8px;
  cursor: pointer;
  font-weight: 700;
  color: #8a6f5c;
}

.lang-btn.active {
  background: #ffe7dc;
  color: #9e3d1f;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 12px;
  height: 46px;
  min-width: 150px;
  padding: 0 18px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--brand), #ff986f);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 9px 24px rgba(239, 93, 42, 0.28);
  cursor: pointer;
}

.btn:hover { background: linear-gradient(135deg, var(--brand-strong), #ff7a45); }

.btn.ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
  box-shadow: none;
}

.btn.small {
  min-width: 0;
  height: 38px;
  padding: 0 14px;
  font-size: 0.87rem;
}

.btn.light {
  border-color: rgba(255,255,255,0.4);
  color: #fff;
  background: transparent;
}

.hero {
  padding: 50px 0 22px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  align-items: center;
}

.eyebrow { margin: 0; font-weight: 700; color: #9e3d1f; }

h1 {
  margin: 12px 0;
  font-size: clamp(2.1rem, 5.2vw, 4rem);
  line-height: 1.04;
}

.lead {
  margin: 0;
  max-width: 720px;
  color: var(--muted);
  line-height: 1.75;
}

.hero-actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}

.trust-row {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.trust-row span {
  padding: 8px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.72);
  color: var(--muted);
  font-size: 0.83rem;
}

.hero-cards { display: grid; gap: 12px; }

.trip-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

.trip-card h3 { margin: 10px 0 8px; font-size: 1.2rem; }
.trip-card p { margin: 0; color: var(--muted); line-height: 1.7; }
.trip-card.mini h3 { font-size: 1.05rem; }

.chip {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: #ffe7dc;
  color: #9e3d1f;
  font-size: 0.8rem;
  font-weight: 700;
}

.section { padding: 44px 0 8px; }

.section-head h2 { margin: 0; font-size: clamp(1.45rem, 3.2vw, 2.2rem); }
.section-head p { margin: 8px 0 0; color: var(--muted); }

.grid-3,
.grid-4,
.steps,
.city-grid {
  margin-top: 16px;
  display: grid;
  gap: 14px;
}

.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.city-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.card h3 { margin: 0 0 8px; font-size: 1.1rem; }
.card p,
.card li { margin: 0; color: var(--muted); line-height: 1.72; }

.step span {
  display: inline-block;
  color: var(--accent);
  font-weight: 800;
  margin-bottom: 8px;
}

.city-filters {
  margin-top: 16px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 8px 12px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
}

.filter.active,
.filter:hover {
  background: #ffe7dc;
  border-color: #f4c6aa;
  color: #9e3d1f;
}

.city-card { display: flex; flex-direction: column; gap: 8px; }

.city-photo {
  width: 100%;
  height: 120px;
  border-radius: 12px;
  border: 1px solid var(--line);
  object-fit: cover;
}

.meta {
  display: flex;
  justify-content: space-between;
  color: #8b7668;
  font-size: 0.82rem;
}

.link {
  margin-top: auto;
  text-decoration: none;
  font-weight: 700;
  color: #9e3d1f;
}

.story span {
  display: inline-block;
  margin-top: 9px;
  color: #9e3d1f;
  font-weight: 700;
}

.ai-layout {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 14px;
}

.tabs { display: flex; gap: 8px; }

.tab {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 8px 10px;
  font-weight: 700;
  cursor: pointer;
}

.tab.active {
  background: #ffe7dc;
  border-color: #f4c6aa;
  color: #9e3d1f;
}

.ai-box {
  margin-top: 12px;
  border: 1px dashed #ddbba2;
  border-radius: 12px;
  padding: 14px;
  background: #fff4ea;
}

.ai-actions {
  margin-top: 10px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.ai-actions button {
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  padding: 8px 10px;
  cursor: pointer;
}

.ai-side ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

.safety h3 { color: #9e3d1f; }

.cta {
  margin-top: 36px;
  border-radius: calc(var(--radius) + 6px);
  padding: 26px;
  background: linear-gradient(135deg, #3f2b22, #a1432d);
  color: #fff;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}

.cta h2 { margin: 0; }
.cta p { margin: 6px 0 0; color: #ffdccc; }

.cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.footer {
  margin-top: 34px;
  background: #2c211c;
  color: #f8e9db;
}

.footer-grid {
  padding: 26px 0;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 16px;
}

.footer h4 { margin: 0 0 10px; font-size: 0.95rem; }
.footer p { margin: 8px 0 0; color: #d6bca7; }

.footer a {
  display: block;
  text-decoration: none;
  color: #f8e9db;
  margin: 6px 0;
  opacity: 0.88;
}

.footer a:hover { opacity: 1; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
}

.modal.open { display: block; }

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 16, 10, 0.48);
}

.modal-card {
  position: relative;
  width: min(640px, 92vw);
  margin: 7vh auto 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 22px;
}

.modal-close {
  position: absolute;
  right: 10px;
  top: 8px;
  border: 0;
  background: transparent;
  font-size: 1.7rem;
  color: #7d6454;
  cursor: pointer;
}

.booking-form {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.booking-form label {
  display: grid;
  gap: 6px;
  font-size: 0.9rem;
  color: #614b3f;
}

.booking-form label.wide { grid-column: 1 / -1; }

.booking-form input,
.booking-form select,
.booking-form textarea {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
  font: inherit;
  background: #fff;
}

.form-note {
  margin: 8px 0 0;
  color: #9e3d1f;
  font-size: 0.92rem;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 420ms ease, transform 420ms ease;
}

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

@media (max-width: 1150px) {
  .city-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 920px) {
  .hero,
  .ai-layout,
  .cta,
  .grid-3,
  .steps,
  .footer-grid { grid-template-columns: 1fr; display: grid; }

  .cta { align-items: flex-start; }

  .header { flex-wrap: wrap; }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 6px;
  }

  .booking-form { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .city-grid,
  .grid-4 { grid-template-columns: 1fr; }

  .hero { padding-top: 26px; }

  .header-actions {
    width: 100%;
    justify-content: space-between;
  }
}
