/* ================================================================
   True Blue Tour — Homepage Base
================================================================ */

.tbt-home {
  background: var(--tbt-bg);
  color: var(--tbt-ink);
  font-family: var(--tbt-sans);
}

.tbt-home-shell {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 36px;
}

/* ================================================================
   Homepage Buttons
================================================================ */

.tbt-home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 24px;
  text-decoration: none;
  font-family: var(--tbt-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: all 180ms ease;
  /* Mobile-overflow guard — long CTAs like "TAILOR-MADE ENQUIRY" must
     never push the page wider than the viewport. */
  max-width: 100%;
  box-sizing: border-box;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tbt-home-btn--primary {
  background: var(--tbt-primary);
  border: 1px solid var(--tbt-primary);
  color: #ffffff;
}

.tbt-home-btn--primary:hover {
  background: var(--tbt-accent);
  border-color: var(--tbt-accent);
  color: #ffffff;
}

.tbt-home-btn--ghost {
  background: rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #ffffff;
}

.tbt-home-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.85);
  color: #ffffff;
}

.tbt-home-btn--light {
  background: #ffffff;
  border: 1px solid #ffffff;
  color: var(--tbt-accent);
}

.tbt-home-btn--light:hover {
  background: transparent;
  color: #ffffff;
}

/* ================================================================
   Homepage Trust Bar
================================================================ */

.tbt-home-trust {
  background: #ffffff;
  border-bottom: 1px solid var(--tbt-border);
}

.tbt-home-trust__inner {
  min-height: 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  gap: 24px;
}

.tbt-home-trust__inner span {
  position: relative;
  padding-left: 14px;
  font-family: var(--tbt-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--tbt-muted);
  white-space: nowrap;
}

.tbt-home-trust__inner span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 4px;
  height: 4px;
  margin-top: -2px;
  border-radius: 999px;
  background: var(--tbt-primary);
}

/* ================================================================
   Homepage Sections
================================================================ */

.tbt-home-section {
  padding: 72px 0 78px;
  background: var(--tbt-bg);
}

.tbt-home-section--destinations {
  background: var(--tbt-bg-2);
}

.tbt-home-section--featured {
  background: #ffffff;
}

.tbt-home-section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 42px;
}

.tbt-home-eyebrow {
  margin: 0 0 12px;
  font-family: var(--tbt-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  /* color: var(--tbt-muted); */
  color: var(--tbt-primary);
}

.tbt-home-section__head h2,
.tbt-home-story__copy h2,
.tbt-home-cta h2 {
  margin: 0;
  font-family: var(--tbt-serif);
  font-size: clamp(31px, 3.2vw, 40px);
  line-height: 1.12;
  font-weight: 300;
  color: var(--tbt-ink);
}

.tbt-home-section__link {
  text-decoration: none;
  font-family: var(--tbt-sans);
  font-size: 13px;
  font-weight: 400;
  color: var(--tbt-muted);
  transition: color 180ms ease;
}

.tbt-home-section__link:hover {
  color: var(--tbt-primary);
}

/* ================================================================
   Featured Tour Cards
================================================================ */

.tbt-home-tour-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.tbt-home-tour-card {
  background: #ffffff;
  border: 1px solid var(--tbt-border);
}

.tbt-home-tour-card__image {
  position: relative;
  display: block;
  height: 215px;
  overflow: hidden;
  text-decoration: none;
  background: #ddd;
}

.tbt-home-tour-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease;
}

.tbt-home-tour-card:hover .tbt-home-tour-card__image img {
  transform: scale(1.035);
}

.tbt-home-tour-card__image span {
  position: absolute;
  left: 18px;
  top: 18px;
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 0 14px;
  background: #ffffff;
  color: var(--tbt-ink);
  font-family: var(--tbt-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.tbt-home-tour-card__body {
  padding: 22px 24px 24px;
}

.tbt-home-tour-card__meta {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  font-family: var(--tbt-sans);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.tbt-home-tour-card__meta strong {
  color: var(--tbt-primary);
  font-weight: 500;
}

.tbt-home-tour-card__meta span,
.tbt-home-tour-card__meta em {
  color: var(--tbt-muted);
  font-style: normal;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: none;
}

.tbt-home-tour-card h3 {
  margin: 0 0 14px;
  font-family: var(--tbt-serif);
  font-size: 23px;
  line-height: 1.22;
  font-weight: 400;
  color: var(--tbt-ink);
}

.tbt-home-tour-card h3 a {
  color: inherit;
  text-decoration: none;
}

.tbt-home-tour-card p {
  min-height: 64px;
  margin: 0 0 22px;
  font-family: var(--tbt-sans);
  font-size: 13.5px;
  line-height: 1.65;
  font-weight: 300;
  color: var(--tbt-muted);
}

.tbt-home-tour-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--tbt-border);
}

.tbt-home-tour-card__footer strong {
  font-family: var(--tbt-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--tbt-ink);
}

.tbt-home-tour-card__footer a {
  text-decoration: none;
  font-family: var(--tbt-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--tbt-primary);
}

/* ================================================================
   Homepage Story
================================================================ */

.tbt-home-section--story {
  background: var(--tbt-bg);
}

.tbt-home-story {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 58px;
  align-items: center;
}

.tbt-home-story__copy > p:not(.tbt-home-eyebrow) {
  max-width: 600px;
  margin: 24px 0 36px;
  font-family: var(--tbt-sans);
  font-size: 15.5px;
  line-height: 1.75;
  font-weight: 300;
  color: var(--tbt-muted);
}

.tbt-home-story__points {
  display: grid;
  gap: 24px;
}

.tbt-home-story__points article {
  padding-left: 28px;
  border-left: 2px solid var(--tbt-primary);
}

.tbt-home-story__points strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--tbt-sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--tbt-ink);
}

