/* =========================
   HOME PAGE
========================= */

.home-page {
  background: #fff;
}

.home-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Announcement strip (above header) ---- */

.home-topbar {
  background: var(--vw-component-announcement-background);
  color: #fff;
  font-size: 13px;
  text-align: center;
  padding: 9px 16px;
}

.home-topbar-text {
  opacity: 0.92;
}

.home-topbar-link {
  color: var(--vw-component-announcement-link);
  font-weight: 700;
  text-decoration: none;
  margin-left: 8px;
}

.home-topbar-link:hover {
  text-decoration: underline;
  color: var(--vw-color-action-primary-hover) !important;
}

/* ---- Hero ---- */

.home-hero {
  position: relative;
  min-height: 640px;
  background-color: var(--vw-color-text-primary);
  background-position: center;
  background-size: cover;
  display: flex;
  align-items: center;
  color: #fff;
}

.home-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(10, 10, 18, 0.82) 0%,
    rgba(10, 10, 18, 0.55) 55%,
    rgba(10, 10, 18, 0.2) 100%
  );
}

.home-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 100px 24px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}

.home-hero-eyebrow {
  display: inline-block;
  margin: 0 0 16px;
  padding: 6px 16px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--vw-color-action-primary) 22%, transparent);
  border: 1px solid color-mix(in srgb, var(--vw-color-action-primary) 50%, transparent);
  color: var(--vw-color-pink-100);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

.home-hero-title {
  margin: 0 0 20px;
  font-size: 50px;
  line-height: 1.14;
  font-weight: 800;
  color: #fff;
}

