/* ==========================================================================
   Yekaterinburg English Tours — Modern Editorial Travel Design
   ========================================================================== */

:root {
  /* Palette: Ural Taiga, Birch Parchment, Limestone & Sunset Amber */
  --bg: #f7f4ee;
  --surface: #fdfcf9;
  --surface-warm: #efeae0;
  --taiga-950: #0d1813;
  --taiga-900: #13221c;
  --taiga-800: #1c342a;
  --taiga-700: #254739;

  --amber: #c97b3a;
  --amber-hover: #b26628;
  --amber-soft: #f5e7d8;

  --ink: #18201c;
  --ink-muted: #4c5750;
  --ink-subtle: #737e76;
  --line: rgba(24, 32, 28, 0.1);
  --line-light: rgba(247, 244, 238, 0.14);

  /* Typography (Latin + Cyrillic fallbacks) */
  --font-serif: "Fraunces", "Playfair Display", Georgia, "Times New Roman",
    serif;
  --font-sans: "Plus Jakarta Sans", "Manrope", -apple-system,
    BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Geometry & Motion */
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --shadow-soft: 0 20px 50px rgba(19, 34, 28, 0.08);
  --shadow-card: 0 12px 32px rgba(19, 34, 28, 0.06);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

picture {
  display: block;
}

.hero-media picture,
.tour-hero-media picture,
.tour-card-media picture {
  width: 100%;
  height: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--taiga-900);
  color: var(--bg);
  padding: 10px 16px;
  border-radius: 999px;
  z-index: 200;
  font-weight: 600;
}

.skip-link:focus {
  top: 16px;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 18px 0;
  color: #f7f4ee;
  transition: background-color 0.35s var(--ease), padding 0.35s var(--ease),
    color 0.35s var(--ease), border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(247, 244, 238, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--ink);
  padding: 12px 0;
  border-bottom-color: var(--line);
  box-shadow: 0 8px 28px rgba(19, 34, 28, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
}

.brand-mark svg {
  width: 100%;
  height: 100%;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.08rem;
  letter-spacing: -0.01em;
}

.brand-sub {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.78;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 0.94rem;
  font-weight: 500;
}

.nav-links a {
  position: relative;
  padding: 4px 0;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1.5px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.nav-links a:hover {
  opacity: 1;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

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

.lang-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: rgba(247, 244, 238, 0.12);
  border: 1px solid rgba(247, 244, 238, 0.22);
  backdrop-filter: blur(8px);
  color: inherit;
  cursor: pointer;
  transition: background-color 0.22s ease, border-color 0.22s ease,
    transform 0.22s var(--ease);
}

.lang-badge:hover {
  background: rgba(247, 244, 238, 0.22);
  border-color: rgba(247, 244, 238, 0.48);
  transform: translateY(-1px);
}

.lang-badge:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}

.site-header.is-scrolled .lang-badge {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
}

.site-header.is-scrolled .lang-badge:hover {
  border-color: var(--taiga-800);
  background: var(--surface-warm);
}

.flag-pair {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

.flag-icon {
  width: 21px;
  height: 14px;
  display: block;
  border-radius: 2.5px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.22);
}

.flag-pair-sm .flag-icon {
  width: 19px;
  height: 13px;
}

.flag-pair-xs .flag-icon {
  width: 16px;
  height: 11px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.14);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.94rem;
  border-radius: 999px;
  padding: 13px 24px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.22s var(--ease), background-color 0.22s ease,
    border-color 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
}

.btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.22s var(--ease);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn-header {
  padding: 10px 20px;
  font-size: 0.88rem;
  background: rgba(247, 244, 238, 0.16);
  border-color: rgba(247, 244, 238, 0.3);
  color: #f7f4ee;
  backdrop-filter: blur(8px);
}

.btn-header:hover {
  background: var(--amber);
  border-color: var(--amber);
  color: #fff;
}

.site-header.is-scrolled .btn-header {
  background: var(--taiga-900);
  border-color: var(--taiga-900);
  color: #f7f4ee;
}

.site-header.is-scrolled .btn-header:hover {
  background: var(--amber);
  border-color: var(--amber);
}

.btn-primary {
  background: var(--amber);
  color: #fff;
  box-shadow: 0 10px 26px rgba(201, 123, 58, 0.34);
}

.btn-primary:hover {
  background: var(--amber-hover);
  transform: translateY(-1px);
}

