/**
 * Home page — BromoHub-style sections
 * Prefix: v2-*
 */

 /* Testimonial avatar gradients — bypass WindPress */
.wb-grad-orange-rose { background: linear-gradient(to bottom right, #fb923c, #f43f5e) !important; }
.wb-grad-sky-blue { background: linear-gradient(to bottom right, #38bdf8, #2563eb) !important; }
.wb-grad-amber-clay { background: linear-gradient(to bottom right, #fde68a, #c4694a) !important; }
.wb-grad-violet-purple { background: linear-gradient(to bottom right, #a78bfa, #9333ea) !important; }
.wb-grad-amber-orange { background: linear-gradient(to bottom right, #fbbf24, #ea580c) !important; }
.wb-grad-gray { background: linear-gradient(to bottom right, #9ca3af, #4b5563) !important; }
.wb-grad-green-emerald { background: linear-gradient(to bottom right, #4ade80, #059669) !important; }
.wb-grad-pink { background: linear-gradient(to bottom right, #f472b6, #db2777) !important; }
.wb-grad-teal-cyan { background: linear-gradient(to bottom right, #2dd4bf, #0891b2) !important; }
.wb-grad-indigo { background: linear-gradient(to bottom right, #818cf8, #4f46e5) !important; }
.wb-grad-red { background: linear-gradient(to bottom right, #f87171, #dc2626) !important; }
.wb-grad-yellow { background: linear-gradient(to bottom right, #facc15, #ca8a04) !important; }
.wb-grad-lime { background: linear-gradient(to bottom right, #a3e635, #65a30d) !important; }

/* Ensure gradient visibility */
[class*="wb-grad-"],
.bg-gradient-to-br {
    display: inline-flex !important;
}

/* ── Section headings ── */
.v2-sec-head {
  font-weight: 600;
  font-size: clamp(1.75rem, 3.5vw, 2.375rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #0d1117;
}

.v2-sec-sub {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
  color: #8892a4;
}

/* Hero + CTA titles */
.v2-hero-title {
  font-weight: 600;
}

.v2-cta-title {
  font-weight: 600;
}

/* ── Draggable horizontal carousels ── */
.v2-carousel-track {
  cursor: grab;
}

.v2-carousel-track.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.v2-carousel-track.is-dragging * {
  pointer-events: none;
}

.v2-carousel-track img {
  -webkit-user-drag: none;
  user-select: none;
}

/* ── Moments section content slot ── */
.wbw-moments-content > .e-con {
    --padding-top: 0;
    --padding-bottom: 0;
    --padding-left: 0;
    --padding-right: 0;
}

.wbw-moments-content .elementor-widget-container {
    margin: 0 !important;
    padding: 0 !important;
}

.elementor-editor-active .wbw-moments-content.e-con {
    min-height: 120px;
}

/* ── Adventures grid ── */
.v2-adventures-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .v2-adventures-grid {
    grid-template-columns: 1fr 1.15fr;
    gap: 20px;
  }
}

.v2-adventure-feature {
  position: relative;
  min-height: 420px;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

@media (min-width: 768px) {
  .v2-adventure-feature {
    min-height: 520px;
  }
}

.v2-adventure-feature-title {
  max-width: 9.5em;
  margin: 0;
  font-size: clamp(1.75rem, 3.2vw, 2.375rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: #fff;
}

.v2-adventure-feature-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 1rem;
  padding: 10px 18px;
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: #0d1117;
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), gap 0.25s ease,
    box-shadow 0.25s ease;
}

.v2-adventure-feature-cta:hover {
  gap: 10px;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.v2-adventure-feature-cta svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.v2-adventure-cards {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .v2-adventure-cards {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}

.v2-adventure-card {
  border-radius: 1.25rem;
  border: 1px solid var(--v2-glass-light-border, rgba(255, 255, 255, 0.85));
  background: var(--v2-glass-light-bg, rgba(255, 255, 255, 0.62));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
  box-shadow: var(--v2-glass-light-shadow, 0 8px 32px rgba(15, 23, 42, 0.06));
  transition: box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.v2-adventure-card:hover {
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.12);
  transform: translateY(-4px);
}

.v2-book-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #0d1117;
  text-decoration: none;
  transition: gap 0.2s;
}

.v2-book-link:hover {
  gap: 10px;
}

.v2-book-link svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

/* ── Testimonial tilt cards + draggable carousel ── */
.v2-testimonials-wrap {
  overflow: visible;
}

.v2-testimonials {
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
  gap: 16px;
  margin: 0;
  padding: 28px 20px 32px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-padding-inline: 20px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.v2-testimonials::-webkit-scrollbar {
  display: none;
}

.v2-testimonial {
  flex-shrink: 0;
  width: min(260px, calc(100vw - 72px));
  padding: 16px;
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 10px 36px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transform-origin: center bottom;
  scroll-snap-align: start;
  transition: box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.v2-testimonial:hover {
  box-shadow: 0 16px 44px rgba(15, 23, 42, 0.12);
  transform: rotate(0) translateY(0) scale(1.03) !important;
  z-index: 5 !important;
}

.v2-testimonials.is-dragging .v2-testimonial {
  transition: box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 640px) {
  .v2-testimonial {
    width: clamp(220px, 32vw, 260px);
  }
}

@media (min-width: 1100px) {
  .v2-testimonials {
    align-items: flex-end;
    gap: 0;
    padding: 32px 28px 36px;
  }

  .v2-testimonial {
    width: clamp(200px, 28vw, 240px);
  }

  /* Repeating fan — keeps tilt rhythm while scrolling through more cards */
  .v2-testimonial:nth-child(5n + 1) {
    transform: rotate(-4deg) translateY(8px);
    z-index: 1;
  }

  .v2-testimonial:nth-child(5n + 1):not(:first-child) {
    margin-left: -12px;
  }

  .v2-testimonial:nth-child(5n + 2) {
    transform: rotate(-2deg) translateY(4px);
    margin-left: -12px;
    z-index: 2;
  }

  .v2-testimonial:nth-child(5n + 3) {
    transform: rotate(0deg);
    margin-left: -12px;
    z-index: 3;
  }

  .v2-testimonial:nth-child(5n + 4) {
    transform: rotate(2deg) translateY(4px);
    margin-left: -12px;
    z-index: 2;
  }

  .v2-testimonial:nth-child(5n + 5) {
    transform: rotate(4deg) translateY(8px);
    margin-left: -12px;
    z-index: 1;
  }
}

.v2-stars {
  color: #f5a623;
  font-size: 12px;
  letter-spacing: 1px;
}

/* ── How to Book section ── */
.v2-book-eyebrow {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #8892a4;
}

.v2-book-section-head {
  margin-bottom: 20px;
  font-size: clamp(2.5rem, 5.5vw, 3.75rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #0d1117;
}

@media (min-width: 768px) {
  .v2-book-section-head {
    margin-bottom: 24px;
  }
}

.v2-book-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
  margin: 0 0 48px;
  padding: 0;
  list-style: none;
}

@media (min-width: 768px) {
  .v2-book-tags {
    gap: 14px 32px;
    margin-bottom: 56px;
  }
}

.v2-book-tag {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 13px;
  font-weight: 500;
  color: #4a5568;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.v2-book-tag-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: #f5a623;
}

/* Image + glass overlay */
.v2-book-figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 1.5rem;
}

.v2-book-figure-img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

@media (min-width: 1024px) {
  .v2-book-figure-img {
    aspect-ratio: auto;
    min-height: 520px;
  }
}

.v2-book-image-glass {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 1rem;
}

.v2-book-image-glass-text {
  flex: 1;
  min-width: min(100%, 200px);
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.92);
  line-height: 2;
}

.v2-book-image-glass-cta {
  height: 40px;
  padding: 0 6px 0 16px;
  font-size: 13px;
  font-weight: 500;
}

.v2-book-image-glass-cta-icon {
  width: 28px;
  height: 28px;
}

.v2-book-image-glass-cta-icon svg {
  width: 14px;
  height: 14px;
}

.v2-book-steps-head {
  margin: 0 0 24px;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #0d1117;
}

/* ── Booking steps accordion ── */
.v2-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.v2-step {
  border-radius: 1rem;
  border: 1px solid transparent;
  overflow: hidden;
  transition: background 0.25s, border-color 0.25s;
}

.v2-step.is-open {
  background: #f7f9fc;
  border-color: #e8ecf2;
}

.v2-step-toggle {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}

.v2-step-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #0d1117;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.v2-step.is-open .v2-step-num {
  background: #0d1117;
}

.v2-step:not(.is-open) .v2-step-num {
  background: #e8ecf2;
  color: #4a5568;
}

.v2-step-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  stroke: #4a5568;
  stroke-width: 2;
  fill: none;
}

.v2-step.is-open .v2-step-icon {
  stroke: #0d1117;
}

.v2-step-title {
  flex: 1;
  font-size: 15px;
  font-weight: 600;
  color: #0d1117;
}

.v2-step-chevron {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  stroke: #8892a4;
  stroke-width: 2;
  fill: none;
  transition: transform 0.25s;
}

.v2-step.is-open .v2-step-chevron {
  transform: rotate(180deg);
}

.v2-step-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.v2-step.is-open .v2-step-body {
  grid-template-rows: 1fr;
}

.v2-step-body-inner {
  overflow: hidden;
}

.v2-step-body-inner p {
  padding: 0 18px 18px 64px;
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #8892a4;
}

/* ── Search (standalone section below hero) ── */
.v2-search {
  padding-top: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(232, 236, 242, 0.8);
}

@media (min-width: 768px) {
  .v2-search {
    padding-top: 4rem;
    padding-bottom: 3rem;
  }
}

.v2-search-head {
  margin-bottom: 1.25rem;
  text-align: center;
}

.v2-search-eyebrow {
  margin: 0 0 0.5rem;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent, #c4694a);
}

.v2-search-title {
  margin: 0;
  font-size: clamp(1.375rem, 2.5vw, 1.75rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #0d1117;
}

.v2-search-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.v2-search-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.375rem;
  padding: 0 1rem;
  border: 1px solid #e8ecf2;
  border-radius: 999px;
  background: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  color: #8892a4;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.v2-search-tab svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  flex-shrink: 0;
}

.v2-search-tab:hover {
  color: #0d1117;
  border-color: rgba(196, 105, 74, 0.35);
}

.v2-search-tab.is-active {
  background: #0d1117;
  border-color: #0d1117;
  color: #fff;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(13, 17, 23, 0.12);
}

.v2-search-form {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 1.25rem;
}

.v2-search-fields {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .v2-search-form {
    flex-direction: row;
    align-items: stretch;
  }

  .v2-search-fields {
    flex: 1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .v2-search-fields {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.v2-search-field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.875rem 1.125rem;
  border-bottom: 1px solid rgba(232, 236, 242, 0.9);
}

@media (min-width: 768px) {
  .v2-search-field {
    border-bottom: none;
    border-right: 1px solid rgba(232, 236, 242, 0.9);
  }

  .v2-search-field:nth-child(2n) {
    border-right: none;
  }
}

@media (min-width: 1024px) {
  .v2-search-field:nth-child(2n) {
    border-right: 1px solid rgba(232, 236, 242, 0.9);
  }

  .v2-search-field:last-child {
    border-right: none;
  }
}

.v2-search-field label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8892a4;
}

.v2-search-field select {
  border: none;
  outline: none;
  padding: 0;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: #0d1117;
  background: transparent;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238892a4' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
  padding-right: 1.25rem;
}

.v2-search-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.25rem;
  padding: 0 1.75rem;
  border: none;
  background: #0d1117;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.v2-search-submit:hover {
  background: #1a2332;
}

.v2-search-submit svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2.5;
  fill: none;
}

@media (min-width: 768px) {
  .v2-search-submit {
    min-width: 9.5rem;
    min-height: auto;
  }
}

/* ── Trust bar ── */
.v2-trust-bar {
  padding: 0 0 2.5rem;
}

@media (min-width: 768px) {
  .v2-trust-bar {
    padding-bottom: 3rem;
  }
}

.v2-trust-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 2rem;
  margin: 0;
  padding: 0.875rem 1.25rem;
  list-style: none;
  border-radius: 1rem;
  border: 1px solid var(--v2-glass-light-border, rgba(255, 255, 255, 0.85));
  background: var(--v2-glass-light-bg, rgba(255, 255, 255, 0.62));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--v2-glass-light-shadow, 0 8px 32px rgba(15, 23, 42, 0.06));
}

.v2-trust-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 12px;
  font-weight: 500;
  color: #4a5568;
}

.v2-trust-item svg {
  width: 15px;
  height: 15px;
  stroke: var(--accent, #c4694a);
  stroke-width: 2;
  fill: none;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .v2-trust-list {
    gap: 0.75rem 1.25rem;
    padding: 0.75rem 1rem;
  }

  .v2-trust-item {
    font-size: 11px;
  }
}

/* ── Associated partners ── */
.v2-associated-section {
  padding: 5rem 0;
  background: none;
}

@media (min-width: 1024px) {
  .v2-associated-section {
    padding: 6.5rem 0;
  }
}

.v2-associated-heading {
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
}

.v2-associated-eyebrow {
  margin: 0 0 0.875rem;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent, #c4694a);
}

.v2-associated-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.85rem, 3.6vw, 2.5rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #0d1117;
}

.v2-associated-subtitle {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.4;
  color: #111827;
}

.v2-associated-logos-carousel {
  margin-top: 2.5rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  display: flex;
  justify-content: center;
}

.v2-associated-logos-carousel:focus-visible {
  outline: 2px solid rgba(148, 163, 184, 0.8);
  outline-offset: 2px;
}

.v2-associated-logos-track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  width: fit-content;
  margin-inline: auto;
  padding: 0.5rem 0.25rem 0.75rem;
}

.v2-associated-logos-item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.9;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease-out, opacity 0.2s ease-out;
}

.v2-associated-logos-item:hover,
.v2-associated-logos-item:focus-visible {
  opacity: 1;
  transform: translateY(-2px);
}

.v2-associated-logos-logo {
  display: block;
  max-height: 90px;
  max-width: 220px;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.v2-associated-logos-logo.is-blend-white {
  mix-blend-mode: multiply;
}

.v2-associated-logos-fallback {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7280;
}

@media (max-width: 767px) {
  .v2-associated-heading {
    text-align: center;
    margin-inline: auto;
  }

  .v2-associated-logos-track {
    gap: 2rem;
  }

  .v2-associated-logos-logo {
    max-height: 70px;
    max-width: 180px;
  }
}