.tbt-home-story__points span {
  display: block;
  max-width: 520px;
  font-family: var(--tbt-sans);
  font-size: 14px;
  line-height: 1.65;
  font-weight: 300;
  color: var(--tbt-muted);
}

.tbt-home-story__image {
  min-height: 480px;
  overflow: hidden;
  background: #ddd;
}

.tbt-home-story__image img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
}

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

.tbt-home-cta {
  padding: 76px 0;
  background: #063f48;
  color: #ffffff;
}

.tbt-home-cta .tbt-home-shell {
  display: grid;
  grid-template-columns: 1fr 280px;
  align-items: center;
  gap: 56px;
}

.tbt-home-cta .tbt-home-eyebrow {
  color: rgba(255, 255, 255, 0.48);
}

.tbt-home-cta h2 {
  max-width: 720px;
  color: #ffffff;
}

/* ================================================================
   Homepage Responsive
================================================================ */

@media (max-width: 1023px) {
  .tbt-home-shell,
  .tbt-home-hero__shell {
    padding-left: 24px;
    padding-right: 24px;
  }

  .tbt-home-trust__inner {
    grid-template-columns: repeat(2, 1fr);
    padding: 22px 0;
    gap: 16px 28px;
  }

  .tbt-home-tour-grid,
  .tbt-home-story,
  .tbt-home-cta .tbt-home-shell {
    grid-template-columns: 1fr;
  }

  .tbt-home-tour-card__image {
    height: 220px;
  }

  .tbt-home-story {
    gap: 44px;
  }

  .tbt-home-story__image,
  .tbt-home-story__image img {
    min-height: 420px;
  }

  .tbt-home-cta .tbt-home-shell {
    gap: 32px;
  }
}

@media (max-width: 640px) {
  .tbt-home-shell,
  .tbt-home-hero__shell {
    padding-left: 18px;
    padding-right: 18px;
  }

  .tbt-home-btn {
    width: 100%;
  }

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

  .tbt-home-section {
    padding: 64px 0;
  }

  .tbt-home-section__head {
    display: block;
    margin-bottom: 34px;
  }

  .tbt-home-section__link {
    display: inline-flex;
    margin-top: 18px;
  }

  .tbt-home-story__copy > p:not(.tbt-home-eyebrow) {
    font-size: 15px;
  }

  .tbt-home-cta {
    padding: 72px 0;
  }
}

@media (max-width: 767px) {
  .tbt-home-section--featured .tbt-home-tour-grid,
  .tbt-home-section--destinations .tbt-home-dest-grid,
  .tbt-home-section--blog .tbt-blog-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(78vw, 320px);
    grid-template-columns: none;
    gap: 16px;
    overflow-x: auto;
    overflow-y: visible;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 2px 0 14px;
    margin-right: -18px;
    padding-right: 18px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .tbt-home-section--featured .tbt-home-tour-grid::-webkit-scrollbar,
  .tbt-home-section--destinations .tbt-home-dest-grid::-webkit-scrollbar,
  .tbt-home-section--blog .tbt-blog-grid::-webkit-scrollbar {
    width: 0;
    height: 0;
  }

  .tbt-home-section--featured .tbt-home-tour-grid > *,
  .tbt-home-section--destinations .tbt-home-dest-grid > *,
  .tbt-home-section--blog .tbt-blog-grid > * {
    scroll-snap-align: start;
  }

  .tbt-home-section--featured .tbt-home-tour-card {
    min-height: 100%;
  }

  .tbt-home-section--featured .tbt-home-tour-card__image {
    height: 190px;
  }

  .tbt-home-section--featured .tbt-home-tour-card__body {
    padding: 18px 18px 20px;
  }

  .tbt-home-section--featured .tbt-home-tour-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .tbt-home-section--featured .tbt-home-tour-card p {
    min-height: 0;
    margin-bottom: 18px;
  }

  .tbt-home-section--featured .tbt-home-tour-card__footer {
    gap: 12px;
    padding-top: 14px;
  }

  .tbt-home-section--destinations .tbt-home-dest-card {
    width: 100%;
  }

  .tbt-home-section--blog .tbt-blog-card {
    min-height: 440px;
  }

  .tbt-home-section--blog .tbt-blog-card__body {
    padding: 18px;
  }

  .tbt-home-section--blog .tbt-blog-card h3 {
    font-size: 1.4rem;
  }

  .tbt-home-section--blog .tbt-blog-card p {
    -webkit-line-clamp: 3;
    min-height: calc(1.75em * 3);
  }

  .tbt-home-section--blog .tbt-blog-card__tags {
    margin-top: 14px;
    max-height: none;
  }
}