.btn-ghost-light {
  background: rgba(247, 244, 238, 0.1);
  border-color: rgba(247, 244, 238, 0.38);
  color: #f7f4ee;
  backdrop-filter: blur(8px);
}

.btn-ghost-light:hover {
  background: rgba(247, 244, 238, 0.2);
  border-color: rgba(247, 244, 238, 0.7);
}

.btn-dark {
  background: var(--taiga-900);
  color: #f7f4ee;
}

.btn-dark:hover {
  background: var(--amber);
  color: #fff;
  transform: translateY(-1px);
}

/* Mobile Menu Button & Drawer */
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  opacity: 0.9;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1.8px;
  background: currentColor;
  border-radius: 2px;
}

.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(13, 24, 19, 0.55);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s var(--ease);
}

.mobile-drawer.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(340px, 86vw);
  background: var(--bg);
  color: var(--ink);
  padding: 24px 28px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(100%);
  transition: transform 0.34s var(--ease);
  box-shadow: -16px 0 48px rgba(0, 0, 0, 0.18);
}

.mobile-drawer.is-open .mobile-drawer-panel {
  transform: translateX(0);
}

.mobile-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.brand-name-dark {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.05rem;
}

.drawer-close {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.drawer-close svg {
  width: 18px;
  height: 18px;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-block: 28px auto;
}

.mobile-nav a {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 500;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  transition: color 0.2s ease;
}

.mobile-nav a:hover {
  color: var(--amber);
}

.mobile-drawer-foot {
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.drawer-label {
  margin: 0 0 4px;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-subtle);
}

.drawer-contact {
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--taiga-800);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100svh;
  min-height: 660px;
  display: flex;
  align-items: stretch;
  color: #f7f4ee;
  overflow: hidden;
  background: var(--taiga-950);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
  transform: scale(1.03);
  animation: heroDrift 24s ease-in-out infinite alternate;
}

@keyframes heroDrift {
  from {
    transform: scale(1.03) translateY(0);
  }
  to {
    transform: scale(1.08) translateY(-1.2%);
  }
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
      180deg,
      rgba(13, 24, 19, 0.58) 0%,
      rgba(13, 24, 19, 0.26) 40%,
      rgba(13, 24, 19, 0.62) 78%,
      rgba(13, 24, 19, 0.88) 100%
    ),
    radial-gradient(
      circle at 18% 55%,
      rgba(13, 24, 19, 0.6) 0%,
      rgba(13, 24, 19, 0.1) 60%
    );
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: clamp(118px, 16vh, 170px);
  padding-bottom: clamp(28px, 4.5vh, 46px);
  gap: 48px;
}

.hero-copy {
  max-width: 720px;
  margin-block: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--taiga-700);
}

.eyebrow-light {
  color: rgba(247, 244, 238, 0.9);
  background: rgba(13, 24, 19, 0.34);
  border: 1px solid rgba(247, 244, 238, 0.2);
  backdrop-filter: blur(10px);
  padding: 7px 14px;
  border-radius: 999px;
}

.eyebrow-amber {
  color: #e3a268;
}

