/* apex-travel.ru — shared styles */
:root {
  --navy: #14213d;
  --navy-2: #1c2d54;
  --gold: #b6913c;
  --gold-light: #d8bb74;
  --ink: #23262b;
  --paper: #f8f6f2;
  --paper-2: #f1eee7;
  --line: #e3ddd0;
  --muted: #6b6f76;
  --radius: 4px;
  --maxw: 1140px;
  font-size: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Georgia", "Times New Roman", serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .brand {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.01em;
}
p, li, a, span, small { font-family: "Helvetica Neue", Arial, sans-serif; }

:lang(zh) { font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif; }
:lang(zh) h1, :lang(zh) h2, :lang(zh) h3, :lang(zh) h4, :lang(zh) .brand {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 246, 242, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(140%) blur(6px);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  padding-bottom: 12px;
  flex-wrap: wrap;
}
.site-header .logo img { height: 40px; width: auto; }
.header-contacts {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  color: var(--navy);
}
.header-contacts a { text-decoration: none; }
.header-contacts a:hover { color: var(--gold); }
.header-phone {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--navy);
  padding: 8px 16px;
  border: 1.5px solid var(--gold);
  border-radius: 20px;
  white-space: nowrap;
}
.lang-switch {
  display: flex;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.lang-switch a {
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--muted);
}
.lang-switch a.active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, rgba(20,33,61,0.55) 0%, rgba(20,33,61,0.72) 100%), url("hero.jpg") center/cover no-repeat;
  color: #fff;
}
.hero .container { padding-top: 90px; padding-bottom: 90px; }
.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  color: var(--gold-light);
  margin-bottom: 18px;
  font-family: "Helvetica Neue", Arial, sans-serif;
}
.hero h1 {
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: 1.15;
  margin: 0 0 20px;
  max-width: 18ch;
}
.hero p {
  font-size: 18px;
  max-width: 46ch;
  color: rgba(255,255,255,0.88);
  margin: 0 0 32px;
}
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: var(--radius);
  text-decoration: none;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.03em;
  transition: opacity 0.15s ease;
}
.btn-gold { background: var(--gold); color: #171717; }
.btn-gold:hover { opacity: 0.88; }
.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.55);
  margin-left: 14px;
}
.btn-outline:hover { border-color: #fff; }

/* ---------- Section basics ---------- */
section { padding: 88px 0; }
.section-label {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  color: var(--gold);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(24px, 3vw, 34px);
  margin: 0 0 20px;
  color: var(--navy);
}
.section-lead {
  font-size: 17px;
  color: var(--muted);
  max-width: 62ch;
  margin: 0 0 12px;
}

/* ---------- About / trust ---------- */
.about { background: #fff; }
.trust-badges {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 20px;
  margin-top: 44px;
}
.trust-badge {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  text-align: left;
}
.trust-badge .num {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--navy);
  display: block;
  margin-bottom: 6px;
}
.trust-badge .label {
  font-size: 13px;
  color: var(--muted);
  font-family: "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Destinations ---------- */
.destinations { background: var(--paper-2); }
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 44px;
}
.card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.card img { height: 220px; width: 100%; object-fit: cover; }
.card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.card h3 {
  font-size: 19px;
  color: var(--navy);
  margin: 0 0 10px;
}
.card p { font-size: 14.5px; color: var(--muted); margin: 0 0 14px; flex: 1; }
.tag {
  display: inline-block;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 20px;
  padding: 3px 10px;
  width: fit-content;
}
.card-accent {
  margin-top: 44px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 28px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.card-accent img { height: 100%; width: 100%; object-fit: cover; min-height: 220px; }
.card-accent .card-body { padding: 30px; }

/* ---------- Why us ---------- */
.why { background: var(--navy); color: #fff; }
.why .section-title { color: #fff; }
.why .section-lead { color: rgba(255,255,255,0.72); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  margin-top: 44px;
}
.why-item { border-left: 2px solid var(--gold); padding-left: 18px; }
.why-item h4 {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  margin: 0 0 8px;
  color: var(--gold-light);
}
.why-item p { font-size: 14.5px; color: rgba(255,255,255,0.75); margin: 0; }

/* ---------- Contact ---------- */
.contact { background: #fff; text-align: center; }
.contact .section-title { color: var(--navy); }
.contact-methods {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin: 36px 0 40px;
  font-family: "Helvetica Neue", Arial, sans-serif;
}
.contact-methods a { text-decoration: none; color: var(--navy); }
.contact-methods .k { display: block; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 6px; }
.contact-methods .v { font-size: 17px; font-weight: 600; }

/* ---------- WeChat block ---------- */
.wechat-block {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  margin: 8px auto 40px;
  padding: 20px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-2);
  text-align: left;
}
.wechat-qr { width: 120px; height: 120px; object-fit: cover; border-radius: var(--radius); }
.wechat-caption .k {
  display: block;
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.wechat-caption .v { font-size: 17px; font-weight: 600; color: var(--navy); }
.wechat-note { font-size: 13px; color: var(--muted); margin: 8px 0 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-2);
  color: rgba(255,255,255,0.65);
  padding: 40px 0;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 13px;
}
.site-footer a { color: rgba(255,255,255,0.85); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-legal { max-width: 640px; line-height: 1.7; }

@media (max-width: 720px) {
  .header-contacts { display: none; }
  .card-accent { grid-template-columns: 1fr; }
  .card-accent img { min-height: 180px; }
  .btn-outline { margin-left: 0; margin-top: 12px; display: block; width: fit-content; }
}
