:root {
  --bg: #f6f4ef;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: rgba(255, 255, 255, 0.92);
  --text: #1d1c1a;
  --muted: #6b6f74;
  --accent: #c79b4b;
  --accent-2: #1f3f3f;
  --accent-soft: rgba(199, 155, 75, 0.16);
  --border: rgba(29, 28, 26, 0.12);
  --shadow: 0 30px 60px rgba(24, 27, 35, 0.12);
  --radius: 22px;
  --radius-sm: 14px;
  --font-body: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  --font-display: "Baskerville", "Garamond", "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: -20% -10% auto -10%;
  height: 120vh;
  z-index: -2;
  pointer-events: none;
}

body::before {
  background:
    radial-gradient(45% 45% at 15% 20%, rgba(199, 155, 75, 0.22), transparent 60%),
    radial-gradient(55% 50% at 85% 10%, rgba(31, 63, 63, 0.2), transparent 60%),
    radial-gradient(40% 40% at 70% 80%, rgba(255, 255, 255, 0.9), transparent 65%);
  animation: float 18s ease-in-out infinite;
}

body::after {
  inset: 0;
  background-image:
    linear-gradient(120deg, rgba(255, 255, 255, 0.45), transparent 45%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.03), rgba(0, 0, 0, 0.03));
  opacity: 0.5;
  z-index: -1;
}

img {
  max-width: 100%;
  display: block;
  border-radius: var(--radius);
}

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

a:hover {
  color: var(--accent-2);
}

p {
  margin: 0 0 16px;
  color: var(--muted);
}

h1,
h2,
h3,
h4 {
  margin: 0 0 12px;
  letter-spacing: -0.02em;
  color: var(--text);
}

h1,
.section__title {
  font-family: var(--font-display);
}

.container {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(246, 244, 239, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
}

.logo {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav {
  flex: 1 1 auto;
}

.nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.nav__link {
  position: relative;
  padding: 6px 2px;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s ease;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav__link:hover::after,
.nav__link--active::after {
  transform: scaleX(1);
}

.nav__link--active {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.btn--primary {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 16px 30px rgba(31, 63, 63, 0.25);
}

.btn--ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn--small {
  padding: 10px 16px;
  font-size: 11px;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(31, 63, 63, 0.2);
}

.section {
  padding: 56px 0;
}

.section__head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-2);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section__title {
  font-size: clamp(28px, 4vw, 40px);
}

.section__desc {
  max-width: 720px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  backdrop-filter: blur(18px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 50px rgba(24, 27, 35, 0.16);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(31, 63, 63, 0.12);
  color: var(--accent-2);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.grid {
  display: grid;
  gap: 20px;
}

.hero {
  padding-top: 40px;
}

.hero__grid {
  display: grid;
  gap: 24px;
  align-items: center;
}

.hero__title {
  font-size: clamp(34px, 5vw, 56px);
}

.hero__subtitle {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 20px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}

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

.hero__media {
  position: relative;
  overflow: hidden;
}

.hero__media img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.stats {
  display: grid;
  gap: 18px;
}

.stat {
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  background: var(--surface-strong);
  border: 1px solid var(--border);
}

.stat__value {
  font-size: 24px;
  font-weight: 700;
}

.tour-card__media {
  margin: -24px -24px 18px;
  overflow: hidden;
  border-radius: calc(var(--radius) - 6px);
}

.tour-card__media img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.tour-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.price {
  font-weight: 700;
  color: var(--text);
}

.steps {
  counter-reset: steps;
}

.step {
  position: relative;
  padding-top: 44px;
}

.step::before {
  counter-increment: steps;
  content: "0" counter(steps);
  position: absolute;
  top: 16px;
  left: 20px;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--accent-2);
}

.reviews {
  display: grid;
  gap: 20px;
}

.review__name {
  font-weight: 600;
  color: var(--text);
}

.cta {
  background: linear-gradient(120deg, rgba(199, 155, 75, 0.18), rgba(31, 63, 63, 0.18));
}

.cta__box {
  display: grid;
  gap: 20px;
  align-items: center;
}

.page-hero {
  padding-top: 40px;
}

.page-hero .section__desc {
  max-width: 640px;
}

.info-cards {
  margin-bottom: 24px;
}

.info-card h3 {
  font-size: 18px;
}

.info-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.day-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 18px;
}

.day {
  display: grid;
  gap: 10px;
}

.day__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(199, 155, 75, 0.18);
  color: var(--accent-2);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.gallery {
  display: grid;
  gap: 14px;
}

.gallery img {
  height: 220px;
  object-fit: cover;
}

.form {
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 6px;
}

label {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

input:not([type="checkbox"]):not([type="radio"]),
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.82);
  font: inherit;
  color: var(--text);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.btn:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--muted);
  text-transform: none;
  letter-spacing: normal;
}

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

.faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  background: var(--surface-strong);
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
}

.site-footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  background: rgba(246, 244, 239, 0.85);
  backdrop-filter: blur(12px);
}

.footer__grid {
  display: grid;
  gap: 24px;
  margin-bottom: 20px;
}

.footer__bottom {
  font-size: 12px;
  color: var(--muted);
}

.reveal {
  animation: fade-up 0.9s ease both;
  animation-delay: var(--delay, 0s);
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0);
  }
}

@media (min-width: 480px) {
  .hero__actions {
    flex-wrap: nowrap;
  }

  .gallery img {
    height: 240px;
  }
}

@media (min-width: 768px) {
  .header__inner {
    gap: 22px;
  }

  .nav__list {
    justify-content: center;
  }

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

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

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

  .hero__grid {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .cta__box {
    grid-template-columns: 1.4fr 0.6fr;
  }

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

  .footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .section {
    padding: 72px 0;
  }

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

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

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

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

  .gallery img {
    height: 260px;
  }

  .hero__media img {
    aspect-ratio: 5 / 4;
  }
}

@media (min-width: 1280px) {
  .grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
