/*
Theme Name: Booming Impact Preview
Theme URI: https://boomingimpact.com/
Author: Booming Impact
Description: Custom Booming Impact theme preview.
Version: 0.2.4
Text Domain: booming-impact
*/

:root {
  --bi-blue: #1827f3;
  --bi-ink: #101010;
  --bi-paper: #f3f0ea;
  --bi-line: rgba(16, 16, 16, 0.72);
  --bi-white: #f9f9f9;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--bi-ink);
  background: var(--bi-paper);
  font-family: "Nura", "Arial Narrow", Arial, sans-serif;
}

a {
  color: inherit;
}

.bi-offer {
  position: relative;
  height: min(901px, 62.57vw);
  min-height: 650px;
  overflow: hidden;
  color: var(--bi-white);
  background: #17191b;
}

.bi-offer__background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  pointer-events: none;
}

.bi-offer__reflection {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 21.55%;
  background-image: url("https://www.figma.com/api/mcp/asset/5fd1f3d6-c6a3-43b8-9768-517987f6ea67.png");
  background-repeat: no-repeat;
  background-size: 100% 468%;
  background-position: center bottom;
  pointer-events: none;
}

.bi-nav {
  position: relative;
  z-index: 4;
  width: min(1192px, calc(100% - 48px));
  height: 100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 190px 1fr 190px;
  align-items: center;
}

.bi-nav__brand {
  display: flex;
  align-items: center;
  width: max-content;
}

.bi-nav__brand-fallback {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  text-decoration: none;
}

.bi-nav__brand .custom-logo-link {
  display: inline-flex;
  align-items: center;
  width: max-content;
  line-height: 0;
}

.bi-nav__brand .custom-logo {
  display: block;
  width: 140px;
  height: auto;
  max-width: none;
  max-height: none;
  object-fit: contain;
  image-rendering: auto;
}

.bi-nav__fallback-logo {
  display: block;
  width: 140px;
  height: auto;
  max-width: none;
  max-height: none;
  image-rendering: auto;
}

.bi-nav__links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(26px, 3vw, 48px);
}

.bi-nav__links a {
  font: 500 16px/1.5 "Nura", "Arial Narrow", Arial, sans-serif;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: opacity 180ms ease;
}

.bi-nav__links a:hover {
  opacity: 0.62;
}

.bi-offer__stage {
  position: absolute;
  z-index: 2;
  top: 100px;
  left: 50%;
  width: min(100%, 1440px);
  height: calc(100% - 100px);
  transform: translateX(-50%);
}

.bi-offer__eyebrow {
  position: absolute;
  top: 80px;
  left: 19.8%;
  margin: 0;
  font: 400 16px/1.5 "Lexend Exa", Arial, sans-serif;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.bi-offer__screen {
  position: absolute;
  top: 116px;
  left: 50%;
  width: 61.6%;
  max-width: 887px;
  aspect-ratio: 887 / 393;
  overflow: hidden;
  transform: translateX(-48.5%);
  background: #2b2b2b;
  border: 2px solid rgba(249, 249, 249, 0.42);
  box-shadow: 0 24px 18px rgba(0, 0, 0, 0.42);
}

.bi-offer__screen::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0.14) 52%, transparent 78%);
  pointer-events: none;
}

.bi-offer__screen-image,
.bi-offer__screen-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.bi-offer__screen-image {
  opacity: 0.76;
}

.bi-offer__screen-video {
  z-index: 1;
  display: block;
  opacity: 1;
  pointer-events: none;
}

.bi-offer__screen-content {
  position: absolute;
  z-index: 2;
  top: 8.4%;
  left: 3.7%;
  width: min(52%, 465px);
}

.bi-offer__title {
  margin: 0;
  color: #fff;
  font: 900 clamp(30px, 3.06vw, 44px)/1.18 "Nura", "Arial Narrow", Arial, sans-serif;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  text-shadow: 0 12px 10px rgba(0, 0, 0, 0.25);
}

.bi-offer__copy {
  width: 311px;
  max-width: 88%;
  margin: 4px 0 0;
  color: #fff;
  font: 400 clamp(12px, 1.12vw, 16px)/1.5 "Lexend Exa", Arial, sans-serif;
}

.bi-offer__actions {
  margin-top: clamp(16px, 2.25vw, 32px);
  display: flex;
  align-items: center;
  gap: 26px;
}

.bi-offer__cta {
  min-height: 49px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font: 400 14px/1.5 "Lexend Exa", Arial, sans-serif;
  letter-spacing: -0.04em;
  text-decoration: none;
  text-transform: capitalize;
  white-space: nowrap;
  transition: transform 220ms ease, background-color 220ms ease;
}

.bi-offer__cta:hover {
  transform: translateY(-2px);
}

.bi-offer__cta--primary {
  min-width: 217px;
  padding: 0 0 0 20px;
  justify-content: space-between;
  color: #2b2b2b;
  background: #fff;
}

.bi-offer__cta-arrow {
  width: 51px;
  height: 51px;
  margin: -1px -1px -1px 12px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #2b2b2b;
  border: 1px solid #fff;
  border-radius: 50%;
  font: 18px/1 Arial, sans-serif;
}

.bi-offer__cta--secondary {
  min-width: 182px;
  padding: 0 19px;
  color: #fff;
  background: rgba(43, 43, 43, 0.54);
  border: 1px solid rgba(249, 249, 249, 0.16);
  backdrop-filter: blur(6px);
}

.bi-offer__statement {
  position: absolute;
  top: 560px;
  left: 50%;
  margin: 0;
  transform: translateX(-50%);
  font: 400 16px/1.5 "Lexend Exa", Arial, sans-serif;
  white-space: nowrap;
}

