/* =========================================================================
   Travely — replica of the Framer build captured in html.txt
   Design tokens taken straight from the original document.
   ========================================================================= */

:root {
  /* colour tokens (same names/values as the Framer tokens) */
  --white:      #ffffff;
  --surface:    #f0f2f7;
  --border:     #dfe5eb;
  --muted-soft: #bfc3c9;
  --muted:      #56575c;
  --ink:        #161618;
  --primary:    #558ffc;
  --accent:     #f6822f;
  --star:       #ffba33;

  /* layout */
  --container:   1140px;
  --page-gutter: 30px;

  /* type */
  --font: 'Outfit', 'Outfit Placeholder', sans-serif;
  --tracking: -0.2px;
  --tracking-tight: -1.5px;

  /* motion */
  --ease: cubic-bezier(0.44, 0, 0.56, 1);
}

/* ------------------------------- reset ---------------------------------- */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  padding: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.64em;
  letter-spacing: var(--tracking);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'blwf', 'cv03', 'cv04', 'cv09', 'cv11';
  /* No overflow-x on html/body: it would break position:fixed / sticky children.
     Every wide strip (hero, marquee, carousel) clips itself locally instead. */
}

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }

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

h1 { font-size: 112px; font-weight: 500; line-height: 110%; letter-spacing: var(--tracking-tight); }
h2 { font-size: 96px;  font-weight: 500; line-height: 120%; letter-spacing: var(--tracking-tight); }
h3 { font-size: 64px;  font-weight: 500; line-height: 120%; letter-spacing: var(--tracking-tight); }
h4 { font-size: 50px;  font-weight: 500; line-height: 120%; letter-spacing: var(--tracking-tight); }
h5 { font-size: 28px;  font-weight: 500; line-height: 120%; letter-spacing: var(--tracking); }

.accent { color: var(--primary); }

/* ------------------------------ layout ---------------------------------- */

.section {
  position: relative;
  width: 100%;
  padding: 100px var(--page-gutter);
  display: flex;
  justify-content: center;
  background: var(--white);
}

.container {
  position: relative;
  width: 100%;
  max-width: var(--container);
  display: flex;
  flex-direction: column;
}

.container--center { align-items: center; }

.section-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.section-title h1,
.section-title h3 { text-align: center; }

.section-title__sub {
  max-width: 690px;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.64em;
  color: var(--muted);
  text-align: center;
}

.section-title--light h1,
.section-title--light .section-title__sub { color: var(--white); }

/* ------------------------------ buttons --------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px 16px 32px;
  border-radius: 50px;
  border: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 26.24px;
  letter-spacing: var(--tracking);
  white-space: nowrap;
  cursor: pointer;
  overflow: hidden;
  transition: background-color .3s var(--ease), color .3s var(--ease),
              border-color .3s var(--ease), transform .3s var(--ease);
}

.btn:hover { transform: translateY(-2px); }

.btn--primary   { background: var(--primary); color: var(--white); }
.btn--primary:hover { background: var(--ink); }

.btn--secondary { background: var(--white); color: var(--ink); border-radius: 100px; }
.btn--secondary:hover { background: var(--primary); color: var(--white); }

.btn--ghost     { background: transparent; color: var(--white); border: 1px solid var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--ink); }

.btn--outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--muted-soft);
  border-radius: 100px;
  padding: 8px 28px 8px 32px;
}
.btn--outline:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }

.btn--block { width: 100%; }

/* -------------------------- shared small parts -------------------------- */

/* white rounded label sitting on top of a card image */
.pill {
  position: absolute;
  bottom: 8px;
  left: 8px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 42px;
  padding: 8px 16px 8px 12px;
  border-radius: 22px;
  background: var(--white);
}
.pill__icon { width: 20px; height: 20px; object-fit: cover; }
.pill__text { font-size: 16px; font-weight: 300; line-height: 26.24px; color: var(--ink); white-space: nowrap; }