.hero-title {
  margin: 0 0 22px;
  font-family: var(--font-serif);
  font-weight: 500;
  font-variation-settings: "opsz" 96;
  font-size: clamp(2.65rem, 6.2vw, 4.85rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  text-shadow: 0 10px 34px rgba(0, 0, 0, 0.28);
}

.hero-title em,
.section-title em {
  font-style: italic;
  font-weight: 400;
  color: #f3c89e;
}

.section-title em {
  color: var(--amber);
}

.section-title-light em {
  color: #f0be8f;
}

.hero-subtitle {
  margin: 0 0 34px;
  max-width: 580px;
  font-size: clamp(1.04rem, 1.8vw, 1.22rem);
  line-height: 1.65;
  color: rgba(247, 244, 238, 0.9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(247, 244, 238, 0.18);
}

.hero-highlights {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 22px 40px;
}

.hero-highlights li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hl-kicker {
  font-size: 0.7rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(247, 244, 238, 0.64);
}

.hl-val {
  font-size: 0.94rem;
  font-weight: 600;
  color: #f7f4ee;
}

.hl-val-flags {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.meta-pill-flags {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

/* ==========================================================================
   Shared Section Typography
   ========================================================================== */

.section {
  padding: clamp(40px, 4.8vw, 60px) 0 clamp(56px, 6.5vw, 84px);
}

.section-title {
  margin: 0 0 18px;
  font-family: var(--font-serif);
  font-weight: 500;
  font-variation-settings: "opsz" 72;
  font-size: clamp(2rem, 4.1vw, 3.2rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.section-title-light {
  color: #f7f4ee;
}

.section-head-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 20px 56px;
  align-items: end;
  margin-bottom: clamp(24px, 3.6vw, 40px);
}

.section-head-split .section-title {
  margin-bottom: 0;
}

.section-intro {
  margin: 0;
  font-size: 1.04rem;
  color: var(--ink-muted);
  max-width: 52ch;
}

.section-intro-light {
  color: rgba(247, 244, 238, 0.78);
}

/* ==========================================================================
   About Company Section
   ========================================================================== */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(36px, 5.5vw, 76px);
  align-items: start;
}

.story-prose {
  max-width: 60ch;
}

.story-prose p {
  margin: 0 0 20px;
  color: var(--ink-muted);
  font-size: 1.03rem;
  line-height: 1.75;
}

.story-prose p.story-lead {
  font-size: clamp(1.14rem, 1.8vw, 1.28rem);
  line-height: 1.6;
  color: var(--ink);
  font-weight: 500;
}

.story-prose strong {
  color: var(--taiga-800);
  font-weight: 700;
}

.story-prose em {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.06em;
  color: var(--ink);
}

.section-title-about {
  font-size: clamp(2.15rem, 4.4vw, 3.45rem);
  margin-bottom: 20px;
}

.about-photos {
  display: grid;
  gap: 20px;
}

.about-photo {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--taiga-900);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
}

.about-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.about-photo:hover img {
  transform: scale(1.03);
}

/* Value Pillars */
.pillars-grid {
  margin-top: clamp(36px, 4.8vw, 56px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.pillar-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease),
    border-color 0.28s ease;
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(201, 123, 58, 0.35);
}

.pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--amber-soft);
  color: var(--amber-hover);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.pillar-icon svg {
  width: 22px;
  height: 22px;
}

.pillar-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--ink);
}

.pillar-card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ink-muted);
}

/* ==========================================================================
   Tours Section
   ========================================================================== */

.tours-section {
  background: var(--surface-warm);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.tour-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  color: inherit;
  text-decoration: none;
  transition: transform 0.32s var(--ease), box-shadow 0.32s var(--ease),
    border-color 0.25s ease;
}

.tour-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(201, 123, 58, 0.48);
}

.tour-card:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

.tour-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--taiga-900);
}

.tour-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.tour-card:hover .tour-card-media img {
  transform: scale(1.05);
}

.tour-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
  background: rgba(19, 34, 28, 0.82);
  backdrop-filter: blur(10px);
  color: #f3c89e;
  border: 1px solid rgba(243, 200, 158, 0.35);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 7px 13px;
  border-radius: 999px;
}

.tour-card-body {
  padding: clamp(24px, 3.2vw, 34px);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.tour-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.meta-pill {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--taiga-800);
  background: #e7efe9;
  padding: 5px 12px;
  border-radius: 999px;
}

.tour-title {
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.48rem, 2.3vw, 1.88rem);
  line-height: 1.2;
  color: var(--ink);
  transition: color 0.2s ease;
}

.tour-card:hover .tour-title {
  color: var(--taiga-800);
}

.tour-desc {
  margin: 0 0 24px;
  color: var(--ink-muted);
  font-size: 0.96rem;
  line-height: 1.68;
}

.tour-card-foot {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tour-card-cta {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--taiga-900);
  transition: color 0.2s ease;
}

.tour-card:hover .tour-card-cta {
  color: var(--amber-hover);
}

.tour-card-arrow {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--taiga-900);
  display: grid;
  place-items: center;
  transition: background-color 0.25s ease, border-color 0.25s ease,
    color 0.25s ease, transform 0.25s var(--ease);
}

.tour-card-arrow svg {
  width: 18px;
  height: 18px;
}

.tour-card:hover .tour-card-arrow {
  background: var(--amber);
  border-color: var(--amber);
  color: #fff;
  transform: translateX(3px);
}

/* ==========================================================================
   Your Guide Section
   ========================================================================== */

.guide-section {
  background: var(--bg);
  border-top: 1px solid var(--line);
}

.guide-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.guide-photo {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--taiga-900);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
}

.guide-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.7s var(--ease);
}

