main {
    margin-top: 90px;
    padding: 20px;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    opacity: 1;
    background: transparent;
}

.h-wrapper {
    text-align: center;
}

h1 {
    position: relative;
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: bold;
    font-family: 'Georgia', serif;
    color: #222;
    padding: 20px 0;
    display: inline-block;
    z-index: 1;
}

h1::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 12px;
    height: 12px;
    background-color: #f2b600;
    z-index: -1;
    opacity: 0.4;
    border-radius: 4px;
}

h2 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    text-shadow: 0 0 2px #f2b600;
    color: #333;
}

.dlaczegomy-opis {
    margin: 0px auto 40px auto;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #444;
    text-align: left;
    font-family: 'Georgia', serif;
    padding-left: 5%;
    padding-right: 5%;
    font-style: italic;
}

.zalety {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    padding: 20px 5%;
    background-color: #f9f9f9;
}

.kafelek-wrapper {
    flex: 1 1 220px;
    max-width: 280px;
    height: 150px;
    perspective: 1000px;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    box-sizing: border-box;
}

.kafelek-wrapper.in-view {
    opacity: 1;
    transform: translateY(0);
}

.kafelek.flip {
    transform: rotateY(180deg);
}

.kafelek {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    transform-origin: center;
    cursor: pointer;
}

.kafelek .front,
.kafelek .back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 25px 20px;
    margin: 0;
    border-radius: 20px;
    backface-visibility: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
}

.front {
    background: linear-gradient(135deg, #f2b600, #6e4f1f);
    color: #fff;
}

.back {
    background: #fff;
    color: #333;
    transform: rotateY(180deg);
}

.kafelek h3 {
    font-size: 1.2rem;
    margin: 10px 0;
}

.kafelek p {
    font-size: 0.95rem;
    line-height: 1.5;
}

.ikona svg {
    width: 36px;
    height: 36px;
    stroke: white;
    stroke-width: 2;
    display: block;
}

.tab {
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 50px;
    background: rgba(255, 255, 255, 0.532);
    clip-path: polygon(100% 0, 100% 100%, 0 0);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Georgia', serif;
    font-size: 0.75rem;
    color: #222;
    font-weight: bold;
    user-select: none;
}

.tab::after {
    content: "kliknij";
    transform: rotate(40deg);
    position: absolute;
    top: 10px;
    right: 5px;
    color: #222;
    pointer-events: none;
}

.toggle-more {
    color: #d09c3c;
    cursor: pointer;
    text-decoration: underline;
}

.mobile-full {
    display: inline;
}

.mobile-short {
    display: none;
}

.asterisk-p {
    font-size: 14px;
}

.opinie {
    padding: 10px 5%;
    background-color: #fff8e1;
    border-top: 2px solid #f2b600;
    border-bottom: 2px solid #f2b600;
    margin-top: 20px;
}

.opinie-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.opinia {
    flex: 1 1 280px;
    background-color: #fff;
    border: 1px solid #878787;
    border-radius: 16px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    padding: 25px 20px;
    font-family: 'Georgia', serif;
    color: #333;
    transition: transform 0.3s ease;
}

.opinia:hover {
    transform: translateY(-4px);
}

.opinia-text {
    font-style: italic;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.opinia-author {
    text-align: right;
    font-weight: bold;
    color: #6e4f1f;
    font-size: 0.95rem;
}

.fs-contact {
    max-width: 700px;
    width: 100%;
    margin: 40px auto;
    padding: 30px 15px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #878787;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    font-family: sans-serif;
    box-sizing: border-box;
}

.fs-contact__heading {
    text-align: center;
    margin-bottom: 25px;
    font-size: 1.6rem;
    color: #d09c3c;
}

.fs-contact__group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.fs-contact__group label {
    margin-bottom: 6px;
    font-weight: bold;
    color: #d09c3c;
}

.fs-contact__group input,
.fs-contact__group textarea {
    padding: 12px;
    border: 1px solid #d8d8d8;
    border-radius: 6px;
    font-size: 1rem;
    transition: border 0.2s ease;
    box-sizing: border-box;
    width: 100%;
}

.fs-contact__group input:focus,
.fs-contact__group textarea:focus {
    border-color: #d09c3c;
    outline: none;
}

.fs-contact__submit {
    padding: 12px;
    background: #d09c3c;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s ease;
    width: 100%;
}

.fs-contact__submit:hover {
    background: #f2b600;
}

.fs-contact__honeypot {
    display: none;
}

@media (max-width: 768px) {
    .zalety {
            gap: 10px;
            justify-content: center;
            padding: 10px 0%;
        }
    
        .kafelek-wrapper {
            flex: 0 0 45%;
            max-width: 45%;
        }
    
        h1 {
            font-size: 1.4rem;
        }

        h2 {
            font-size: 1.2rem;
            margin-bottom: 15px;
            text-shadow: 0 0 2px #f2b600;
            color: #333;       
        }

        .kafelek h3 {
            font-size: 14px;
        }

        .kafelek p {
            font-size: 10px;
            line-height: 1.3;
        }

        .dlaczegomy-opis {
            text-align: center;
            cursor: pointer;
        }
        
        .mobile-full {
            display: none;
        }
        
        .mobile-short {
            display: inline;   
        }

        .fs-contact {
            padding: 20px 10px;               
        }
}