/* ════════════════════════════════════════
   BEEYACORP — layout.css
   LOAD ORDER: 2 of 4
   Contains: .wrap container, nav, hero grid,
   all section spacing and grid definitions,
   footer structure.
   Depends on: styles.css (tokens must load first)
   ════════════════════════════════════════ */

/* ══ Container ══ */
.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}
@media (min-width: 1440px) {
  .wrap { max-width: 1360px; }
}

/* ══ Section spacing utilities ══ */
.section    { padding: 72px 0; }
.section-lg { padding: 88px 0; }
.section-sm { padding: 52px 0; }

/* ══ Section intro alignment ══ */
.section-intro        { margin-bottom: 40px; }
.section-intro-center { text-align: center; margin-bottom: 40px; }

/* ══ Navigation ══ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10, 13, 26, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--c-border);
}
.nav-inner {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* ══ Hero section ══ */
.hero {
  background-color: #070a15;
  background-image:
    linear-gradient(135deg, rgba(6, 9, 18, 0) 0%, #0d1226 50%, #0a0f20 100%),
    radial-gradient(ellipse 70% 60% at 70% 40%, rgba(37, 99, 255, 0.10) 0%, transparent 70%);
  padding: 116px 0 88px;
  position: relative;
  overflow: hidden;
}

/* Hero two-column layout: copy left, form right */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 56px;
  align-items: start;
}
.hero-content {
  min-width: 0;
  padding-top: 8px;
}

/* ══ Niche scrolling strip ══ */
.niche-strip {
  overflow: hidden;
  padding: 14px 0;
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}
.niche-track {
  display: flex;
  gap: 32px;
  width: max-content;
  animation: scroll-x 28s linear infinite;
}

/* ══ Trust badges strip ══ */
.trust-badges {
  background: var(--bg-mid2);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  padding: 22px 0;
}
.trust-badges-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 44px;
  flex-wrap: wrap;
}

/* ══ Proof bar ══ */
.proof {
  background: var(--bg-mid);
  padding: 56px 0;
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

/* ══ Case study ══ */
.case-grid {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 56px;
  align-items: start;
}

/* ══ Problem section ══ */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 48px;
}

/* ══ Method steps ══ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

/* ══ Qualification ══ */
.qual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}
.qual-cta {
  margin-top: 40px;
  text-align: center;
}

/* ══ Testimonials ══ */
.testi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}

/* ══ Deliverables ══ */
.deliv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* ══ Metric cards (case study) ══ */
.metric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 28px;
}

/* ══ Trust strip (inside form card) ══ */
.trust-strip {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  text-align: center;
  gap: 8px;
  border-top: 1px solid var(--c-border);
  margin-top: 18px;
  padding-top: 18px;
}

/* ══ Process steps (inside form card) ══ */
.process-steps {
  display: flex;
  align-items: flex-start;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--c-border);
}
.process-step {
  flex: 1;
  text-align: center;
  padding: 0 4px;
  position: relative;
}
.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 13px; right: -3px;
  width: 6px; height: 2px;
  background: rgba(37, 99, 255, 0.3);
}

/* ══ Mid-page CTA ══ */
.mid-cta {
  padding: 40px 0 0;
  text-align: center;
}

/* ══ Risk strip (final CTA section) ══ */
.risk-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-top: 28px;
  flex-wrap: wrap;
}

/* ══ Final CTA section ══ */
.section-cta {
  background: linear-gradient(135deg, #1530b8 0%, #1d4ed8 45%, #1e40af 100%);
  padding: 100px 0;
  text-align: center;
}

/* ══ Mobile sticky CTA bar ══ */
.mobile-sticky {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 999;
  background: #050812;
  border-top: 1px solid var(--c-border);
  padding: 12px 16px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
}

/* ══ Footer layout ══ */
.bc-footer {
  background: var(--bg-footer);
  border-top: 1px solid var(--c-border);
  padding: 52px 0 28px;
}
.bc-footer-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.bc-footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 28px;
  padding-bottom: 32px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--c-border);
}
.bc-footer-brand  { max-width: 440px; }
.bc-footer-links  { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.bc-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