.guide-photo:hover img {
  transform: scale(1.03);
}

.section-title-guide {
  font-size: clamp(2.25rem, 4.6vw, 3.6rem);
  margin-bottom: 20px;
}

.guide-prose {
  max-width: 58ch;
}

.guide-stats {
  list-style: none;
  margin: 30px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.guide-stats li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.guide-stat-num {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.15;
  color: var(--taiga-900);
}

.guide-stat-label {
  font-size: 0.84rem;
  color: var(--ink-subtle);
  line-height: 1.4;
}

/* ==========================================================================
   Contacts Section
   ========================================================================== */

.contact-section {
  background: var(--surface-warm);
  border-top: 1px solid var(--line);
}

.tours-section + .contact-section {
  background: var(--bg);
  border-top: none;
}

.contact-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.contact-lead {
  margin: 0 0 28px;
  color: var(--ink-muted);
  font-size: 1.03rem;
  line-height: 1.7;
  max-width: 46ch;
}

.contact-facts {
  display: grid;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.fact-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.fact-label {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-subtle);
}

.fact-value {
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--ink);
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s var(--ease), border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.contact-card:hover {
  transform: translateY(-3px);
  border-color: rgba(201, 123, 58, 0.45);
  box-shadow: var(--shadow-soft);
}

.contact-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--amber-soft);
  color: var(--amber-hover);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.contact-icon-wa {
  background: #e3f3ea;
  color: #1c7c48;
}

.contact-icon-tg {
  background: #e3f0f9;
  color: #1d74a8;
}

.contact-icon-im {
  background: #e7efe9;
  color: var(--taiga-800);
}

.contact-icon svg {
  width: 20px;
  height: 20px;
}

.contact-channel {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-subtle);
}

.contact-value {
  font-family: var(--font-serif);
  font-size: 1.18rem;
  font-weight: 500;
  color: var(--ink);
  word-break: break-word;
}

.contact-value:hover {
  color: var(--amber-hover);
}

.contact-card-actions {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.contact-link {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--taiga-800);
  transition: color 0.2s ease;
}

.contact-link:hover {
  color: var(--amber-hover);
}

.copy-btn {
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink-muted);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.copy-btn:hover {
  border-color: var(--taiga-800);
  color: var(--taiga-900);
}

.copy-btn.is-copied {
  background: var(--taiga-800);
  border-color: var(--taiga-800);
  color: #fff;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--taiga-950);
  color: rgba(247, 244, 238, 0.82);
  padding: 64px 0 36px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) auto minmax(0, 0.9fr);
  gap: 36px 48px;
  align-items: start;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line-light);
}

.brand-footer {
  color: #f7f4ee;
  margin-bottom: 14px;
}

.footer-tagline {
  margin: 0;
  max-width: 38ch;
  font-size: 0.92rem;
  color: rgba(247, 244, 238, 0.66);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.94rem;
}

.footer-nav a,
.footer-direct a {
  color: rgba(247, 244, 238, 0.8);
  transition: color 0.2s ease;
}

.footer-nav a:hover,
.footer-direct a:hover {
  color: #f3c89e;
}

.footer-direct {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.92rem;
  justify-self: end;
  text-align: right;
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px 32px;
  font-size: 0.82rem;
  color: rgba(247, 244, 238, 0.55);
}

.footer-bottom p {
  margin: 0;
}

.credits-details {
  max-width: 520px;
}

.credits-details summary {
  cursor: pointer;
  color: rgba(247, 244, 238, 0.66);
  list-style: none;
  text-align: right;
}

.credits-details summary::-webkit-details-marker {
  display: none;
}

.credits-details summary:hover {
  color: #f3c89e;
}

.credits-details ul {
  margin: 12px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 4px;
  color: rgba(247, 244, 238, 0.62);
}

.credits-details a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ==========================================================================
   Scroll Reveal Motion
   ========================================================================== */

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .hero-media img {
    animation: none;
    transform: none;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1024px) {
  .about-grid,
  .guide-grid,
  .section-head-split,
  .contact-shell {
    grid-template-columns: 1fr;
  }

  .guide-photo {
    max-width: 460px;
  }

  .about-photos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pillars-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-direct {
    grid-column: 1 / -1;
    justify-self: start;
    text-align: left;
  }
}

