/* RESET I BLOKADA ROZPYCHANIA EKRANU */
html, body {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}

* {
  box-sizing: border-box !important;
}

/* POPRAWKI MOBILNE (Telefony i małe ekrany) */
@media screen and (max-width: 767px) {

  /* 1. Ukrycie pływającego przycisku WhatsAppa tylko na telefonie */
  a[href*="whatsapp"][style*="position:fixed"],
  a[href*="whatsapp"][style*="position: fixed"] {
    display: none !important;
  }

  /* 2. Układ pionowy dla nagłówka i sekcji głównych */
  header, 
  header div,
  section div[style*="max-width:1280px"],
  section div[style*="max-width: 1280px"] {
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 12px !important;
    text-align: center !important;
    align-items: center !important;
  }

  /* 3. Precyzyjne wysmuklenie TYLKO miedzianych elips */
  div[style*="background:#AA663F"],
  div[style*="background: #AA663F"] {
    max-width: 140px !important;
    height: 36px !important;
    margin: 0 auto 12px auto !important;
    line-height: 36px !important;
  }

  /* 4. Odstępy i dopasowanie siatek (Grid/Flex) */
  section div[style*="grid"],
  section div[style*="flex"] {
    gap: 20px !important;
    grid-template-columns: 1fr !important; /* Wymusza 1 kolumnę na telefonie */
  }
}

/* ANIMACJA DLA LAPTOPA (Poza blokiem @media) */
@keyframes pulsuj {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    transform: scale(1.08);
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

a[style*="position:fixed"],
a[style*="position: fixed"] {
  animation: pulsuj 2s infinite !important;
  border-radius: 50% !important;
}