/* ============= Global layout scaffolding ============ */
.tsncthd-container {
    display: flex;
    flex-direction: column;
}

.tsncthd-root * {
    box-sizing: border-box;
}

/* ======================= Hero ========================= */
.tsncthd-hero {
    position: relative;
    width: 100%;
    min-height: 598px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* .tsncthd-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(239, 239, 239, 0.272);
    pointer-events: none;
    z-index: 1;
} */

.tsncthd-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.tsncthd-hero-content {
    position: relative;
    z-index: 2;
    max-width: 80%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
    padding: 48px 32px;
    background: transparent;
}

.tsncthd-hero-logo {
    width: 200px;
    height: auto;
    object-fit: contain;
    margin-left: -36px;
}

.tsncthd-title {
    font-size: 40px;
    font-weight: 700;
    color: #000;
    margin: 0;
}

.tsncthd-desc {
    font-size: 16px;
    font-weight: 400;
    color: #000;
    line-height: 200%;
    margin: 0;
    width: 60%;
}

.tsncthd-buttons {
    width: 100%;
    max-width: 714px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 8px;
}

.tsncthd-button-left,
.tsncthd-button-right {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 32px;
    border-radius: 60px;
    background: #D72323;
    text-decoration: none !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tsncthd-button-left:hover,
.tsncthd-button-right:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(215, 35, 35, 0.25);
}

.tsncthd-button-right {
    flex-direction: row-reverse;
}

.tsncthd-button-left-arrow,
.tsncthd-button-right-text {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.tsncthd-button-left-text,
.tsncthd-button-right-arrow {
    color: #fff;
    font-weight: 600;
    white-space: nowrap;
}


/* ======================== Tại sao chọn THD ========================== */
.tsncthd-expert-team {
    width: 100%;
    background: linear-gradient(to bottom, #ffffff 66.66%, #A30410 33.33%);
    padding: 5em 0;
}

.tsncthd-expert-box,
.tsncthd-cert-box,
.tsncthd-solutions-box,
.tsncthd-architecture-box {
    display: flex;
    gap: 5em;
    width: 85%;
    margin: 0 auto;
}

/*  Left */
.tsncthd-expert-left {
    width: 55%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2.5em;
}

.tsncthd-expert-title {
    gap: 12px;
    display: flex;
    flex-direction: column
}

.tsncthd-main-title {
    font-size: clamp(36px, 3.5vw, 48px);
    margin: 0;
    font-weight: 800;
    color: #A30410;
}

.tsncthd-expert-subtitle {
    font-weight: 700;
    font-size: clamp(28px, 2vw, 36px);
    color: #515251;
    margin: 0;
}

.tsncthd-feature-tag {
    color: #D00000;
    background: #FFF4F4;
    padding: 4px 12px;
    border-radius: 10px;
    font-weight: 500;
    margin-right: 16px;
}

.tsncthd-expert-image {
    width: clamp(35vw, 45vw, 45vw);
    aspect-ratio: 2 / 1;
    border-radius: clamp(8px, 1.2vw, 18px);
    object-fit: cover;
}

/* Right */
.tsncthd-expert-right {
    width: 45%;
    display: flex;
    flex-direction: column;
    gap: 32px;
    justify-content: space-between;
}

.tsncthd-expert-content-logo {
    max-width: 250px;
    margin-left: -40px;
    margin-bottom: 36px;
}

.tsncthd-expert-content-desc {
    font-size: clamp(16px, 1.4vw, 20px);
    color: #000;
}

.tsncthd-expert-content-desc p {
    line-height: 2;
    margin: 0;
}

.tsncthd-expert-content-desc-2 {
    color: #fff;
    font-style: italic;
    font-weight: 600;
    padding: 16px;
    border: 2px solid transparent;
    border-image: linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.329));
    border-image-slice: 1;
    border-radius: 0 10px 0 10px;
    font-size: clamp(16px, 1.4vw, 20px);
    margin: 0;
}

/* ============== Expert Cert ================== */
.tsncthd-cert-container {
    width: 100%;
}

.tsncthd-cert-box {
    margin: 2em auto 5em;
}

.tsncthd-cert-content {
    width: 60%;
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin: 5em auto;
}

