/* ============================================================
   what-we-do.css — WHAT WE DO page-specific section styles.
   Shared chrome (nav, footer, buttons, tokens, type) lives in /site.css.
   ============================================================ */

/* Shared primitives (.bg-white/.bg-sand, .serif-title, .dot, .ext, .caption,
   .btn-outline*, .band-navy) now live in site.css so every page shares them. */

/* ---- HERO is shared in site.css (.hero/.hero-bg/.hero-content/.hero-btns/.hero-caption) ---- */

/* ---- TAB NAV ---- */
.tabnav { background: var(--white); border-bottom: 1px solid #e8e4dc; }
.tabnav-inner {
  max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter);
  display: flex; justify-content: center; gap: 34px; flex-wrap: wrap;
}
.tabnav a {
  font-size: 15px; letter-spacing: -0.02em;
  padding: 20px 2px; position: relative; margin-bottom: -1px;
  /* hover highlights the word left-to-right: an ink layer wipes across the
     grey base, clipped to the glyphs */
  color: transparent;
  background-image: linear-gradient(var(--ink), var(--ink)), linear-gradient(#6f6f6f, #6f6f6f);
  background-repeat: no-repeat;
  background-size: 0% 100%, 100% 100%;
  background-position: 0 0, 0 0;
  -webkit-background-clip: text; background-clip: text;
  transition: background-size .45s cubic-bezier(.22, .61, .36, 1);
}
.tabnav a:hover { background-size: 100% 100%, 100% 100%; }
/* selecting a tab draws its underline in from the left (the site's wipe) */
.tabnav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: var(--ink); transform: scaleX(0); transform-origin: left center;
  transition: transform .4s cubic-bezier(.22, .61, .36, 1);
}
.tabnav a.active { background-size: 100% 100%, 100% 100%; font-weight: 500; }
.tabnav a.active::after { transform: scaleX(1); }

/* ---- TRAVEL SECTIONS (two-column) — tabbed: only the active panel shows ---- */
.travel { padding: 66px 0 72px; display: none; }
.travel.is-active { display: block; }
#immersive .section-icon { height: 78px; }
#cruise   .section-icon { height: 60px; }
#family   .section-icon { height: 104px; margin-top: 10px; }
#wellness .section-icon { height: 64px; }
#adventure .section-icon { height: 66px; }
#business .section-icon { height: 70px; }

/* .two-col + .media (and the .ready band) are shared in site.css */



/* ---- WHY TRAVELLERS CHOOSE US ---- */
.why-choose { padding: 70px 0 80px; text-align: center; }
.why-choose .serif-title { margin-bottom: 28px; }
.why-lead {
  font-family: var(--sans); font-weight: 400;
  font-size: 28px; line-height: 36px; letter-spacing: -0.03em;
  color: var(--ink); max-width: 720px; margin: 0 auto 28px;
}
.why-body { color: var(--ink-soft); max-width: 880px; margin: 0 auto 18px; }
.why-choose .btn-outline { margin-top: 22px; }

/* ---- TESTIMONIAL ---- */
.testimonial { padding: 96px 0 116px; }
.t-grid { gap: 40px; align-items: center; }
.t-media img { aspect-ratio: 600 / 594; }
.t-right { display: flex; flex-direction: column; }
.t-right .serif-title { text-align: center; margin-bottom: 32px; }
.t-card { position: relative; }
.t-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; }
.t-prev { left: -18px; }
.t-next { right: -18px; }
.t-arrow img { width: 36px; height: 36px; }
.t-body { background: var(--sand); border-radius: 20px; padding: 30px 56px; }
.quote-icon { width: 32px; height: 32px; margin-bottom: 14px; }
.t-quote { font-weight: 700; font-size: 16px; color: var(--ink); margin-bottom: 14px; }
.t-text { font-size: 15px; line-height: 23px; color: #3a3a3a; margin-bottom: 16px; }
.t-author { font-weight: 700; font-size: 15px; color: var(--ink); }

/* ---- FEATURE (full-width container image) ---- */
.feature-image { padding: 28px 0 64px; }
.feature-image .media img { aspect-ratio: 1232 / 670; }

/* ---- WHY USE A TRAVEL AGENT ---- */
.why-agent { padding: 72px 0 100px; }
.agent-grid { gap: 64px; align-items: start; }
.agent-head .serif-title { line-height: 80px; }
.agent-body p { color: var(--ink-soft); margin-bottom: 20px; max-width: 540px; }
.agent-body .pill-navy { margin-top: 8px; }

/* ---- READY band is shared in site.css ---- */

/* ---- RESPONSIVE (What We Do sections) ---- */
/* Tab nav: once the row no longer fits (natural width ~930px), stop wrapping and
   scroll horizontally instead — one row, swipe/scroll to reach the rest. */
@media (max-width: 1024px) {
  .tabnav-inner {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 28px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;          /* Firefox */
  }
  .tabnav-inner::-webkit-scrollbar { display: none; }   /* WebKit */
  .tabnav a { flex: 0 0 auto; white-space: nowrap; }
}

@media (max-width: 900px) {
  .serif-title { font-size: 40px; line-height: 48px; }
  .agent-grid, .t-grid { grid-template-columns: 1fr; gap: 32px; }
  .hotel-band { grid-template-columns: 1fr; gap: 18px; }
  .why-lead { font-size: 24px; line-height: 30px; }
}
@media (max-width: 560px) {
  .content .sub { font-size: 24px; line-height: 30px; }
  .t-body { padding: 26px 22px; }
  .t-prev { left: 4px; } .t-next { right: 4px; }
}

/* sheet-driven intro paragraphs between the hero and the journey tabs */
.wwd-intro { padding: 56px 0 8px; }
.wwd-intro-body { max-width: 980px; margin: 0 auto; text-align: center; }
.wwd-intro-body p { color: var(--ink-soft); margin-bottom: 18px; }