.meta { display: inline-flex; align-items: center; gap: 6px; }
.meta__icon { width: 20px; height: 20px; object-fit: cover; }
.meta__text { font-size: 16px; font-weight: 500; line-height: 26.24px; color: var(--muted); white-space: nowrap; }

/* ============================== HEADER =================================== */

.header {
  position: absolute;
  top: 40px;
  left: 0;
  z-index: 10;
  width: 100%;
  padding: 0 var(--page-gutter);
  display: flex;
  justify-content: center;
}

.header__bar {
  width: 100%;
  max-width: var(--container);
  border-radius: 230px;
  background: var(--border);
}

.header__nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 12px 12px 26px;
}

.header__logo img { width: 93px; height: 43px; object-fit: cover; }

.main-menu {
  display: flex;
  align-items: center;
  gap: 48px;
}

.main-menu__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 16px;
  font-weight: 300;
  line-height: 26.24px;
  color: var(--ink);
  transition: color .25s var(--ease), opacity .25s var(--ease);
}
.main-menu__link:hover { color: var(--primary); }

.main-menu__chevron { width: 18px; height: 18px; transition: transform .25s var(--ease); }

.main-menu__cta { display: none; }

.main-menu__item { position: relative; }

.dropdown {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translate(-50%, 8px);
  min-width: 220px;
  padding: 10px;
  border-radius: 20px;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 20px 45px rgba(22, 22, 24, .12);
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
}

.dropdown a {
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 300;
  color: var(--ink);
  transition: background-color .2s var(--ease);
}
.dropdown a:hover { background: var(--surface); }

.has-dropdown:hover .dropdown,
.has-dropdown.is-open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear 0s;
}

.has-dropdown:hover .main-menu__chevron,
.has-dropdown.is-open .main-menu__chevron { transform: rotate(180deg); }

.header__button { display: flex; align-items: center; }

/* burger (mobile only) */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  cursor: pointer;
}
.burger span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============================== HERO ==================================== */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 887px;
  padding: 250px var(--page-gutter) 63px;
  overflow: hidden;
}

.hero__media { position: absolute; inset: 0; z-index: 1; }
.hero__media video { width: 100%; height: 100%; object-fit: cover; background: var(--ink); }

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(rgba(255, 255, 255, 0) 4.99%, rgba(0, 0, 0, .76) 99.4%);
}

.hero__container {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--container);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 200px;
}

.hero__top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  width: 100%;
}

.hero__top .section-title__sub { max-width: 826px; font-size: 20px; font-weight: 400; }

.hero__buttons { display: flex; align-items: center; gap: 20px; }

.hero__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 20px;
}

.review-content {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 377px;
}

.avatars { display: flex; align-items: center; flex: 0 0 auto; }

.avatars__item {
  display: block;
  width: 56px;
  height: 56px;
  border-radius: 100px;
  overflow: hidden;
  flex: 0 0 auto;
}
.avatars__item + .avatars__item { margin-left: -26px; }
.avatars__item img { width: 100%; height: 100%; object-fit: cover; }

.avatars__count {
  display: inline-flex;
  align-items: center;
  height: 58px;
  margin-left: -26px;
  padding: 16px;
  border-radius: 100px;
  background: var(--white);
  color: #000;
  font-size: 16px;
  line-height: 26.24px;
  white-space: nowrap;
}
.avatars__count b { font-weight: 500; line-height: 1.5em; }
.avatars__count span { font-weight: 400; }

.review-content__text,
.hero__experience {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.64em;
  color: var(--white);
}

.hero__experience { max-width: 210px; }

/* ========================= POPULAR DESTINATIONS ========================== */

.destinations .container { align-items: center; gap: 88px; }

.destinations__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
  width: 100%;
}

.tours-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
  padding-bottom: 20px;
  overflow-x: auto;
  scrollbar-width: none;
}
.tours-bar::-webkit-scrollbar { display: none; }

