/**
 * OnlyStudio - Responsive Styles
 * Media queries consolidate
 */

@media (max-width: 782px) {

  .wp-block-navigation__responsive-container .wp-block-navigation-item .wp-block-site-logo,
  .wp-block-navigation__responsive-container-content .wp-block-site-logo {
    display: none !important;
  }

  header .wp-block-site-logo,
  .wp-block-group>.wp-block-site-logo {
    display: block !important;
  }

  .wp-block-navigation {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
  }
}

@media (max-width: 768px) {
  header.wp-block-template-part {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
  }

  .hero_banner .wp-block-button,
  .btn-whatsapp {
    width: 100%;
  }

  .icon-wrapper {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
  }

  .headline {
    font-size: 2.6rem;
  }

  .logo-text {
    font-size: 18px;
    margin-bottom: 2rem;
  }
}

@media (max-width: 480px) {
  .steps {
    grid-template-columns: 1fr;
    border-radius: var(--radius-md);
  }

  .step {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    text-align: left;
  }

  .step-num {
    font-size: 28px;
    min-width: 36px;
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .step-info {
    flex: 1;
  }

  .headline {
    font-size: 2rem;
  }
}

/* ============================================
   HOMEPAGE - RESPONSIVE
   ============================================ */

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hp-benefits-grid {
    grid-template-columns: 1fr;
  }

  .hp-stats-grid {
    grid-template-columns: 1fr;
  }

  .hp-contact-inner {
   flex-direction: column;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .hp-nav {
    padding: 1rem 1.25rem;
    position: fixed;
    z-index: 300;
  }

  .hp-nav-logo {
    position: relative;
    z-index: 300;
  }

  .hp-nav-links {
    display: none;
  }

  .hp-burger {
    display: flex;
    position: relative;
    z-index: 300;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  /* Hamburger activ - transformare în X */
  .hp-burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .hp-burger.active span:nth-child(2) {
    opacity: 0;
  }

  .hp-burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hp-burger span {
    transition: all 0.3s ease;
  }

  .hp-nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.97);
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    z-index: 200;
    animation: fadeIn 0.3s ease;
    top: 0;
    height: 100vh;
  }

  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }

  .hp-nav-links.open a {
    font-size: 18px;
    color: var(--white-75);
  }

  .hp-hero {
    padding: 7rem 1.25rem 4rem;
    margin: 0;
  }

  .hp-hero-logo {
    height: 60px;
  }

  .hp-hero-actions,
  .hp-cta-band-actions {
    flex-direction: column;
    gap: 12px;
  }

  .hp-btn-primary,
  .hp-btn-wa {
    width: 100%;
    justify-content: center;
    border-radius: 12px;
    padding: 15px 20px;
  }

  .hp-section {
    padding: 4rem 1.25rem;
  }

  .hp-stats {
    padding: 3.5rem 1.25rem;
  }

  .hp-cta-band {
    padding: 4rem 1.25rem;
  }

  .hp-contact {
    padding: 4rem 1.25rem;
  }

  .hp-footer {
    padding: 1.5rem 1.25rem;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hp-footer-links {
    justify-content: center;
  }

  .hp-btn-primary,
  .hp-btn-wa {
    width: 100%;
    justify-content: center;
    border-radius: 12px;
    padding: 15px 20px;
  }

  .page-card {
    padding: 16px;
  }

  .custom-logo-link img {
    max-width: 150px;
    height: auto;
  }

  .bn-page { padding: 3rem 1.25rem 4rem; }
      .bn-logo { height: 44px; margin-bottom: 2rem; }
      .bn-icon { width: 60px; height: 60px; }
      .bn-icon svg { width: 22px; height: 22px; }
      .bn-headline { font-size: 2.4rem; }
      .bn-sub { font-size: 16px; }
      .bn-card { padding: 1.4rem 1.25rem; }
      .bn-trust { padding: 1.25rem; }
      .bn-cta { max-width: 100%; }

      .site-main {
        margin-top: 7rem;
      }
}

@media (max-width: 480px) {
  body {
    padding: 0;
  }

  .page-card {
    padding: 16px;
  }

  .hp-hero-logo {
    height: 50px;
  }

  .hp-hero-phone {
    font-size: 1.5rem;
  }

    .custom-logo-link img {
    max-width: 150px;
    height: auto;
  }
.bn-page { padding: 3rem 1rem 3.5rem; }
      .bn-logo { height: 38px; margin-bottom: 1.75rem; }
      .bn-icon { width: 56px; height: 56px; }
      .bn-icon::after { inset: -5px; }
      .bn-headline { font-size: 1.9rem; line-height: 1.2; }
      .bn-sub { font-size: 16px; }
      .bn-card {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1.25rem 1rem;
      }
      .bn-card-icon { margin-top: 0; }
      .bn-trust { flex-direction: column; gap: 0.75rem; }
      .bn-btn-primary, .bn-btn-ghost {
        border-radius: 12px;
        padding: 15px 20px;
      }
  .bn-headline { font-size: 1.65rem; }
}