/* Tour pages built to drive brochure downloads.
 * The WeTravel trip inquiry form sits in the hero (#brochure); every other
 * "Download Brochure" button on the page points back to it.
 * The page teases the trip; course and hotel names live in the brochure.
 */

/* ---------- Hero with the embedded form ---------- */
.tb-hero { background: var(--green-dark); position: relative; overflow: hidden; padding: 124px 0 56px; }
.tb-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .26; }
.tb-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16,41,29,.82) 0%, rgba(16,41,29,.5) 55%, rgba(16,41,29,.25) 100%); }
.tb-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) 520px; gap: 48px; align-items: center; }
.tb-hero .breadcrumb { margin-bottom: 18px; }
.tb-eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.tb-hero h1 { color: var(--white); font-size: clamp(2rem, 3.6vw, 3.05rem); line-height: 1.12; margin-bottom: 16px; }
.tb-lead { color: rgba(255,255,255,.86); font-size: 1.1rem; line-height: 1.65; max-width: 560px; margin-bottom: 20px; }
.tb-ticks { display: flex; flex-direction: column; gap: 9px; margin-bottom: 26px; padding: 0; }
.tb-ticks li { display: flex; gap: 10px; align-items: flex-start; color: var(--white); font-size: 1rem; line-height: 1.45; }
.tb-ticks li::before { content: ""; flex: 0 0 18px; height: 18px; margin-top: 2px; background: var(--gold); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / contain no-repeat; }
.tb-price-row { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; }
.tb-price { color: rgba(255,255,255,.75); font-size: .86rem; line-height: 1.3; }
.tb-price strong { display: block; font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; color: var(--gold); line-height: 1.05; }
.tb-book.wtrvl-checkout_button { background: transparent !important; color: var(--white) !important; border: 1.5px solid rgba(255,255,255,.6) !important; border-radius: 6px !important; padding: 13px 26px !important; font-size: .95rem !important; line-height: 1 !important; cursor: pointer; }
.tb-book.wtrvl-checkout_button:hover { background: rgba(255,255,255,.12) !important; border-color: var(--white) !important; }
.tb-hero-jump { display: none; }

