/* =========================================
   SAFARI QUOTE / BOOKING FORM
========================================= */


/* Form Grid */

.sqp-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}


/* =========================================
   MAIN FORM
========================================= */

.sqp-form {
    width: 100%;
    max-width: 750px;

    margin: 30px auto;

    padding: 35px;

    box-sizing: border-box;

    background: linear-gradient(
        135deg,
        #f7f3eb,
        #eee5d3
    );

    border: 1px solid #e2d7c4;

    border-radius: 12px;

    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.10);
}


/* =========================================
   HEADINGS
========================================= */

.sqp-form h3 {
    margin: 0 0 28px;

    text-align: center;

    color: #34291c;

    font-size: 28px;
    font-weight: 700;

    line-height: 1.3;
}


.sqp-form h4 {
    margin: 26px 0 11px;

    padding-bottom: 8px;

    color: #5d4527;

    font-size: 17px;
    font-weight: 600;

    line-height: 1.4;

    border-bottom: 1px solid #dfd3bf;
}


/* =========================================
   INPUTS, SELECTS & TEXTAREA
========================================= */

.sqp-form input,
.sqp-form select,
.sqp-form textarea {
    width: 100%;

    padding: 13px 15px;

    box-sizing: border-box;

    border: 1px solid #d6c7ae;

    border-radius: 6px;

    background: #ffffff;

    color: #352a1d;

    font-family: inherit;

    font-size: 15px;

    line-height: 1.4;

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}


/* Placeholder */

.sqp-form input::placeholder,
.sqp-form textarea::placeholder {
    color: #8a8277;
}


/* =========================================
   FOCUS STATE
========================================= */

.sqp-form input:focus,
.sqp-form select:focus,
.sqp-form textarea:focus {
    outline: none;

    border-color: #b28a59;

    background: #fff;

    box-shadow:
        0 0 0 3px rgba(178, 138, 89, 0.14);
}


/* =========================================
   LABELS
========================================= */

.sqp-form label {
    display: block;

    margin-bottom: 6px;

    color: #594326;

    font-size: 14px;
    font-weight: 600;
}


/* =========================================
   TEXTAREA
========================================= */

.sqp-form textarea {
    min-height: 120px;

    resize: vertical;

    line-height: 1.5;
}


/* =========================================
   SELECT
========================================= */

.sqp-form select {
    cursor: pointer;
}


/* =========================================
   BUTTON
========================================= */

.sqp-form button {
    display: block;

    width: 100%;

    margin-top: 25px;

    padding: 15px 20px;

    border: none;

    border-radius: 6px;

    background: linear-gradient(
        135deg,
        #b28a59,
        #80613b
    );

    color: #ffffff;

    font-family: inherit;

    font-size: 16px;
    font-weight: 600;

    letter-spacing: 0.4px;

    cursor: pointer;

    transition:
        background 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.sqp-form button:hover {
    background: linear-gradient(
        135deg,
        #a17a4b,
        #6f522f
    );

    transform: translateY(-2px);

    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.18);
}


.sqp-form button:active {
    transform: translateY(0);
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    .sqp-grid {
        grid-template-columns: 1fr;

        gap: 12px;
    }


    .sqp-form {
        width: calc(100% - 20px);

        margin: 20px auto;

        padding: 22px 18px;

        border-radius: 10px;
    }


    .sqp-form h3 {
        font-size: 23px;

        margin-bottom: 22px;
    }


    .sqp-form h4 {
        margin-top: 22px;

        font-size: 16px;
    }


    .sqp-form input,
    .sqp-form select,
    .sqp-form textarea {
        padding: 13px 14px;

        font-size: 16px;
    }


    .sqp-form button {
        padding: 15px;

        font-size: 15px;
    }
}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 400px) {

    .sqp-form {
        width: calc(100% - 12px);

        padding: 20px 15px;
    }


    .sqp-form h3 {
        font-size: 21px;
    }
}
