/* Earlier trust on the homepage, brought over from the redesign:
   hero proof (years + customer quote) and the "we organise the details" reassurance band.
   Colours are scoped to these components so the rest of the page keeps its current palette. */
/* Compact hero so the proof row sits above the fold on a typical laptop screen. */
.hero { min-height: min(900px, 90svh); }
.hero > .container { width: 100%; }
.hero-content { padding: 112px 0 40px; }
.hero h1 { font-size: clamp(2.4rem, 3.7vw, 3.2rem); line-height: 1.1; margin-bottom: 18px; }
.hero-sub { font-size: 1rem; line-height: 1.65; margin-bottom: 24px; }
.hero-ctas { margin-bottom: 0; }
.hero-trust {
  display: grid; grid-template-columns: minmax(0, 1fr); align-items: start;
  margin-top: 28px; gap: 14px 24px; padding-top: 20px; border-top: 1px solid #ffffff38;
}
.hero-trust-item { display: flex; align-items: flex-start; gap: 7px; font-size: .75rem; line-height: 1.6; color: #e8d5a3; }
.hero-trust-item svg { flex-shrink: 0; margin-top: 3px; color: #91d4ac; }
.review-stars { color: #ad7612; font-size: 1.25rem; line-height: 1; letter-spacing: .12em; }
.hero-testimonial { margin: 0; color: #faf8f5; }
.hero-testimonial .review-stars { display: block; margin-bottom: 8px; color: #e8bf60; font-size: .95rem; }
.hero-testimonial p { margin: 0; font-size: .85rem; line-height: 1.55; }
.hero-testimonial-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 0 18px; margin-top: 6px; }
.hero-testimonial cite { font-size: .7rem; line-height: 1.6; font-style: normal; }
.hero-testimonial a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: #e8d5a3; font-size: .73rem; text-decoration: underline; text-underline-offset: 4px; }
.hero-testimonial a:hover { color: #fff; }

.tour-management {
  --tm-green: #153c2f; --tm-rule: #d9d8ca; --tm-grey: #635f55;
  padding-block: 64px; background: #f7f4eb; border-bottom: 1px solid var(--tm-rule);
}
.tour-management .container { max-width: 1320px; padding-inline: 40px; }
.management-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: start; }
.management-intro h2 { margin: 16px 0 20px; font-size: clamp(1.9rem, 3vw, 2.65rem); line-height: 1.2; letter-spacing: -.025em; color: var(--tm-green); }
.management-intro p { max-width: 490px; color: var(--tm-grey); font-size: .95rem; line-height: 1.75; margin-bottom: 16px; }
.text-link {
  display: inline-flex; align-items: center; gap: 16px; min-height: 44px; line-height: 1.6;
  color: var(--tm-green); font-size: .9rem; font-weight: 600;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px;
}
.text-link:hover { color: #765b1b; }
.management-details { margin: 0; }
.management-details > div { padding: 18px 0; border-top: 1px solid var(--tm-rule); }
.management-details > div:first-child { padding-top: 0; border-top: 0; }
.management-details > div:last-child { padding-bottom: 0; }
.management-details dt { display: flex; align-items: center; gap: 10px; font-size: 1rem; font-weight: 600; color: var(--tm-green); }
.management-details dt svg { flex-shrink: 0; color: #765b1b; }
.management-details dd { margin: 8px 0 0 30px; color: var(--tm-grey); font-size: .9rem; line-height: 1.7; }

@media (max-width: 1100px) { .management-layout { gap: 40px; } }
@media (max-width: 768px) {
  .hero { min-height: 0; }
  .hero-content { padding: 104px 0 32px; }
  .hero h1 { font-size: clamp(2rem, 9vw, 3.1rem); margin-bottom: 16px; }
  .hero-sub { font-size: .94rem; line-height: 1.6; margin-bottom: 20px; }
  .hero-trust { grid-template-columns: 1fr; gap: 12px; margin-top: 24px; padding-top: 18px; }
  .tour-management { padding-block: 40px; }
  .tour-management .container { padding-inline: 24px; }
  .management-layout { grid-template-columns: 1fr; gap: 28px; }
  .management-intro h2 { font-size: 2.05rem; }
}

/* Early CTAs: send visitors to the trips (and their brochures) rather than to a contact form. */
#tours, #testimonials { scroll-margin-top: 90px; }
.story-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.story-actions .text-link { color: var(--green-dark); }

/* "How it works" now sits right under the reassurance band; step links read on the dark background. */
.how-section { scroll-margin-top: 90px; }
.step-item p a { color: #e8d5a3; text-decoration: underline; text-underline-offset: 3px; }
.step-item p a:hover { color: #fff; }


/* ---------- Us vs a typical tour ---------- */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.compare-section { background: #fff; }
.compare-table { width: 100%; max-width: 1040px; margin: 0 auto; border-collapse: separate; border-spacing: 0; table-layout: fixed; }
.compare-table th, .compare-table td { padding: 22px 26px; text-align: left; vertical-align: top; }
.compare-table thead th { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; padding-top: 26px; padding-bottom: 20px; }
.compare-table thead td { width: 22%; }
.compare-table thead .cmp-them { color: #8a857c; }
.compare-table thead .cmp-us { color: #e8d5a3; background: #153c2f; border-radius: 14px 14px 0 0; }
.compare-table tbody th { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #765b1b; border-top: 1px solid #e7e3d8; padding-top: 26px; }
.compare-table tbody td { font-size: .98rem; line-height: 1.6; border-top: 1px solid #e7e3d8; }
.compare-table td.cmp-them { color: #77726a; }
.compare-table td.cmp-us { color: #f5f1e6; background: #153c2f; border-top-color: #ffffff1f; font-weight: 500; }
.compare-table tbody tr:last-child td.cmp-us { border-radius: 0 0 14px 14px; }
.compare-table td { display: table-cell; }
.compare-table td > span:last-child { display: block; }
.compare-table td.cmp-them, .compare-table td.cmp-us { position: relative; padding-left: 62px; }
.cmp-icon { position: absolute; left: 24px; top: 21px; display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; }
.cmp-icon svg { display: block; filter: drop-shadow(0 2px 4px rgba(0,0,0,.18)); }
.compare-table tbody tr.fade-up { transform: none; }
.compare-table td.cmp-us { box-shadow: 0 30px 40px -40px #0b2a1e; }

@media (max-width: 768px) {
  .compare-table, .compare-table tbody, .compare-table tr, .compare-table th, .compare-table td { display: block; width: 100%; }
  .compare-table thead { display: none; }
  .compare-table tbody tr { margin-bottom: 18px; border: 1px solid #e7e3d8; border-radius: 14px; overflow: hidden; }
  .compare-table tbody th { border-top: 0; padding: 16px 18px 10px; }
  .compare-table tbody td { border-top: 0; padding: 12px 18px 16px 58px; }
  .compare-table td::before { content: attr(data-label); display: block; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 4px; }
  .compare-table td.cmp-them::before { color: #a39d92; }
  .compare-table td.cmp-us::before { color: #e8d5a3; }
  .cmp-icon { left: 18px; top: 14px; }
  .compare-table tbody tr:last-child td.cmp-us { border-radius: 0; }
}
.compare-result { max-width: 1040px; margin: 36px auto 0; display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; padding: 26px 30px; border-radius: 14px; background: #f7f4eb; border: 1px solid #e7e3d8; }
.compare-result p { margin: 0; font-family: var(--font-display); font-size: 1.3rem; line-height: 1.4; color: #153c2f; }
.compare-result strong { color: #765b1b; }
@media (max-width: 768px) { .compare-result { padding: 22px 20px; } .compare-result p { font-size: 1.12rem; } .compare-result .btn { width: 100%; } }
.compare-cta { margin-top: 36px; text-align: center; }
/* Keep the gold headline line on one line at every width */
.hero h1 em { display: inline-block; white-space: nowrap; font-size: min(1em, 6.1vw); }
.cmp-emoji { font-size: 1.55rem; line-height: 1; width: auto; height: auto; top: 18px; }
@media (max-width: 768px) { .cmp-emoji { top: 12px; } }

/* Testimonials: swipeable carousel on tablet/mobile (all three reviews, next card peeks in). */
.testi-swipe { display: none; }
@media (max-width: 1024px) {
  .testimonials-grid {
    display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
    --testi-gutter: 28px; scroll-padding-inline: var(--testi-gutter); padding: 4px var(--testi-gutter) 12px; margin-inline: calc(-1 * var(--testi-gutter));
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .testimonials-grid::-webkit-scrollbar { display: none; }
  .testimonials-grid > * { flex: 0 0 46%; scroll-snap-align: start; }
  .testimonials-grid > *:last-child, .testimonials-grid > *:nth-child(n+2) { display: block; }
  .testimonials-grid .fade-up { opacity: 1; transform: none; }
  .testi-swipe { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 18px; color: var(--green-dark); font-size: .85rem; font-weight: 600; }
  .testi-dots { display: flex; gap: 8px; }
  .testi-dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: rgba(26,71,49,.25); cursor: pointer; transition: background .2s, width .2s; }
  .testi-dots button.active { width: 24px; border-radius: 5px; background: var(--gold); }
  .testi-swipe-hint { animation: testi-nudge 1.6s ease-in-out infinite; }
}
@media (max-width: 768px) {
  .testimonials-grid > * { flex-basis: 85%; }
}
@media (max-width: 480px) {
  .testimonials-grid { --testi-gutter: 16px; }
}
@keyframes testi-nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(6px); } }
@media (prefers-reduced-motion: reduce) { .testi-swipe-hint { animation: none; } }

/* Tour cards: lead with the holiday; courses and inclusions sit behind a toggle. */
#tours .tour-selling-point { color: var(--green-dark); font-size: 1rem; font-weight: 500; line-height: 1.6; margin-bottom: 6px; }
#tours details.tour-card-detail { margin-bottom: 18px; }
#tours .tour-card-detail summary { cursor: pointer; color: var(--green-dark); font-size: .83rem; font-weight: 600; padding-block: 8px; text-decoration: underline; text-underline-offset: 3px; }
#tours .tour-card-detail[open] summary { margin-bottom: 8px; }
#tours .tour-card-detail p { font-size: .88rem; }
#tours .tour-card-detail .tour-includes { margin-bottom: 0; }

/* Tour cards: line up meta, title, line, toggle and price across each row (subgrid), and lay out the buttons the same way on every card. */
@supports (grid-template-rows: subgrid) {
  #tours .tours-grid > .tour-card { display: grid; grid-template-rows: subgrid; grid-row: span 6; row-gap: 0; }
  #tours .tour-card-body { display: grid; grid-template-rows: subgrid; grid-row: span 5; row-gap: 0; }
  #tours .tour-card-body > .tour-meta { align-self: start; }
  #tours .tour-card-body > .tour-card-foot { align-self: stretch; }
}
#tours .tour-card-body > .tour-selling-point { flex: none; }
#tours .tour-card-foot { flex-direction: column; align-items: stretch; gap: 14px !important; }
#tours .tour-card-foot > div + div { display: flex !important; flex-direction: row !important; align-items: stretch !important; gap: 8px !important; }
#tours .tour-card-foot > div + div > * { flex: 1; text-align: center; }
#tours .tour-card-foot > a.btn { text-align: center; }
#tours .tour-card-foot > div + div, #tours .tour-card-foot > a.btn { margin-top: auto; }
#tours .tour-card-foot button { padding-inline: 10px !important; white-space: nowrap; }

/* Prestige column now comes first: no shadow spilling onto the stacked card below on mobile */
@media (max-width: 768px) { .compare-table td.cmp-us { box-shadow: none; } }

/* Cards without a courses toggle (custom tour, partner events): keep the price/button row on the shared bottom row */
@supports (grid-template-rows: subgrid) {
  #tours .tour-card-body > .tour-card-foot { grid-row: 5; }
}

/* Testimonials: green tick instead of initials (no headshots) */
.author-av.author-av-tick { background: #2e9e5b; }

/* WeTravel inquiry form button (shadow DOM, sized by WeTravel): keep it natural width and let Book Now fill the rest at the same height */
#tours .tour-card-foot > div + div { align-items: center !important; }
#tours .tour-card-foot > div + div > [data-wt-embed] { flex: 0 0 auto; }
#tours .tour-card-foot > div + div > button { flex: 1 1 auto; }
