/* ========== CONTACT SECTION ========== */

.section-contact {
    padding: 80px 0;
    background: #ffffff;
    color: var(--ts-black);
}

.section-contact__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* Cột chung */
.section-contact__title {
    font-size: 24px;
    line-height:32px;
    font-weight: 600;
    margin-bottom: 12px;
    color: rgba(0, 88, 37, 1);
    margin-top:0;
}

.section-contact__intro {
       color: #1c1c1c99;
       font-weight:300;
       margin:0;
}

/* Info list */
.section-contact__info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
    margin-top:40px;
}

.section-contact__info-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--ts-black);
}
.section-contact__info-item a{
    color: var(--ts-black);
}

.section-contact__info-icon {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: var(--ts-green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}

/* Icon glyphs (simple) */
.section-contact__info-icon::before {
    content: "";
    display: block;
    width: 12px;
    height: 12px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Bạn có thể thay bằng SVG riêng nếu muốn */
.section-contact__info-icon--phone::before {
    border-radius: 2px;
    border: 2px solid #ffffff;
    border-top-color: transparent;
    border-right-color: transparent;
    transform: rotate(-45deg);
}

.section-contact__info-icon--map::before {
    border-radius: 999px;
    border: 2px solid #ffffff;
}

.section-contact__info-icon--mail::before {
    border-radius: 2px;
    border: 2px solid #ffffff;
    box-sizing: border-box;
}

/* RIGHT: form panel */

/* Khối nền xanh */
.section-contact__form-panel {
    position: relative;
    background-image: url(/image/catalog/contact/bg_form_contact.png);
}

.section-contact__form-overlay {
    position: absolute;
    inset: 0;
        background: var(--ts-green-dark);
    opacity: 0.95;
    pointer-events: none;
    width: 100%;
    height: 100%;
}

/* Nội dung bên trong panel */
.section-contact__form-inner {
    position: relative;
       padding: 120px 40px;
}

.section-contact__title--light {
    color: #ffffff;
}

.section-contact__intro--light {
    color: rgba(255, 255, 255, 0.85);
    max-width: none;
}

/* Form */
.section-contact__form {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.section-contact__field {
    width: 100%;
}

.section-contact__input {
    width: 100%;
    padding: 16px 24px;
    color: #ffffff;
    outline: none;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px)
}

/* Chuẩn hiện tại */
.section-contact__input::placeholder {
    color: rgba(255, 255, 255, 1);
}

/* Chrome, Safari, Edge (Blink/WebKit) */
.section-contact__input::-webkit-input-placeholder {
    color: rgba(255, 255, 255, 1);
}

/* Firefox cũ */
.section-contact__input:-moz-placeholder {
    color: rgba(255, 255, 255, 1);
    opacity: 1; /* để khỏi bị mờ */
}
.section-contact__input::-moz-placeholder {
    color: rgba(255, 255, 255, 1);
    opacity: 1;
}

/* IE10–11, Edge cũ */
.section-contact__input:-ms-input-placeholder {
    color: rgba(255, 255, 255, 1);
}
.section-contact__input::-ms-input-placeholder {
    color: rgba(255, 255, 255, 1);
}


.section-contact__input:focus {
    border-color: #ffffff;
}

/* Submit */
.section-contact__submit {
    margin-top: 20px;
    width:fit-content;
}

footer .ts-pattern{
    display:none;
}

/* ========== RESPONSIVE ========== */
@media (min-width: 992px) {
    .section-contact__col--form {
        flex: 0 0 50%;
        max-width: 50%;
    }
    .section-contact__col--info{
    max-width:480px;
}
.section-contact__input,
.section-contact__intro,
.section-contact__info-item{
    font-size:18px;
    line-height:24px;
}
}
/* Tablet */
@media (max-width: 991.98px) {
    .section-contact__inner{
        flex-direction: column;
        padding-top:40px;
    }
    .section-contact__form-inner{
        padding:80px 40px;
    }
    .section-contact__title{
        font-size:20px;
        line-height:28px;
    }
}
@media (max-width:767px){
    .section-contact__input,
    .section-contact__intro,
    .section-contact__info-item{
        font-size:14px;
        line-height:20px;
    }
}
/* Mobile */
@media (max-width: 575.98px) {
    .section-contact__form-inner{
        padding:2rem 1rem;
    }
    .section-contact__input{
        padding:0.5rem;
    }
}
