/* ==========================================================
   VIDEO BANNER
   All custom selectors are prefixed with "vbb-" so this file
   does not accidentally style another section of the website.
   ========================================================== */

.vbb-scope,
.vbb-scope * {
  box-sizing: border-box;
}

.vbb-scope {
  --vbb-navy: #08294b;
  --vbb-gold: #f3ad12;
  --vbb-dark: #071824;
  --vbb-white: #ffffff;
  --vbb-blue: #168bcf;
  width: 100%;
  color: var(--vbb-navy);
}

.vbb-scope button,
.vbb-scope a {
  -webkit-tap-highlight-color: transparent;
}

.vbb-projects-shell {
  width: min(1600px, calc(100% - 52px));
  margin: 28px auto;
  padding: 28px 18px 24px;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 10px 35px rgba(8, 41, 75, .08);
}

.vbb-hero-header {
  position: relative;
  min-height: 145px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-radius: 20px;
  padding: 0 28px;
}

.vbb-hero-copy {
  position: relative;
  z-index: 2;
  width: min(72%, 1080px);
}

.vbb-hero-accent {
  display: block;
  width: 68px;
  height: 6px;
  margin-bottom: 14px;
  border-radius: 50px;
  background: #168bcf;
}

.vbb-hero-title {
  margin: 0;
  color: var(--vbb-navy);
  font-size: clamp(34px, 3.1vw, 58px);
  line-height: 1.03;
  font-weight: 800;
  letter-spacing: -1.5px;
}

.vbb-hero-title span {
  color: #168bcf;
}

.vbb-hero-description {
  max-width: 1050px;
  margin: 12px 0 0;
  color: #172b3e;
  font-size: clamp(15px, 1.05vw, 20px);
  line-height: 1.35;
  font-weight: 400;
}

.vbb-hero-visual-wrap {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  width: 42%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  pointer-events: none;
}

.vbb-hero-visual {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right center;
}


/* ==========================================================
   DESKTOP PROJECT GRID
   ========================================================== */

.vbb-projects-area {
  position: relative;
}

.vbb-projects-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.vbb-project-card {
  position: relative;
  min-width: 0;
  aspect-ratio: 0.77 / 1;
  overflow: hidden;
  border-radius: 18px;
  background: #071824;
  cursor: pointer;
  isolation: isolate;
  box-shadow: 0 8px 20px rgba(0,0,0,.12);
  transition: transform .25s ease, box-shadow .25s ease;
}

.vbb-project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0,0,0,.18);
}

.vbb-card-image {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.vbb-card-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(
      to bottom,
      rgba(0,0,0,0) 20%,
      rgba(0,0,0,.08) 40%,
      rgba(2,17,29,.78) 76%,
      rgba(2,17,29,.98) 100%
    );
}

.vbb-card-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 4;
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 2px solid rgba(255,255,255,.85);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: rgba(4,20,32,.48);
  color: #fff;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}

.vbb-card-play i {
  margin-left: 4px;
}

.vbb-card-content {
  position: absolute;
  inset: auto 18px 18px;
  z-index: 3;
  color: #fff;
}

.vbb-card-script {
  margin-bottom: -2px;
  font-family: "Brush Script MT", "Segoe Script", cursive;
  font-size: clamp(30px, 2.4vw, 50px);
  line-height: .85;
  color: #fff;
  transform: rotate(-5deg);
}

.vbb-card-title {
  color: #fff;
  font-size: clamp(25px, 2vw, 42px);
  line-height: .98;
  font-weight: 850;
  text-transform: uppercase;
}

.vbb-gold {
  color: #168bcf;
}

.vbb-card-highlight {
  display: inline-block;
  margin-top: 8px;
  padding: 4px 10px 5px;
  background: #168bcf;
  color: #fff;
  font-size: clamp(22px, 1.8vw, 36px);
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
}

.vbb-card-subtitle {
  margin-top: 7px;
  color: #fff;
  font-size: clamp(20px, 1.55vw, 32px);
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
}

.vbb-card-bullets {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  margin-top: 17px;
}

.vbb-card-bullet {
  min-width: 0;
  flex: 1 1 0;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  color: #fff;
  font-size: clamp(10px, .72vw, 14px);
  line-height: 1.08;
  font-weight: 700;
}

.vbb-card-bullet i {
  flex: 0 0 auto;
  color: #168bcf;
  font-size: 17px;
}


/* ==========================================================
   MOBILE ARROWS
   ========================================================== */

.vbb-mobile-arrow {
  display: none;
}


/* ==========================================================
   FULL-SCREEN VIEWER
   ========================================================== */

.vbb-viewer {
  position: fixed;
  inset: 0;
  z-index: 99990;
  display: none;
  grid-template-columns: minmax(0, 1fr) 390px;
  background: #000;
}

.vbb-viewer.vbb-open {
  display: grid;
}

body.vbb-viewer-open {
  overflow: hidden;
}

.vbb-viewer-video-panel {
  position: relative;
  min-width: 0;
  background: #000;
  overflow: hidden;
}

