:root {
  --blue: #0b4f8a;
  --blue-dark: #07375f;
  --turquoise: #20b7b0;
  --gold: #d9a441;
  --green: #21745d;
  --ink: #14202b;
  --muted: #697887;
  --line: #e1e8ee;
  --soft: #f5f8fb;
  --surface: #ffffff;
  --shadow: 0 20px 50px rgba(20, 32, 43, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: #fbfdff;
}

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 26px;
  min-height: 72px;
  padding: 0 5vw;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(225, 232, 238, 0.85);
  backdrop-filter: blur(16px);
}

.brand {
  font-size: clamp(21px, 2vw, 30px);
  font-weight: 850;
  letter-spacing: 0;
}

.brand span {
  color: var(--blue);
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2vw, 30px);
  color: #273644;
  font-size: 14px;
  font-weight: 750;
}

.header-cta,
.primary-button,
.secondary-button,
.tour-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 0;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.header-cta,
.primary-button,
.tour-button {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--turquoise));
  box-shadow: 0 14px 30px rgba(11, 79, 138, 0.18);
}

.secondary-button {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 72px));
  display: grid;
  align-items: center;
  overflow: hidden;
}

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

.hero-media {
  background: url("assets/kazakhstan-hero.png") center / cover no-repeat;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(4, 18, 32, 0.82) 0%, rgba(4, 18, 32, 0.58) 39%, rgba(4, 18, 32, 0.12) 72%),
    linear-gradient(0deg, rgba(4, 18, 32, 0.38), transparent 34%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 90vw);
  padding: clamp(70px, 8vw, 116px) 5vw;
  color: #fff;
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 18px;
  padding: 7px 13px;
  border: 1px solid rgba(32, 183, 176, 0.28);
  border-radius: 999px;
  color: var(--blue);
  background: rgba(32, 183, 176, 0.1);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.25);
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(30px, 3.8vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.18;
}

.hero-content > p:not(.eyebrow) {
  max-width: 680px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.55;
}

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

.hero-benefits {
  margin-top: 28px;
}

.hero-benefits span {
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 750;
}

.tours-section,
.included-section,
.about-section,
.booking-section,
.steps-section,
.reviews-section,
.faq-section {
  padding: clamp(58px, 8vw, 96px) 5vw;
}

.section-heading {
  max-width: 850px;
  margin-bottom: 32px;
}

.section-heading > p:not(.eyebrow) {
  max-width: 680px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

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

.tour-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 8px 26px rgba(20, 32, 43, 0.06);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.tour-card:hover,
.tour-card:focus-visible {
  transform: translateY(-5px);
  border-color: rgba(32, 183, 176, 0.42);
  outline: none;
  box-shadow: var(--shadow);
}

.tour-card.featured {
  border-color: rgba(217, 164, 65, 0.52);
}

.tour-card.premium {
  border-color: rgba(11, 79, 138, 0.38);
}

.tour-photo {
  position: relative;
  min-height: 230px;
  background-image: url("assets/tour-sprite.png");
  background-size: 400% 200%;
}

.photo-1 { background-position: 0% 0%; }
.photo-2 { background-position: 33.333% 0%; }
.photo-3 { background-position: 66.666% 0%; }
.photo-4 { background-position: 100% 0%; }
.photo-5 { background-position: 0% 100%; }
.photo-6 { background-position: 33.333% 100%; }
.photo-7 { background-position: 66.666% 100%; }
.photo-8 { background-position: 100% 100%; }

.tour-photo span {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #fff;
  background: rgba(7, 55, 95, 0.88);
  font-size: 13px;
  font-weight: 850;
}

.tour-body {
  padding: 22px;
}

.route {
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
}

.tour-body p:not(.route) {
  color: var(--muted);
  line-height: 1.55;
}

.tour-body ul {
  display: grid;
  gap: 8px;
  margin: 16px 0 20px;
  padding: 0;
  list-style: none;
}

.tour-body li {
  color: #304252;
  font-weight: 650;
}

.tour-body li::before {
  content: "✓";
  margin-right: 8px;
  color: var(--turquoise);
  font-weight: 900;
}

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

.tour-footer strong {
  color: var(--blue);
  font-size: 26px;
}

.tour-button {
  min-height: 44px;
  padding: 0 16px;
}

.included-section,
.steps-section,
.faq-section {
  background: var(--soft);
}

.included-grid,
.why-grid,
.steps,
.reviews-grid {
  display: grid;
  gap: 18px;
}

.included-grid {
  grid-template-columns: repeat(3, 1fr);
}

.included-grid div,
.steps div,
.reviews-grid article,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.included-grid div,
.steps div,
.reviews-grid article {
  padding: 24px;
}

.included-grid span,
.steps span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--turquoise));
  font-weight: 900;
}

.included-grid p,
.steps p,
.reviews-grid p,
.about-section p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.58;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(340px, 1fr);
  gap: 34px;
  align-items: center;
}

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

.why-grid span {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--blue-dark);
  font-weight: 850;
  box-shadow: 0 10px 26px rgba(20, 32, 43, 0.05);
}

.booking-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(420px, 1fr);
  gap: 34px;
  align-items: start;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(7, 55, 95, 0.97), rgba(33, 116, 93, 0.92)),
    url("assets/kazakhstan-hero.png") center / cover no-repeat;
}

.booking-section .eyebrow {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.24);
}

.request-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
}

.request-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.request-form input,
.request-form textarea {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
}

