 html {
     scroll-behavior: smooth;
     scroll-padding-top: 100px;
 }

 body {
     margin: 0;
     font-family: 'Outfit', sans-serif;
     background: #0f172a;
     color: white;
     overflow-x: hidden;
     opacity: 0;
     transform: translateY(20px);
     transition: opacity 0.4s ease-out, transform 0.4s ease-out;
 }

 body.visible {
     opacity: 1;
     transform: translateY(0);
 }

 header {
     position: sticky;
     top: 0;
     background: rgba(15, 23, 42, 0.9);
     backdrop-filter: blur(6px);
     padding: 20px;
     display: flex;
     justify-content: space-between;
     align-items: center;
     border-bottom: 1px solid rgba(255, 255, 255, 0.1);
     z-index: 1000;
 }

 header h1 {
     font-size: 24px;
     font-weight: bold;
 }

 header a {
     background: linear-gradient(to right, #27b8d5, #0074af);
     color: white;
     padding: 12px 24px;
     border-radius: 12px;
     text-decoration: none;
     transition: background 0.3s;
     box-shadow: 0 10px 20px rgba(0, 221, 255, 0.208);
 }

 header a:hover {
     filter: brightness(1.1);
 }

 section {
     padding: 80px 24px;
     text-align: center;
 }

 .hero {
     position: relative;
     min-height: 350px;

 }



 .hero h2 {
     margin-top: 30px;
     font-size: 40px;
     font-weight: 800;
     margin-bottom: 40px;
     width: 200px;
     margin-left: auto;
     margin-right: auto;
     text-align: center;
 }

 #typed 
 {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
 }

 .hero p {
     font-size: 18px;
     max-width: 600px;
     margin: 0 auto 40px auto;
     color: #d1d5db;
 }

 .hero a {
     background: linear-gradient(to right, #27b8d5, #0074af);
     color: white;
     padding: 16px 32px;
     border-radius: 9999px;
     font-weight: 600;
     text-decoration: none;
     transition: transform 0.2s, background 0.3s;
     display: inline-block;
     box-shadow: 0 10px 20px rgba(0, 221, 255, 0.208);
    margin-top: 90px;
 }

 .hero a:hover {
     transform: scale(1.05);
 }

 .pricing {
     background: white;
     color: #111827;
     /* usuń height */
     padding-top: 20px;
     /* ew. dopasuj padding dla wizualnej spójności */
     padding-bottom: 30px;
 }

 .pricing h3 {
     font-size: 32px;
     font-weight: bold;
     margin-bottom: 48px;
 }

 .pricing-grid {
     display: grid;
     grid-template-columns: repeat(1, 1fr);
     gap: 24px;
     max-width: 1200px;
     margin: 0 auto;
 }

 @media (min-width: 640px) {
     .pricing-grid {
         grid-template-columns: repeat(2, 1fr);
     }
 }

 @media (min-width: 1024px) {
     .pricing-grid {
         grid-template-columns: repeat(3, 1fr);
     }
 }

 .pricing-box {
     background: rgba(255, 255, 255, 0.95);
     border: 1px solid #e5e7eb;
     border-radius: 16px;
     padding: 24px;
     transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
     position: relative;
 }

 .pricing-box:hover {
     transform: scale(1.05);
     box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
     background: #f9fafb;
 }

 .pricing-box.highlight {
     border: 3px solid #db2777;
     background: #fef2f8;
 }

 .pricing-box.highlight::before {
     content: "Najlepszy wybór";
     position: absolute;
     top: -12px;
     left: 50%;
     transform: translateX(-50%);
     background: #db2777;
     color: white;
     padding: 4px 12px;
     border-radius: 9999px;
     font-size: 12px;
     font-weight: 700;
     animation: pulse 2s infinite;
 }

 @keyframes pulse {
     0% {
         transform: translateX(-50%) scale(1);
     }

     50% {
         transform: translateX(-50%) scale(1.1);
     }

     100% {
         transform: translateX(-50%) scale(1);
     }
 }

 .pricing-box h4 {
     font-size: 20px;
     font-weight: 600;
     margin-bottom: 16px;
 }

 .pricing-box p.price {
     font-size: 32px;
     font-weight: bold;
     color: #4f46e5;
     margin-bottom: 16px;
 }

 .why {
     background: linear-gradient(to right, #2ebfdf, #0049a9);
     color: white;
 }

 .why h3 {
     font-size: 32px;
     font-weight: bold;
     margin-bottom: 24px;
 }

 .why p {
     max-width: 800px;
     margin: 0 auto;
     font-size: 18px;
 }

 .why-grid {
     display: grid;
     gap: 24px;
     margin-top: 48px;
     padding: 0 24px;
 }

 @media (min-width: 768px) {
     .why-grid {
         grid-template-columns: repeat(3, 1fr);
     }
 }

 .why-item h4 {
     font-size: 20px;
     font-weight: 600;
     margin-bottom: 8px;
 }

 .contact {
     background: #111827;
     text-align: left;
 }

  .contact p {
    font-size: 20px;
 }

 .contact h3 {
     font-size: 32px;
     font-weight: bold;
     margin-bottom: 48px;
     text-align: center;
 }

 .contact-grid {
     display: grid;
     gap: 40px;
     max-width: 1000px;
     margin: auto;
     grid-template-columns: 1fr;
     width:fit-content;

 }

 @media (min-width: 768px) {
     .contact-grid {
         grid-template-columns: 1fr;
     }

 }

 @media (max-width: 768px) {
     .hero {
         height: 490px;
     }

     .hero h2 {
         height: 50px;
         padding-bottom: 170px;
     }
 }

 footer {
     background: black;
     color: #9ca3af;
     text-align: center;
     padding: 12px;
     font-size: 12px;
 }


 .pricing-form {
     max-width: 480px;
     margin: 24px auto 0;
     display: flex;
     flex-direction: column;
     gap: 20px;
     text-align: left;
 }

 .pricing-form label {
     font-weight: 600;
     margin-bottom: 8px;
     display: block;
     font-size: 16px;
     color: #374151;
     /* ciemniejszy szary */
 }

 .pricing-form select {
     width: 100%;
     padding: 12px 16px;
     border-radius: 12px;
     border: 1.5px solid #d1d5db;
     font-size: 16px;
     font-weight: 500;
     color: #111827;
     background: white;
     transition: border-color 0.3s ease, box-shadow 0.3s ease;
     appearance: none;
     cursor: pointer;
 }

 .pricing-form select:focus {
     border-color: #9333ea;
     box-shadow: 0 0 8px rgba(147, 51, 234, 0.6);
     outline: none;
 }

 .price-display {
     margin-top: 16px;
     font-size: 24px;
     font-weight: 700;
     color: #db2777;
     min-height: 32px;
     text-align: center;
 }

 .whatsapp-btn {
     opacity: 0;
     transform: scale(0.8);
     pointer-events: none;
     transition: opacity 0.3s ease, transform 0.3s ease;
     display: inline-block;

     background: linear-gradient(to right, #25d366, #128c7e);
     /* zielone WhatsApp */
     color: white !important;
     font-weight: 700;
     padding: 14px 28px;
     border-radius: 9999px;
     box-shadow: 0 6px 12px rgba(37, 211, 102, 0.5);
     text-align: center;
     text-decoration: none;
     font-size: 18px;
     max-width: 300px;
     margin: 20px auto 0;
     cursor: pointer;
 }


 .whatsapp-btn.visible {
     opacity: 1;
     transform: scale(1);
     pointer-events: auto;
 }


 .whatsapp-btn:hover {
     background: linear-gradient(to right, #128c7e, #075e54);
     transform: scale(1.05);
     box-shadow: 0 8px 16px rgba(18, 140, 126, 0.8);
 }

 .free-quote {
     max-width: 650px;
     margin: 32px auto;
     font-style: italic;
     font-size: 20px;
     color: #db2777;
     position: relative;
     padding-left: 50px;
 }

 .free-quote .icon {
     position: absolute;
     left: 10px;
     top: 50%;
     transform: translateY(-50%);
     font-size: 32px;
 }

 .highlight {
     text-decoration: underline;
     font-weight: 700;
     color: #f59e0b;
     /* np. ładny kontrastujący kolor pomarańczowy */
 }





#cennik 
{
    background-image: url(logoo.png);
      background-repeat: repeat;                /* powtarzanie w obu kierunkach */
  background-size: 80px 80px;  
}






 .niebieski {
     color: rgb(48, 163, 167);
     /*font-family: 'Press Start 2P', monospace;*/
 }

 #sergiusz 
 {
    height: 250px;
    position:relative;
    top: 0px;
    right: 0px;
    z-index: 1;
    border-radius: 50%;
    border:#27b8d5 outset 8px;
    margin: 30px;
 }

 #cennik h1 
 {
    font-size: 40px;
    margin: 0;
    z-index: 20;
    
 }


 .offert img
 {
    width: 100%;
    object-fit: cover; 
    height: 200px;
    margin-top: -50px;
    overflow: hidden;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;

 }

 .offert h2 
 {
    position: relative;
    width: 100%;
    background-color: #0f172ac4;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
 }

 .offert p 
 {
    width: 90%;
    background-color: #0f172a49;
    margin-top: -5px;
    padding: 10px 5% 10px 5%;
 }

 .offert 
 {
    box-shadow: 0 10px 20px rgba(0, 90, 104, 0.208);
    margin-bottom: 60px;
    margin:auto;
 }

 .why h1 
 {
    font-size: 40px;
    margin-top: 0px;
    padding-bottom: 50px;
 }

 #xdxd 
 {
        margin-bottom: 00px;
 }

.fade-text {
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.fade-text.show {
  opacity: 1;
}

#xd1 
{
    padding-top: 150px;
}

#xd2
{
    padding-bottom: 150px;
    text-align: center;
    width: 80%;
    margin: auto;
    padding-top: 20px;
    max-width: 300px;
    font-size: 18px;
}


 @media (min-width: 600px) {
    .offert
    {
        width: 500px;
    }

 }