/*-- -------------------------- -->
<---        Contact Page         -->
<--- -------------------------- -*/

* { box-sizing: border-box; }

@media only screen and (min-width: 0rem) {
    body {
        margin: 0;
        padding: 0;
    }

    #contact-page {
        min-height: 100vh;
        background: radial-gradient(ellipse at 60% 40%, #1e3a8a 0%, #0f172a 55%, #11150F 100%);
        padding: 0.75rem 1rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .cp-card {
        background: #f0f4ff;
        border-radius: 1.25rem;
        padding: 1.25rem 1.5rem 1.1rem;
        width: 100%;
        max-width: 52rem;
        box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
    }

    .cp-heading {
        font-family: 'Barlow', sans-serif;
        font-size: clamp(1.35rem, 3.5vw, 2.25rem);
        font-weight: 800;
        color: #11150F;
        margin: 0 0 0.2rem;
        line-height: 1.15;
        text-transform: uppercase;
    }

    .cp-heading span {
        color: #3B82F6;
    }

    .cp-subtext {
        font-size: 0.875rem;
        color: #6b7280;
        margin: 0 0 0.75rem;
        line-height: 1.5;
    }

    .cp-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
        margin-bottom: 0.75rem;
    }

    .cp-field--full {
        grid-column: 1 / -1;
    }

    .cp-input,
    .cp-textarea {
        width: 100%;
        padding: 0.65rem 0.875rem;
        border: 2px solid #e5e7eb;
        border-radius: 0.5rem;
        font-family: 'Satoshi', sans-serif;
        font-size: 0.9rem;
        color: #11150F;
        background: #ffffff;
        transition: border-color 0.2s;
        outline: none;
    }

    .cp-input::placeholder,
    .cp-textarea::placeholder {
        color: #9ca3af;
    }

    .cp-input:focus,
    .cp-textarea:focus {
        border-color: #3B82F6;
    }

    .cp-textarea {
        resize: none;
        height: 3.5rem;
    }

    /* Service selector */
    .cp-services-label {
        font-family: 'Barlow', sans-serif;
        font-size: 0.875rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        color: #11150F;
        text-align: center;
        margin: 0 0 0.4rem;
    }

    .cp-services-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.4rem;
        margin-bottom: 0.75rem;
    }

    .cp-service-option {
        display: none;
    }

    .cp-service-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.4rem;
        padding: 0.7rem 0.5rem;
        border: 2px solid #e5e7eb;
        border-radius: 0.75rem;
        cursor: pointer;
        background: #ffffff;
        transition: border-color 0.2s, background 0.2s;
        text-align: center;
        user-select: none;
    }

    .cp-service-card:hover {
        border-color: #3B82F6;
        background: #eff6ff;
    }

    .cp-service-option:checked + .cp-service-card {
        border-color: #3B82F6;
        background: #eff6ff;
        box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
    }

    .cp-service-icon {
        width: 2.25rem;
        height: 2.25rem;
        background: #EFF4FB;
        border: 2px solid #3B82F6;
        border-radius: 0.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .cp-service-icon svg {
        width: 1.125rem;
        height: 1.125rem;
        stroke: #3B82F6;
        stroke-width: 2;
        fill: none;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .cp-service-name {
        font-family: 'Barlow', sans-serif;
        font-size: 0.7rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        color: #11150F;
        line-height: 1.2;
    }

    .cp-submit {
        display: block;
        width: 100%;
        padding: 0.75rem 2rem;
        background: #3B82F6;
        color: #ffffff;
        font-family: 'Barlow', sans-serif;
        font-size: 1rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        border: none;
        border-radius: 0.5rem;
        cursor: pointer;
        transition: background 0.25s;
        margin-bottom: 0.75rem;
    }

    .cp-submit:hover {
        background: #1d4ed8;
    }

    .cp-assist {
        text-align: center;
        font-size: 0.875rem;
        color: #6b7280;
        margin: 0;
    }

    .cp-assist a {
        color: #3B82F6;
        font-weight: 700;
        text-decoration: none;
    }

    .cp-assist a:hover {
        text-decoration: underline;
    }
}

@media only screen and (min-width: 36rem) {
    .cp-services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
