/* ===========================
   Contact Page — The ADR Initiative
   =========================== */

/* ── Section 1: Hero + Form ───────────────────────────────── */

.ct-hero {
    background-color: var(--color-bg-light);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.ct-hero::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -60px;
    width: 320px;
    height: 320px;
    background-image: radial-gradient(circle, rgba(87, 7, 102, 0.38) 3px, transparent 3px);
    background-size: 24px 24px;
    -webkit-mask-image: radial-gradient(ellipse 60% 60% at 32% 34%, black 26%, rgba(0,0,0,0.28) 52%, transparent 74%);
    mask-image:         radial-gradient(ellipse 60% 60% at 32% 34%, black 26%, rgba(0,0,0,0.28) 52%, transparent 74%);
    pointer-events: none;
    z-index: 0;
}

.ct-hero::after {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    border: 2px dashed rgba(87, 7, 102, 0.14);
    pointer-events: none;
    z-index: 0;
    animation: deco-spin-slow 28s linear infinite;
}

.ct-hero-text {
    text-align: center;
    margin-bottom: 48px;
}

.ct-title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 500;
    color: var(--color-black);
    line-height: 1.2;
    margin: 0 0 20px;
}

.ct-subtitle {
    font-family: var(--font-body);
    font-size: clamp(15px, 2vw, 17px);
    color: var(--color-text);
    line-height: 1.75;
    max-width: 620px;
    margin: 0 auto;
}

.ct-form-wrap {
    max-width: 680px;
    margin: 0 auto;
    background: var(--color-white);
    border-radius: 14px;
    padding: 40px 40px 36px;
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.07);
}

.ct-form-placeholder {
    text-align: center;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--color-text);
    font-style: italic;
    padding: 40px 0;
}

/* ── WPForms inside the contact card ─────────────────────── */

.ct-form-wrap input[type="text"],
.ct-form-wrap input[type="email"],
.ct-form-wrap input[type="tel"],
.ct-form-wrap input[type="number"],
.ct-form-wrap select {
    border-radius: 50px !important;
}

.ct-form-wrap textarea {
    border-radius: 16px !important;
}

.ct-form-wrap input[type="text"],
.ct-form-wrap input[type="email"],
.ct-form-wrap input[type="tel"],
.ct-form-wrap input[type="number"],
.ct-form-wrap select,
.ct-form-wrap textarea {
    border: 1px solid rgba(0, 0, 0, 0.2) !important;
    padding: 10px 14px !important;
    font-family: var(--font-body) !important;
    font-size: 14px !important;
    background-color: #fff !important;
    color: var(--color-text) !important;
    box-shadow: none !important;
}

.ct-form-wrap input[type="text"]:focus,
.ct-form-wrap input[type="email"]:focus,
.ct-form-wrap input[type="tel"]:focus,
.ct-form-wrap textarea:focus {
    border-color: rgba(0, 0, 0, 0.4) !important;
    outline: none !important;
}

.ct-form-wrap label.wpforms-field-label,
.ct-form-wrap legend.wpforms-field-label {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400 !important;
}

.ct-form-wrap .wpforms-submit {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 12px 28px !important;
    font-family: var(--font-heading) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    background-color: var(--color-primary) !important;
    border-radius: 50px !important;
    border: none !important;
    cursor: pointer !important;
    transition: background-color 0.2s ease, transform 0.15s ease !important;
    -webkit-font-smoothing: antialiased !important;
}

.ct-form-wrap .wpforms-submit:hover {
    background-color: #6b0a7a !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
}

.ct-form-wrap .wpforms-submit:active {
    transform: translateY(0) !important;
}

/* ── Section 2: Contact Info Bar ──────────────────────────── */

.ct-info-bar {
    background-color: var(--color-white);
    padding: 48px 0;
    border-top: 1px solid #e4e4e4;
}

.ct-info-grid {
    display: grid;
    grid-template-columns: auto 1fr 1fr 1fr;
    gap: 40px;
    align-items: center;
}

/* Social column */
.ct-info-socials {
    display: flex;
    align-items: center;
}

.ct-social-list {
    display: flex;
    gap: 16px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.ct-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid #e0e0e0;
    color: var(--color-black);
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.ct-social-link:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* Info columns */
.ct-info-col {
    padding-left: 40px;
    border-left: 1px solid #e4e4e4;
}

.ct-info-socials {
    padding-left: 0;
    border-left: none;
}

.ct-info-label {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--color-black);
    margin: 0 0 8px;
}

.ct-info-value {
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--color-text);
    line-height: 1.6;
    font-style: normal;
    margin: 0;
}

.ct-info-link {
    text-decoration: none;
    transition: color 0.2s ease;
}

.ct-info-link:hover {
    color: var(--color-primary);
}

/* ── Responsive ───────────────────────────────────────────── */

@media (max-width: 1024px) {
    .ct-info-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }

    .ct-info-col {
        padding-left: 28px;
    }

    .ct-info-socials {
        grid-column: 1 / -1;
        padding-left: 0;
        border-left: none;
        border-bottom: 1px solid #e4e4e4;
        padding-bottom: 24px;
    }
}

@media (max-width: 768px) {
    .ct-hero {
        padding: 60px 0;
    }

    .ct-hero-text {
        margin-bottom: 36px;
    }

    .ct-form-wrap {
        padding: 28px 24px;
    }

    .ct-info-bar {
        padding: 40px 0;
    }

    .ct-info-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .ct-info-col {
        padding-left: 0;
        border-left: none;
        border-top: 1px solid #e4e4e4;
        padding-top: 20px;
    }

    .ct-info-socials {
        border-bottom: none;
        padding-bottom: 0;
        border-top: none;
        padding-top: 0;
    }
}

@media (max-width: 480px) {
    .ct-hero {
        padding: 48px 0;
    }

    .ct-form-wrap {
        padding: 24px 16px;
    }
}

@media (max-width: 768px) {
    .ct-hero::before, .ct-hero::after {
        display: none;
    }
}
