/* ============================================
   Responsive — Mobile-first breakpoints
   ============================================ */

/* Tablet and below (768px) */
@media (max-width: 768px) {
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.4rem; }

  .hero__title { font-size: 2.75rem; }
  .hero__subtitle { font-size: 1.1rem; }

  .hero__inner {
    flex-direction: column;
  }

  .hero__photo {
    flex: none;
    max-width: 280px;
    order: -1;
  }

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

  /* Navigation mobile menu */
  .nav__hamburger {
    display: flex;
  }

  .nav__links {
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    height: calc(100vh - var(--nav-height));
    background: var(--color-bg-dark);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    transform: translateX(100%);
    transition: transform var(--transition);
    z-index: 999;
  }

  .nav--menu-open {
    height: 100vh;
    backdrop-filter: none;
    background: var(--color-bg-dark);
  }

  .nav__links--open .nav__link {
    color: var(--color-bg);
  }

  .nav__links--open .nav__link:hover,
  .nav__links--open .nav__link--active {
    color: var(--color-accent);
  }

  .nav__links--open {
    transform: translateX(0);
  }

  .nav__link {
    font-size: 1.25rem;
  }

  /* About page */
  .about-content {
    flex-direction: column;
  }

  .about-content__image {
    flex: none;
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
  }

  /* Feature sections */
  .feature,
  .feature--reverse {
    flex-direction: column;
  }

  .feature__image img {
    height: 280px;
  }

  /* Footer */
  .footer__inner {
    flex-direction: column;
    text-align: center;
    gap: var(--space-lg);
  }

  .footer__social {
    text-align: center;
  }

  .footer__social-links {
    justify-content: center;
  }

  /* Page header */
  .page-header h1 {
    font-size: 2rem;
  }
}

/* Small mobile (480px) */
@media (max-width: 480px) {
  :root {
    --space-sm: 1rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
  }

  .hero__title { font-size: 2rem; }
  .hero__pretitle { font-size: 1rem; }

  .hero__cta {
    flex-direction: column;
    align-items: center;
  }

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

  .card__image {
    aspect-ratio: 1 / 1;
  }
}

/* Large screens (1200px+) */
@media (min-width: 1200px) {
  .hero__title { font-size: 4.5rem; }
}
