/* =========================================================
   RESPONSIVE BREAKPOINTS
   ========================================================= */

/* Tablets / smaller laptops */
@media (max-width: 1024px) {
  /* Services -> 2 columns */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .section-title {
    font-size: 32px;
  }

  .service-card {
    padding: 25px;
  }

  /* About stacks */
  #about-section {
    height: auto;
    flex-direction: column;
  }

  .about-left,
  .about-right {
    width: 100%;
    height: auto;
    clip-path: none;
  }

  .about-left img {
    clip-path: none;
    height: 320px;
  }

  .about-right {
    clip-path: none;
    padding: 40px 20px;
  }

  .about-text {
    max-width: 900px;
    padding: 30px 20px;
  }
}

/* Mobile nav + general mobile layout */
@media (max-width: 850px) {
  /* Show hamburger */
  .hamburger-icon {
    display: flex;
  }

  /* Hide desktop row */
  #nav-bar-items-wrapper {
    position: absolute;
    top: 86px;
    left: 0;
    right: 0;

    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    display: flex;
    flex-direction: column;
    gap: 6px;

    padding: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;

    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);

    transition: max-height 0.35s ease, opacity 0.25s ease;
    z-index: 3000;
  }

  /* When active */
  #nav-bar.menu-active #nav-bar-items-wrapper {
    padding: 16px 0;
    max-height: 420px;
    opacity: 1;
  }

  #nav-bar-items-wrapper li {
    width: 100%;
  }

  .nav-bar-items {
    display: block;
    width: 100%;
    padding: 14px 16px;
    border-radius: 0;
  }

  /* Hero spacing */
  #home {
    padding: 70px 18px 50px;
  }

  .title-home {
    font-size: clamp(30px, 6vw, 44px);
  }

  .catch-phrase-home {
    font-size: 15px;
  }

  /* Contact stacks */
  .contact-container {
    grid-template-columns: 1fr;
  }
}

/* Phones */
@media (max-width: 600px) {
  /* Services -> 1 column */
  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    max-width: 92%;
  }

  .section-title {
    font-size: 28px;
  }

  .service-card h3 {
    font-size: 20px;
  }

  .service-card p {
    font-size: 15px;
  }

  .service-icon {
    width: 60px;
    height: 60px;
    padding: 12px;
  }

  /* More services centered */
  .more-services {
    text-align: center;
  }

  .more-services-top {
    justify-content: center;
  }

  /* Button smaller */
  .animated-button {
    padding: 12px 30px;
    font-size: 14px;
  }

  .animated-button svg {
    width: 20px;
  }

  .animated-button:hover .circle {
    width: 200px;
    height: 200px;
  }

  /* Social icons slightly smaller */
  .social-tags-link img {
    width: 38px;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .bcn-logo-small {
    width: 165px;
  }

  .animated-button {
    padding: 10px 26px;
    font-size: 13px;
  }

  .animated-button svg {
    width: 18px;
  }

  .animated-button:hover .circle {
    width: 160px;
    height: 160px;
  }

  #social-tags ul {
    gap: 14px;
  }

  .social-tags-link img {
    width: 32px;
  }

  .pricing-section h2 {
    font-size: 2rem;
  }

  .pricing-box {
    max-width: 100%;
  }

  .payment-icons span {
    font-size: 0.95rem;
    padding: 8px 12px;
  }
}