/* ============================================
   ORVINIEL — Responsive Breakpoints
   Mobile-first overrides
   ============================================ */

/* ---- Below 1024px (tablet) ---- */
@media (max-width: 1023px) {
  :root {
    --section-pad: var(--section-pad-md);
    --gutter: var(--gutter-md);
  }

  .grid--4,
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .value-col:nth-child(2) {
    border-right: none;
  }

  .value-col:nth-child(1),
  .value-col:nth-child(2) {
    border-bottom: 1px solid var(--light-grey);
  }

  .nav__links {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  .mega-menu {
    display: none;
  }

  /* Footer */
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

/* ---- Below 768px (mobile) ---- */
@media (max-width: 767px) {
  :root {
    --section-pad: var(--section-pad-sm);
    --gutter: var(--gutter-sm);
  }

  .hero__headline {
    font-size: clamp(40px, 10vw, 52px);
  }

  .section-h2 {
    font-size: clamp(30px, 6vw, 40px);
  }

  .grid--2,
  .grid--3,
  .grid--55-45,
  .grid--50-50 {
    grid-template-columns: 1fr;
  }

  .grid--4,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .services-list {
    grid-template-columns: 1fr;
  }

  .value-col {
    border-right: none;
    border-bottom: 1px solid var(--light-grey);
  }

  .value-col:last-child {
    border-bottom: none;
  }

  .hero__ctas {
    flex-direction: column;
  }

  .hero__ctas .btn {
    width: 100%;
    justify-content: center;
  }

  .stat-grid {
    grid-template-columns: 1fr;
  }

  .stat-cell {
    border-right: none;
    border-bottom: 1px solid var(--light-grey);
  }

  .stat-cell:last-child {
    border-bottom: none;
  }

  .card {
    padding: 28px;
  }

  .card__stat {
    font-size: 48px;
  }

  .stat__number {
    font-size: 48px;
  }

  .cta-banner {
    padding: 80px 0;
  }

  /* Footer */
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  /* About strip art - hide on mobile, content first */
  .about-strip__art {
    order: -1;
    margin-bottom: 32px;
  }

  .marquee__logo {
    height: 28px;
    margin: 0 32px;
  }

  .bg-number {
    font-size: clamp(120px, 30vw, 180px);
  }
}
