:root {
  --ink: #05073c;
  --muted: #687083;
  --line: #e8e8ee;
  --paper: #ffffff;
  --soft: #f7f5f0;
  --cream: #fbf3ea;
  --accent: #eb662b;
  --accent-dark: #d9541b;
  --navy: #050b20;
  --radius-xl: 28px;
  --radius-lg: 20px;
  --shadow: 0 24px 70px rgba(5, 7, 60, 0.11);
  --container: 1320px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body,
button,
input {
  font: inherit;
}

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

button {
  border: 0;
  cursor: pointer;
  background: transparent;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.section {
  padding: 82px 0;
}

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

.section-title h2,
.why-content h2,
.footprints h2,
.bestof-head h2,
.testimonial-summary h2,
.brands h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.section-title p,
.why-content > p {
  margin: 10px 0 0;
  color: var(--muted);
}

.section-link {
  font-weight: 700;
  white-space: nowrap;
  color: var(--ink);
}

.section-link span {
  color: var(--accent);
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 30;
  height: 88px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  width: min(1540px, calc(100% - 40px));
  margin: 18px auto 0;
  padding: 0 28px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(5, 11, 32, 0.28);
  backdrop-filter: blur(18px);
  box-shadow: 0 15px 55px rgba(0, 0, 0, 0.16);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 850;
  letter-spacing: -0.05em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #fff;
  background: var(--accent);
  font-weight: 900;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 38px);
  font-size: 15px;
  font-weight: 650;
}

.main-nav a,
.header-actions a,
.currency {
  opacity: 0.95;
}

.main-nav a:hover,
.header-actions a:hover,
.currency:hover {
  opacity: 1;
  color: #ffd8c8;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 18px;
  font-size: 15px;
  font-weight: 650;
}

.login {
  padding: 13px 20px;
  border-radius: 999px;
  color: var(--ink) !important;
  background: #fff;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,.14);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: #fff;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 880px;
  overflow: hidden;
  color: #fff;
  background: var(--navy);
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-bg {
  background:
    linear-gradient(90deg, rgba(5, 11, 32, 0.84) 0%, rgba(5, 11, 32, 0.55) 45%, rgba(5, 11, 32, 0.18) 100%),
    url('https://viatour-nextjs.vercel.app/img/hero/9/1.jpg') center / cover no-repeat;
  transform: scale(1.02);
}

.hero-overlay {
  z-index: -1;
  background:
    radial-gradient(circle at 78% 50%, rgba(235, 102, 43, 0.18), transparent 25%),
    linear-gradient(0deg, rgba(5, 11, 32, 0.42), transparent 34%);
}

.hero-content {
  position: relative;
  padding-top: 300px;
}

.eyebrow {
  margin: 0 0 20px;
  font-size: 18px;
  font-weight: 750;
  color: #ffd7c8;
}

.hero h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(52px, 8vw, 92px);
  line-height: 0.97;
  letter-spacing: -0.075em;
}

.hero-copy {
  margin: 28px 0 36px;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1.7;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 28px;
  border-radius: 999px;
  color: #fff;
  background: var(--accent);
  box-shadow: 0 18px 32px rgba(235, 102, 43, 0.34);
  font-weight: 800;
}

.primary-button:hover {
  background: var(--accent-dark);
}

.hero-pager {
  position: absolute;
  left: 50%;
  bottom: 54px;
  display: flex;
  gap: 18px;
  transform: translateX(-50%);
}

.hero-pager button {
  color: rgba(255, 255, 255, 0.55);
  font-weight: 800;
  letter-spacing: 0.06em;
}

.hero-pager button.active {
  color: #fff;
}

.hero-pager button.active::after {
  content: '';
  display: block;
  width: 100%;
  height: 2px;
  margin-top: 8px;
  background: var(--accent);
}

.promo-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: -74px;
  position: relative;
  z-index: 5;
}

.promo {
  position: relative;
  min-height: 198px;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow);
  background: #eee;
}

.promo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 7, 60, .05), rgba(5,7,60,.05));
}

.promo > div {
  position: absolute;
  inset: 36px auto auto 40px;
  z-index: 2;
  color: #fff;
}

.promo p {
  margin: 0 0 7px;
  font-weight: 700;
}

