/* ============================================================
   DBM VENTURE — Responsive Overrides
   Breakpoints handled: 1440 / 1200 / 1024 / 992 / 768 / 576 / 430 / 375
   ============================================================ */

/* ---------- Large laptops (≤1440px) ---------- */
@media (max-width: 1440px) {
  .orbit {
    max-width: 500px;
  }
}

/* ---------- Below XL: nav collapses into offcanvas ---------- */
@media (max-width: 1199.98px) {
  :root {
    --section-pad: 88px;
  }

  .orbit-node {
    padding: 10px 14px;
    font-size: 0.72rem;
  }

  .cta-band {
    padding: 60px 44px;
  }
}

/* ---------- Tablets landscape (≤1024px) ---------- */
@media (max-width: 1024px) {
  .hero {
    padding-bottom: 80px;
  }

  .hero .orbit {
    max-width: 440px;
    margin-top: 56px;
  }
}

/* ---------- Tablets (≤991.98px) ---------- */
@media (max-width: 991.98px) {
  :root {
    --section-pad: 72px;
    --header-h: 72px;
    --header-h-compact: 62px;
  }

  .navbar-brand img {
    height: 52px;
  }

  .section-head {
    margin-bottom: 42px;
  }

  .hero {
    padding-top: calc(var(--header-h) + 48px);
    text-align: center;
  }

  .hero .lead-copy {
    margin-inline: auto;
  }

  .hero-actions,
  .hero-points {
    justify-content: center;
  }

  .hero .orbit {
    margin-top: 60px;
  }

  /* Ecosystem: hide orbit diagram, show stacked cards */
  .eco-section .orbit {
    display: none;
  }

  .eco-cards {
    display: flex !important;
  }

  /* Process timeline becomes vertical */
  .process-track {
    flex-direction: column;
    gap: 0;
    max-width: 480px;
    margin-inline: auto;
  }

  .process-track::before {
    top: 8%;
    bottom: 8%;
    left: 31px;
    right: auto;
    width: 2px;
    height: auto;
    background: repeating-linear-gradient(180deg,
        var(--dbm-teal) 0 9px,
        transparent 9px 17px);
  }

  .process-step {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    text-align: left;
    padding: 16px 0;
  }

  .process-step .dot {
    margin: 0;
    flex-shrink: 0;
  }

  .cta-band {
    text-align: center;
  }

  .cta-band .cta-actions {
    justify-content: center !important;
    margin-top: 30px;
  }

  .split-visual {
    min-height: 260px;
    margin-bottom: 34px;
  }

  .site-footer {
    padding-top: 64px;
  }

  .site-footer .footer-col {
    margin-bottom: 38px;
  }

  .vm-card {
    padding: 36px 30px;
  }
}

/* ---------- Ecosystem cards hidden on desktop ---------- */
@media (min-width: 992px) {
  .eco-cards {
    display: none !important;
  }
}

/* ---------- Large phones / small tablets (≤767.98px) ---------- */
@media (max-width: 767.98px) {
  :root {
    --section-pad: 60px;
    --section-pad-sm: 48px;
  }

  .hero h1 {
    font-size: clamp(2.05rem, 8vw, 2.6rem);
  }

  .hero .orbit {
    max-width: 340px;
  }

  .orbit-node {
    padding: 8px 11px;
    font-size: 0.62rem;
    gap: 6px;
    border-radius: 9px;
  }

  .orbit-node .bi {
    font-size: 0.9rem;
  }

  .biz-card {
    padding: 28px 24px;
  }

  .cta-band {
    padding: 48px 26px;
    border-radius: var(--radius);
  }

  .cta-band::after {
    width: 240px;
    height: 240px;
    right: -70px;
  }

  .page-hero {
    padding: calc(var(--header-h) + 48px) 0 60px;
  }

  .contact-card {
    padding: 30px 22px;
  }

  .footer-bottom {
    text-align: center;
  }

  .footer-bottom .footer-legal {
    justify-content: center !important;
    margin-top: 10px;
  }

  .why-item {
    padding-right: 0;
  }

  .lifecycle-strip .stage {
    flex-basis: calc(50% - 6px);
  }
}

/* ---------- Phones (≤575.98px) ---------- */
@media (max-width: 575.98px) {
  .hero-actions .btn-dbm,
  .cta-actions .btn-dbm {
    width: 100%;
    justify-content: center;
  }

  .hero-points {
    gap: 8px 16px;
  }

  .hero .orbit {
    max-width: 300px;
  }

  .section-head h2 {
    font-size: 1.7rem;
  }

  .philosophy .phil-step {
    flex-basis: 100%;
  }

  .vm-card {
    padding: 30px 24px;
  }

  .info-tile {
    flex-direction: column;
    gap: 14px;
  }
}

/* ---------- Small phones (≤430px) ---------- */
@media (max-width: 430px) {
  .navbar-brand img {
    height: 44px;
  }

  .hero h1 {
    font-size: 1.9rem;
  }

  .hero .orbit {
    max-width: 272px;
  }

  .orbit-node {
    font-size: 0.56rem;
    padding: 7px 9px;
  }

  .orbit-center img {
    width: 58%;
  }

  .process-step .dot {
    width: 52px;
    height: 52px;
    font-size: 0.9rem;
  }

  .process-track::before {
    left: 26px;
  }

  .lifecycle-strip .stage {
    flex-basis: 100%;
  }
}

/* ---------- Very small phones (≤375px) ---------- */
@media (max-width: 375px) {
  .hero h1 {
    font-size: 1.76rem;
  }

  .btn-dbm {
    padding: 12px 20px;
    font-size: 0.9rem;
  }

  .biz-card {
    padding: 24px 20px;
  }
}
