/* ============================================================
   template-why-book-with-us.css
   Theron Travels — Premium "Why Book With Us" Section v3.0
   ALL selectors scoped to #why-book-with-us / .tt-wbu-*
   Zero risk of leaking into index.css or main.css
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400;1,600&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ── SCOPED TOKENS ── */
#why-book-with-us {
  --wbu-gold:     #d4a853;
  --wbu-gold-lt:  #f0c878;
  --wbu-ink:      #ffffff;
  --wbu-muted:    rgba(255,255,255,0.68);
  --wbu-dim:      rgba(255,255,255,0.42);
  --wbu-bg:       #07080f;
  --wbu-surface:  rgba(255,255,255,0.042);
  --wbu-surface2: rgba(255,255,255,0.072);
  --wbu-border:   rgba(255,255,255,0.09);
  --wbu-border2:  rgba(255,255,255,0.15);
  --wbu-shadow:   0 20px 55px rgba(0,0,0,0.45);
  --wbu-radius:   2px;
  --wbu-easing:   cubic-bezier(0.22, 1, 0.36, 1);
  font-family: 'DM Sans', sans-serif;
}

/* ── SECTION SHELL ── */
.tt-wbu-section {
  position: relative;
  background: var(--wbu-bg);
  padding: 100px 0 110px;
  overflow: hidden;
  /* Override any .section opacity/transform from index.css */
  opacity: 1 !important;
  transform: none !important;
}

/* ── AMBIENT BACKGROUND ── */
.tt-wbu-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.tt-wbu-bg-grain {
  position: absolute;
  inset: -50%;
  width: 200%;
  height: 200%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.028;
  animation: tt-grain 8s steps(10) infinite;
}

@keyframes tt-grain {
  0%,100% { transform: translate(0,0); }
  10% { transform: translate(-2%,-3%); }
  20% { transform: translate(3%,2%); }
  30% { transform: translate(-1%,4%); }
  40% { transform: translate(2%,-2%); }
  50% { transform: translate(-3%,1%); }
  60% { transform: translate(1%,-4%); }
  70% { transform: translate(4%,3%); }
  80% { transform: translate(-2%,2%); }
  90% { transform: translate(2%,-1%); }
}

.tt-wbu-bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.18;
}
.tt-wbu-bg-glow--left {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #8b6914 0%, transparent 70%);
  top: -100px; left: -180px;
}
.tt-wbu-bg-glow--right {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #1a3a5c 0%, transparent 70%);
  bottom: -80px; right: -120px;
}

/* ── CONTAINER ── */
.tt-wbu-container {
  position: relative;
  z-index: 1;
}

/* ── EYEBROW ── */
.tt-wbu-eyebrow {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 36px;
  justify-content: center;
}
.tt-wbu-eyebrow__line {
  flex: 1;
  height: 1px;
  max-width: 120px;
  background: linear-gradient(to right, transparent, var(--wbu-gold));
}
.tt-wbu-eyebrow__line:last-child {
  background: linear-gradient(to left, transparent, var(--wbu-gold));
}
.tt-wbu-eyebrow__text {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--wbu-gold);
}

/* ── HEADLINE ── */
.tt-wbu-headline-wrap {
  text-align: center;
  margin-bottom: 52px;
}
.tt-wbu-headline {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-bottom: 18px;
}
.tt-wbu-headline__top {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 300;
  letter-spacing: -0.01em;
  color: var(--wbu-muted);
}
.tt-wbu-headline__bottom {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--wbu-ink);
  line-height: 1.0;
}
.tt-wbu-headline__bottom em {
  font-style: italic;
  color: var(--wbu-gold);
}
.tt-wbu-subhead {
  max-width: 660px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--wbu-muted);
  font-weight: 300;
}

/* ── STAT RIBBON ── */
.tt-wbu-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 64px;
  padding: 28px 40px;
  background: var(--wbu-surface);
  border: 1px solid var(--wbu-border);
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}
.tt-wbu-stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(212,168,83,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.tt-wbu-stat {
  flex: 1;
  text-align: center;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.tt-wbu-stat__num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--wbu-ink);
  line-height: 1;
  display: flex;
  align-items: flex-start;
}
.tt-wbu-stat__plus {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--wbu-gold);
  align-self: flex-start;
  margin-top: 4px;
  margin-left: 2px;
}
.tt-wbu-stat__label {
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wbu-dim);
  margin-top: 6px;
  font-weight: 500;
}
.tt-wbu-stat__divider {
  width: 1px;
  height: 48px;
  background: var(--wbu-border2);
  flex-shrink: 0;
}

/* ── MAIN GRID ── */
.tt-wbu-grid {
  display: grid;
  grid-template-columns: 1fr 420px 1fr;
  gap: 40px;
  align-items: start;
}