@media (max-width: 820px) {
  .nav-links,
  .btn-header {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .tours-grid {
    grid-template-columns: 1fr;
  }

  .contact-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .container {
    width: calc(100% - 32px);
  }

  .about-photos {
    grid-template-columns: 1fr;
  }

  .guide-stats {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .lang-badge-label {
    display: none;
  }

  .lang-badge {
    padding: 7px 10px;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .credits-details summary {
    text-align: left;
  }
}

/* ==========================================================================
   Tour Detail Page (Hero, Overview, Trip Parameters & Connected-Dots Flow)
   ========================================================================== */

.tour-hero {
  position: relative;
  min-height: 70svh;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  color: #f7f4ee;
  background: var(--taiga-950);
  overflow: hidden;
}

.tour-hero-media {
  position: absolute;
  inset: 0;
}

.tour-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}

.tour-hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(13, 24, 19, 0.56) 0%,
    rgba(13, 24, 19, 0.34) 40%,
    rgba(13, 24, 19, 0.88) 100%
  );
}

.tour-hero-content {
  position: relative;
  z-index: 2;
  padding-top: clamp(120px, 16vh, 160px);
  padding-bottom: clamp(44px, 6vw, 72px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}

.tour-back-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 600;
  color: rgba(247, 244, 238, 0.92);
  background: rgba(13, 24, 19, 0.42);
  border: 1px solid rgba(247, 244, 238, 0.24);
  backdrop-filter: blur(10px);
  padding: 8px 15px;
  border-radius: 999px;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.tour-back-pill svg {
  width: 16px;
  height: 16px;
}

.tour-back-pill:hover {
  background: rgba(201, 123, 58, 0.35);
  border-color: rgba(243, 200, 158, 0.55);
}

.tour-hero-copy {
  max-width: 760px;
}

.tour-hero-title {
  margin: 0 0 18px;
  font-family: var(--font-serif);
  font-weight: 500;
  font-variation-settings: "opsz" 96;
  font-size: clamp(2.35rem, 5.4vw, 4.3rem);
  line-height: 1.07;
  letter-spacing: -0.025em;
  text-shadow: 0 10px 34px rgba(0, 0, 0, 0.3);
}

.tour-hero-title em {
  font-style: italic;
  font-weight: 400;
  color: #f3c89e;
}

.tour-hero-sub {
  margin: 0 0 30px;
  max-width: 62ch;
  font-size: clamp(1rem, 1.6vw, 1.16rem);
  line-height: 1.68;
  color: rgba(247, 244, 238, 0.9);
}

.tour-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Overview + Photo */
.tour-overview-section {
  background: var(--bg);
}

.tour-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(32px, 5vw, 68px);
  align-items: center;
}

.tour-overview-photo {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--taiga-900);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
}

.tour-overview-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
}

/* Trip Parameters Grid */
.trip-params-wrap {
  margin-top: clamp(52px, 6.5vw, 84px);
  padding-top: clamp(40px, 5vw, 60px);
  border-top: 1px solid var(--line);
}

.trip-params-heading {
  margin: 0 0 26px;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.55rem, 2.8vw, 2.15rem);
  color: var(--ink);
}

.trip-params-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}

.param-card {
  grid-column: span 3;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s var(--ease), border-color 0.25s ease;
}

.param-card:nth-child(n + 5) {
  grid-column: span 4;
}

.param-card:hover {
  transform: translateY(-3px);
  border-color: rgba(201, 123, 58, 0.4);
}

.param-card-highlight {
  background: var(--taiga-900);
  border-color: var(--taiga-800);
  color: #f7f4ee;
}

.param-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--amber-soft);
  color: var(--amber-hover);
  display: grid;
  place-items: center;
  margin-bottom: 10px;
}

.param-card-highlight .param-icon {
  background: rgba(201, 123, 58, 0.24);
  color: #f3c89e;
}

.param-icon svg {
  width: 20px;
  height: 20px;
}

.param-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ink-subtle);
}

.param-card-highlight .param-label {
  color: rgba(247, 244, 238, 0.65);
}

.param-value {
  font-family: var(--font-serif);
  font-size: 1.24rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
}

.param-card-highlight .param-value {
  color: #fff;
}