.vbb-back-btn {
  position: absolute;
  top: 20px;
  left: 18px;
  z-index: 20;
  border: 0;
  border-radius: 7px;
  padding: 8px 13px;
  background: #27333b;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

.vbb-video-stage {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 24px 90px;
}

.vbb-video-frame {
  position: relative;
  width: min(430px, 72vw);
  height: min(765px, 88vh);
  overflow: hidden;
  border-radius: 10px;
  background: #111;
  box-shadow: 0 0 0 1px rgba(255,255,255,.06);
}

.vbb-video-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.vbb-video-loading {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: #111;
  color: #fff;
  font-size: 14px;
}

.vbb-video-loading.vbb-hidden {
  display: none;
}

.vbb-spinner {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255,255,255,.25);
  border-top-color: #fff;
  border-radius: 50%;
  animation: vbbSpin .8s linear infinite;
}

@keyframes vbbSpin {
  to { transform: rotate(360deg); }
}

.vbb-reel-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 8;
  padding: 26px 20px 18px;
  color: #fff;
  background: linear-gradient(
    to top,
    rgba(0,0,0,.94),
    rgba(0,0,0,.72) 55%,
    transparent
  );
}

.vbb-reel-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.vbb-reel-copy strong {
  font-size: 19px;
  line-height: 1.15;
}

.vbb-reel-copy span {
  font-size: 15px;
}

.vbb-reel-copy b {
  font-size: 17px;
}

.vbb-reel-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}

.vbb-whatsapp-btn {
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #20c967;
  color: #fff;
  text-decoration: none;
  font-size: 27px;
}

.vbb-callback-btn {
  min-height: 50px;
  flex: 1;
  border: 0;
  border-radius: 10px;
  background: #ffd21a;
  color: #111;
  font-size: 16px;
  font-weight: 800;
}

.vbb-details-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 28px 28px 30px;
  background: #fff;
  color: #12283d;
}

.vbb-close-btn {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  color: #08294b;
  font-size: 24px;
}

.vbb-details-heading {
  margin: 0 45px 22px 0;
  color: #172b3e;
  font-size: 30px;
  line-height: 1.1;
  font-weight: 800;
}

.vbb-details-list {
  width: 100%;
}

.vbb-detail-row {
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 82px;
  border-bottom: 1px solid #ddd;
}

.vbb-detail-icon {
  width: 30px;
  flex: 0 0 30px;
  color: #075798;
  font-size: 25px;
  text-align: center;
}

.vbb-detail-label {
  color: #75808b;
  font-size: 14px;
  line-height: 1.1;
}

.vbb-detail-value {
  margin-top: 4px;
  color: #071824;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 700;
}

.vbb-details-btn {
  width: 100%;
  min-height: 52px;
  margin-top: auto;
  border: 0;
  border-radius: 9px;
  background: #303030;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
}

.vbb-nav-project {
  position: absolute;
  right: 24px;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(30,30,30,.9);
  color: #fff;
  font-size: 24px;
  z-index: 20;
}

.vbb-nav-next {
  top: 57%;
}

.vbb-nav-prev {
  top: 47%;
}


/* ==========================================================
   CALLBACK MODAL
   ========================================================== */

.vbb-callback-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: none;
  place-items: center;
  padding: 20px;
}

.vbb-callback-modal.vbb-open {
  display: grid;
}

.vbb-callback-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.65);
}

.vbb-callback-card {
  position: relative;
  z-index: 2;
  width: min(430px, 100%);
  padding: 30px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
}

.vbb-callback-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: #08294b;
}

.vbb-callback-card h3 {
  margin: 0 35px 8px 0;
  color: #08294b;
  font-size: 27px;
  font-weight: 800;
}

.vbb-callback-card p {
  margin: 0 0 20px;
  color: #67717a;
  font-size: 14px;
}

.vbb-form-control {
  min-height: 48px;
  margin-bottom: 12px;
}

.vbb-submit-btn {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  background: #ffd21a;
  color: #111;
  font-weight: 800;
}

.vbb-form-success {
  display: none;
  margin-top: 14px;
  color: #16834a;
  font-size: 14px;
  font-weight: 700;
}

.vbb-form-success.vbb-show {
  display: block;
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 1100px) {
  .vbb-projects-shell {
    width: calc(100% - 30px);
    padding: 22px 14px;
  }

  .vbb-projects-grid {
    gap: 15px;
  }

  .vbb-card-content {
    inset: auto 13px 13px;
  }

  .vbb-card-bullets {
    gap: 6px;
  }

  .vbb-card-bullet {
    font-size: 9px;
  }

  .vbb-viewer {
    grid-template-columns: minmax(0, 1fr) 350px;
  }
}


/* ==========================================================
   MOBILE
   Only the mobile presentation changes.
   Desktop grid remains untouched.
   ========================================================== */