/* ── PILLARS (LEFT) ── */
.tt-wbu-pillars {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tt-wbu-pillar {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 22px 24px;
  background: var(--wbu-surface);
  border: 1px solid var(--wbu-border);
  border-left: 2px solid transparent;
  position: relative;
  transition: 
    transform 0.4s var(--wbu-easing),
    border-color 0.4s ease,
    background 0.4s ease,
    box-shadow 0.4s ease;
  cursor: default;
}
.tt-wbu-pillar::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 2px; height: 0;
  background: var(--wbu-gold);
  transition: height 0.4s var(--wbu-easing);
}
.tt-wbu-pillar:hover {
  transform: translateX(6px);
  border-left-color: var(--wbu-gold);
  background: var(--wbu-surface2);
  box-shadow: var(--wbu-shadow);
}
.tt-wbu-pillar:hover::before { height: 100%; }

.tt-wbu-pillar__icon {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  background: rgba(212,168,83,0.1);
  border: 1px solid rgba(212,168,83,0.22);
  color: var(--wbu-gold);
  font-size: 1.2rem;
  transition: background 0.4s ease, color 0.4s ease, transform 0.4s ease;
}
.tt-wbu-pillar:hover .tt-wbu-pillar__icon {
  background: var(--wbu-gold);
  color: #07080f;
  transform: rotate(6deg) scale(1.08);
}

.tt-wbu-pillar__title {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--wbu-ink);
  margin: 0 0 6px;
  letter-spacing: 0.01em;
}
.tt-wbu-pillar__text {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--wbu-muted);
  margin: 0;
  font-weight: 300;
}

/* ── CTA ROW ── */
.tt-wbu-cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.tt-wbu-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.3s var(--wbu-easing), box-shadow 0.3s ease, background 0.3s ease;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.tt-wbu-btn--primary {
  background: var(--wbu-gold);
  color: #07080f;
  border-color: var(--wbu-gold);
}
.tt-wbu-btn--primary::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.28), transparent);
  transition: left 0.6s ease;
}
.tt-wbu-btn--primary:hover { 
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(212,168,83,0.4);
  color: #07080f;
}
.tt-wbu-btn--primary:hover::after { left: 100%; }

.tt-wbu-btn--ghost {
  background: transparent;
  color: var(--wbu-ink);
  border-color: var(--wbu-border2);
}
.tt-wbu-btn--ghost:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.28);
  color: var(--wbu-ink);
}

/* ── VISUAL (CENTER) ── */
.tt-wbu-visual {
  position: sticky;
  top: 100px;
}
.tt-wbu-visual__frame {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}
.tt-wbu-visual__img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--wbu-easing);
  filter: saturate(1.1) contrast(1.05);
}
.tt-wbu-visual__frame:hover .tt-wbu-visual__img {
  transform: scale(1.07);
}

/* Floating badge */
.tt-wbu-visual__badge {
  position: absolute;
  top: 24px; right: -18px;
  z-index: 2;
}
.tt-wbu-badge-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 88px; height: 88px;
  border-radius: 50%;
  background: var(--wbu-gold);
  color: #07080f;
  font-size: 0.68rem;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.3;
  box-shadow: 0 8px 30px rgba(212,168,83,0.5);
  animation: tt-badge-float 3s ease-in-out infinite;
}
.tt-wbu-badge-inner i {
  font-size: 1.3rem;
}

@keyframes tt-badge-float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Quote overlay */
.tt-wbu-visual__quote {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 32px 28px 24px;
  background: linear-gradient(to top, rgba(7,8,15,0.96) 0%, rgba(7,8,15,0.7) 60%, transparent 100%);
}
.tt-wbu-visual__quote blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--wbu-ink);
  margin: 0 0 8px;
  line-height: 1.5;
  border: none;
  padding: 0;
}
.tt-wbu-visual__quote cite {
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wbu-gold);
  font-style: normal;
  font-family: 'DM Sans', sans-serif;
}

/* ── TRUST CARDS (RIGHT) ── */
.tt-wbu-trust {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tt-wbu-trust-card {
  padding: 22px 24px;
  background: var(--wbu-surface);
  border: 1px solid var(--wbu-border);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.tt-wbu-trust-card:hover {
  border-color: var(--wbu-border2);
  box-shadow: 0 10px 35px rgba(0,0,0,0.3);
}

.tt-wbu-trust-card__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wbu-gold);
}
.tt-wbu-trust-card__header i { font-size: 1rem; }

/* Markets */
.tt-wbu-markets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tt-wbu-market {
  font-size: 0.82rem;
  padding: 5px 12px;
  border: 1px solid var(--wbu-border);
  color: var(--wbu-muted);
  background: var(--wbu-surface);
  font-weight: 400;
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}
.tt-wbu-market:hover {
  border-color: var(--wbu-gold);
  color: var(--wbu-gold);
  background: rgba(212,168,83,0.08);
}

