/* ==========================================
   CONTACT — Split layout
   ========================================== */

/* --- Split container --- */
.ct-split {
    display: grid;
    grid-template-columns: 2fr 3fr;
    min-height: 100vh;
    padding-top: 76px;              /* navbar clearance */
}

/* -------------------------------------------------------
   LEFT PANEL — dark image side
   ------------------------------------------------------- */
.ct-panel-dark {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 600px;
    overflow: hidden;
}

.ct-panel-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    filter: brightness(0.22) saturate(0.6);
}

.ct-panel-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 56px 52px 44px;
}

/* Top area */
.ct-kicker {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 24px;
}

.ct-headline {
    font-family: var(--font-heading);
    font-size: 46px;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -0.01em;
}

/* Bottom area */
.ct-panel-bottom {
    margin-top: auto;
}

.ct-phone-block {
    margin-bottom: 36px;
}

.ct-phone-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 8px;
}

.ct-phone {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 34px;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    letter-spacing: -0.01em;
    border-bottom: 3px solid var(--primary);
    padding-bottom: 4px;
    transition: border-color 0.2s;
}

.ct-phone:hover {
    border-color: #fff;
}

/* Meta row */
.ct-meta-row {
    display: flex;
    gap: 40px;
    margin-bottom: 32px;
}

.ct-meta-key {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 5px;
}

.ct-meta-val {
    display: block;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.45;
}

/* Trust line */
.ct-assurances {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 0.02em;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* -------------------------------------------------------
   RIGHT PANEL — form side
   ------------------------------------------------------- */
.ct-panel-form {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    position: relative;
}

/* Orange accent — thin line on the left edge */
.ct-panel-form::before {
    content: '';
    position: absolute;
    top: 76px;
    left: 0;
    bottom: 76px;
    width: 3px;
    background: var(--primary);
}

.ct-form-inner {
    width: 100%;
    max-width: 640px;
    padding: 60px 64px;
}

/* Form header */
.ct-form-head {
    margin-bottom: 40px;
}

.ct-form-head h2 {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
}

.ct-form-head p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* Form layout */
.ct-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.ct-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

/* Labels */
.ct-field label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
}

.ct-opt {
    font-weight: 400;
    color: #a8a098;
}

/* Inputs */
.ct-field input,
.ct-field select,
.ct-field textarea {
    width: 100%;
    padding: 11px 0;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--text);
    background: transparent;
    border: none;
    border-bottom: 1.5px solid #d8d2cc;
    border-radius: 0;
    outline: none;
    transition: border-color 0.2s;
    appearance: none;
}

.ct-field select {
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%236b6058' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 4px center;
    padding-right: 28px;
    cursor: pointer;
}

.ct-field input:focus,
.ct-field select:focus,
.ct-field textarea:focus {
    border-bottom-color: var(--primary);
}

.ct-field textarea {
    resize: vertical;
    min-height: 90px;
    line-height: 1.5;
    border-bottom-width: 1.5px;
}

/* Submit */
.ct-submit {
    display: block;
    width: 100%;
    padding: 15px 24px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 40px;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 8px;
}

.ct-submit:hover {
    background: var(--primary-dark);
}

/* -------------------------------------------------------
   MAP SECTION
   ------------------------------------------------------- */
.ct-map-section {
    background: var(--light-bg);
    border-top: 1px solid #e8e3de;
}

.ct-map-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 40px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-light);
}

.ct-map {
    width: 100%;
    height: 300px;
}

.ct-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    filter: saturate(0.6) contrast(1.05);
}

/* -------------------------------------------------------
   RESPONSIVE
   ------------------------------------------------------- */
@media (max-width: 1024px) {
    .ct-panel-content {
        padding: 44px 36px 36px;
    }

    .ct-form-inner {
        padding: 48px 36px;
    }

    .ct-headline {
        font-size: 38px;
    }

    .ct-phone {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .ct-split {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .ct-panel-dark {
        min-height: 480px;
    }

    .ct-panel-form::before {
        /* Move accent to top on mobile */
        top: 0;
        left: 24px;
        right: 24px;
        bottom: auto;
        width: auto;
        height: 3px;
    }

    .ct-form-inner {
        padding: 44px 24px;
        max-width: 100%;
    }

    .ct-row {
        grid-template-columns: 1fr;
    }

    .ct-panel-content {
        padding: 40px 24px 32px;
    }

    .ct-headline {
        font-size: 32px;
    }

    .ct-phone {
        font-size: 24px;
    }

    .ct-meta-row {
        flex-direction: column;
        gap: 16px;
    }

    .ct-map {
        height: 220px;
    }

    .ct-map-bar {
        padding: 12px 24px;
    }
}

@media (max-width: 480px) {
    .ct-headline {
        font-size: 28px;
    }

    .ct-phone {
        font-size: 21px;
    }

    .ct-panel-dark {
        min-height: 420px;
    }
}