.bi-services {
  min-height: 100vh;
  padding: clamp(36px, 5vw, 82px) clamp(22px, 5.2vw, 88px) clamp(70px, 9vw, 140px);
  background: var(--bi-paper);
}

.bi-services__eyebrow {
  margin: 0 0 clamp(30px, 5vw, 70px);
  font: 500 clamp(12px, 1vw, 15px)/1.2 "Lexend Exa", Arial, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bi-services__title {
  margin: 0 0 clamp(44px, 7vw, 96px);
  max-width: 1120px;
  font-size: clamp(62px, 11vw, 176px);
  font-weight: 500;
  line-height: 0.82;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.bi-services__list {
  border-top: 1px solid var(--bi-line);
}

.bi-service {
  border-bottom: 1px solid var(--bi-line);
}

.bi-service__trigger {
  width: 100%;
  min-height: clamp(88px, 9vw, 132px);
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  color: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
}

.bi-service__name {
  font-size: clamp(30px, 5.25vw, 82px);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  transition: transform 320ms cubic-bezier(.2,.7,.2,1);
}

.bi-service__icon {
  width: clamp(38px, 4vw, 62px);
  height: clamp(38px, 4vw, 62px);
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: Arial, sans-serif;
  font-size: clamp(20px, 2vw, 32px);
  line-height: 1;
  transition: transform 420ms cubic-bezier(.2,.8,.2,1), background-color 220ms ease, color 220ms ease;
}

.bi-service__trigger:hover .bi-service__name {
  transform: translateX(10px);
}

.bi-service__trigger:hover .bi-service__icon,
.bi-service.is-open .bi-service__icon {
  color: #fff;
  background: var(--bi-blue);
  border-color: var(--bi-blue);
}

.bi-service.is-open .bi-service__icon {
  transform: rotate(45deg);
}

.bi-service__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 480ms cubic-bezier(.2,.7,.15,1);
}

.bi-service.is-open .bi-service__panel {
  grid-template-rows: 1fr;
}

.bi-service__panel-inner {
  min-height: 0;
  overflow: hidden;
}

.bi-service__content {
  padding: 2px 0 clamp(42px, 6vw, 82px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.8fr);
  gap: clamp(28px, 8vw, 140px);
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 260ms ease, transform 380ms cubic-bezier(.2,.7,.2,1);
}

.bi-service.is-open .bi-service__content {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 100ms;
}

.bi-service__description {
  margin: 0;
  max-width: 760px;
  font-family: Arial, sans-serif;
  font-size: clamp(17px, 1.45vw, 24px);
  line-height: 1.42;
}

.bi-service__cta-wrap {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}

.bi-service__cta {
  min-height: 58px;
  padding: 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border: 1px solid var(--bi-ink);
  border-radius: 999px;
  font: 500 12px/1 "Lexend Exa", Arial, sans-serif;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 220ms ease, background-color 220ms ease, transform 220ms ease;
}

.bi-service__cta:hover {
  color: #fff;
  background: var(--bi-blue);
  border-color: var(--bi-blue);
  transform: translateY(-2px);
}

.bi-service__cta-arrow {
  font-family: Arial, sans-serif;
  font-size: 18px;
}

@media (max-width: 760px) {
  .bi-offer {
    height: 100svh;
    min-height: 760px;
  }

  .bi-offer__background {
    object-position: 48% center;
  }

  .bi-offer__reflection {
    height: 22%;
    background-size: auto 420%;
    background-position: center bottom;
  }

  .bi-nav {
    width: calc(100% - 32px);
    height: 84px;
    display: flex;
    justify-content: space-between;
  }

  .bi-nav__mark {
    width: 42px;
    height: 41px;
  }

  .bi-nav__wordmark {
    width: 63px;
    height: 24px;
  }

  .bi-nav__links {
    gap: 0;
  }

  .bi-nav__brand .custom-logo,
  .bi-nav__fallback-logo {
    width: 118px;
  }

  .bi-nav__links a {
    display: none;
  }

  .bi-nav__links a:nth-child(2) {
    display: inline-flex;
    min-height: 40px;
    padding: 0 16px;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 999px;
    font-size: 11px;
  }

  .bi-offer__stage {
    top: 84px;
    height: calc(100% - 84px);
  }

  .bi-offer__eyebrow {
    top: 54px;
    left: 24px;
    font-size: 11px;
  }

  .bi-offer__screen {
    top: 84px;
    width: calc(100% - 32px);
    max-width: none;
    min-height: 450px;
    aspect-ratio: auto;
    transform: translateX(-50%);
  }

  .bi-offer__screen-image,
  .bi-offer__screen-video {
    object-position: 55% center;
  }

  .bi-offer__screen-content {
    top: 28px;
    left: 24px;
    width: calc(100% - 48px);
  }

  .bi-offer__title {
    font-size: clamp(32px, 10.5vw, 46px);
    line-height: 1.1;
  }

  .bi-offer__copy {
    max-width: 280px;
    margin-top: 12px;
    font-size: 12px;
  }

  .bi-offer__actions {
    margin-top: 26px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .bi-offer__cta--primary {
    min-width: 208px;
  }

  .bi-offer__statement {
    top: 558px;
    width: calc(100% - 48px);
    font-size: 11px;
    line-height: 1.5;
    text-align: center;
    white-space: normal;
  }

  .bi-services {
    padding-left: 18px;
    padding-right: 18px;
  }

  .bi-services__title {
    font-size: clamp(54px, 20vw, 92px);
  }

  .bi-service__trigger {
    min-height: 82px;
  }

  .bi-service__name {
    font-size: clamp(28px, 10vw, 48px);
  }

  .bi-service__content {
    grid-template-columns: 1fr;
  }

  .bi-service__cta-wrap {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