.request-form textarea,
.request-form button,
.form-status {
  grid-column: span 2;
}

.request-form textarea {
  min-height: 108px;
  padding-top: 15px;
  resize: vertical;
}

.form-status {
  margin: 0;
  padding: 15px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  line-height: 1.45;
}

.steps {
  grid-template-columns: repeat(4, 1fr);
}

.reviews-grid {
  grid-template-columns: repeat(3, 1fr);
}

.reviews-grid strong {
  display: block;
  margin-bottom: 12px;
  color: var(--blue);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 18px 20px;
}

.faq-list summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 850;
}

.faq-list p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.payment-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.payment-modal.open {
  display: flex;
}

.payment-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 20, 32, 0.62);
  backdrop-filter: blur(8px);
}

.payment-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(360px, 1fr);
  width: min(960px, 100%);
  max-height: min(780px, calc(100vh - 40px));
  overflow: auto;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(7, 20, 32, 0.28);
}

.payment-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(20, 32, 43, 0.1);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.payment-summary,
.payment-form {
  padding: clamp(24px, 4vw, 38px);
}

.payment-summary {
  color: #fff;
  background:
    linear-gradient(145deg, rgba(7, 55, 95, 0.98), rgba(32, 183, 176, 0.88)),
    url("assets/kazakhstan-hero.png") center / cover no-repeat;
}

.payment-summary .eyebrow {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.24);
}

.payment-summary dl {
  display: grid;
  gap: 0;
  margin: 26px 0 0;
}

.payment-summary dl div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.payment-summary dt {
  color: rgba(255, 255, 255, 0.72);
}

.payment-summary dd {
  margin: 0;
  font-weight: 850;
  text-align: right;
}

.payment-total dd {
  font-size: 28px;
}

.payment-note,
.payment-secure {
  margin: 18px 0 0;
  line-height: 1.45;
}

.payment-note {
  color: rgba(255, 255, 255, 0.78);
}

.payment-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}

.payment-form label {
  display: grid;
  gap: 7px;
  color: #304252;
  font-weight: 800;
}

.payment-form label span {
  font-size: 13px;
}

.payment-form input {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

.payment-form .wide,
.payment-secure,
.payment-form button,
.payment-result {
  grid-column: span 2;
}

.payment-secure {
  color: var(--muted);
  font-size: 13px;
}

.payment-result {
  padding: 16px;
  border-radius: 8px;
  color: #fff;
  background: var(--blue);
}

.payment-result strong {
  display: block;
  margin-bottom: 6px;
}

.payment-result p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.45;
}

.payment-result a {
  display: inline-flex;
  margin-top: 10px;
  color: #fff;
  font-weight: 850;
  text-decoration: underline;
}

.contacts {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 36px 5vw;
  border-top: 1px solid var(--line);
  background: #fff;
}

.contacts p {
  margin: 8px 0 0;
  color: var(--muted);
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.contact-links a {
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--blue);
  font-weight: 800;
}

.admin-page {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(245, 248, 251, 0.94), rgba(255, 255, 255, 0.9)),
    url("assets/kazakhstan-hero.png") center / cover fixed no-repeat;
}

.admin-shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: clamp(24px, 5vw, 58px);
}

.admin-panel {
  width: min(920px, 100%);
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(225, 232, 238, 0.92);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.admin-heading {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: start;
  margin-bottom: 28px;
}

.admin-heading h1 {
  margin-bottom: 12px;
  color: var(--blue-dark);
  font-size: clamp(36px, 5vw, 58px);
}

.admin-heading p:not(.eyebrow) {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.secondary-admin-link,
.admin-reset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--blue);
  font-weight: 850;
}

.admin-form {
  display: grid;
  gap: 14px;
}

.admin-row {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(180px, 240px);
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.admin-row strong,
.admin-row span,
.admin-row label {
  display: block;
}

.admin-row strong {
  color: var(--ink);
  font-size: 18px;
}

.admin-row span {
  margin-top: 5px;
  color: var(--muted);
}

.admin-row label span {
  margin: 0 0 7px;
  color: #304252;
  font-size: 13px;
  font-weight: 850;
}

.admin-row input {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 850;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.admin-reset {
  cursor: pointer;
}

.admin-status {
  margin: 0;
  padding: 15px;
  border-radius: 8px;
  color: #fff;
  background: var(--blue);
  line-height: 1.45;
}

@media (max-width: 1120px) {
  .nav {
    display: none;
  }

  .tour-grid,
  .included-grid,
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-section,
  .booking-section {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .site-header {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px 16px;
  }

  .header-cta {
    min-height: 44px;
  }

  .hero {
    min-height: 760px;
  }

  .hero-content,
  .tours-section,
  .included-section,
  .about-section,
  .booking-section,
  .steps-section,
  .reviews-section,
  .faq-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  h1 {
    font-size: 40px;
  }

  .hero-actions,
  .request-form,
  .tour-footer,
  .contacts {
    display: grid;
  }

  .tour-grid,
  .included-grid,
  .why-grid,
  .steps,
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .request-form input,
  .request-form textarea,
  .request-form button,
  .form-status,
  .payment-form .wide,
  .payment-secure,
  .payment-form button,
  .payment-result {
    grid-column: auto;
  }

  .payment-dialog,
  .payment-form {
    grid-template-columns: 1fr;
  }

  .admin-heading,
  .admin-row {
    grid-template-columns: 1fr;
  }

  .admin-heading {
    display: grid;
  }

  .tour-photo {
    min-height: 220px;
  }
}
