@media (max-width: 899px) {
  .hero__content {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__card {
    max-width: 75%;
  }

  .services__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
  }

  .booking__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }
}
@media (min-width: 768px) {
  .nav__toggle {
    display: none;
  }

  .nav__menu {
    position: static;
    width: auto;
    background: transparent;
    padding: 0;
    transform: none;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
  }

  .hero__content {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .hero__card {
    justify-self: end;
  }

  .services::before {
    inset: -10% -25%;
  }

  .barbers__scroller {
    grid-auto-flow: initial;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    overflow: visible;
    padding: 0;
  }

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

  .form-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .map-section__grid {
    grid-template-columns: 1fr 1.1fr;
  }

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

@media (min-width: 1024px) {
  .nav__inner {
    min-height: 90px;
  }

  .hero {
    padding: 8rem 0 10rem;
  }

  .services__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .gallery__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .booking__grid {
    gap: 3.5rem;
  }

  .footer__inner {
    grid-template-columns: auto 1fr auto;
    align-items: start;
  }
}

@media (max-width: 767px) {
  .container {
    width: min(92vw, 640px);
  }

  .hero {
    padding: 7rem 0 6rem;
  }

  .hero__content {
    gap: 2.5rem;
  }

  .hero__title-outline {
    font-size: clamp(2.6rem, 9vw, 3.4rem);
    letter-spacing: 0.12em;
  }

  .hero__title-glow {
    font-size: clamp(1.1rem, 4.8vw, 1.4rem);
    letter-spacing: 0.24em;
  }

  .hero__stats {
    gap: 1rem;
    width: 100%;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__card {
    max-width: 100%;
    padding: 2rem;
  }

  .gallery__item--wide,
  .gallery__item--tall {
    grid-column: span 1;
    grid-row: span 1;
  }

  .barbers__scroller {
    grid-auto-flow: column;
    grid-auto-columns: 80%;
    overflow-x: auto;
    padding: 0 1rem 1rem;
  }

  .booking__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .booking__form,
  .booking__intro {
    padding: 1.8rem;
    border-radius: 1.2rem;
  }

  .booking__contact a {
    flex-direction: column;
    gap: 0.4rem;
    text-align: center;
  }

  .booking__calendar {
    padding: 1.6rem;
  }

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

  .map-section__map iframe {
    min-height: 280px;
  }

  .whatsapp-button {
    bottom: 5.5rem;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .footer__nav {
    justify-content: center;
  }
}

@media (max-width: 520px) {
  .gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
  }

  .hero__title-outline {
    font-size: clamp(2.2rem, 8.5vw, 3rem);
  }

  .hero__title-glow {
    font-size: clamp(1rem, 4.5vw, 1.3rem);
  }

  .booking__contact {
    gap: 0.8rem;
  }

  .booking__calendar {
    padding: 1.2rem;
  }

  .calendar-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .booking-form {
    padding: 1.5rem;
  }

  .whatsapp-button {
    left: 1.2rem;
    right: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