/* The form card */
.tb-card { background: var(--white); border-radius: 14px; box-shadow: 0 24px 60px -18px rgba(0,0,0,.55); padding: 26px 26px 20px; border-top: 4px solid var(--gold); }
.tb-card h2 { font-size: 1.5rem; color: var(--green-dark); margin-bottom: 6px; line-height: 1.2; }
.tb-card-sub { font-size: .92rem; color: #555; margin-bottom: 10px; }
.tb-inside { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; margin: 0 0 16px; padding: 0 0 16px; border-bottom: 1px solid var(--grey-light); }
.tb-inside li { position: relative; padding-left: 16px; font-size: .88rem; font-weight: 600; color: var(--green-dark); line-height: 1.35; }
.tb-inside li::before { content: ""; position: absolute; left: 0; top: .5em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.tb-form { min-height: 120px; }
.tb-card-note { font-size: .78rem; color: var(--grey-mid); text-align: center; margin-top: 12px; line-height: 1.5; }
.tb-card-note a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.tb-card.tb-flash, .tb-slot-card.tb-flash { animation: tb-flash 1.1s ease-out 1; }
@keyframes tb-flash { 0% { box-shadow: 0 0 0 0 rgba(200,168,75,.9), 0 24px 60px -18px rgba(0,0,0,.55); } 100% { box-shadow: 0 0 0 18px rgba(200,168,75,0), 0 24px 60px -18px rgba(0,0,0,.55); } }

/* ---------- Key facts strip ---------- */
.tb-facts { background: #10291d; }
.tb-facts-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.tb-fact { padding: 20px 18px; border-left: 1px solid rgba(255,255,255,.1); }
.tb-fact:first-child { border-left: 0; padding-left: 0; }
.tb-fact dt { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.tb-fact dd { margin: 0; color: var(--white); font-size: .98rem; font-weight: 600; line-height: 1.35; }

/* ---------- Content sections ---------- */
.tb-section { padding: 68px 0; }
.tb-section.alt { background: var(--cream); }
.tb-narrow { max-width: 1040px; }
.tb-section h2 { font-size: clamp(1.6rem, 2.6vw, 2.15rem); color: var(--green-dark); margin-bottom: 14px; }
.tb-section h3 { color: var(--green-dark); }
.tb-intro { color: #555; font-size: 1.03rem; line-height: 1.8; max-width: 760px; }
.tb-intro + .tb-intro { margin-top: 14px; }
.tb-label { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: #8a6d1f; margin-bottom: 10px; }

.tb-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 32px; }
.tb-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; display: block; }

/* Course teasers: what the round is like, never the course name */
.tb-group { font-size: .95rem; font-weight: 700; color: #555; margin: 30px 0 12px; }
.tb-rounds { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; padding: 0; }
.tb-round { display: flex; gap: 16px; background: var(--white); border: 1px solid rgba(0,0,0,.07); border-left: 3px solid var(--gold); border-radius: 10px; padding: 18px 18px 16px; }
.tb-section:not(.alt) .tb-round { background: var(--cream); }
.tb-round-num { flex: 0 0 38px; height: 38px; border-radius: 50%; background: var(--green-dark); color: var(--gold); font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; display: flex; align-items: center; justify-content: center; }
.tb-round h3 { font-size: 1.06rem; font-family: var(--font-body); font-weight: 700; margin-bottom: 4px; line-height: 1.35; }
.tb-round p { color: #555; font-size: .93rem; line-height: 1.6; margin: 0; }
.tb-locked { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: .78rem; font-weight: 700; color: #8a6d1f; text-decoration: none; }
.tb-locked::before { content: ""; width: 12px; height: 12px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E") center / contain no-repeat; }
a.tb-locked:hover { text-decoration: underline; text-underline-offset: 3px; }

/* In-page prompt back to the form */
.tb-cta { display: flex; align-items: center; justify-content: space-between; gap: 18px 28px; flex-wrap: wrap; margin-top: 30px; padding: 22px 26px; background: var(--green-dark); border-radius: 12px; }
.tb-cta p { color: var(--white); font-size: 1.05rem; font-weight: 600; line-height: 1.45; margin: 0; max-width: 600px; }
.tb-cta p span { display: block; font-size: .9rem; font-weight: 400; color: rgba(255,255,255,.72); margin-top: 3px; }
.tb-cta .btn { flex-shrink: 0; }

/* How the trip runs */
.tb-phases { margin-top: 26px; border-top: 1px solid rgba(0,0,0,.09); }
.tb-phase { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid rgba(0,0,0,.09); }
.tb-phase-days { font-weight: 700; color: var(--green-dark); font-size: .95rem; }
.tb-phase h3 { font-size: 1.04rem; font-family: var(--font-body); font-weight: 700; margin-bottom: 3px; }
.tb-phase p { color: #555; font-size: .95rem; line-height: 1.65; margin: 0; }

/* Where you stay */
.tb-stays { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 26px; }
.tb-stays.one { grid-template-columns: 1fr; max-width: 640px; }
.tb-stay { background: var(--white); border: 1px solid rgba(0,0,0,.07); border-radius: 12px; padding: 22px; }
.tb-section:not(.alt) .tb-stay { background: var(--cream); }
.tb-stay h3 { font-size: 1.08rem; font-family: var(--font-body); font-weight: 700; margin-bottom: 6px; }
.tb-stay p { color: #555; font-size: .95rem; line-height: 1.65; margin: 0; }

.tb-section .includes-grid { margin-top: 20px; }
.tb-sub { font-size: 1.15rem; font-family: var(--font-body); font-weight: 700; margin: 34px 0 0; }
.tb-fine { font-size: .9rem; color: #666; margin-top: 26px; line-height: 1.7; }
.tb-fine a { color: var(--green-dark); text-decoration: underline; text-underline-offset: 3px; }

/* Extension / pairing panel */
.tb-extra { display: grid; grid-template-columns: 1fr auto; gap: 20px 32px; align-items: center; background: var(--white); border: 1px solid rgba(200,168,75,.5); border-radius: 12px; padding: 26px 28px; }
.tb-extra h2 { margin-bottom: 8px; }
.tb-extra p { color: #555; font-size: .98rem; line-height: 1.7; margin: 0; max-width: 680px; }
.tb-extra-actions { display: flex; flex-direction: column; gap: 10px; align-items: stretch; text-align: center; }
.tb-extra-actions a:not(.btn) { color: var(--green-dark); font-weight: 600; font-size: .9rem; text-decoration: underline; text-underline-offset: 3px; }

/* Social proof */
.tb-quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 24px; }
.tb-quote { margin: 0; background: var(--white); border-radius: 12px; padding: 24px; border: 1px solid rgba(0,0,0,.07); }
.tb-section:not(.alt) .tb-quote { background: var(--cream); }
.tb-quote p { font-size: 1rem; line-height: 1.7; color: var(--text-body); margin: 0 0 12px; }
.tb-quote footer { font-size: .86rem; color: #666; font-weight: 600; }
.tb-quote-stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 8px; font-size: .95rem; }

/* Closing band */
.tb-final { background: var(--green-dark); padding: 64px 0; text-align: center; }
.tb-final h2 { color: var(--white); font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 10px; }
.tb-final p { color: rgba(255,255,255,.8); font-size: 1.05rem; max-width: 600px; margin: 0 auto 24px; line-height: 1.65; }
.tb-final-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.tb-final-call { margin-top: 20px !important; margin-bottom: 0 !important; font-size: .92rem !important; }
.tb-final-call a { color: var(--gold); font-weight: 600; }

/* ---------- Sticky download bar ---------- */
.tour-cta-bar-actions { display: flex; align-items: center; gap: 10px; }
.tour-cta-bar-book { background: none; border: 0; color: rgba(255,255,255,.85); font: inherit; font-size: .88rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 10px 8px; }
.tour-cta-bar-book:hover { color: var(--white); }
.tour-cta-bar-trip { display: block; font-size: .78rem; color: rgba(255,255,255,.6); }
body.tb-page .footer { padding-bottom: 76px; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .tb-hero-grid { grid-template-columns: minmax(0, 1fr) 430px; gap: 40px; }
}
@media (max-width: 1024px) {
  .tb-hero-grid { grid-template-columns: minmax(0, 1fr) 390px; gap: 36px; }
  .tb-facts-grid { grid-template-columns: repeat(3, 1fr); }
  .tb-fact:nth-child(4) { border-left: 0; padding-left: 0; }
  .tb-fact:nth-child(n+4) { border-top: 1px solid rgba(255,255,255,.1); }
}
@media (max-width: 860px) {
  .tb-hero { padding: 104px 0 36px; }
  .tb-hero-grid { grid-template-columns: 1fr; gap: 26px; }
  .tb-lead { font-size: 1.02rem; margin-bottom: 16px; }
  .tb-ticks { margin-bottom: 20px; }
  .tb-hero-jump { display: inline-flex; }
  .tb-card { padding: 22px 18px 16px; }
  .tb-rounds, .tb-stays, .tb-quotes { grid-template-columns: 1fr; }
  .tb-gallery { grid-template-columns: repeat(2, 1fr); }
  .tb-extra { grid-template-columns: 1fr; }
  .tb-section { padding: 48px 0; }
}
@media (max-width: 640px) {
  .tb-facts-grid { grid-template-columns: repeat(2, 1fr); }
  .tb-fact { padding: 14px 12px; border-left: 0; padding-left: 0; border-top: 1px solid rgba(255,255,255,.1); }
  .tb-fact:nth-child(-n+2) { border-top: 0; }
  .tb-fact:last-child { grid-column: 1 / -1; }
  .tb-phase { grid-template-columns: 1fr; gap: 4px; }
  .tb-cta { padding: 20px; }
  .tb-cta .btn { width: 100%; justify-content: center; }
  .tb-price strong { font-size: 1.9rem; }
  .tour-cta-bar-book { display: none; }
  .tour-cta-bar-trip { display: none; }
}
@media (prefers-reduced-motion: reduce) { .tb-card.tb-flash, .tb-slot-card.tb-flash { animation: none; } }

/* WeTravel popup open (widget type still "Popup"): keep the sticky bar out of its way */
.wt-form-open .tour-cta-bar { transform: translateY(100%) !important; }

/* The form opened lower down the page, under the button that was clicked */
.tb-card-return { display: none; width: 100%; justify-content: center; }
.tb-card-away .tb-card-return { display: flex; }
.tb-card-away .tb-inside { border-bottom: 0; padding-bottom: 4px; }
.tb-slot { margin-top: 18px; }
.tb-slot-card { position: relative; max-width: 560px; background: var(--white); border-radius: 14px; border-top: 4px solid var(--gold); box-shadow: 0 18px 48px -20px rgba(0,0,0,.45); padding: 24px 24px 20px; text-align: left; }
.tb-final .tb-slot-card { margin: 0 auto; }
.tb-slot-card h3 { font-family: var(--font-display); font-size: 1.35rem; color: var(--green-dark); margin: 0 36px 4px 0; }
.tb-slot-sub { font-size: .9rem; color: #555; margin: 0 0 14px; }
.tb-final .tb-slot-sub { color: #555; max-width: none; }
.tb-slot-x { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border: 0; background: none; font-size: 1.1rem; color: #888; cursor: pointer; border-radius: 50%; }
.tb-slot-x:hover { background: var(--grey-light); color: var(--charcoal); }
@media (max-width: 640px) { .tb-slot-card { padding: 20px 16px 16px; } }