.tsncthd-cert-header {
    width: 90%;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.tsncthd-cert-title {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tsncthd-cert-content-title {
    font-weight: 700;
    font-size: 36px;
    color: #111;
    margin: 0;
    text-align: left;
}

.tsncthd-cert-content-subtitle {
    color: #D00000;
    font-size: 36px;
    text-transform: uppercase;
    font-weight: 700;
}

.tsncthd-cert-content-desc {
    font-size: 18px;
    line-height: 2;
    color: #111;
    margin: 0;
    text-align: left;
    width: 80%;
}

.tsncthd-cert-list {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(3, 1fr);
}

.tsncthd-cert-item-a,
.tsncthd-cert-item-b,
.tsncthd-cert-item-c {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px 16px;
    border-radius: 16px;
    background: #f9f9f9;
    text-align: center;
}

.tsncthd-cert-item-icon {
    color: #D72323;
    font-size: 50px;
}

.tsncthd-cert-item-title {
    font-weight: 600;
    font-size: 18px;
    line-height: 160%;
    margin: 0;
}

.tsncthd-cert-item-desc {
    font-weight: 400;
    font-size: 14px;
    line-height: 180%;
    margin: 0;
}

.tsncthd-cert-img {
    width: 40%;
    border-radius: 20px;
    overflow: hidden;
}

.tsncthd-cert-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 20px;
}

/* ================ SOC ==================== */
.tsncthd-soc {
    position: relative;
    width: 100%;
    min-height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 64px 0;
    text-align: center;
}

.tsncthd-soc-bg,
.tsncthd-soc-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tsncthd-soc-overlay {
    background: rgba(0, 0, 0, 0.8);
    z-index: 1;
}

.tsncthd-soc-main {
    z-index: 2;
    width: 80%;
    display: flex;
    flex-direction: column;
    gap: 5em;
    align-items: center;
}

.tsncthd-soc-header {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 70%;
}

.tsncthd-soc-title {
    font-weight: 700;
    font-size: 36px;
    color: #fff;
    margin: 0;
}

.tsncthd-soc-desc {
    font-weight: 400;
    font-size: 18px;
    line-height: 2;
    color: #fff;
    margin: 0;
}

.tsncthd-soc-img-box {
    width: 100%;
    display: flex;
    align-items: stretch;
    justify-content: center;
    position: relative;
}

.tsncthd-soc-img-divider {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40%;
    height: 1px;
    background-color: #fff;
    transform: translate(-50%);
}

.tsncthd-soc-img-list {
    display: flex;
    gap: 10em;
    z-index: 1;
}

.tsncthd-soc-img-container {
    width: 143px;
    height: 143px;
    border-radius: 50%;
    border: 3px solid #fff;
    background: #fff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tsncthd-soc-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ================ Solutions ====================== */
.tsncthd-solutions {
    width: 100%;
    background: #f9f9f9;
    padding: 5em 0;
}

.tsncthd-solutions-box {
    display: flex;
    flex-direction: column;
}

.tsncthd-solutions-header {
    display: flex;
    gap: 16px;
    text-align: left;
    justify-content: space-between;
}

.tsncthd-solutions-header-content {
    width: 70%;
}

.tsncthd-solutions-title {
    font-weight: 700;
    font-size: 36px;
    color: #111;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tsncthd-solutions-title p {
    margin: 0;
}

.tsncthd-solutions-desc {
    font-size: 18px;
    line-height: 200%;
    color: #111;
    margin: 0;
}

.tsncthd-solutions-header-button {
    text-decoration: none;
    padding: 12px 36px;
    background: #D62525;
    border-radius: 40px;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    align-self: flex-end;
}

.tsncthd-solutions-list {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 10vw;
}

.tsncthd-solutions-item {
    background: #ffffff;
    border-bottom: 4px solid #B52121;
    border-radius: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tsncthd-solutions-item-icon {
    background-color: #B52121;
    color: #fff;
    font-size: 40px;
    border-radius: 8px;
    width: 60px;
    height: 60px;
    display: grid;
    place-items: center;
}

.tsncthd-solutions-item-title {
    font-weight: 700;
    font-size: 20px;
    color: #111;
    margin: 0;
}

.tsncthd-solutions-item-title p {
    margin: 0;
}

.tsncthd-solutions-item-desc {
    font-size: 18px;
    line-height: 200%;
    color: #111;
    margin: 0;
}

/* =========== Cam kết =========== */
.tsncthd-commit {
    width: 100%;
    background: #fff;
    display: flex;
    justify-content: center;
    margin: 5em 0;
}

.tsncthd-commit-wrapper {
    width: 85%;
    display: flex;
    flex-direction: column;
    gap: 4em;
    align-items: center;
}

.tsncthd-commit-header {
    width: 70%;
    text-align: center;
}

.tsncthd-commit-title {
    font-weight: 700;
    font-size: 32px;
    line-height: 160%;
    margin: 0;
    color: #000;
}

.tsncthd-commit-subtitle {
    font-size: 20px;
    line-height: 2;
    text-align: center;
}

.tsncthd-commit-list {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(200px, 1fr));
    gap: 32px;
    align-items: start;
}

.tsncthd-commit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.tsncthd-commit-icon-wrapper,
.tsncthd-commit-icon-wrapper-wide {
    width: 100%;
    display: flex;
    justify-content: center;
}

.tsncthd-commit-icon,
.tsncthd-commit-icon-large {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.tsncthd-commit-icon-pair {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.tsncthd-commit-item-title,
.tsncthd-commit-item-title-wide {
    margin: 0;
}

.tsncthd-commit-item-title-text {
    font-weight: 700;
    font-size: 20px;
    color: #000;
}

.tsncthd-commit-item-desc,
.tsncthd-commit-item-desc-wide {
    margin: 0;
}

.tsncthd-commit-item-desc-text {
    font-weight: 400;
    font-size: 16px;
    line-height: 200%;
    color: #000;
}

.tsncthd-commit-logo-wrapper {
    width: 100%;
    max-width: 744px;
    height: 42px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 16px;
}

.tsncthd-commit-logo-wrapper::before,
.tsncthd-commit-logo-wrapper::after {
    content: '';
    flex: 1;
    height: 2px;
    background: #D72323;
}

.tsncthd-commit-logo {
    width: 180px;
    height: 42px;
    object-fit: contain;
}

/* =========== Kiến trúc báo mật =========== */
.tsncthd-architecture {
    width: 100%;
    background: #fff;
    display: flex;
    justify-content: center;
}

.tsncthd-architecture-box {}

.tsncthd-architecture-left {
    width: 35%;
    border-radius: 20px;
    overflow: hidden;
}

.tsncthd-architecture-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tsncthd-architecture-right {
    width: 65%;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.tsncthd-architecture-title {
    font-weight: 700;
    font-size: 36px;
    color: #000;
    margin: 0;
}

.tsncthd-architecture-desc {
    border-radius: 20px;
    background: #f5f5f5;
    padding: 40px;
    font-weight: 400;
    font-size: 18px;
    line-height: 200%;
    color: #000;
    margin: 0;
}

/* ============ Layer ============== */
.tsncthd-layers {
    padding: 3em 0 0 5em;
    padding-right: 0;
    margin: 5em 0;
    background: #f9f9f9;
}

.tsncthd-layers-main {
    display: flex;
    gap: 5em;
    justify-content: space-between;
    align-items: flex-end;
}

.tsncthd-layers-title {
    font-weight: 700;
    font-size: 36px;
    text-align: center;
    width: 40%;
}

.tsncthd-layers-grid {
    width: 40%;
    display: grid;
    grid-template-columns: repeat(2, minmax(240px, 1fr));
    gap: 4em;
    align-self: center;
    padding: 3em 0;
}

.tsncthd-layer-item {
    border-radius: 16px;
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.tsncthd-layer-icon {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

.tsncthd-layer-title {
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 700;
    color: #000;
    margin: 0;
}

.tsncthd-layers-image-wrapper {
    width: 60%;
    height: clamp(500px, 650px, 700px);
    overflow: hidden;
    border-radius: 95% 0 0 0;
}

.tsncthd-layers-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========== SLA ============ */
.tsncthd-sla {
    padding: 5em;
    padding-top: 0;
    display: flex;
    flex-direction: column;
    gap: 4em;
}

.tsncthd-sla-title {
    font-weight: 700;
    font-size: 36px;
    color: #B52121;
    text-align: center;
}

.tsncthd-sla-main {
    width: 100%;
    display: flex;
    gap: 40px;
    justify-content: space-between;
}

.tsncthd-sla-desc {
    color: #000;
    line-height: 2;
    font-weight: 400;
    font-size: 18px;
}

.tsncthd-sla-desc .desc-1 {
    padding-bottom: 4em;
    border-bottom: 2px solid #222;
}

.tsncthd-sla-content {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 3em;
    font-size: 18px;
}

.tsncthd-sla-images {
    width: 50%;
    display: grid;
    grid-template-columns: repeat(4, minmax(120px, 1fr));
    grid-auto-rows: 160px;
    gap: 16px;
    overflow: hidden;
}

.tsncthd-sla-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    max-width: 100%;
    max-height: 100%;

}

/* ========== Certificates Gallery ======== */
.tsncthd-certificates {
    height: auto;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 2em 5em;
}


.tsncthd-certificates-title {
    font-weight: 700;
    font-size: 36px;
    /* color: #c00000; */
    color: #505050;
    margin: 0;
    line-height: 1.6;
}

.tsncthd-certificates-desc {
    font-size: clamp(16px, 3vw, 20px);
    font-style: italic;
    line-height: 1.6;
}

.tsncthd-certificates-title p {
    margin: 0
}

.tsncthd-certificates-main {
    width: 100%;
}

.tsncthd-certificates-accordion {
    background-color: transparent;
    color: #9c9c9c;
    cursor: pointer;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: clamp(16px, 3vw, 24px);
    transition: 0.4s;
    border-top: 2px solid #bf1212;
    padding-top: 24px;
    font-weight: 100;
}

.tsncthd-certificates-accordion:after {
    content: '\002B';
    color: #555;
    font-weight: 300;
    float: right;
    margin-left: 5px;
    font-size: 36px;
}

.active:after {
    content: "\2212";
    font-size: 36px;
}

.tsncthd-certificates-item-panel {
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    padding: 16px;
}

.tsncthd-certificates-item-desc {
    margin: 1em 0;
    color: #5d5d5d;
    font-weight: 600;
}

.tsncthd-certificates-img {
    width: 300px;
    object-fit: contain;
}

/* =========== Responsive =========== */
@media (max-width: 1280px) {
    .tsncthd-main-title {
        font-size: clamp(32px, 3vw, 42px);
    }

    .tsncthd-hero-content {
        max-width: 90%;
    }

    .tsncthd-desc {
        width: 80%;
    }

    .tsncthd-expert-box,
    .tsncthd-cert-box,
    .tsncthd-solutions-box,
    .tsncthd-architecture-box {
        gap: 3em;
        width: 90%;
    }

    .tsncthd-soc-img-divider {
        width: 80%;
    }

    .tsncthd-cert-content {
        width: 70%;
    }

    .tsncthd-solutions-list {
        grid-gap: 5vw;
    }

    .tsncthd-commit-wrapper {
        width: 90%;
    }

    .tsncthd-commit-list {
        gap: 20px;
    }

    .tsncthd-commit-header {
        width: 80%;
    }

    .tsncthd-layers {
        padding: 3em 0 0 3em;
    }

    .tsncthd-sla {
        padding: 5em 3em;
        padding-top: 0;
    }
}

@media (max-width: 1024px) {
    .tsncthd-hero {
        min-height: 480px;
    }

    .tsncthd-title {
        font-size: 32px;
    }

    .tsncthd-button-left-text,
    .tsncthd-button-right-text {
        font-size: 16px;
    }

    .tsncthd-button-left,
    .tsncthd-button-right {
        min-height: 45px;
        padding: 0 24px;
    }

    .tsncthd-expert-content-logo {
        display: none;
    }

    .tsncthd-expert-box {
        flex-direction: column;
        gap: 3em;
    }

    .tsncthd-expert-content-desc {
        color: #fff;
    }

    .tsncthd-expert-left,
    .tsncthd-expert-right {
        width: 100%;
    }

    .tsncthd-expert-right {
        gap: 4em
    }

    .tsncthd-expert-image {
        width: 100%;
    }

    .tsncthd-soc-header {
        width: 100%;
    }

    .tsncthd-cert-box {
        flex-direction: column;
        margin: 2em auto;
    }

    .tsncthd-cert-content {
        width: 100%;
        margin: 3em auto;
    }

    .tsncthd-cert-img {
        width: 60%;
        margin: 0 auto;
    }

    .tsncthd-solutions-header {
        flex-direction: column;
        gap: 20px;
    }

    .tsncthd-solutions-header-content {
        width: 100%;
    }

    .tsncthd-solutions-header-button {
        align-self: flex-start;
    }

    .tsncthd-solutions-list {
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 24px;
    }

    .tsncthd-commit-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .tsncthd-architecture-box {
        flex-direction: column;
        gap: 32px;
    }

    .tsncthd-architecture-left,
    .tsncthd-architecture-right {
        width: 100%;
    }

    .tsncthd-architecture-left {
        order: 2;
    }

    .tsncthd-architecture-right {
        order: 1;
    }

    .tsncthd-layers-main {
        flex-direction: column;
        gap: 3em;
    }

    .tsncthd-layers-title,
    .tsncthd-layers-grid {
        width: 100%;
    }

    .tsncthd-layers-image-wrapper {
        width: 100%;
        border-radius: 20px;
        height: auto;
        aspect-ratio: 16/9;
    }

    .tsncthd-sla-main {
        flex-direction: column;
        gap: 3em;
    }

    .tsncthd-sla-content,
    .tsncthd-sla-images {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .tsncthd-hero-content {
        max-width: 100%;
        padding: 32px 16px;
    }

    .tsncthd-certificates {
        padding: 1em;
    }
    .tsncthd-hero-logo {
        width: 160px;
        margin-left: 0;
    }

    .tsncthd-title {
        font-size: 28px;
    }

    .tsncthd-desc {
        width: 100%;
        font-size: 14px;
    }

    .tsncthd-buttons {
        flex-direction: column;
        width: 100%;
    }

    .tsncthd-button-left,
    .tsncthd-button-right {
        width: 80%;
        justify-content: center;
    }

    .tsncthd-main-title {
        font-size: 30px;
        text-align: center;
    }

    .tsncthd-expert-subtitle {
        font-size: 24px;
        text-align: center;
    }

    .tsncthd-expert-features {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    .tsncthd-expert-image {
        display: none;
    }

    .tsncthd-feature-tag {
        margin-right: 0;
    }

    .tsncthd-expert-box {
        gap: 1em;
    }

    .tsncthd-expert-content-logo {
        display: none;
    }

    .tsncthd-expert-content-desc {
        color: #222;
    }

    .tsncthd-cert-header {
        width: 100%;
        text-align: center;
    }

    .tsncthd-cert-content-desc {
        width: 100%;
        text-align: center;
    }

    .tsncthd-cert-content-title,
    .tsncthd-cert-content-subtitle {
        text-align: center;
    }

    .tsncthd-cert-list {
        grid-template-columns: 1fr;
    }

    .tsncthd-cert-img {
        width: 80%;
    }

    .tsncthd-soc-header {
        width: 100%;
    }

    .tsncthd-soc-img-divider {
        transform: rotate(90deg);
        left: 10%;
    }

    .tsncthd-soc-img-list {
        flex-direction: column;
        gap: 36px;
        align-items: center;
    }

    .tsncthd-soc {
        padding: 64px 0;
    }

    .tsncthd-soc-img-divider {
        display: none;
    }

    .tsncthd-solutions-list {
        grid-template-columns: 1fr;
    }

    .tsncthd-solutions-title {
        font-size: 28px;
    }

    .tsncthd-commit-title {
        font-size: 28px;
    }

    .tsncthd-commit-subtitle {
        font-size: 16px;
    }

    .tsncthd-commit-list {
        grid-template-columns: 1fr;
    }


    .tsncthd-layers {
        padding: 3em 1.5em 0;
    }

    .tsncthd-layers-title {
        font-size: 28px;
    }

    .tsncthd-layers-grid {
        grid-template-columns: 1fr;
        gap: 2em;
    }

    .tsncthd-layers-image-wrapper {
        display: none;
    }

    .tsncthd-sla {
        padding: 3em 1.5em;
        padding-top: 0;
    }

    .tsncthd-sla-title {
        font-size: 28px;
    }

    .tsncthd-sla-images {
        display: none;
    }

    .tsncthd-certificates-title {
        width: 90%;
        font-size: 28px;
    }
}