/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact-page {
    position: relative;
    background-color: var(--finris-black);
    overflow: hidden;
}

.contact-page-two {
    padding: 0;
}

/* ── Layout ── */
.cp-wrap {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 500px;
}

/* Yellow bg covers right 60% absolutely */
.cp-wrap::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 65%;
    background-color: var(--finris-base);
    z-index: 0;
}

/* Left cards — on dark bg, z-index above yellow */
.cp-cards {
    position: relative;
    z-index: 2;
    flex: 0 0 44%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 4px;
    padding: 50px 0 50px 40px;
}

/* Right form — on yellow bg */
.cp-form-panel {
    position: relative;
    z-index: 2;
    flex: 1;
    padding: 60px 120px 60px 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
}

.cp-form-inner {
    width: 100%;
    max-width: 460px;
}

/* ── Info Cards ── */
.cp-card {
    background-color: var(--finris-white);
    padding: 28px 22px 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.cp-card__icon {
    width: 52px;
    height: 52px;
    background-color: rgba(var(--finris-base-rgb), 0.15);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.cp-card__icon span {
    font-size: 20px;
    color: var(--finris-base);
}

.cp-card__title {
    font-size: 11px;
    font-weight: 700;
    font-family: var(--finris-font);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--finris-black);
    margin-bottom: 8px;
}

.cp-card__text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--finris-gray);
    margin: 0;
}

.cp-card__text a {
    color: var(--finris-gray);
}

.cp-card__text a:hover {
    color: var(--finris-black);
}

/* ── Form Panel ── */
.cp-form-title {
    font-family: var(--finris-font-two);
    font-size: 48px;
    font-weight: 400;
    text-transform: uppercase;
    color: var(--finris-black);
    line-height: 1;
    margin: 0 0 28px;
}

.cp-field {
    margin-bottom: 12px;
}

.cp-field input,
.cp-field textarea {
    width: 100%;
    background-color: var(--finris-white);
    border: none;
    outline: none;
    font-family: var(--finris-font);
    font-size: 14px;
    color: var(--finris-gray);
    border-radius: 0;
    display: block;
}

.cp-field input {
    height: 52px;
    padding: 0 20px;
}

.cp-field textarea {
    height: 140px;
    padding: 14px 20px;
    resize: none;
}

.cp-field input::placeholder,
.cp-field textarea::placeholder {
    color: #aab0bb;
}

.cp-submit {
    margin-top: 16px;
    display: flex;
    justify-content: flex-end;
}

/* Theme button style */
.cp-btn {
    position: relative;
    display: inline-block;
    background-color: var(--finris-black);
    color: var(--finris-white);
    font-family: var(--finris-font);
    font-size: 16px;
    font-weight: 500;
    padding: 18px 36px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    overflow: hidden;
    transition: color 0.5s linear;
    z-index: 1;
}

.cp-btn::before {
    position: absolute;
    top: 0; left: 0;
    content: '';
    width: 50%;
    height: 0;
    visibility: hidden;
    background-color: var(--finris-base);
    opacity: 0;
    z-index: -1;
    transition: all 0.4s ease-in-out;
}

.cp-btn::after {
    position: absolute;
    bottom: 0; right: 0;
    content: '';
    width: 50%;
    height: 0;
    visibility: hidden;
    background-color: var(--finris-base);
    opacity: 0;
    z-index: -1;
    transition: all 0.4s ease-in-out;
}

.cp-btn:hover { color: var(--finris-black); }

.cp-btn:hover::before,
.cp-btn:hover::after {
    width: 100%;
    height: 100%;
    visibility: visible;
    opacity: 1;
}

/* ── Responsive ── */
@media (max-width: 991px) {
    .cp-wrap { flex-direction: column; }
    .cp-wrap::after { width: 100%; top: auto; height: 60%; }
    .cp-cards { flex: none; width: 100%; padding: 4px; }
    .cp-form-panel { width: 100%; padding: 40px 24px; align-items: flex-start; }
    .cp-form-inner { max-width: 100%; }
    .cp-form-title { font-size: 32px; }
}

@media (max-width: 480px) {
    .cp-card { padding: 20px 16px; }
}

/*--------------------------------------------------------------
# End
--------------------------------------------------------------*/
