:root {
  --paper: #f7f6f2;
  --snow: #fffefa;
  --ink: #161616;
  --muted: #68635c;
  --line: rgba(22, 22, 22, 0.14);
  --pine: #1f3c35;
  --wine: #7c2f36;
  --clay: #b85b38;
  --sky: #dce9ee;
  --shadow: 0 24px 70px rgba(17, 24, 39, 0.16);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
}

body::selection {
  background: var(--pine);
  color: var(--snow);
}

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

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

p,
h1,
h2,
h3,
dl,
dd {
  margin: 0;
}

h1,
h2,
h3 {
  line-height: 1.04;
  letter-spacing: 0;
}

h1 {
  max-width: 11ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 14vw, 9.5rem);
  font-weight: 400;
}

h2 {
  max-width: 760px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.15rem, 4.6vw, 5rem);
  font-weight: 400;
}

h3 {
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 600;
}

.skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 20;
  transform: translateY(-140%);
  background: var(--snow);
  color: var(--ink);
  padding: 10px 14px;
  border: 1px solid var(--line);
}

.skip-link:focus {
  transform: translateY(0);
}

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

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 78px;
  padding: 12px clamp(20px, 4vw, 48px);
  color: var(--snow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.brand img {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: var(--snow);
  object-fit: cover;
}

.nav-links {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3vw, 34px);
  color: rgba(255, 254, 250, 0.88);
  font-size: 0.92rem;
}

.nav-links a,
.site-footer a {
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.nav-links a:hover,
.site-footer a:hover {
  text-decoration: underline;
}

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

.header-cta {
  width: max-content;
  border: 1px solid rgba(255, 254, 250, 0.72);
  padding: 10px 16px;
  background: rgba(255, 254, 250, 0.1);
  color: var(--snow);
  font-size: 0.9rem;
  font-weight: 700;
  backdrop-filter: blur(12px);
}

.hero {
  position: relative;
  min-height: 88svh;
  overflow: hidden;
  color: var(--snow);
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(10, 16, 18, 0.78) 0%, rgba(10, 16, 18, 0.35) 48%, rgba(10, 16, 18, 0.12) 100%),
    linear-gradient(180deg, rgba(9, 11, 12, 0.42) 0%, rgba(9, 11, 12, 0.1) 42%, rgba(9, 11, 12, 0.4) 100%),
    url("assets/kazbegi-gudauri-panorama.jpeg") center / cover;
}

.hero__content {
  width: min(1120px, calc(100% - 40px));
  min-height: 88svh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 24px;
  padding: 126px 0 58px;
}

.eyebrow,
.section-kicker,
.tour-card__label {
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: rgba(255, 254, 250, 0.82);
}

.hero__lead {
  max-width: 700px;
  color: rgba(255, 254, 250, 0.9);
  font-size: clamp(1.12rem, 2vw, 1.45rem);
}

.hero__actions,
.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  padding: 12px 18px;
  font-weight: 800;
  line-height: 1.2;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--light {
  background: var(--snow);
  color: var(--ink);
}

.button--ghost {
  border-color: rgba(255, 254, 250, 0.6);
  color: var(--snow);
}

.button--dark {
  background: var(--ink);
  color: var(--snow);
}

.button--outline {
  border-color: var(--ink);
  color: var(--ink);
}

.section {
  padding: clamp(76px, 11vw, 132px) 0;
}

.intro {
  padding-top: clamp(46px, 7vw, 72px);
}

.intro__grid,
.trust__grid,
.faq__grid,
.contact__grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.82fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 84px);
  align-items: start;
}

.intro p:last-child,
.trust__points,
.contact p {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
}

.section-heading {
  display: grid;
  gap: 16px;
  margin-bottom: clamp(28px, 5vw, 54px);
}

.section-heading--wide h2 {
  max-width: 900px;
}

.tour-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

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

.tour-card--image {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(320px, 1fr);
}

.tour-card--image img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
}

.tour-card--reverse {
  grid-template-columns: minmax(320px, 1fr) minmax(280px, 0.92fr);
}

.tour-card__body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 18px;
  padding: clamp(28px, 5vw, 48px);
}

.tour-card__body p {
  color: var(--muted);
}

.tour-card__body h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.3rem, 5vw, 4.8rem);
  font-weight: 400;
}

.clean-list {
  display: grid;
  gap: 10px;
  margin: 4px 0 0;
  padding: 0;
  color: var(--ink);
  list-style: none;
}