/* Team bars */
.tt-wbu-team-bars { display: flex; flex-direction: column; gap: 14px; }
.tt-wbu-bar-item { display: flex; align-items: center; gap: 12px; }
.tt-wbu-bar-label {
  font-size: 0.82rem;
  color: var(--wbu-muted);
  flex: 1;
  white-space: nowrap;
  min-width: 110px;
}
.tt-wbu-bar-track {
  flex: 1;
  height: 3px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
}
.tt-wbu-bar-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(to right, var(--wbu-gold), var(--wbu-gold-lt));
  transition: width 1.2s var(--wbu-easing) 0.3s;
}
.tt-wbu-bar-val {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--wbu-ink);
  min-width: 32px;
  text-align: right;
}

/* Contact card */
.tt-wbu-trust-card--contact { background: rgba(212,168,83,0.04); border-color: rgba(212,168,83,0.16); }
.tt-wbu-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--wbu-border);
  font-size: 0.85rem;
  color: var(--wbu-muted);
}
.tt-wbu-contact-item:last-child { border-bottom: none; }
.tt-wbu-contact-item i {
  color: var(--wbu-gold);
  margin-top: 2px;
  flex-shrink: 0;
}
.tt-wbu-contact-link {
  color: var(--wbu-muted);
  text-decoration: none;
  border-bottom: 1px solid rgba(212,168,83,0.28);
  transition: color 0.25s, border-color 0.25s;
}
.tt-wbu-contact-link:hover {
  color: var(--wbu-gold);
  border-color: var(--wbu-gold);
}

/* ── REVEAL ANIMATIONS ── */
[data-wbu-reveal] {
  opacity: 0;
  transition: opacity 0.8s var(--wbu-easing), transform 0.8s var(--wbu-easing);
}
[data-wbu-reveal="fade-up"]    { transform: translateY(30px); }
[data-wbu-reveal="fade-right"] { transform: translateX(-30px); }
[data-wbu-reveal="fade-left"]  { transform: translateX(30px); }
[data-wbu-reveal="zoom-in"]    { transform: scale(0.95); }

[data-wbu-reveal].tt-wbu-visible {
  opacity: 1;
  transform: none;
}

/* ── LIGHT THEME OVERRIDE ── */
body.light-theme .tt-wbu-section {
  background: #f5f4f0;
  --wbu-ink:     rgba(10,10,20,0.92);
  --wbu-muted:   rgba(10,10,20,0.65);
  --wbu-dim:     rgba(10,10,20,0.42);
  --wbu-surface: rgba(10,10,20,0.04);
  --wbu-surface2:rgba(10,10,20,0.07);
  --wbu-border:  rgba(10,10,20,0.10);
  --wbu-border2: rgba(10,10,20,0.16);
}
body.light-theme .tt-wbu-bg-glow--left  { opacity: 0.10; }
body.light-theme .tt-wbu-bg-glow--right { opacity: 0.08; }
body.light-theme .tt-wbu-visual__quote  { background: linear-gradient(to top, rgba(245,244,240,0.96) 0%, rgba(245,244,240,0.7) 60%, transparent 100%); }
body.light-theme .tt-wbu-visual__quote blockquote { color: rgba(10,10,20,0.92); }
body.light-theme .tt-wbu-btn--ghost { color: rgba(10,10,20,0.85); border-color: rgba(10,10,20,0.2); }
body.light-theme .tt-wbu-btn--ghost:hover { background: rgba(0,0,0,0.04); }

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  [data-wbu-reveal]    { transition: none !important; }
  .tt-wbu-bg-grain     { animation: none !important; }
  .tt-wbu-badge-inner  { animation: none !important; }
  .tt-wbu-visual__img  { transition: none !important; }
  .tt-wbu-pillar       { transition: none !important; }
  .tt-wbu-btn          { transition: none !important; }
  .tt-wbu-bar-fill     { transition: none !important; }
}

/* ── RESPONSIVE ── */
@media (max-width: 1199.98px) {
  .tt-wbu-grid { grid-template-columns: 1fr 360px 1fr; gap: 28px; }
}
@media (max-width: 991.98px) {
  .tt-wbu-section { padding: 72px 0 80px; }
  .tt-wbu-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }
  .tt-wbu-visual { position: static; order: -1; }
  .tt-wbu-visual__frame { aspect-ratio: 16/9; }
  .tt-wbu-stats { flex-wrap: wrap; padding: 20px 24px; }
  .tt-wbu-stat { min-width: 130px; }
}
@media (max-width: 575.98px) {
  .tt-wbu-section { padding: 56px 0 64px; }
  .tt-wbu-headline__bottom { font-size: 2.2rem; }
  .tt-wbu-stats { flex-direction: column; align-items: flex-start; gap: 16px; }
  .tt-wbu-stat__divider { width: 40px; height: 1px; }
  .tt-wbu-cta-row { flex-direction: column; }
  .tt-wbu-btn { width: 100%; justify-content: center; }
  .tt-wbu-visual__badge { right: 12px; top: 12px; }
}