/* ================================================================
   QUALZY — Book a Discovery Call
   Prefix: bd-
   ================================================================ */


/* ── HERO ───────────────────────────────────────────────────── */
.bd-hero {
  padding-top: 64px;
  background: var(--dk);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.bd-hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(232,97,44,0.12) 0%, transparent 65%);
  pointer-events: none;
}

.bd-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  padding: 80px 48px 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.bd-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 900;
  line-height: 1.05;
  color: #fff;
  letter-spacing: -0.02em;
  margin: 16px 0 20px;
}

.bd-hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
  font-weight: 300;
  max-width: 480px;
  margin: 0 0 14px;
}

.bd-hero-sub strong { color: #fff; font-weight: 600; }

.bd-hero-note {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.02em;
  margin: 0;
}


/* ── HOW THE CALL WORKS ─────────────────────────────────────── */
.bd-how {
  background: var(--wh);
  border-bottom: 1.5px solid var(--rule);
}

.bd-how-head {
  max-width: 600px;
  margin: 0 auto 64px;
  text-align: center;
}

.bd-how-h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 900;
  color: var(--dk);
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  line-height: 1.1;
}

.bd-how-sub {
  font-size: 16px;
  color: var(--mu);
  line-height: 1.65;
  margin: 0;
}

.bd-how-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1.5px solid var(--rule);
  border-radius: 20px;
  overflow: hidden;
}

.bd-how-col {
  padding: 44px 40px;
  border-right: 1.5px solid var(--rule);
  position: relative;
}

.bd-how-col:last-child { border-right: none; }

.bd-how-n {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 900;
  line-height: 1;
  color: var(--o);
  opacity: 0.18;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.bd-how-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--dk);
  margin: 0 0 12px;
  line-height: 1.3;
}

.bd-how-desc {
  font-size: 14px;
  color: var(--mu);
  line-height: 1.7;
  margin: 0;
}


/* ── OFFICE CARDS ───────────────────────────────────────────── */
.bd-offices {
  background: var(--o);
  padding: 80px 0 96px;
  position: relative;
}

.bd-offices::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(255,255,255,0.12) 0%, transparent 60%);
  pointer-events: none;
}

.bd-offices-head {
  text-align: center;
  margin-bottom: 52px;
  position: relative;
  z-index: 1;
}

.bd-offices-head h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}

.bd-offices-head p {
  font-size: 16px;
  color: rgba(255,255,255,0.65);
  margin: 0;
}

/* Cards grid */
.bd-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.bd-card {
  background: rgba(255,255,255,0.18);
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: 20px;
  padding: 36px 32px 28px;
  cursor: pointer;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  position: relative;
  overflow: hidden;
}

.bd-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: radial-gradient(ellipse at 0% 0%, rgba(232,97,44,0.08) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.bd-card:hover {
  background: rgba(255,255,255,0.28);
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-3px);
}

.bd-card:hover::before { opacity: 1; }

.bd-card-flag {
  font-size: 36px;
  line-height: 1;
}

.bd-card-body {
  flex: 1;
}

.bd-card-region {
  font-size: 11px;
  font-weight: 700;
  color: var(--o);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

.bd-card-city {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 10px;
}

.bd-card-time-wrap {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.bd-card-time-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.28);
}

.bd-card-time {
  font-size: 32px;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  font-family: var(--font-body);
}

/* Daytime state — office is within 6 am – 6 pm */
.bd-card--daytime {
  background: rgba(255,255,255,0.32);
  border-color: rgba(255,255,255,0.5);
}

.bd-card--daytime .bd-card-time-label {
  color: rgba(232,97,44,0.8);
}

.bd-card--daytime .bd-card-time {
  color: rgba(0,0,0,0.7);
}

.bd-card--daytime:hover {
  background: rgba(255,255,255,0.42);
}

.bd-card-cta {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.4);
  transition: color 0.2s ease;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.bd-card:hover .bd-card-cta {
  color: var(--o);
}



/* ── (bd-next removed — combined into bd-how) ───────────────── */
.bd-next-head h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 900;
  color: var(--dk);
  letter-spacing: -0.02em;
  margin: 8px 0 0;
}

.bd-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  max-width: 860px;
  margin: 0 auto;
}

.bd-step {
  flex: 1;
  text-align: center;
  padding: 0 24px;
}

.bd-step-n {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--op);
  border: 1.5px solid rgba(232,97,44,0.2);
  color: var(--o);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.bd-step-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--dk);
  margin: 0 0 10px;
}

.bd-step-desc {
  font-size: 14px;
  color: var(--mu);
  line-height: 1.6;
  margin: 0;
}

.bd-step-line {
  flex-shrink: 0;
  width: 60px;
  height: 1.5px;
  background: var(--rule);
  margin-top: 22px;
  align-self: flex-start;
}


/* ── HUBSPOT INLINE BOOKING ─────────────────────────────────── */
.bd-hs-region {
  background: var(--op);
  border-top: 1.5px solid var(--rule);
}

.bd-hs-hd {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 40px;
}

.bd-hs-hd h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 900;
  color: var(--dk);
  letter-spacing: -0.02em;
  margin: 8px 0 12px;
}

.bd-hs-hd p {
  font-size: 16px;
  color: var(--mu);
  margin: 0;
}

/* Compact region card strip — mirrors Calendly card style, smaller */
.bd-hs-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 860px;
  margin: 0 auto 32px;
}

.bd-hs-tab {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 24px 20px;
  background: #fff;
  border: 1.5px solid var(--rule);
  border-radius: 16px;
  cursor: pointer;
  text-align: left;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.bd-hs-tab:hover {
  border-color: var(--o);
  background: var(--op);
  transform: translateY(-2px);
}

.bd-hs-tab.is-active {
  border-color: var(--o);
  background: var(--op);
  box-shadow: 0 0 0 3px rgba(232,97,44,0.12);
}

.bd-hs-tab-flag { font-size: 28px; line-height: 1; }

.bd-hs-tab-body { flex: 1; }

.bd-hs-tab-region {
  font-size: 10px;
  font-weight: 700;
  color: var(--o);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.bd-hs-tab-city {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
  color: var(--dk);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 8px;
}

.bd-hs-tab-time-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.bd-hs-tab-time-label {
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--mu);
  opacity: 0.5;
}

.bd-hs-tab-time {
  font-size: 22px;
  font-weight: 300;
  color: var(--mu);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  font-family: var(--font-body);
}

.bd-hs-tab.is-active .bd-hs-tab-time-label { color: rgba(232,97,44,0.7); opacity: 1; }
.bd-hs-tab.is-active .bd-hs-tab-time { color: var(--dk); }

/* Embed area */
.bd-hs-embed-area {
  max-width: 860px;
  margin: 0 auto;
}

.bd-hs-panel {
  display: none;
}

.bd-hs-panel.is-active {
  display: block;
  animation: hsFadeIn 0.4s ease;
}

@keyframes hsFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 860px) {
  .bd-how-cols { grid-template-columns: 1fr; border-radius: 16px; }
  .bd-how-col { border-right: none; border-bottom: 1.5px solid var(--rule); }
  .bd-how-col:last-child { border-bottom: none; }
  .bd-how-col { padding: 36px 32px; }

  .bd-cards { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .bd-hs-tabs { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
}

@media (max-width: 600px) {
  .bd-hero-inner { padding: 60px 24px 72px; }
  .bd-offices { padding: 60px 0 72px; }
  .bd-how-col { padding: 28px 24px; }
}