.tours-bar__item {
  flex: 0 0 auto;
  padding: 4px 16px;
  border: 0;
  border-radius: 16px;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 300;
  line-height: 22.96px;
  letter-spacing: var(--tracking);
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.tours-bar__item:hover { background: rgba(22, 22, 24, .08); }
.tours-bar__item.is-active { background: #000; color: var(--white); }

.tours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  justify-content: center;
  gap: 20px;
  width: 100%;
}

.tour-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
  width: 100%;
  padding: 22px;
  border-radius: 32px;
  background: var(--surface);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  animation: card-in .45s var(--ease) both;
}
.tour-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px rgba(22, 22, 24, .10); }
.tour-card.is-hidden { display: none; }

.tour-card__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  width: 100%;
}

.tour-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 1.59846 / 1;
  border-radius: 20px;
  overflow: hidden;
}
.tour-card__media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.tour-card:hover .tour-card__media > img { transform: scale(1.06); }

.tour-card__title { width: 100%; color: var(--ink); }

.tour-card__details {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}

@keyframes card-in {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

/* ============================== SERVICES ================================= */

.services { background: var(--surface); }
.services .container { gap: 50px; }

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 364px);
  justify-content: center;
  gap: 24px;
  width: 100%;
}

.service-card { display: flex; flex-direction: column; gap: 28px; }

.service-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 1.15274 / 1;
  border-radius: 24px;
  overflow: hidden;
}
.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.service-card:hover .service-card__media img { transform: scale(1.05); }

.service-card__body { display: flex; flex-direction: column; gap: 10px; }
.service-card__body h5 { color: var(--ink); }
.service-card__body p  { font-size: 16px; font-weight: 300; line-height: 1.64em; color: var(--muted); }

/* ============================== DISCOUNTS ================================ */

.discounts .container { gap: 80px; }

.deals {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 70px;
  width: 100%;
  max-width: 1256px;
}

.deal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  width: 100%;
}

.deal__media { flex: 1 1 0; max-width: 580px; aspect-ratio: 1.46742 / 1; }
.deal__media video {
  width: 100%;
  height: 100%;
  border-radius: 32px;
  object-fit: cover;
  background: var(--ink);
}

.deal--reverse .deal__media { order: 1; }
.deal--reverse .deal__content { order: 0; }

.deal__content {
  flex: 1 1 0;
  max-width: 516px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 32px;
}

.deal__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  padding: 10px;
  border-radius: 51px;
  background: var(--primary);
}
.deal__icon img { width: 32px; height: 32px; object-fit: cover; }

.deal__text { display: flex; flex-direction: column; gap: 16px; width: 100%; }
.deal__text h4 { color: var(--ink); }
.deal__text p  { font-size: 16px; font-weight: 300; line-height: 1.64em; color: var(--muted); }

/* ============================ GALLERY MARQUEE ============================ */

.gallery {
  position: relative;
  width: 100%;
  padding: 100px 0 63px;
  background: var(--white);
  overflow: hidden;
}

.gallery__viewport { width: 100%; padding: 10px 0; overflow: hidden; }

.gallery__track {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  width: max-content;
  animation: marquee var(--marquee-duration, 60s) linear infinite;
}
.gallery:hover .gallery__track { animation-play-state: paused; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-1 * var(--marquee-shift, 3318px))); }
}

.gallery__slide { flex: 0 0 auto; height: 538px; border-radius: 24px; }

.gallery__slide--xl { width: 800px; overflow: hidden; }
.gallery__slide--lg { width: 632px; overflow: hidden; }

.gallery__slide--xl img,
.gallery__slide--lg img { width: 100%; height: 100%; object-fit: cover; border-radius: 24px; }

.gallery__slide--stack {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
  width: 354px;
  border-radius: 0;
}
.gallery__cell {
  display: block;
  width: 354px;
  height: 253px;
  border-radius: 24px;
  overflow: hidden;
}
.gallery__cell img { width: 100%; height: 100%; object-fit: cover; border-radius: 24px; }

/* ============================= TESTIMONIALS ============================== */

.testimonials {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 72px;
  width: 100%;
  padding: 100px 0 140px;
  background: var(--white);
}

