/* =========================================================
   CASANOVA CAR RENTAL — CONTACT US PAGE
   2-column: info + social | form (CF7). Full-width map below.
========================================================= */

.cp-section {
    background-color: var(--color-rich-black);
    padding: 50px 0;
}

.cp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: start;
}

/* -----------------------------------------
   Left: Info Column
----------------------------------------- */
.cp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-amber);
    margin-bottom: 18px;
}

.cp-eyebrow .eyebrow-line {
    display: inline-block;
    width: 40px;
    height: 2px;
    background-color: var(--color-amber);
}

.cp-heading {
    font-family: var(--font-main);
    font-weight: 700;
    font-size: clamp(28px, 3.4vw, 38px);
    color: var(--color-white);
    text-transform: capitalize;
    margin-bottom: 16px;
    line-height: 1.25;
}

.cp-subtext {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 40px;
}

/* Info list */
.cp-info-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-bottom: 40px;
}

.cp-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.cp-info-item:hover {
    border-color: rgba(255, 191, 1, 0.35);
    background-color: rgba(255, 255, 255, 0.05);
}

.cp-info-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 191, 1, 0.12);
    border-radius: 50%;
    color: var(--color-amber);
}

.cp-info-icon svg {
    width: 20px;
    height: 20px;
}

.cp-info-label {
    display: block;
    font-family: var(--font-main);
    font-size: 12px;
    font-weight: 500;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 4px;
}

.cp-info-value {
    font-family: var(--font-main);
    font-size: 15.5px;
    font-weight: 500;
    color: var(--color-white);
    transition: color 0.3s ease;
}

a.cp-info-value:hover {
    color: var(--color-amber);
}

.cp-info-value-static {
    display: block;
    font-weight: 400;
    line-height: 1.5;
}

/* Social icons */
.cp-social {
    display: flex;
    gap: 12px;
}

.cp-social a {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    color: var(--color-white);
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.cp-social a svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.cp-social a:hover {
    background-color: var(--color-amber);
    border-color: var(--color-amber);
    color: var(--color-rich-black);
    transform: translateY(-3px);
}

/* -----------------------------------------
   Right: Form Column
----------------------------------------- */
.cp-form-wrapper {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 44px;
}

.cp-form-title {
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 22px;
    color: var(--color-white);
    text-transform: capitalize;
    margin-bottom: 28px;
}

.cp-form-notice {
    font-family: var(--font-main);
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* -----------------------------------------
   Contact Form 7 styling overrides
----------------------------------------- */
.cp-form-wrapper .wpcf7-form {
    margin: 0;
}

.cp-form-wrapper .wpcf7-form p {
    margin: 0 0 26px;
    line-height: normal;
}

.cp-form-wrapper .wpcf7-form p:last-child {
    margin-bottom: 0;
}

.cp-form-wrapper .wpcf7-form label {
    display: block;
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 13px;
    text-transform: capitalize;
    letter-spacing: 0.4px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 9px;
    line-height: normal;
}

/* CF7 wraps every field in this span by default — kill its extra box model */
.cp-form-wrapper .wpcf7-form-control-wrap {
    display: block;
    line-height: normal;
}

.cp-form-wrapper br {
    display: none;
}

.cp-form-wrapper .wpcf7-form-control {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 12px 14px;
    font-family: var(--font-main);
    font-size: 14.5px;
    color: var(--color-white);
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.cp-form-wrapper .wpcf7-form-control::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.cp-form-wrapper .wpcf7-form-control:focus {
    outline: none;
    border-color: var(--color-amber);
    background-color: rgba(255, 255, 255, 0.06);
}

.cp-form-wrapper textarea.wpcf7-form-control {
    resize: vertical;
    min-height: 130px;
}

.cp-form-wrapper .wpcf7-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 15px 34px;
    background-color: var(--color-amber);
    color: var(--color-rich-black);
    border: none;
    border-radius: 50px;
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 15px;
    text-transform: capitalize;
    cursor: pointer;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.cp-form-wrapper .wpcf7-submit:hover {
    opacity: 0.88;
    transform: translateY(-2px);
}

.cp-form-wrapper .wpcf7-spinner {
    margin-left: 10px;
}

.cp-form-wrapper .wpcf7-not-valid-tip {
    font-family: var(--font-main);
    font-size: 12.5px;
    color: #ff6b6b;
    margin-top: 6px;
}

.cp-form-wrapper .wpcf7-response-output {
    font-family: var(--font-main);
    font-size: 13.5px;
    border-radius: 8px;
    margin-top: 20px;
    padding: 12px 16px;
}

/* -----------------------------------------
   Map Section + Overlay Card
----------------------------------------- */
.cp-map-section {
    position: relative;
    width: 100%;
    height: 450px;
    line-height: 0;
}

.cp-map-section iframe {
    filter: grayscale(20%) contrast(1.05);
}

.cp-map-card {
    position: absolute;
    top: 24px;
    left: 24px;
    z-index: 2;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    padding: 18px 20px;
    max-width: 300px;
}

.cp-map-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.cp-map-card-title {
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 16px;
    color: var(--color-rich-black);
    line-height: 1.3;
    margin-bottom: 4px;
}

.cp-map-card-address {
    font-family: var(--font-main);
    font-size: 12.5px;
    line-height: 1.5;
    color: #666;
}

.cp-map-card-directions {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-amber);
    color: var(--color-rich-black);
    border-radius: 50%;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.cp-map-card-directions svg {
    width: 17px;
    height: 17px;
}

.cp-map-card-directions:hover {
    transform: scale(1.08);
    opacity: 0.9;
}

/* -----------------------------------------
   Responsive
----------------------------------------- */
@media (max-width: 992px) {
    .cp-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cp-form-wrapper {
        padding: 34px 26px;
    }
}

@media (max-width: 576px) {
    .cp-section {
        padding: 70px 0;
    }

    .cp-info-item {
        padding: 14px;
    }

    .cp-form-wrapper {
        padding: 28px 20px;
    }

    .cp-map-section {
        height: 320px;
    }
    
    .cp-map-card {
        top: 16px;
        left: 16px;
        right: 16px;
        max-width: none;
        padding: 14px 16px;
    }
}