/**
 * Module: lp_contact_split
 */

/* ============================================
   CONTACT SPLIT
   ============================================ */

.t1-contact {
    display: grid;
    gap: 3rem;
    padding: 6rem max(1.5rem, calc(50vw - var(--max-width) / 2 + 1.5rem));
    background: linear-gradient(135deg, var(--jade-deep) 0%, var(--ink) 100%);
    color: white;
}

@media (min-width: 900px) {
    .t1-contact {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

/* Author message */
.t1-contact__author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0 0 2rem;
}

.t1-contact__author-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--jade);
    display: block;
}

.t1-contact__author-info {
    margin: 0;
}

.t1-contact__author-name {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
}

.t1-contact__author-title {
    font-size: 0.9375rem;
    color: var(--jade-bright);
}

.t1-contact__text {
    color: rgba(255,255,255,0.8);
    line-height: 1.9;
    margin: 0 0 1rem;
}

.t1-contact__signature {
    font-style: italic;
    color: var(--jade-bright);
    margin-top: 1.5rem;
}

/* Form */
.t1-contact__form {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 2.5rem;
}

.t1-contact__form-heading {
    font-size: 1.375rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    color: white;
}

.t1-contact__form-description {
    color: rgba(255,255,255,0.6);
    font-size: 0.9375rem;
    margin: 0 0 2rem;
}

.t1-contact__field {
    display: block;
    margin: 0 0 1.25rem;
}

.t1-contact__label-text {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255,255,255,0.9);
    margin: 0 0 0.5rem;
}

.t1-contact__input,
.t1-contact__select,
.t1-contact__textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    font-family: inherit;
    color: white;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.t1-contact__input::placeholder,
.t1-contact__textarea::placeholder {
    color: rgba(255,255,255,0.4);
}

.t1-contact__input:focus,
.t1-contact__select:focus,
.t1-contact__textarea:focus {
    outline: none;
    border-color: var(--jade-bright);
    background: rgba(255,255,255,0.12);
    box-shadow: 0 0 0 3px rgba(0,168,128,0.2);
}

.t1-contact__select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
}

.t1-contact__select option {
    background: var(--ink);
    color: white;
}

.t1-contact__textarea {
    resize: vertical;
    min-height: 100px;
}

/* Submit button */
.t1-contact__submit {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background: var(--jade);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.2s, transform 0.2s;
}

.t1-contact__submit:hover {
    background: var(--jade-dark);
    transform: translateY(-2px);
}

/* Honeypot — hidden from users, not bots */
.t1-contact__meta {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ========================================
   LIGHT THEME OVERRIDE
   ======================================== */

.t1-contact--light {
    background: white;
    color: var(--ink);
}

.t1-contact--light .t1-contact__text {
    color: var(--charcoal);
}

.t1-contact--light .t1-contact__signature {
    color: var(--jade);
}

.t1-contact--light .t1-contact__form {
    background: var(--pearl);
    border: 1px solid rgba(26, 29, 33, 0.08);
}

.t1-contact--light .t1-contact__form-heading {
    color: var(--ink);
}

.t1-contact--light .t1-contact__form-description {
    color: var(--charcoal);
}

.t1-contact--light .t1-contact__label-text {
    color: var(--ink);
}

.t1-contact--light .t1-contact__input,
.t1-contact--light .t1-contact__select,
.t1-contact--light .t1-contact__textarea {
    color: var(--ink);
    background: white;
    border: 1px solid rgba(26, 29, 33, 0.12);
}

.t1-contact--light .t1-contact__input::placeholder,
.t1-contact--light .t1-contact__textarea::placeholder {
    color: var(--stone);
}

.t1-contact--light .t1-contact__input:focus,
.t1-contact--light .t1-contact__select:focus,
.t1-contact--light .t1-contact__textarea:focus {
    border-color: var(--jade);
    background: white;
    box-shadow: 0 0 0 3px var(--jade-light);
}

.t1-contact--light .t1-contact__select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%231a1d21' stroke-width='2'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
}

.t1-contact--light .t1-contact__select option {
    background: white;
    color: var(--ink);
}