.home-hero-sub {
  margin: 0;
  max-width: 520px;
  font-size: 17px;
  line-height: 1.7;
  opacity: 0.92;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.home-btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.home-btn:hover {
  color: #fff;
}

.home-btn--pink {
  background: var(--vw-color-action-primary);
  color: #fff;
  box-shadow: 0 10px 24px color-mix(in srgb, var(--vw-color-action-primary) 35%, transparent);
}

.home-btn--pink:hover {
  background: var(--vw-color-action-primary-hover);
}

.home-btn--ghost {
  border: 2px solid rgba(255, 255, 255, 0.85);
  color: #fff;
}

.home-btn--ghost:hover {
  border-color: #fff;
}

/* Hero photo frames */

.home-hero-frames {
  position: relative;
  min-height: 460px;
}

.home-hero-frame {
  position: absolute;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

.home-hero-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-hero-frame--main {
  top: 0;
  right: 0;
  z-index: 2;
  width: 76%;
  height: 400px;
  border: 6px solid #fff;
}

.home-hero-frame--small {
  bottom: 0;
  left: 0;
  z-index: 3;
  width: 46%;
  height: 230px;
  border: 6px solid #fff;
}

.home-hero-badge {
  position: absolute;
  right: -14px;
  bottom: 26px;
  z-index: 4;
  background: var(--vw-color-action-primary);
  color: #fff;
  border-radius: 14px;
  padding: 16px 20px;
  text-align: center;
  box-shadow: 0 16px 32px color-mix(in srgb, var(--vw-color-action-primary) 45%, transparent);
  transform: rotate(-3deg);
}

.home-hero-badge strong {
  display: block;
  font-size: 22px;
  line-height: 1.1;
}

.home-hero-badge span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  opacity: 0.9;
}

/* ---- Packages section ---- */

.home-packages {
  padding: 85px 0 90px;
  background: #fff;
}

.home-section-head {
  max-width: 780px;
  margin: 0 auto 50px;
  text-align: center;
}

.home-section-eyebrow {
  margin: 0 0 12px;
  color: var(--vw-color-action-primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

.home-section-title {
  margin: 0 0 18px;
  font-size: 38px;
  line-height: 1.2;
  font-weight: 800;
  color: #111;
}

.home-section-desc-wrap {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.home-section-desc {
  margin: 0;
  color: #666;
  font-size: 16px;
  line-height: 1.75;
  /* Collapsed: clamp to a few lines and fade the tail out (blur fade). */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 55%,
    transparent 100%
  );
  mask-image: linear-gradient(to bottom, #000 0%, #000 55%, transparent 100%);
}

.home-section-desc-wrap.expanded .home-section-desc {
  -webkit-line-clamp: unset;
  -webkit-mask-image: none;
  mask-image: none;
}

/* Expand control */

.home-section-more-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  color: var(--vw-color-action-primary);
  font-size: 14px;
  font-weight: 700;
  user-select: none;
}

.home-section-more-toggle::after {
  content: '▼';
  font-size: 10px;
  transition: transform 0.2s ease;
}

.home-section-more-toggle[aria-expanded='true']::after {
  transform: rotate(180deg);
}

/* Grid + CTA */

.home-tour-grid {
  margin-top: 8px;
}

.home-no-tours {
  text-align: center;
  color: #888;
  padding: 40px 0;
  margin: 0;
}

.home-packages-cta {
  margin-top: 50px;
  text-align: center;
}

/* ---- Why choose us ---- */

.home-why-us {
  padding: 88px 0 94px;
  background: #fff;
  color: var(--vw-color-text-primary);
}

.home-why-us-head {
  margin-bottom: 44px;
}

.home-why-us .home-section-eyebrow {
  color: var(--vw-color-action-primary);
}

.home-why-us .home-section-title {
  color: var(--vw-color-text-primary);
}

.home-why-us .home-section-desc {
  color: #666;
}

.home-why-us-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-why-us-card {
  text-align: center;
}

.home-why-us-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin: 0 auto 19px;
  border-radius: 50%;
  background: var(--vw-color-action-primary);
  color: #fff;
}

.home-why-us-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.home-why-us-card h3 {
  margin: 0 0 12px;
  color: var(--vw-color-text-primary);
  font-size: 16px;
  line-height: 1.38;
}

.home-why-us-card p {
  margin: 0;
  color: #666;
  font-size: 14px;
  line-height: 1.65;
}

/* ---- Traveler stories ---- */

.home-testimonials {
  padding: 90px 0 100px;
  background: #faf7f9;
}

/* ---- Get a quote ---- */

.home-quote-dialog {
  box-sizing: border-box;
  width: 760px !important;
  max-width: calc(100vw - 32px) !important;
  max-height: calc(100vh - 32px);
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
}

.home-quote-dialog::backdrop {
  background: rgba(18, 18, 23, 0.72);
}

.home-quote-card {
  overflow: auto;
  max-height: calc(100vh - 32px);
  padding: 30px;
  background: #fff;
  color: #292729;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.2);
}

.home-quote-dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.home-quote-dialog-head > div {
  min-width: 0;
  flex: 1 1 auto;
}

.home-quote-eyebrow {
  margin: 0 0 8px;
  color: var(--vw-color-action-primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-quote-dialog h2 {
  margin: 0 0 10px;
  color: #292729;
  font-size: 28px;
  line-height: 1.18;
}

.home-quote-dialog-head p:last-child {
  max-width: 570px;
  margin: 0;
  color: #676367;
  line-height: 1.5;
}

.home-quote-close {
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 38px !important;
  min-width: 38px !important;
  height: 38px !important;
  min-height: 38px !important;
  border: 1px solid #bbb7ba !important;
  border-radius: 50% !important;
  background: #fff;
  color: #292729;
  font-size: 28px;
  font-weight: 300;
  line-height: 1;
  margin: 0 !important;
  padding: 0 !important;
}

.home-quote-close:hover {
  border-color: var(--vw-color-action-primary);
  color: var(--vw-color-action-primary-hover);
}

.home-quote-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 0 0 28px;
  list-style: none;
  color: #777477;
  font-size: 13px;
  font-weight: 700;
}

.home-quote-steps li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 2px solid #ddd;
}

.home-quote-steps li.is-active {
  border-color: var(--vw-color-action-primary);
  color: #292729;
}

.home-quote-steps span {
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: #ddd;
  color: #575357;
}

.home-quote-steps .is-active span {
  background: var(--vw-color-action-primary);
  color: #fff;
}

.home-quote-panel {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.home-quote-panel legend {
  margin-bottom: 20px;
  color: #292729;
  font-size: 21px;
  font-weight: 700;
}

.home-quote-form label {
  display: block;
  margin-bottom: 20px;
  color: #292729;
  font-size: 14px;
  font-weight: 700;
}

.home-quote-form label span {
  color: #d01a5d;
}

.home-quote-form input,
.home-quote-form select,
.home-quote-form textarea {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #bdbabd;
  border-radius: 0;
  background: #fff;
  color: #292729;
  font: inherit;
  font-weight: 400;
  margin-top: 8px;
}

.home-quote-form textarea {
  min-height: 108px;
  resize: vertical;
}

.home-quote-form input:focus,
.home-quote-form select:focus,
.home-quote-form textarea:focus {
  outline: 3px solid color-mix(in srgb, var(--vw-color-action-primary) 20%, transparent);
  border-color: var(--vw-color-action-primary);
}

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

.home-quote-grid--name {
  grid-template-columns: minmax(110px, 0.45fr) minmax(0, 1.55fr);
}

.home-quote-next,
.home-quote-submit,
.home-quote-back {
  min-height: 46px;
  padding: 11px 20px;
  border-radius: 999px;
  background: var(--vw-color-action-primary);
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
}

.home-quote-next:hover,
.home-quote-submit:hover {
  background: var(--vw-color-action-primary-hover);
  color: #fff;
}

.home-quote-actions {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.home-quote-back {
  border: 1px solid #777477;
  background: #fff;
  color: #292729;
}

.home-quote-back:hover {
  border-color: #292729;
  background: #f2f0f1;
  color: #292729;
}

.home-quote-message {
  margin-bottom: 22px;
  padding: 13px 15px;
  border-left: 4px solid;
  font-size: 14px;
  line-height: 1.45;
}

.home-quote-message--success {
  border-color: #238636;
  background: #edf9ef;
  color: #155724;
}

.home-quote-message--error {
  border-color: #c53030;
  background: #fff0f0;
  color: #8b1e1e;
}

.home-testimonials-head {
  margin-bottom: 44px;
}

.home-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-testimonial-card {
  display: flex;
  flex-direction: column;
  min-height: 260px;
  padding: 30px 28px 26px;
  border-top: 2px solid var(--vw-color-action-primary);
  background: #fff;
}

.home-testimonial-rating {
  color: var(--vw-color-action-primary);
  font-size: 18px;
  letter-spacing: 3px;
  line-height: 1;
}

.home-testimonial-card blockquote {
  flex: 1;
  margin: 22px 0 26px;
  color: #333;
  font-size: 16px;
  line-height: 1.7;
}

.home-testimonial-card footer {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 18px;
  border-top: 1px solid #f0e8ed;
}

.home-testimonial-card footer strong {
  color: #111;
  font-size: 14px;
}

.home-testimonial-card footer span {
  color: #777;
  font-size: 12px;
}

/* ---- Responsive ---- */

@media (max-width: 849px) {
  .home-hero {
    min-height: 0;
  }

  .home-hero-inner {
    grid-template-columns: 1fr;
    gap: 56px;
    padding: 70px 24px;
  }

  .home-hero-title {
    font-size: 38px;
  }

  .home-hero-frames {
    min-height: 380px;
    max-width: 520px;
  }

  .home-hero-frame--main {
    height: 320px;
  }

  .home-hero-frame--small {
    height: 180px;
  }

  .home-section-title {
    font-size: 30px;
  }

  .home-why-us-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-testimonials-grid {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 549px) {
  .home-hero-inner {
    padding: 54px 20px;
    gap: 44px;
  }

  .home-hero-title {
    font-size: 30px;
  }

  .home-hero-sub {
    font-size: 15px;
  }

  .home-hero-frames {
    min-height: 300px;
  }

  .home-hero-frame--main {
    width: 80%;
    height: 250px;
  }

  .home-hero-frame--small {
    width: 52%;
    height: 150px;
  }

  .home-hero-badge {
    right: -4px;
    padding: 12px 14px;
  }

  .home-hero-badge strong {
    font-size: 18px;
  }

  .home-packages {
    padding: 60px 0 70px;
  }

  .home-why-us {
    padding: 62px 0 68px;
  }

  .home-testimonials {
    padding: 62px 0 68px;
  }

  .home-quote-card {
    padding: 22px 18px;
  }

  .home-quote-grid,
  .home-quote-grid--name {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .home-quote-steps {
    gap: 8px;
    font-size: 11px;
  }

  .home-quote-dialog h2 {
    font-size: 23px;
  }

  .home-why-us-head {
    margin-bottom: 32px;
  }

  .home-why-us-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .home-why-us-card {
    display: grid;
    grid-template-columns: 48px 1fr;
    column-gap: 17px;
    text-align: left;
  }

  .home-why-us-icon {
    grid-row: span 2;
    margin: 0;
  }

  .home-why-us-card h3 {
    align-self: end;
    margin-bottom: 5px;
  }

}
