/* ========================================
   Responsive Breakpoints — Mobile-First
   ======================================== */

/* --- Mobile Navigation --- */
@media (max-width: 767px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--color-primary-dark);
    padding: calc(var(--header-height) + var(--spacing-lg)) var(--spacing-md) var(--spacing-lg);
    transition: right 0.3s ease;
    z-index: 1000;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
  }

  .nav--open {
    right: 0;
  }

  .nav__list {
    flex-direction: column;
    gap: 0;
  }

  .nav__link {
    display: block;
    padding: var(--spacing-sm) 0;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav__link::after {
    display: none;
  }

  .nav__cta {
    margin-left: 0;
    margin-top: var(--spacing-sm);
  }

  .nav__cta .btn {
    width: 100%;
  }

  .nav-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .nav-overlay--visible {
    opacity: 1;
    visibility: visible;
  }

  /* Hero */
  .hero {
    min-height: 70vh;
  }

  .hero__title {
    font-size: 2rem;
  }

  .hero__subtitle {
    font-size: 1.05rem;
  }

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

  .hero__buttons .btn {
    width: 100%;
    max-width: 280px;
  }

  /* Sections */
  .section {
    padding: var(--spacing-xl) 0;
  }

  h1 { font-size: 1.875rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }

  /* Reviews */
  .review-card {
    min-width: 100%;
  }

  /* Gallery */
  .gallery__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xs);
  }

  .gallery__item img {
    height: 150px;
  }

  /* Footer */
  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  /* Cookie banner */
  .cookie-banner .container {
    flex-direction: column;
  }

  /* Tellet widget mobile */
  .tellet-panel {
    width: calc(100vw - 16px);
    height: calc(100vh - 100px);
    bottom: 88px;
    right: 8px;
    border-radius: 16px;
  }

  .tellet-bubble {
    bottom: 16px;
    right: 16px;
    width: 60px;
    height: 60px;
  }

  /* CTA Banner */
  .cta-banner .btn {
    display: block;
    margin: var(--spacing-xs) auto;
    max-width: 280px;
  }
}

/* --- Tablet (768px+) --- */
@media (min-width: 768px) {
  .container {
    padding: 0 var(--spacing-md);
  }

  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }

  /* Info Bar */
  .info-bar__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* About */
  .about__grid {
    grid-template-columns: 1fr 1fr;
  }

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

  /* Services */
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Reviews */
  .review-card {
    min-width: calc(50% - var(--spacing-md) / 2);
    max-width: calc(50% - var(--spacing-md) / 2);
  }

  /* Portfolio */
  .portfolio__grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  /* Service Detail */
  .service-detail {
    grid-template-columns: 1fr 1fr;
  }

  .service-detail--reverse {
    direction: rtl;
  }

  .service-detail--reverse > * {
    direction: ltr;
  }

  /* Contact */
  .contact__grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Team */
  .team__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Gallery */
  .gallery__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery__item img {
    height: 240px;
  }

  /* Cookie banner */
  .cookie-banner .container {
    flex-direction: row;
    text-align: left;
  }

  .cookie-banner p {
    flex: 1;
  }
}

/* --- Desktop (1024px+) --- */
@media (min-width: 1024px) {
  .container {
    padding: 0 var(--spacing-lg);
  }

  .section {
    padding: var(--spacing-3xl) 0;
  }

  h1 { font-size: 3rem; }
  h2 { font-size: 2.25rem; }

  /* Hero */
  .hero {
    min-height: 85vh;
  }

  .hero__title {
    font-size: 3.25rem;
  }

  .hero__subtitle {
    font-size: 1.25rem;
  }

  /* Info Bar */
  .info-bar__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Services */
  .services__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Reviews */
  .review-card {
    min-width: calc((100% - var(--spacing-md) * 2) / 3);
    max-width: calc((100% - var(--spacing-md) * 2) / 3);
  }

  /* Footer */
  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }

  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }

  /* Team */
  .team__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Gallery */
  .gallery__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Map */
  .map-section iframe {
    height: 450px;
  }
}

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

  .service-card__image {
    height: 240px;
  }

  .portfolio-card {
    height: 320px;
  }

  .gallery__item img {
    height: 280px;
  }
}