.promo h3 {
  margin: 0;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.promo-orange > div {
  color: #fff;
}

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

.destination-card {
  min-height: 240px;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: #dfe8f2;
  box-shadow: 0 16px 48px rgba(5, 7, 60, 0.08);
}

.destination-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 7, 60, 0.05), rgba(5, 7, 60, 0.7)),
    var(--image) center / cover no-repeat,
    linear-gradient(135deg, #d9ebf7, #f9d4bd);
  transition: transform 0.5s ease;
}

.destination-card:hover .destination-media {
  transform: scale(1.07);
}

.destination-card > div:last-child {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 24px;
  color: #fff;
}

.destination-card h3,
.destination-card p {
  margin: 0;
}

.destination-card h3 {
  font-size: 22px;
  letter-spacing: -0.04em;
}

.destination-card p {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.84);
  font-weight: 650;
}

.trip-grid,
.bestof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.trip-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.trip-card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: var(--shadow);
}

.trip-media,
.article-media,
.why-image,
.avatar {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #dce7f3, #f4d0b6);
}

.image-fallback::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 32% 22%, rgba(255,255,255,.5), transparent 22%),
    linear-gradient(135deg, #dce7f3, #f4d0b6);
}

.trip-media {
  height: 206px;
}

.heart,
.duration {
  position: absolute;
  z-index: 2;
}

.heart {
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 10px 25px rgba(0,0,0,.1);
  font-size: 20px;
}

.duration {
  left: 16px;
  bottom: 16px;
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--ink);
  background: #fff;
  font-size: 13px;
  font-weight: 800;
}

.trip-body {
  padding: 18px 19px 20px;
}

.place {
  margin: 0 0 9px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.trip-body h3 {
  min-height: 48px;
  margin: 0 0 13px;
  font-size: 17px;
  line-height: 1.42;
  letter-spacing: -0.025em;
}

.rating {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 750;
}

.rating span {
  color: #f7b500;
}

.rating em {
  color: var(--muted);
  font-style: normal;
  font-weight: 500;
}

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

.price strong {
  color: var(--ink);
  font-size: 17px;
}

.why {
  background: var(--cream);
}

.why-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(40px, 7vw, 92px);
  align-items: center;
}

.why-image {
  min-height: 650px;
  border-radius: 36px;
  box-shadow: var(--shadow);
}

.why-content > p {
  margin-bottom: 30px;
}

.feature-list {
  display: grid;
  gap: 24px;
}

.feature {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 20px;
  align-items: start;
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
}

.feature > span {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background: #fff;
  font-size: 27px;
}

.feature h3,
.feature p {
  margin: 0;
}

.feature h3 {
  margin-bottom: 7px;
  font-size: 20px;
  letter-spacing: -0.03em;
}

.feature p {
  color: var(--muted);
  line-height: 1.6;
}

.activity-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.activity-card {
  min-height: 178px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  transition: all .25s ease;
}

.activity-card:hover {
  transform: translateY(-5px);
  border-color: transparent;
  box-shadow: var(--shadow);
}

.activity-card span {
  font-size: 34px;
}

.activity-card h3 {
  margin: 26px 0 7px;
  font-size: 18px;
  letter-spacing: -0.03em;
}

.activity-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.footprints {
  position: relative;
  overflow: hidden;
  padding: 92px 0;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(5,11,32,.92), rgba(5,11,32,.78)),
    url('https://viatour-nextjs.vercel.app/img/hero/9/1.jpg') center / cover no-repeat;
}

.footprints h2 {
  margin-bottom: 38px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.stat {
  padding: 30px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 26px;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(12px);
}

.stat span {
  font-size: 32px;
}

.stat h3 {
  margin: 22px 0 4px;
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: -0.06em;
}

.stat p {
  margin: 0;
  color: rgba(255,255,255,.75);
}

.bestof-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 34px;
}

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

.tabs button {
  padding: 12px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: #fff;
  font-weight: 750;
}

.tabs button.active {
  border-color: var(--accent);
  color: #fff;
  background: var(--accent);
}

