.contactform-section {
    padding: 90px 0;
    background: #f5f5f5;
}

.contactform-container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

.contactform-topline {
    width: 100%;
    height: 1px;
    background: #9cb7d1;
    margin-bottom: 45px;
}

.contactform-heading {
    text-align: center;
    margin-bottom: 36px;
}

.contactform-subtitle {
    margin: 0 0 8px;
    font-size: 18px;
    color: #7e6b5f;
    line-height: 1.6;
}

.contactform-title {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    color: #49545f;
    line-height: 1.5;
}

.contactform-form {
    width: 100%;
}

.contactform-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 26px 58px;
    margin-bottom: 22px;
}

.contactform-field {
    position: relative;
}

.contactform-field-full {
    grid-column: 1 / -1;
}

.contactform-field input,
.contactform-field select,
.contactform-field textarea {
    width: 100%;
    border: none;
    border-bottom: 1px solid #9cb7d1;
    background: transparent;
    padding: 12px;
    font-size: 16px;
    color: #4a525b;
    outline: none;
    border-radius: 0;
    transition: border-color 0.3s ease, color 0.3s ease;
    appearance: none;
}

.contactform-field select {
    cursor: pointer;
}

.contactform-field textarea {
    resize: vertical;
    min-height: 70px;
}

.contactform-field input::placeholder,
.contactform-field textarea::placeholder,
.contactform-field select {
    color: #a4a4a4;
}

.contactform-field input:focus,
.contactform-field select:focus,
.contactform-field textarea:focus {
    border-bottom: 1px solid #6f9cc4;
}

.contactform-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 14px 0 22px;
    font-size: 15px;
    color: #6b6b6b;
    line-height: 1.6;
}

.contactform-checkbox input {
    margin-top: 4px;
}

.contactform-checkbox a {
    color: #de5a67;
    text-decoration: none;
}

.contactform-checkbox a:hover {
    text-decoration: underline;
}

.contactform-actions {
    display: flex;
    justify-content: flex-start;
}

.contactform-btn {
    min-width: 110px;
    border: none;
    background: #8fb1cf;
    color: white;
    font-size: 15px;
    font-weight: 700;
    padding: 12px 24px;
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease;
}

.contactform-btn:hover {
    background: #7da4c5;
    transform: translateY(-2px);
}

/* DARK MODE */
body.dark .contactform-section {
    background: #111111;
}

body.dark .contactform-topline {
    background: #6f8fa8;
}

body.dark .contactform-subtitle {
    color: #c7b2a6;
}

body.dark .contactform-title {
    color: #f1f1f1;
}

body.dark .contactform-field input,
body.dark .contactform-field select,
body.dark .contactform-field textarea {
    color: #f1f1f1;
    border-bottom: 1px solid #5f7890;
}

body.dark .contactform-field input::placeholder,
body.dark .contactform-field textarea::placeholder {
    color: #9a9a9a;
}

body.dark .contactform-field select {
    color: #bcbcbc;
    background: transparent;
}

body.dark .contactform-field input:focus,
body.dark .contactform-field select:focus,
body.dark .contactform-field textarea:focus {
    border-bottom: 1px solid #9dc2d9;
}

body.dark .contactform-checkbox {
    color: #cfcfcf;
}

body.dark .contactform-checkbox a {
    color: #ff7f8d;
}

body.dark .contactform-btn {
    background: #89a9c5;
    color: #ffffff;
}

body.dark .contactform-btn:hover {
    background: #9bbbd6;
}

/* TABLETTE */
@media (max-width: 992px) {
    .contactform-section {
        padding: 75px 0;
    }

    .contactform-grid {
        gap: 24px 28px;
    }
}

/* MOBILE */
@media (max-width: 768px) {
    .contactform-section {
        padding: 60px 0;
    }

    .contactform-container {
        width: 92%;
    }

    .contactform-topline {
        margin-bottom: 30px;
    }

    .contactform-heading {
        margin-bottom: 28px;
    }

    .contactform-subtitle {
        font-size: 16px;
    }

    .contactform-title {
        font-size: 18px;
        line-height: 1.5;
    }

    .contactform-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contactform-field-full {
        grid-column: auto;
    }

    .contactform-field input,
    .contactform-field select,
    .contactform-field textarea {
        font-size: 15px;
        padding: 10px 8px;
    }

    .contactform-checkbox {
        font-size: 14px;
    }

    .contactform-btn {
        width: 100%;
    }

    .contactform-actions {
        display: block;
    }
}