
/* =========================================
   SENSTECH CONTACT & CONVERSION
========================================= */

.senstech-contact {
    padding: clamp(4rem, 8vw, 7rem) 0;
    background: #f3f7f3;
    color: #20372c;
    font-family: 'Inter', sans-serif;
    scroll-margin-top: 110px;
}

.senstech-contact__layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    overflow: hidden;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 20px 60px rgba(16, 63, 48, 0.07);
}

/* LEFT PANEL */

.senstech-contact__intro {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: clamp(2rem, 5vw, 4.5rem);
    background:
        radial-gradient(
            ellipse at 10% 100%,
            rgba(20, 184, 166, 0.12),
            transparent 45%
        ),
        #103f30;
    color: #ffffff;
}

.senstech-contact__eyebrow {
    margin: 0 0 1.5rem;
    color: #a3e635;
    font-size: 0.73rem;
    font-weight: 700;
    letter-spacing: 0.15em;
}

.senstech-contact__heading {
    max-width: 520px;
    margin: 0 0 1.25rem;
    color: #ffffff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(2.1rem, 4vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 1.12;
}

.senstech-contact__description {
    max-width: 490px;
    margin: 0;
    color: #d5e4da;
    font-size: 0.96rem;
    line-height: 1.9;
}

.senstech-contact__areas {
    display: grid;
    gap: 1.1rem;
    width: 100%;
    margin-top: 2.75rem;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.17);
}

.senstech-contact__areas-heading {
    margin: 0 0 0.25rem;
    color: #ffffff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
}

.senstech-contact__area {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    color: #dce8df;
    font-size: 0.88rem;
    line-height: 1.6;
}

.senstech-contact__area > span:first-child {
    flex: 0 0 auto;
    color: #a3e635;
    font-weight: 700;
}

.senstech-contact__signature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 3rem;
}

.senstech-contact__signature > span {
    width: 26px;
    height: 3px;
    flex: 0 0 26px;
    border-radius: 3px;
    background: #a3e635;
}

.senstech-contact__signature > p {
    margin: 0;
    color: #a3e635;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.035em;
    line-height: 1.7;
}

/* RIGHT PANEL */

.senstech-contact__form-panel {
    min-width: 0;
    padding: clamp(2rem, 5vw, 4.5rem);
    background: #ffffff;
}

.senstech-contact__form-heading {
    margin-bottom: 2rem;
}

.senstech-contact__form-eyebrow {
    margin: 0 0 0.7rem;
    color: #0f6a4a;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.13em;
}

.senstech-contact__form-heading h3 {
    margin: 0 0 0.65rem;
    color: #173b2d;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(1.65rem, 3vw, 2.15rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.25;
}

.senstech-contact__form-heading > p:last-child {
    margin: 0;
    color: #627168;
    font-size: 0.9rem;
    line-height: 1.8;
}

/* FORM FIELDS */

.senstech-contact__field {
    min-width: 0;
    margin-bottom: 1.35rem;
}

.senstech-contact__field > label {
    display: block;
    margin-bottom: 0.55rem;
    color: #34483b;
    font-size: 0.83rem;
    font-weight: 600;
    line-height: 1.6;
}

.senstech-contact__field > label > span:first-child {
    color: #0f6a4a;
}

.senstech-contact__optional {
    margin-left: 0.35rem;
    color: #849087 !important;
    font-size: 0.75rem;
    font-weight: 400;
}