@media (max-width: 767.98px) {

  .vbb-projects-shell {
    width: 100%;
    margin: 0;
    padding: 22px 10px 24px;
    border-radius: 0;
    box-shadow: none;
  }

  .vbb-hero-header {
    min-height: 0;
    display: block;
    padding: 0 10px;
    overflow: visible;
  }

  .vbb-hero-copy {
    width: 100%;
  }

  .vbb-hero-accent {
    width: 80px;
    height: 6px;
    margin: 0 0 17px;
  }

  .vbb-hero-title {
    font-size: clamp(32px, 8.3vw, 42px);
    line-height: .98;
    letter-spacing: -1px;
  }

  .vbb-hero-description {
    margin-top: 15px;
    font-size: 16px;
    line-height: 1.28;
  }

  .vbb-hero-visual-wrap {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    height: 132px;
    margin: 8px 0 2px;
    justify-content: flex-end;
    overflow: hidden;
  }

  .vbb-hero-visual {
    width: 82%;
    height: 132px;
    object-fit: contain;
    object-position: right center;
  }

  .vbb-projects-area {
    margin-top: 0;
    padding: 0;
  }

  .vbb-projects-grid {
    display: block;
    width: 100%;
  }

  .vbb-project-card {
    display: none;
    width: 100%;
    aspect-ratio: .83 / 1;
    min-height: 0;
    border-radius: 19px;
    box-shadow: 0 10px 25px rgba(0,0,0,.15);
  }

  .vbb-project-card.vbb-project-card-active {
    display: block;
  }

  .vbb-card-image {
    object-position: center center;
  }

  .vbb-card-content {
    inset: auto 20px 17px;
  }

  .vbb-card-script {
    font-size: 36px;
  }

  .vbb-card-title {
    font-size: clamp(27px, 8vw, 38px);
  }

  .vbb-card-highlight {
    font-size: clamp(25px, 7.2vw, 36px);
    padding: 5px 9px 6px;
  }

  .vbb-card-subtitle {
    font-size: 26px;
  }

  .vbb-card-bullets {
    gap: 8px;
    margin-top: 16px;
  }

  .vbb-card-bullet {
    font-size: 10px;
  }

  .vbb-card-bullet i {
    font-size: 16px;
  }

  .vbb-card-play {
    width: 72px;
    height: 72px;
    font-size: 33px;
  }

  /* Left/right navigation is centered vertically on the card. */
  .vbb-mobile-arrow {
    position: absolute;
    top: 50%;
    z-index: 15;
    width: 42px;
    height: 58px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 12px;
    transform: translateY(-50%);
    background: rgba(4, 20, 32, .78);
    color: #fff;
    font-size: 25px;
    box-shadow: 0 5px 16px rgba(0,0,0,.2);
  }

  .vbb-mobile-arrow-left {
    left: 1px;
  }

  .vbb-mobile-arrow-right {
    right: 1px;
  }

  .vbb-mobile-arrow:active {
    transform: translateY(-50%) scale(.94);
  }


  /* ---------- Mobile video viewer ---------- */

  .vbb-viewer {
    grid-template-columns: 1fr;
    overflow: auto;
  }

  .vbb-viewer-video-panel {
    min-height: 100dvh;
  }

  .vbb-details-panel {
    display: none;
  }

  .vbb-video-stage {
    min-height: 100dvh;
    height: 100dvh;
    padding: 54px 9px 12px;
  }

  .vbb-video-frame {
    width: min(100%, 430px);
    height: min(calc(100dvh - 68px), 760px);
    border-radius: 9px;
  }

  .vbb-back-btn {
    top: 12px;
    left: 12px;
  }

  .vbb-nav-project {
    width: 45px;
    height: 45px;
    right: 10px;
    font-size: 20px;
  }

  .vbb-nav-next {
    top: 55%;
  }

  .vbb-nav-prev {
    top: 45%;
  }

  .vbb-reel-bottom {
    padding: 24px 14px 13px;
  }

  .vbb-reel-copy strong {
    font-size: 17px;
  }

  .vbb-reel-copy span {
    font-size: 13px;
  }

  .vbb-reel-copy b {
    font-size: 15px;
  }

  .vbb-whatsapp-btn {
    width: 47px;
    height: 47px;
    flex-basis: 47px;
  }

  .vbb-callback-btn {
    min-height: 47px;
    font-size: 14px;
  }

}


/* ==========================================================
   SMALL MOBILE
   ========================================================== */

@media (max-width: 380px) {

  .vbb-projects-shell {
    padding-left: 8px;
    padding-right: 8px;
  }

  .vbb-hero-title {
    font-size: 31px;
  }

  .vbb-hero-description {
    font-size: 15px;
  }

  .vbb-hero-visual-wrap,
  .vbb-hero-visual {
    height: 116px;
  }

  .vbb-card-content {
    inset: auto 15px 13px;
  }

  .vbb-card-bullets {
    gap: 4px;
  }

  .vbb-card-bullet {
    font-size: 8.5px;
  }

  .vbb-mobile-arrow {
    width: 38px;
    height: 52px;
  }
}
