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: 0px;
    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: 20px;
    text-shadow: 0 0 2px #f2b600;
    color: #333;
}

.kontakt-opis {
    margin: 20px 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;
}

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

.mobile-full {
    display: inline;
}

.mobile-short {
    display: none;
}

.contact-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.contact-box {
    border: 1px solid #878787;
    background-color: #f2f2f2;
    border-radius: 16px;
    padding: 20px;
    width: 280px;
    font-family: sans-serif;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-link {
    text-decoration: none;
    color: inherit;
    width: 100%;
}

.contact-icon-wrapper {
    background-color: #d09c3c;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

.contact-icon-wrapper svg {
    fill: white;
    width: 26px;
    height: 26px;
}

.contact-row {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    color: #333;
    word-break: break-word;
    gap: 6px;
    flex-wrap: nowrap;
}

.copy-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
}

.copy-btn svg {
    margin-left: 5px;
    width: 24px;
    height: 24px;
    fill: #555;
    transition: transform 0.2s ease;
}

.copy-btn:hover svg {
    transform: scale(1.1);
}

.copy-hint {
    margin-top: 6px;
    background-color: #d09c3c;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.show-hint {
    opacity: 1;
}

.contact-box {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    background-color: #afafaf;
}

.fs-contact {
    max-width: 700px;
    width: 100%;
    margin: 10px auto;
    padding: 20px 15px;
    border-radius: 12px;
    border: 1px solid #878787;
    background-color: #f2f2f2;
    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 #fff;
    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;
}

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

@media (max-width: 768px) {
    h1 {
        font-size: 1.4rem;
    }

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

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

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

    .fs-contact__group label {
        font-size: 14px;
    }
}