.clean-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.clean-list li::before {
  content: "";
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  margin-top: 0.67em;
  background: var(--wine);
}

.services {
  padding-top: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: var(--snow);
  box-shadow: 0 22px 60px rgba(17, 24, 39, 0.08);
}

.service-card {
  min-width: 0;
  min-height: 240px;
  padding: clamp(24px, 3vw, 34px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(220, 233, 238, 0.38), rgba(255, 254, 250, 0) 54%),
    var(--snow);
}

.service-card span {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--wine);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.service-card h3 {
  max-width: 12ch;
  margin-bottom: 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3vw, 3.1rem);
  font-weight: 400;
}

.service-card p {
  max-width: 340px;
  color: var(--muted);
}

.section--tint {
  background: var(--snow);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.process-grid article {
  min-width: 0;
  min-height: 260px;
  padding: clamp(24px, 4vw, 38px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--snow);
}

.step {
  display: inline-block;
  margin-bottom: 44px;
  color: var(--wine);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.process-grid h3 {
  margin-bottom: 14px;
}

.process-grid p,
.faq p {
  color: var(--muted);
}

.trust {
  padding-bottom: clamp(50px, 8vw, 96px);
}

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

.trust__points p {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.faq {
  padding-top: 0;
}

.faq__items {
  border-top: 1px solid var(--line);
}

details {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}

summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 800;
}

details p {
  max-width: 680px;
  padding-top: 12px;
}

.contact {
  padding: clamp(74px, 10vw, 124px) 0;
  background: var(--pine);
  color: var(--snow);
}

.contact .section-kicker {
  color: #f0ad70;
}

.contact p {
  color: rgba(255, 254, 250, 0.78);
}

.contact__actions {
  align-self: center;
  justify-content: flex-start;
}

.contact__details {
  display: grid;
  grid-column: 2;
  gap: 8px;
  color: rgba(255, 254, 250, 0.82);
  font-style: normal;
  font-weight: 700;
}

.contact__details a:hover,
.footer__contact a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.contact .button--dark {
  background: var(--snow);
  color: var(--ink);
}

.contact .button--outline {
  border-color: rgba(255, 254, 250, 0.7);
  color: var(--snow);
}

.site-footer {
  padding: 28px 0;
  background: var(--ink);
  color: rgba(255, 254, 250, 0.76);
}

.footer__grid {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 20px;
}

.footer__grid img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  background: var(--snow);
}

.footer__grid p {
  min-width: 0;
}

.footer__contact {
  display: grid;
  gap: 3px;
  color: rgba(255, 254, 250, 0.9);
  font-style: normal;
  font-size: 0.92rem;
  font-weight: 700;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: auto 1fr;
  }

  .brand span {
    display: none;
  }

  .nav-links {
    display: none;
  }

  .header-actions {
    gap: 8px;
  }

  .tour-grid,
  .tour-card--image,
  .service-grid,
  .intro__grid,
  .trust__grid,
  .faq__grid,
  .contact__grid {
    grid-template-columns: 1fr;
  }

  .tour-card--image img,
  .tour-card--quiet {
    min-height: 360px;
  }

  .tour-card--reverse img {
    order: -1;
  }

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

  .service-card {
    min-height: 0;
  }

  .contact__details {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .container,
  .hero__content {
    width: min(100% - 28px, 1120px);
  }

  .site-header {
    min-height: 70px;
    padding: 10px 14px;
  }

  .brand img {
    width: 46px;
    height: 46px;
  }

  .header-cta {
    padding: 9px 12px;
    font-size: 0.82rem;
  }

  .hero,
  .hero__content {
    min-height: 82svh;
  }

  .hero__media {
    background:
      linear-gradient(180deg, rgba(8, 10, 12, 0.72) 0%, rgba(8, 10, 12, 0.34) 44%, rgba(8, 10, 12, 0.72) 100%),
      url("assets/kazbegi-gudauri-panorama.jpeg") 58% center / cover;
  }

  h1 {
    font-size: clamp(3rem, 18vw, 4.7rem);
  }

  h2 {
    font-size: clamp(2rem, 11vw, 3.25rem);
  }

  .hero__content {
    gap: 16px;
    padding: 88px 0 24px;
  }

  .button {
    width: 100%;
  }

  .hero__actions .button {
    flex: 1 1 0;
    width: auto;
    padding-right: 10px;
    padding-left: 10px;
  }

  .tour-card__body {
    padding: 26px 22px;
  }

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