.testimonials > .container { padding: 0 var(--page-gutter); }

.testimonials__slider {
  position: relative;
  width: 100%;
  padding: 0 10px;
}

.testimonials__viewport { width: 100%; overflow: hidden; }

.testimonials__track {
  display: flex;
  gap: 18px;
  width: 100%;
  transition: transform .7s var(--ease);
}

.testimonial {
  flex: 0 0 auto;
  width: calc(33.3333% - 12px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 32px;
  padding: 36px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--white);
}

.testimonial__top { display: flex; flex-direction: column; gap: 24px; width: 100%; }

.stars { display: flex; align-items: center; gap: 4px; height: 19px; }
.stars i {
  display: block;
  width: 20px;
  height: 19px;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.testimonial__text {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.64em;
  color: var(--muted);
}

.testimonial__author { display: flex; align-items: center; gap: 16px; }
.testimonial__avatar { width: 56px; height: 56px; border-radius: 100px; object-fit: cover; }
.testimonial__meta { display: flex; flex-direction: column; }
.testimonial__name { font-size: 18px; font-weight: 500; line-height: 1.5em; color: var(--ink); }
.testimonial__role { font-size: 14px; font-weight: 300; line-height: 22.96px; color: var(--muted); }

.testimonials__controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -69px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.slider-btn {
  display: block;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 40px;
  background: rgba(0, 0, 0, .2);
  overflow: hidden;
  cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s var(--ease);
}
.slider-btn:hover { transform: scale(1.08); background: rgba(0, 0, 0, .35); }
.slider-btn img { width: 40px; height: 40px; }

/* ============================= VIDEO BANNER ============================== */

.video-banner {
  position: relative;
  width: 100%;
  aspect-ratio: 1.7991 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.video-banner__media {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--ink);
}

.video-banner__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
  padding: 0 var(--page-gutter);
}
.video-banner__content h2 { color: var(--white); text-align: center; }

/* ============================= WHY CHOOSE US ============================= */

.why { background: var(--surface); padding: 140px var(--page-gutter) 100px; }

.why__container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.why__media {
  flex: 1 1 0;
  max-width: 520px;
  aspect-ratio: 1.16502 / 1;
  border-radius: 32px;
  overflow: hidden;
}
.why__media img { width: 100%; height: 100%; object-fit: cover; }

.why__content {
  flex: 1 1 0;
  max-width: 567px;
  display: flex;
  flex-direction: column;
  gap: 107px;
}

.why__title { display: flex; flex-direction: column; gap: 16px; }
.why__title h3 { text-align: left; }
.why__title p  { font-size: 18px; font-weight: 300; line-height: 1.64em; color: var(--muted); }

.counters {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
}

.counter-item { display: flex; flex-direction: column; gap: 10px; flex: 1 1 0; }

.counter-item__value { display: flex; align-items: center; height: 60px; }
.counter-item__value b {
  font-size: 44px;
  font-weight: 500;
  line-height: 1.2em;
  letter-spacing: var(--tracking-tight);
  color: var(--primary);
}
.counter-item__value h4 { color: var(--primary); }

.counter-item p { font-size: 20px; font-weight: 300; line-height: 1.64em; color: var(--muted); }

/* ================================= BLOG ================================== */

.blog .container { gap: 80px; }

.blog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
}

.blog-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  padding: 22px;
  border-radius: 32px;
  background: var(--surface);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.blog-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px rgba(22, 22, 24, .10); }

.blog-card__content { display: flex; flex-direction: column; gap: 28px; width: 100%; }

.blog-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 1.59846 / 1;
  border-radius: 20px;
  overflow: hidden;
}
.blog-card__media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.blog-card:hover .blog-card__media > img { transform: scale(1.06); }

.blog-card__text { display: flex; flex-direction: column; gap: 12px; }
.blog-card__text h5 { color: var(--ink); }
.blog-card__text p  { font-size: 16px; font-weight: 300; line-height: 1.64em; color: var(--muted); }

