/* =========================================
   Contact Page – Get In Touch
   ========================================= */

.cp-contact {
    position: relative;
    /* Soft mint top fade like the about hero */
    background: linear-gradient(180deg, #d9f3e3 0%, #eaf8ef 25%, #ffffff 65%);
    padding: 9rem 0 5rem;
    overflow: hidden;
}

.cp-contact__inner {
    position: relative;
    z-index: 2;
}

/* ── Two-column grid ───────────────────── */
.cp-contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: start;
}

/* ─────────────────────────────────────────
   LEFT: INFO
   ───────────────────────────────────────── */
.cp-contact__info {
    max-width: 460px;
}

.cp-contact__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.cp-contact__eyebrow-icon {
    display: inline-block;
    width: 22px;
    height: 22px;
    border: 2px dotted #2ecc71;
    border-radius: 50%;
    animation: cp-spin 8s linear infinite;
}

@keyframes cp-spin {
    to { transform: rotate(360deg); }
}

.cp-contact__headline {
    font-size: clamp(2.2rem, 4.5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.1;
    color: #111111;
    margin: 0 0 1rem;
    letter-spacing: -0.02em;
    font-family: var(--font-heading, 'Parkinsans', sans-serif);
}

.cp-contact__intro {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #555;
    margin: 0 0 2.5rem;
    max-width: 380px;
}

/* ── Contact list ──────────────────────── */
.cp-contact__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cp-contact__list-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: flex-start;
}

.cp-contact__icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cp-contact__icon--dark  { background: #111; color: #fff; }
.cp-contact__icon--green { background: #2ecc71; color: #fff; }
.cp-contact__icon--light { background: #e8f5ee; color: #2ecc71; }

.cp-contact__list-text {
    font-size: 0.92rem;
    line-height: 1.55;
    color: #333;
    text-decoration: none;
    font-style: normal;
    padding-top: 0.45rem;
}

a.cp-contact__list-text:hover { color: #2ecc71; }

.cp-contact__address {
    padding-top: 0.25rem;
}

/* ─────────────────────────────────────────
   RIGHT: FORM
   ───────────────────────────────────────── */
.cp-contact__form-wrap {
    width: 100%;
    max-width: 540px;
    justify-self: end;
}

.cp-contact__form {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.cp-contact__row--two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.cp-contact__field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.cp-contact__label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1a1a1a;
}

.cp-contact__required {
    color: #e74c3c;
    margin-left: 2px;
}

.cp-contact__input {
    width: 100%;
    padding: 0.8rem 0.95rem;
    background: #ececec;
    border: 1px solid transparent;
    border-radius: 8px;
    font: inherit;
    font-size: 0.92rem;
    color: #1a1a1a;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.cp-contact__input::placeholder {
    color: #999;
}

.cp-contact__input:focus {
    outline: none;
    background: #ffffff;
    border-color: #2ecc71;
    box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.18);
}

.cp-contact__select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1l5 5 5-5' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

.cp-contact__textarea {
    resize: vertical;
    min-height: 120px;
}

/* Honeypot (visually hidden, accessible to bots only) */
.cp-contact__hp {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ── Submit button ─────────────────────── */
.cp-contact__submit {
    margin-top: 0.5rem;
    padding: 0.95rem 2rem;
    background: #111;
    color: #fff;
    border: none;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.cp-contact__submit:hover {
    background: #2ecc71;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(46, 204, 113, 0.3);
}

.cp-contact__submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ── Feedback ──────────────────────────── */
.cp-contact__feedback {
    font-size: 0.88rem;
    min-height: 1.2em;
}
.cp-contact__feedback.is-success { color: #1e9e58; }
.cp-contact__feedback.is-error   { color: #c0392b; }

/* ── Decorative dot grid (right) ───────── */
.cp-contact__dots-deco {
    position: absolute;
    right: -40px;
    top: 55%;
    width: 240px;
    height: 220px;
    background-image: radial-gradient(circle, #2ecc71 2px, transparent 2.5px);
    background-size: 22px 22px;
    background-repeat: repeat;
    opacity: 0.55;
    -webkit-mask-image: radial-gradient(ellipse at center right, #000 30%, transparent 75%);
            mask-image: radial-gradient(ellipse at center right, #000 30%, transparent 75%);
    pointer-events: none;
    z-index: 1;
}

/* ─────────────────────────────────────────
   RESPONSIVE
   ───────────────────────────────────────── */
@media (max-width: 1024px) {
    .cp-contact { padding: 8rem 0 4rem; }
    .cp-contact__dots-deco { width: 180px; height: 170px; }
}

@media (max-width: 768px) {
    .cp-contact { padding: 7rem 0 3.5rem; }
    .cp-contact__grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .cp-contact__form-wrap { justify-self: stretch; max-width: 100%; }
    .cp-contact__info { max-width: 100%; }
    .cp-contact__dots-deco {
        width: 140px;
        height: 130px;
        right: -30px;
        top: auto;
        bottom: -30px;
    }
}

@media (max-width: 480px) {
    .cp-contact__row--two {
        grid-template-columns: 1fr;
    }
}
