/* Page */
.tn-contact-banner {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 75px 20px;
    background:
        radial-gradient(circle at 12% 18%,
            rgba(255, 255, 255, .08) 0%,
            rgba(255, 255, 255, .04) 18%,
            rgba(255, 255, 255, 0) 42%),

        radial-gradient(circle at 90% 85%,
            rgba(255, 0, 20, .45) 0%,
            rgba(255, 0, 20, .20) 22%,
            rgba(255, 0, 20, 0) 50%),

        linear-gradient(90deg,
            #c83d3d 0%,
            #dc3131 45%,
            #f2141d 100%);
}

.tn-contact-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, .06);
    pointer-events: none;
}

.tn-contact-banner .tn-contact-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    color: #ffd54a;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .5px;
    margin-bottom: 10px;
    backdrop-filter: blur(4px);
}

.tn-contact-banner .tn-contact-badge i {
    font-size: 16px;
}

.tn-contact-banner h2 {
    color: var(--color-white);
    font-size: 42px;
}

.tn-contact-banner p {
    color: rgba(255,255,255,.95);;
    font-size: 16px;
    margin: auto;
    opacity: .96;
}

/* Tablet */
@media (max-width:1024px) {
    .tn-contact-banner h2 {
        font-size: 44px;
    }

    .tn-contact-banner p {
        font-size: 19px;
    }

}

/* Mobile */
@media (max-width:768px) {
	.tn-contact-banner {
		padding: 45px 15px;
	}
	
    .tn-contact-banner .tn-contact-badge {
        font-size: 13px;
        padding: 8px 18px;
    }

    .tn-contact-banner h2 {
        font-size: 23px;
    }

    .tn-contact-banner p {
        font-size: 14px;
    }
}

/* Thông tin */
.tn-contact-card {
    margin: auto;
    background: var(--color-white);
    border-radius: 22px;
    padding: 20px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, .08);
    border: 1px solid #ececec;
}

.tn-contact-header h2 {
    margin: 0;
    font-size: 25px;
    color: var(--color-black);
}

.tn-contact-header p {
    margin: 10px 0;
	font-size: 13px;
    color: #6b7280;
}

.tn-contact-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 12px;
    border-radius: 12px;
    background: #f8fafc;
    margin-bottom: 16px;
    border: 1px solid #edf0f4;
    transition: .3s;
}

.tn-contact-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .08);
}

.tn-contact-item.hotline {
    background: #fff8f8;
    border: 1px solid #ffd3d3;
}

.tn-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: linear-gradient(135deg, #ff4a4a, #d91f1f);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    color: var(--color-white);
    font-size: 24px;
    box-shadow: 0 10px 18px rgba(255, 0, 0, .25);
}

.tn-icon.dark {
    background: linear-gradient(135deg, #374151, #111827);
}

.tn-icon.blue {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.tn-icon.green {
    background: linear-gradient(135deg, #10b981, #059669);
}

.tn-content {
    flex: 1;
}

.tn-content span {
    display: block;
    color: #6b7280;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.tn-content h3 {
    margin: 0;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 800;
    color: var(--color-black);
}

.tn-content h3 a {
    color: var(--color-main) !important;
    text-decoration: none;
}

.tn-contact-item.hotline h3 {
    color: #dc2626;
}

.tn-content p {
    color: #6b7280;
    font-size: 15px;
	margin-bottom: 0;
}

.tn-contact-footer {
    padding-top: 10px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
}

.tn-contact-footer div {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-black);
    font-weight: 600;
}

.tn-contact-footer i {
    color: var(--color-main);
    font-size: 20px;
}

@media(max-width: 768px) {
    .tn-contact-card {
        padding: 15px;
    }

    .tn-contact-header h2 {
        font-size: 22px;
    }
	
	.tn-contact-header p {
		margin: 5px 0;
	}

    .tn-contact-item {
        padding: 10px;
        gap: 15px;
    }

    .tn-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .tn-content h3 {
        font-size: 16px;
    }

    .tn-contact-footer {
        display: none
    }
	
	.tn-content p {
		font-size: 13px;
	}
}

/* form liên hệ */
.tn-form {
    background: var(--color-white);
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, .08);
    border: 1px solid #ececec;
    max-width: 100%;
}

.tn-heading {
    margin-bottom: 15px;
}

.tn-badge {
    display: inline-block;
    background: #fff2f2;
    color: var(--color-main);
    border: 1px solid #ffd5d5;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 15px;
}

.tn-heading h2 {
    margin: 0;
    color: var(--color-black);
    font-size: 30px;
    line-height: 1.2;
}

.tn-heading p {
    margin-top: 10px !important;
    color: #6f7788;
    font-size: 14px;
}

.tn-row {
    display: flex;
    gap: 20px;
    margin-bottom: 18px;
}

.tn-col {
    flex: 1;
}

.tn-col label, .tn-full label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    color: #222;
    font-size: 15px;
}

.tn-col label span {
    color: var(--color-main);
}

.tn-input {
    position: relative;
}

.tn-input i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #9aa3b2;
    font-size: 18px;
}

.tn-input input {
    width: 100%;
    height: 56px;
    border: 1px solid #dbe2ec !important;
    border-radius: 15px !important;
    background: #f8fafc !important;
    padding: 0 18px 0 48px;
    font-size: 15px;
    transition: .3s;
    box-sizing: border-box;
}

.tn-input input:focus {
    border-color: var(--color-main) !important;
    background: var(--color-white);
    outline: none;
}

.tn-full {
    margin-bottom: 25px;
}

.tn-textarea {
    position: relative;
}

.tn-textarea i {
    position: absolute;
    top: 20px;
    left: 16px;
    color: #9aa3b2;
    font-size: 18px;
}

.tn-textarea textarea {
    width: 100%;
    border: 1px solid #dbe2ec;
    border-radius: 15px;
    background: #f8fafc;
    resize: vertical;
    font-size: 15px;
    box-sizing: border-box;
}

.tn-textarea textarea:focus {
    outline: none;
    border-color: #e53935;
    background: var(--color-white);
}

.tn-select {
    position: relative;
}

.tn-select select {
    width: 100%;
    border: 1px solid #dbe2ec;
    border-radius: 15px;
    background: #f8fafc;
    color: #333;
    font-size: 15px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    transition: .3s;
}

.tn-select select:focus {
    outline: none;
    border-color: var(--color-main);
    background: var(--color-white);
}

.tn-submit {
    text-align: center;
}

.tn-submit input {
    width: 100%;
    border: none;
    border-radius: 15px !important;
    background: var(--color-main);
    color: var(--color-white);
    height: 58px;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    transition: .3s;
    box-shadow: 0 12px 25px rgba(219, 45, 45, .35);
}

.tn-submit input:hover {
    background: #c61d1d;
    transform: translateY(-2px);
}

/* CF7 */
.tn-form .wpcf7-spinner {
    display: none;
}

.tn-form .wpcf7-form-control-wrap {
    display: block;
}

.tn-form input, .tn-form textarea {
    margin: 0 !important;
}

/* Tablet */
@media(max-width:991px) {
    .tn-form {
        padding: 28px;
    }

    .tn-heading h2 {
        font-size: 32px;
    }
}

/* Mobile */
@media(max-width:768px) {
    .tn-form {
        padding: 20px;
        border-radius: 18px;
    }

    .tn-row {
        flex-direction: column;
        gap: 12px;
    }

    .tn-heading h2 {
        font-size: 23px;
    }

    .tn-heading p {
        font-size: 14px;
    }

    .tn-submit input {
        height: 54px;
        font-size: 14px !important;
    }
}