.testimonials {
  background: var(--soft);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.testimonial-summary {
  position: sticky;
  top: 120px;
}

.score {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
}

.score strong {
  display: grid;
  place-items: center;
  min-width: 84px;
  height: 84px;
  border-radius: 50%;
  color: #fff;
  background: var(--accent);
  font-size: 30px;
  letter-spacing: -0.05em;
}

.score.muted strong {
  color: var(--ink);
  background: #fff;
}

.score p {
  margin: 0;
  max-width: 310px;
  color: var(--muted);
  line-height: 1.55;
}

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

.testimonial {
  padding: 28px;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 12px 42px rgba(5, 7, 60, 0.06);
}

.testimonial h3 {
  margin: 0 0 16px;
  font-size: 21px;
  letter-spacing: -0.03em;
}

.testimonial p {
  margin: 0;
  color: #3c4153;
  line-height: 1.7;
}

.person {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.person strong,
.person span {
  display: block;
}

.person span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 14px;
}

.brands {
  padding: 70px 0;
  text-align: center;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.brand-grid span {
  display: grid;
  place-items: center;
  height: 78px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: #8b91a3;
  background: #fff;
  font-weight: 900;
  letter-spacing: -0.04em;
  text-transform: lowercase;
}

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

.article-card {
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
}

.article-media {
  height: 245px;
}

.article-body {
  padding: 22px;
}

.article-body p {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.article-body h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.35;
  letter-spacing: -0.035em;
}

.footer {
  color: #fff;
  background: var(--navy);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 48px 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.footer-top h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.04em;
}

.footer-top span {
  color: #ffb391;
}

.socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #fff;
  background: rgba(255,255,255,.1);
  font-size: 13px;
  font-weight: 800;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr .8fr .8fr 1.25fr;
  gap: 44px;
  padding: 58px 0;
}

.footer h3 {
  margin: 0 0 20px;
  font-size: 18px;
}

.footer p,
.footer a {
  display: block;
  margin: 0 0 12px;
  color: rgba(255,255,255,.72);
  line-height: 1.6;
}

.newsletter {
  display: flex;
  height: 56px;
  overflow: hidden;
  border-radius: 999px;
  background: #fff;
}

.newsletter input {
  min-width: 0;
  flex: 1;
  border: 0;
  padding: 0 20px;
  color: var(--ink);
  outline: 0;
}

.newsletter button {
  padding: 0 22px;
  color: #fff;
  background: var(--accent);
  font-weight: 800;
}

.apps-title {
  margin-top: 28px !important;
}

.apps {
  display: flex;
  gap: 14px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0 34px;
  border-top: 1px solid rgba(255,255,255,.12);
}

.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cards span {
  padding: 5px 9px;
  border-radius: 6px;
  color: var(--ink);
  background: #fff;
  font-size: 12px;
  font-weight: 900;
}

@media (max-width: 1180px) {
  .trip-grid,
  .bestof-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .testimonial-cards {
    grid-template-columns: 1fr;
  }
}

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

  .main-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    padding: 22px;
    border-radius: 28px;
    background: rgba(5, 11, 32, 0.96);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: grid;
    justify-content: start;
  }

  .header-actions a:not(.login),
  .currency {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    min-height: 760px;
  }

  .hero-content {
    padding-top: 235px;
  }

  .promo-row,
  .destination-grid,
  .why-grid,
  .testimonial-grid,
  .article-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .destination-grid,
  .trip-grid,
  .bestof-grid,
  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .why-image {
    min-height: 430px;
  }

  .testimonial-summary {
    position: static;
  }

  .footer-top,
  .footer-bottom,
  .bestof-head {
    align-items: start;
    flex-direction: column;
  }
}

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

  .section {
    padding: 56px 0;
  }

  .site-header {
    width: calc(100% - 20px);
    margin-top: 10px;
    padding: 0 16px;
  }

  .brand {
    font-size: 20px;
  }

  .login {
    padding: 10px 13px;
  }

  .hero {
    min-height: 720px;
  }

  .hero-content {
    padding-top: 205px;
  }

  .hero h1 {
    font-size: 50px;
  }

  .hero-copy {
    font-size: 16px;
  }

  .hero-pager {
    gap: 12px;
    bottom: 32px;
  }

  .promo-row {
    margin-top: -38px;
  }

  .promo {
    min-height: 176px;
  }

  .promo > div {
    inset: 28px auto auto 28px;
  }

  .section-title {
    align-items: start;
    flex-direction: column;
  }

  .destination-grid,
  .trip-grid,
  .bestof-grid,
  .activity-grid,
  .stat-grid,
  .brand-grid {
    grid-template-columns: 1fr;
  }

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

  .article-media {
    height: 210px;
  }
}


/* Static bundle additions */
.bestof-card.is-hidden { display: none; }
.newsletter.is-sent { outline: 2px solid rgba(235, 102, 43, .35); }
img[hidden] { display: none; }