.param-val-flags {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.param-sub {
  font-size: 0.84rem;
  color: var(--ink-muted);
  line-height: 1.4;
}

.param-card-highlight .param-sub {
  color: rgba(247, 244, 238, 0.76);
}

/* Vertical Connected-Dots Itinerary Timeline */
.itinerary-section {
  background: var(--surface-warm);
  border-top: 1px solid var(--line);
}

.itinerary-section + .contact-section {
  background: var(--bg);
}

.itinerary-head {
  max-width: 660px;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 840px;
  position: relative;
}

.timeline-item {
  position: relative;
  padding-left: 48px;
  padding-bottom: 24px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

/* Continuous vertical line connecting the dots */
.timeline-item::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 28px;
  bottom: -6px;
  width: 2px;
  background: linear-gradient(
    180deg,
    rgba(201, 123, 58, 0.55) 0%,
    rgba(28, 52, 42, 0.22) 100%
  );
}

.timeline-item:last-child::before {
  display: none;
}

.timeline-dot {
  position: absolute;
  left: 2px;
  top: 22px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--surface);
  border: 3px solid var(--taiga-800);
  box-shadow: 0 0 0 5px var(--surface-warm);
  z-index: 2;
  transition: transform 0.25s var(--ease), border-color 0.25s ease,
    background-color 0.25s ease;
}

.timeline-item:hover .timeline-dot {
  border-color: var(--amber);
  background: var(--amber);
  transform: scale(1.12);
}

.timeline-dot-featured {
  background: var(--amber);
  border-color: var(--amber);
  box-shadow: 0 0 0 5px var(--surface-warm), 0 0 0 9px rgba(201, 123, 58, 0.2);
}

.timeline-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s var(--ease), border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.timeline-item:hover .timeline-card {
  border-color: rgba(201, 123, 58, 0.42);
  box-shadow: var(--shadow-soft);
}

.timeline-card-featured {
  background: var(--taiga-900);
  border-color: var(--taiga-800);
  color: #f7f4ee;
}

.timeline-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.timeline-step-num {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-hover);
}

.timeline-card-featured .timeline-step-num {
  color: #f3c89e;
}

.timeline-pill {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--taiga-800);
  background: #e7efe9;
  padding: 3px 10px;
  border-radius: 999px;
}

.timeline-pill-amber {
  background: var(--amber-soft);
  color: var(--amber-hover);
}

.timeline-card-featured .timeline-pill-amber {
  background: rgba(201, 123, 58, 0.28);
  color: #f3c89e;
}

.timeline-title {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.22rem, 2vw, 1.48rem);
  line-height: 1.25;
  color: var(--ink);
}

.timeline-card-featured .timeline-title {
  color: #fff;
}

.timeline-title em,
.timeline-desc em {
  font-family: var(--font-serif);
  font-style: italic;
}

.timeline-desc {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.68;
  color: var(--ink-muted);
}

.timeline-card-featured .timeline-desc {
  color: rgba(247, 244, 238, 0.84);
}

@media (max-width: 1024px) {
  .tour-overview-grid {
    grid-template-columns: 1fr;
  }

  .trip-params-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .param-card,
  .param-card:nth-child(n + 5) {
    grid-column: auto;
  }

  .param-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .trip-params-grid {
    grid-template-columns: 1fr;
  }

  .param-card:last-child:nth-child(odd) {
    grid-column: auto;
  }

  .timeline-item {
    padding-left: 36px;
  }

  .timeline-item::before {
    left: 9px;
  }

  .timeline-dot {
    left: 0;
    width: 18px;
    height: 18px;
  }

  .timeline-card {
    padding: 20px 20px;
  }

  .tour-hero-cta .btn {
    width: 100%;
  }
}

/* ==========================================================================
   Custom Tour Overview & Alternating Section Rhythm
   ========================================================================== */

.custom-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 5vw, 68px);
  align-items: start;
}

.custom-steps {
  display: grid;
  gap: 16px;
}

.custom-step-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px 22px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s var(--ease), border-color 0.25s ease;
}

.custom-step-card:hover {
  transform: translateY(-2px);
  border-color: rgba(201, 123, 58, 0.42);
}

.custom-step-num {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--amber-soft);
  color: var(--amber-hover);
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.custom-step-card h3 {
  margin: 0 0 6px;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--ink);
}

.custom-step-card p {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.6;
  color: var(--ink-muted);
}

.tour-overview-section + .guide-section {
  background: var(--surface-warm);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.tour-overview-section + .guide-section + .contact-section {
  background: var(--bg);
  border-top: none;
}

@media (max-width: 1024px) {
  .custom-overview-grid {
    grid-template-columns: 1fr;
  }
}
