.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  gap: 4px;
  padding: 0.5rem;
  z-index: 1001;
}

.menu-toggle .bar {
  width: 24px;
  height: 2px;
  background-color: #333;
  border-radius: 1px;
  transition: all 0.3s ease;
}

@media (max-width: 992px) {

  .menu-toggle {
    display: flex;
  }

  .nav-right {
    display: none !important;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    background: #fff;
    padding: 1.5rem 2rem;
    gap: 1.2rem;
    display: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links li a {
    width: 100%;
  }

  .mobile-anmeldung a,
  .nav-links .btn-registrieren {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.9rem 0;
    border-radius: 6px;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
  }

  .mobile-anmeldung a {
    border: 1px solid #049e19;
    color: #606060;
    background: transparent;
  }

  .mobile-anmeldung a:hover {
    background: #049e19;
    font-weight: 600;
    color: #fff !important;
  }

  .nav-links .btn-registrieren {
    background: #959595;
    color: #fdfcfc !important;
    border: none;
    padding: 0.7rem 2rem;
    letter-spacing: 0.3px;
  }

  .nav-links .btn-registrieren:hover {
    background: #037b14;
    color: #fff !important;
    font-weight: 600;
  }

  .mobile-anmeldung a::after,
  .nav-links .btn-registrieren::after {
    display: none !important;
  }

  .mobile-anmeldung {
    margin-top: 0.8rem;
    border-top: 1px solid #eee;
    padding-top: 1rem;
    width: 100%;
    display: block !important;
  }

  .desktop-show {
    display: none !important;
  }

  .mobile-only {
    display: block !important;
  }

  .custom-lang-selector {
    text-align: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
  }


  .custom-lang-selector .selected-lang:hover {
    background: rgba(4, 158, 25, 0.08);
  }

  .custom-lang-selector .selected-lang::after {
    display: none !important;
  }
}

@media (min-width: 993px) {

  .mobile-only,
  .mobile-anmeldung {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .mega-menu {
    position: static;
    width: 100%;
    box-shadow: none;
    border-top: none;
    padding: 1rem 0;
  }

  .mega-content {
    flex-direction: column;
    padding: 1rem;
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    text-align: center;
  }

  .footer-contacto,
  .footer-direccion {
    flex: none;
  }
}

/* --- Adaptabilidad móvil --- */
@media (max-width: 600px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    text-align: left;
  }

  .footer-col h4 {
    font-size: 1rem;
  }
}

/* ===========================================================
   ========== RESPONSIVE DESIGN ==========
   =========================================================== */

/* === TABLET LANDSCAPE (≤ 1024px) === */
@media (max-width: 1024px) {

  .hero-image img {
    height: 450px;
  }

  .hero-legend {
    right: 40px;
    font-size: 2rem;
  }

  .tracking-box {
    max-width: 450px;
  }

  .servicios-content {
    padding: 0 1rem;
  }

  .servicio-card {
    flex-direction: column;
    text-align: center;
  }

  .servicio-img {
    width: 70%;
  }

  .sobre-container,
  .bolsa-container,
  .app-container {
    flex-direction: column-reverse;
    text-align: center;
  }

  .sobre-imagen,
  .bolsa-imagen,
  .app-imagen {
    width: 100%;
  }

  .sobre-texto,
  .bolsa-texto,
  .app-texto {
    width: 100%;
  }

  .servicios-complementos {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* === TABLET PORTRAIT (≤ 768px) === */
@media (max-width: 768px) {

  .hero-image img {
    height: 380px;
  }

  .hero-legend {
    position: absolute;
    right: 0;
    left: 0;
    text-align: center;
    font-size: 1.8rem;
    top: 50%;
    transform: translateY(-50%);
  }

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

  .side-box {
    max-width: 300px;
    flex-direction: row;
    justify-content: center;
  }

  .tracking-box {
    width: 90%;
    padding: 20px;
  }

  .google-rating {
    gap: 0.8rem;
    padding: 0.4rem 0.6rem;
  }

  .rating-number {
    font-size: 2rem;
  }

  .reviews-text {
    font-size: 0.85rem;
  }

  .google-logo {
    width: 2rem;
    height: 2rem;
  }

  #servicios .section-title {
    font-size: 2rem;
  }

  .menu-item {
    width: 100px;
    height: 100px;
    font-size: 0.75rem;
  }

  .menu-item img {
    width: 35px;
    height: 35px;
  }

  .complemento-img img {
    height: 130px;
  }

  .politica-content {
    flex-direction: column;
    text-align: center;
  }

  .icono-verde {
    margin-bottom: 1rem;
  }
}


/* === MOBILE (≤ 480px) === */
@media (max-width: 480px) {

  /* --- Hero --- */
  .hero-desktop {
    display: none;
  }

  .hero-mobile {
    display: block;
  }

  .hero-image img {
    height: 300px;
    filter: brightness(0.6);
  }

  .hero-legend {
    font-size: 1.4rem;
    padding: 0 1rem;
  }

  .tracking-box h2 {
    font-size: 1.2rem;
  }

  .tracking-form input {
    font-size: 0.8rem;
  }

  .side-box {
    max-width: 250px;
    padding: 10px;
    gap: 8px;
  }

  /* --- Google Rating --- */
  .google-rating {
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.6rem;
  }

  .rating-number {
    font-size: 1.8rem;
  }

  .reviews-text {
    font-size: 0.8rem;
  }

  .google-logo {
    width: 1.8rem;
    height: 1.8rem;
  }

  /* --- Servicios --- */
  #servicios .section-title {
    font-size: 1.6rem;
    padding: 0.8rem 0;
  }

  .menu-item {
    width: 85px;
    height: 85px;
    font-size: 0.7rem;
  }

  .menu-item img {
    width: 30px;
    height: 30px;
  }

  .servicio-card.active {
    flex-direction: column;
    text-align: center;
  }

  .servicio-img {
    width: 100%;
  }

  .servicios-complementos {
    grid-template-columns: 1fr;
  }

  /* --- Secciones Sobre, Bolsa, App --- */
  .sobre,
  .bolsa,
  .app {
    padding: 2rem 1rem;
  }

  .sobre-container,
  .bolsa-container,
  .app-container {
    flex-direction: column;
    text-align: center;
  }

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

  /* --- Política Verde --- */
  .texto-verde h3 {
    font-size: 1.3rem;
  }

  .texto-verde p {
    font-size: 1rem;
  }

  .icono-verde {
    padding: 15px;
    font-size: 28px;
  }
}


/* === VERY SMALL SCREENS (≤ 360px) === */
@media (max-width: 360px) {
  .hero-legend {
    font-size: 1.2rem;
  }

  .rating-number {
    font-size: 1.6rem;
  }

  .stars img {
    width: 16px;
    height: 16px;
  }

  .reviews-text {
    font-size: 0.75rem;
  }
}