.senstech-contact__field input,
.senstech-contact__field select,
.senstech-contact__field textarea {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 49px;
    padding: 0.8rem 0.95rem;
    border: 1px solid #dce6de;
    border-radius: 7px;
    outline: none;
    background-color: #ffffff;
    color: #20372c;
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    line-height: 1.6;
    box-shadow: none;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.senstech-contact__field input::placeholder,
.senstech-contact__field textarea::placeholder {
    color: #9aa69e;
    opacity: 1;
}

.senstech-contact__field select {
    padding-right: 2.25rem;
    cursor: pointer;
}

.senstech-contact__field textarea {
    min-height: 120px;
    resize: vertical;
}

.senstech-contact__field input:focus,
.senstech-contact__field select:focus,
.senstech-contact__field textarea:focus {
    border-color: #0f6a4a;
    box-shadow: 0 0 0 3px rgba(15, 106, 74, 0.1);
}

.senstech-contact__field input.is-invalid,
.senstech-contact__field select.is-invalid,
.senstech-contact__field textarea.is-invalid {
    border-color: #c24141;
}

.senstech-contact__field input.is-invalid:focus,
.senstech-contact__field select.is-invalid:focus,
.senstech-contact__field textarea.is-invalid:focus {
    box-shadow: 0 0 0 3px rgba(194, 65, 65, 0.1);
}

.senstech-contact__error {
    margin: 0.45rem 0 0;
    color: #b42318;
    font-size: 0.78rem;
    line-height: 1.6;
}

/* SUBMIT BUTTON */

.senstech-contact__submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    width: 100%;
    min-height: 52px;
    padding: 0.9rem 1.25rem;
    border: 1px solid #0f6a4a;
    border-radius: 7px;
    background: #0f6a4a;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.5;
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.senstech-contact__submit:hover:not(:disabled) {
    transform: translateY(-1px);
    border-color: #0b543b;
    background: #0b543b;
}

.senstech-contact__submit:focus-visible {
    outline: 3px solid #14b8a6;
    outline-offset: 3px;
}

.senstech-contact__submit:disabled {
    cursor: wait;
    opacity: 0.7;
}

.senstech-contact__note {
    margin: 0.9rem 0 0;
    color: #849087;
    font-size: 0.75rem;
    line-height: 1.75;
}

/* FEEDBACK */

.senstech-contact__alert {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-radius: 7px;
}

.senstech-contact__alert p {
    margin: 0;
    font-size: 0.86rem;
    line-height: 1.7;
}

.senstech-contact__alert--success {
    border: 1px solid #b8ddc1;
    background: #eff8f0;
    color: #155c38;
}

.senstech-contact__alert--success > span {
    font-weight: 700;
}

.senstech-contact__alert--error {
    border: 1px solid #f0c4c4;
    background: #fff4f4;
    color: #a32626;
}

/* HONEYPOT */

.senstech-contact__honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

/* TABLET */

@media (max-width: 991.98px) {
    .senstech-contact__layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .senstech-contact__intro {
        min-height: auto;
        padding: clamp(2rem, 6vw, 3.5rem);
    }

    .senstech-contact__heading {
        max-width: 650px;
    }

    .senstech-contact__description {
        max-width: 650px;
    }

    .senstech-contact__areas {
        max-width: 550px;
        margin-top: 2rem;
    }

    .senstech-contact__signature {
        margin-top: 2rem;
        padding-top: 0;
    }

    .senstech-contact__form-panel {
        padding: clamp(2rem, 6vw, 3.5rem);
    }
}

/* MOBILE */

@media (max-width: 575.98px) {
    .senstech-contact {
        padding: 3.5rem 0;
    }

    .senstech-contact__layout {
        border-radius: 12px;
    }

    .senstech-contact__intro {
        padding: 1.75rem;
    }

    .senstech-contact__heading {
        font-size: clamp(2rem, 8vw, 2.55rem);
    }

    .senstech-contact__description {
        font-size: 0.9rem;
    }

    .senstech-contact__areas {
        gap: 0.9rem;
        margin-top: 2rem;
        padding-top: 1.35rem;
    }

    .senstech-contact__area {
        font-size: 0.84rem;
    }

    .senstech-contact__signature {
        margin-top: 1.75rem;
    }

    .senstech-contact__form-panel {
        padding: 1.75rem;
    }

    .senstech-contact__form-heading {
        margin-bottom: 1.6rem;
    }

    .senstech-contact__field {
        margin-bottom: 1.2rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .senstech-contact__field input,
    .senstech-contact__field select,
    .senstech-contact__field textarea,
    .senstech-contact__submit {
        transition: none;
    }

    .senstech-contact__submit:hover {
        transform: none;
    }
}
