:root {
  --ink: #16211f;
  --muted: #5e6b67;
  --line: #dfe8e2;
  --paper: #f7faf6;
  --white: #ffffff;
  --teal: #0f766e;
  --teal-dark: #094f4a;
  --coral: #d95f4b;
  --gold: #c58c2c;
  --sky: #d8eef2;
  --shadow: 0 24px 70px rgba(15, 48, 44, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, "Segoe UI", sans-serif;
  background: var(--paper);
  line-height: 1.6;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(18px, 5vw, 70px);
  background: rgba(247, 250, 246, 0.9);
  border-bottom: 1px solid rgba(223, 232, 226, 0.85);
  backdrop-filter: blur(18px);
}

.brand,
.nav,
.header-actions,
.hero-actions,
.contact-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--white);
  background: var(--teal);
  border-radius: 50%;
}

.nav {
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav a:hover,
footer a:hover {
  color: var(--teal);
}

.header-action,
.button,
.contact-link {
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.header-actions {
  gap: 8px;
}

.header-action {
  padding: 10px 16px;
  color: var(--white);
  background: var(--teal);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
}

.header-action.mail {
  color: var(--teal-dark);
  background: #ffffff;
  border: 1px solid rgba(15, 118, 110, 0.24);
}

.header-action.org {
  color: var(--teal-dark);
  background: #eef7f4;
  border: 1px solid rgba(15, 118, 110, 0.2);
}

.header-action:hover,
.button:hover,
.contact-link:hover {
  transform: translateY(-2px);
}

.hero {
  position: relative;
  min-height: calc(100vh - 66px);
  display: grid;
  align-items: center;
  padding: clamp(54px, 7vw, 96px) clamp(18px, 5vw, 70px);
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(247, 250, 246, 0.98) 0%, rgba(247, 250, 246, 0.94) 48%, rgba(247, 250, 246, 0.42) 74%),
    radial-gradient(circle at 74% 28%, rgba(216, 95, 75, 0.2), transparent 28%),
    linear-gradient(135deg, #f7faf6 0%, #d8eef2 100%);
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: -1;
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
  opacity: 0.95;
}

.hero-visual img {
  width: min(54vw, 760px);
  min-width: 460px;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.hero-content {
  width: min(680px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1 {
  max-width: 680px;
  margin-bottom: 24px;
  font-size: clamp(44px, 8vw, 90px);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 590px;
  margin-bottom: 30px;
  color: #354440;
  font-size: clamp(17px, 2vw, 20px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: 800;
}

.button.primary {
  color: var(--white);
  background: var(--teal);
  box-shadow: 0 12px 28px rgba(15, 118, 110, 0.24);
}

.button.secondary {
  color: var(--teal-dark);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(15, 118, 110, 0.24);
}

.quick-facts,
.section,
.contact-section,
footer {
  padding-inline: clamp(18px, 5vw, 70px);
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.quick-facts article {
  padding: clamp(22px, 4vw, 34px);
  background: var(--white);
}

.quick-facts span {
  display: block;
  margin-bottom: 8px;
  color: var(--teal);
  font-size: 30px;
  font-weight: 800;
}

.quick-facts p,
.tour-card p,
.policy-grid p,
.contact-section p {
  color: var(--muted);
}

.quick-facts p {
  max-width: 360px;
  margin: 0;
}

.section {
  padding-top: clamp(58px, 8vw, 96px);
  padding-bottom: clamp(58px, 8vw, 96px);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 30px;
}

.section-heading h2,
.contact-section h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4.6vw, 54px);
  line-height: 1.05;
  letter-spacing: 0;
}

.tour-grid {
  display: grid;
  gap: 24px;
}

.tour-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.tour-media {
  min-height: 230px;
  display: flex;
  align-items: flex-end;
  padding: 28px;
  color: var(--white);
  background-size: cover;
  background-position: center;
}

.tour-media span {
  padding: 8px 12px;
  background: rgba(9, 79, 74, 0.78);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
}

.samarkand {
  background-image:
    linear-gradient(180deg, rgba(22, 33, 31, 0.05), rgba(22, 33, 31, 0.62)),
    url("assets/samarkand.jpg");
}

.mountains {
  background-image:
    linear-gradient(180deg, rgba(22, 33, 31, 0.02), rgba(22, 33, 31, 0.66)),
    url("assets/amirsay.webp");
}

.tour-body {
  padding: clamp(22px, 4vw, 34px);
}

.tour-title-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 10px;
}

.tour-title-row h3 {
  margin-bottom: 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.12;
}

.tour-title-row span {
  flex: 0 0 auto;
  padding: 6px 10px;
  color: var(--teal-dark);
  background: #e9f5f2;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.tour-lead {
  max-width: 760px;
  font-size: 17px;
}

.tour-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0;
}

.tour-meta div {
  padding: 15px;
  background: #f5faf8;
  border: 1px solid var(--line);
  border-radius: 8px;
}

dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

dd {
  margin: 2px 0 0;
  font-weight: 800;
}

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

h4 {
  margin-bottom: 10px;
  font-size: 16px;
}

ul {
  margin: 0 0 20px;
  padding-left: 20px;
}

li + li {
  margin-top: 8px;
}

.price-table {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-top: 8px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.price-table div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 14px;
  background: #fbfdfb;
}

.price-table span {
  color: var(--muted);
}

.price-table strong {
  flex: 0 0 auto;
  text-align: right;
}

.policy-section {
  background: #eff7f4;
  border-block: 1px solid var(--line);
}

.policy-grid article {
  padding: clamp(22px, 4vw, 34px);
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.policy-grid h3 {
  font-size: 24px;
}

.note {
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 32px;
  align-items: center;
  padding-top: clamp(58px, 8vw, 96px);
  padding-bottom: clamp(58px, 8vw, 96px);
  background: var(--teal-dark);
  color: var(--white);
}

.contact-section p {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.78);
}

.contact-actions {
  flex-direction: column;
  gap: 12px;
}

.contact-link {
  width: 100%;
  padding: 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
}

.contact-link span {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-link strong {
  display: block;
  margin-top: 4px;
  font-size: 22px;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  padding-bottom: 24px;
  color: var(--muted);
  background: var(--white);
  font-size: 14px;
  font-weight: 800;
}

@media (max-width: 900px) {
  .site-header {
    position: static;
    flex-wrap: wrap;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    min-height: auto;
    padding-top: 52px;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(247, 250, 246, 0.94) 0%, rgba(247, 250, 246, 0.86) 56%, rgba(247, 250, 246, 0.5) 100%),
      linear-gradient(135deg, #f7faf6 0%, #d8eef2 100%);
  }

  .hero-visual {
    opacity: 0.34;
  }

  .hero-visual img {
    width: 100%;
    min-width: 0;
  }

  .quick-facts,
  .tour-columns,
  .policy-grid,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .tour-title-row {
    display: block;
  }

  .tour-title-row span {
    display: inline-flex;
    margin-top: 12px;
  }
}

@media (max-width: 640px) {
  .header-actions {
    display: none;
  }

  .hero-actions,
  .button,
  .tour-meta,
  .price-table {
    width: 100%;
  }

  .button {
    min-width: 100%;
  }

  .tour-meta,
  .price-table {
    grid-template-columns: 1fr;
  }

  .price-table div {
    display: grid;
    gap: 4px;
  }

  .price-table strong {
    text-align: left;
  }

  .contact-link strong {
    font-size: 19px;
  }
}
