/*
 * contact-shared.css - Contact section styles shared across pages
 * Used by: foretagsvardering, branschrapport, bolagsbevakning, om-oss, partners, vara-tjanster, calculate-forklarar
 */

/* Contact Section - From Figma */
.contact-section {
    background: #FFFFFF;
    padding: 80px 20px;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.contact-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.contact-container {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 468px;
    gap: 60px;
    align-items: start;
}

.contact-content-left {
    padding-top: 44px;
}

.contact-main-heading {
    font-weight: 600;
    font-size: 40px;
    line-height: 1.625em;
    color: #000000;
    margin: 0 0 20px 0;
}

.contact-phone-link {
    margin: 0 0 30px 0;
}

.phone-cta-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 18px;
    color: #EA5A0B;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.phone-cta-link:hover {
    color: #d14f09;
}

.phone-cta-link svg {
    flex-shrink: 0;
}

.contact-description {
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5em;
    color: #000000;
    margin: 0 0 40px 0;
}

.contact-features {
    margin-bottom: 40px;
}

.contact-feature-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.contact-feature-item img {
    width: 26px;
    height: 26px;
}

.contact-feature-item span {
    font-weight: 700;
    font-size: 16px;
    line-height: 1.5em;
    color: #000000;
}

.contact-reports-text {
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5em;
    color: #000000;
    margin: 40px 0;
}

.contact-partners {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.contact-partner-logo {
    max-height: 50px;
    width: auto;
    object-fit: contain;
}

.contact-form-wrapper {
    position: relative;
    width: 468px;
    min-height: 665px;
}

.contact-form-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: white;
    filter: drop-shadow(0px 4px 13.5px rgba(0, 0, 0, 0.25));
    border-radius: 30px;
}

.contact-form-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-form-content {
    position: relative;
    z-index: 2;
    padding: 76px 30px 30px;
}

.contact-logo-top {
    position: absolute;
    top: 24px;
    left: 26px;
    width: 68px;
    height: 40px;
}

.contact-logo-top img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.contact-form-heading {
    font-weight: 600;
    font-size: 24px;
    line-height: 1.68em;
    text-transform: uppercase;
    color: #EA5A0B;
    margin: 0 0 30px 0;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 20px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form .form-group label {
    display: block;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5em;
    color: #000000;
    margin-bottom: 8px;
}

.contact-form .form-group input,
.contact-form .form-group textarea {
    width: 100%;
    background: #f1f3fd;
    border: 0.25px solid #636363;
    border-radius: 8px;
    padding: 12px 16px;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5em;
    color: #B1B1B1;
}

.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus {
    outline: none;
    border-color: #EA5A0B;
    color: #000000;
}

.contact-form .form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 25px;
}

.form-checkbox input[type="checkbox"] {
    width: 14px;
    height: 15px;
    margin-top: 2px;
    flex-shrink: 0;
    border: 1px solid #ADADAD;
    border-radius: 3px;
}

.form-checkbox label {
    font-weight: 400;
    font-size: 11px;
    line-height: 1.5em;
    color: #000000;
}

.contact-submit-btn {
    width: 100%;
    background: #EA5A0B;
    color: #FFFFFF;
    border: none;
    border-radius: 36px;
    padding: 12px 0;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5em;
    text-align: center;
    cursor: pointer;
    transition: background 0.2s ease;
}

.contact-submit-btn:hover {
    background: #d14f09;
}

.contact-logo-bottom {
    margin-top: 30px;
    text-align: left;
}

.contact-logo-bottom img {
    max-width: 156px;
    height: auto;
}

/* ===== Contact Section Responsive ===== */
@media (max-width: 768px) {
    .contact-section,
    .contact-page-section {
        padding: 40px 20px;
    }

    .contact-container,
    .contact-page-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-content-left,
    .contact-page-content {
        padding-top: 0;
    }

    .contact-main-heading,
    .contact-page-heading {
        font-size: 28px;
    }

    .contact-description,
    .contact-page-description {
        font-size: 14px;
    }

    .contact-feature-item {
        gap: 15px;
    }

    .contact-feature-item img {
        width: 20px;
        height: 20px;
    }

    .contact-feature-item span {
        font-size: 14px;
    }

    .contact-reports-text {
        font-size: 14px;
        margin: 30px 0;
    }

    .contact-form-wrapper-fg,
    .contact-page-form-wrapper {
        padding: 30px 20px;
    }

    .contact-form-fg .form-group-fg input,
    .contact-form-fg .form-group-fg textarea,
    .contact-page-form .form-group-contact input,
    .contact-page-form .form-group-contact textarea {
        font-size: 14px;
        padding: 12px 16px;
    }

    .contact-submit-btn-fg {
        font-size: 16px;
        padding: 14px 0;
        width: 100%;
    }

    .contact-partners {
        gap: 20px;
        justify-content: center;
    }

    .contact-partner-logo {
        max-height: 35px;
    }

    .contact-form-wrapper {
        width: 100%;
        min-height: auto;
    }

    .contact-form-content {
        padding: 60px 20px 20px;
    }

    .contact-logo-top {
        top: 20px;
        left: 20px;
        width: 50px;
        height: 30px;
    }

    .contact-form-heading {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-form .form-group label {
        font-size: 12px;
    }

    .contact-form .form-group input,
    .contact-form .form-group textarea {
        font-size: 12px;
        padding: 10px 14px;
    }

    .form-checkbox label {
        font-size: 10px;
    }

    .contact-submit-btn {
        font-size: 14px;
        padding: 10px 0;
    }

    .contact-logo-bottom img {
        max-width: 120px;
    }
}