/* ================================== CTA ================================== */

.cta {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 100px var(--page-gutter);
  background: var(--surface);
}

.cta__box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 150px 30px;
  border-radius: 40px;
  overflow: hidden;
}

.cta__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.cta__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  width: 100%;
  max-width: 597px;
}

.cta__text { display: flex; flex-direction: column; align-items: center; gap: 16px; width: 100%; }
.cta__text h4 { color: var(--white); text-align: center; }
.cta__text p  { font-size: 18px; font-weight: 300; line-height: 1.64em; color: var(--surface); text-align: center; }

/* ================================ FOOTER ================================= */

.footer {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 100px var(--page-gutter);
  background: var(--ink);
}

.footer__container { gap: 80px; }

.footer__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  width: 100%;
}

.footer__left {
  flex: 1 1 0;
  max-width: 603px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.footer__col { display: flex; flex-direction: column; gap: 24px; }
.footer__col--menu    { max-width: 77px; }
.footer__col--contact { max-width: 184px; }
.footer__col--social  { max-width: 99px; }

.footer__heading { font-size: 18px; font-weight: 400; line-height: 1.64em; color: var(--white); }

.footer__links { display: flex; flex-direction: column; gap: 16px; }
.footer__links a {
  font-size: 16px;
  font-weight: 300;
  line-height: 26.24px;
  color: var(--muted-soft);
  transition: color .25s var(--ease);
}
.footer__links a:hover { color: var(--white); }

.footer__right {
  flex: 1 1 0;
  max-width: 370px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer__right p { font-size: 18px; font-weight: 300; line-height: 1.64em; color: var(--muted-soft); }
.footer__logo img { width: 93px; height: 43px; object-fit: cover; }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 16px 0;
}

.footer__legal { display: flex; align-items: center; justify-content: space-between; gap: 40px; max-width: 300px; }
.footer__legal a {
  font-size: 16px;
  font-weight: 300;
  line-height: 26.24px;
  color: var(--muted-soft);
  transition: color .25s var(--ease);
}
.footer__legal a:hover { color: var(--white); }

.footer__copy { font-size: 16px; font-weight: 300; line-height: 26.24px; color: var(--muted-soft); }

/* ============================ SCROLL REVEAL ============================== */

.reveal {
  opacity: 0;
  transform: translateY(50px);
  will-change: transform, opacity;
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

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

/* ============================== RESPONSIVE =============================== */

/* --- tablet ------------------------------------------------------------- */
@media (max-width: 1199.98px) {
  h1 { font-size: 72px; }
  h2 { font-size: 64px; }
  h3 { font-size: 48px; }
  h4 { font-size: 40px; }
  h5 { font-size: 24px; }

  .hero { min-height: 760px; padding: 200px var(--page-gutter) 60px; }
  .hero__container { gap: 100px; }

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

  .why__container { flex-direction: column; align-items: flex-start; gap: 48px; }
  .why__media, .why__content { max-width: 100%; width: 100%; }
  .why__content { gap: 56px; }

  .deal__content { gap: 24px; }

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

  .gallery__slide { height: 420px; }
  .gallery__slide--xl { width: 620px; }
  .gallery__slide--lg { width: 490px; }
  .gallery__slide--stack { width: 275px; gap: 24px; }
  .gallery__cell { width: 275px; height: 198px; }

  .testimonial { width: calc(50% - 9px); }

  .footer__top { flex-direction: column; gap: 56px; }
  .footer__left { max-width: 100%; width: 100%; }
  .footer__right { max-width: 100%; }
}

/* --- mobile ------------------------------------------------------------- */
@media (max-width: 767.98px) {
  :root { --page-gutter: 20px; }

  h1 { font-size: 44px; letter-spacing: -1px; }
  h2 { font-size: 40px; letter-spacing: -1px; }
  h3 { font-size: 34px; letter-spacing: -1px; }
  h4 { font-size: 30px; letter-spacing: -1px; }
  h5 { font-size: 22px; }

  .section { padding: 70px var(--page-gutter); }

  /* header ------------------------------------------------------------- */
  .header { top: 20px; }
  .header__nav-row { padding: 10px 10px 10px 18px; }
  .header__button { display: none; }
  .burger { display: flex; }

  .main-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    max-width: 100%;
    height: 100dvh;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    padding: 90px 24px 40px;
    background: var(--border);
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s var(--ease), visibility 0s linear .35s;
    z-index: 20;
    overflow-y: auto;
  }
  .main-menu.is-open {
    opacity: 1;
    visibility: visible;
    transition: opacity .35s var(--ease), visibility 0s linear 0s;
  }
  .main-menu__link { font-size: 22px; }
  .main-menu__cta { display: inline-flex; margin-top: 12px; }

  .main-menu__item { display: flex; flex-direction: column; align-items: center; gap: 12px; }
  .dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    display: none;
    min-width: 0;
    transition: none;
  }
  .has-dropdown.is-open .dropdown { display: flex; transform: none; }
  .dropdown a { text-align: center; }

  /* hero --------------------------------------------------------------- */
  .hero { min-height: 640px; padding: 150px var(--page-gutter) 48px; }
  .hero__container { gap: 60px; }
  .hero__top { gap: 32px; }
  .hero__top .section-title__sub { font-size: 16px; }
  .hero__buttons { flex-wrap: wrap; justify-content: center; }
  .hero__bottom { flex-direction: column; align-items: flex-start; gap: 24px; }
  .review-content { max-width: 100%; flex-wrap: wrap; gap: 16px; }
  .review-content__text, .hero__experience { font-size: 16px; }
  .hero__experience { max-width: 100%; }

  /* sections ----------------------------------------------------------- */
  .section-title__sub { font-size: 16px; }
  .destinations .container { gap: 48px; }
  .destinations__inner { gap: 36px; }
  .tours-bar { justify-content: flex-start; gap: 12px; }
  .tours-grid { grid-template-columns: 1fr; }

  .services .container { gap: 36px; }
  .services__grid { grid-template-columns: 1fr; gap: 32px; }

  .discounts .container { gap: 48px; }
  .deals { gap: 48px; }
  .deal, .deal--reverse { flex-direction: column; gap: 28px; }
  .deal--reverse .deal__media,
  .deal--reverse .deal__content { order: 0; }
  .deal__media, .deal__content { max-width: 100%; width: 100%; }

  .gallery { padding: 70px 0 40px; }
  .gallery__track { gap: 16px; }
  .gallery__slide { height: 260px; }
  .gallery__slide--xl { width: 340px; }
  .gallery__slide--lg { width: 280px; }
  .gallery__slide--stack { width: 170px; gap: 16px; }
  .gallery__cell { width: 170px; height: 122px; }

  .testimonials { gap: 48px; padding: 70px 0 120px; }
  .testimonial { width: 100%; padding: 28px; }
  .testimonials__track { gap: 16px; }
  .testimonials__controls { bottom: -60px; }

  .video-banner { aspect-ratio: 3 / 4; }
  .video-banner__content { gap: 24px; }

  .why { padding: 90px var(--page-gutter) 70px; }
  .why__content { gap: 40px; }
  .why__title p { font-size: 16px; }
  .counters { flex-direction: column; align-items: flex-start; gap: 28px; }
  .counter-item p { font-size: 18px; }

  .blog .container { gap: 48px; }
  .blog__grid { grid-template-columns: 1fr; }

  .cta { padding: 70px var(--page-gutter); }
  .cta__box { padding: 80px 24px; border-radius: 28px; }
  .cta__text p { font-size: 16px; }

  .footer { padding: 70px var(--page-gutter); }
  .footer__container { gap: 48px; }
  .footer__left { flex-wrap: wrap; gap: 40px; }
  .footer__col--menu, .footer__col--contact, .footer__col--social { max-width: none; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer__legal { flex-direction: column; align-items: flex-start; gap: 12px; max-width: none; }
}
