@charset "utf-8";


/***************************************************************************
 *
 * COMMON STYLE
 *
 ***************************************************************************/

.hira {
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

.gothic {
    font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", "メイリオ", sans-serif;
}

.mincho {
    font-family: "游明朝体", "YuMincho", "游明朝", "Yu Mincho", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN W3", HiraMinProN-W3, "ヒラギノ明朝 ProN", "Hiragino Mincho ProN", "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "HGS明朝E", "ＭＳ Ｐ明朝", "MS PMincho", serif;
}


.arial {
    font-family: 'arial', sans-serif;
}


body {
    background-color: #F7FBFF;
    font-family: "Be Vietnam Pro", "Hiragino Kaku Gothic Pro", "メイリオ", sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #0A1A3E;
}

body.fixed {
    overflow: hidden;
}

.inner {
    width: calc(100% - 80px);
    max-width: 1248px;
    margin: 0 auto;
}

/*VALIDATE CONTACT*/
.error {
    display: block;
    font-size: 12px;
    color: red;
}

/* HEADER */
#header {
    position: relative;
    z-index: 100;
    width: 100%;
    background: #FFFFFF;
    border-bottom: 1px solid #D7E3EA;
    box-shadow: 0 4px 12px rgba(10, 26, 62, 0.03);
}

#header .headerBar .inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 95px;
}

#header .logo a {
    display: block;
}

#header .logo img {
    display: block;
    width: 136px;
    height: 48px;
}

#header .mainMenu .menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

#header .mainMenu .menu a {
    font-size: 13px;
    color: #0A1A3E;
}

#header .mainMenu .menu .menuCta a {
    font-size: 14px;
}

@media (min-width: 769px) {
    #header .mainMenu {
        position: absolute;
        top: 0;
        right: max(40px, calc((100% - 1248px) / 2));
        display: flex;
        align-items: center;
        height: 95px;
    }
}

@media (hover: hover) and (pointer: fine) {
    #header .mainMenu .menu li:not(.menuCta) a {
        transition: color 0.3s ease;
    }

    #header .mainMenu .menu li:not(.menuCta) a:hover {
        color: #EC9013;
    }
}

/* CONTENT */
#content {
    width: 100%;
}

/* COMMON BUTTON */
.commonButton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    height: 52px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    color: #0A1A3E;
    white-space: nowrap;
    cursor: pointer;
    transition: opacity 0.3s ease, box-shadow 0.3s ease;
}

.commonButton img {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

.commonButtonPrimary {
    background: #EC9013;
    box-shadow: 0 8px 18px rgba(236, 144, 19, 0.25);
}

.commonButtonWhite {
    background: #FFFFFF;
    border-color: #D7E3EA;
    box-shadow: 0 4px 10px rgba(10, 26, 62, 0.03);
}

@media (hover: hover) and (pointer: fine) {
    .commonButton:hover {
        opacity: 0.85;
    }
}

/* COMMON HEADING */
.commonHeading {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.commonHeading .commonHeadingLabel {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: #176C86;
}

.commonHeading .commonHeadingTitle {
    font-family: "Noto Serif", serif;
    font-size: 40px;
    font-weight: 500;
    line-height: 1.3;
    color: #0A1A3E;
}

.commonHeading .commonHeadingLead {
    font-size: 16px;
    line-height: 1.8;
    color: #5B7280;
}

/* COMMON ZALO FLOATING BUTTON */
.commonZalo {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #0068FF;
    filter: drop-shadow(0 12px 12px rgba(13, 37, 67, 0.11));
    font-size: 14px;
    font-weight: 700;
    color: #FFFFFF;
    animation: commonZaloPulse 6s infinite;
}

@keyframes commonZaloPulse {
    0%, 15.833%, 33.333%, 49.167%, 66.667%, 82.5%, 100% {
        transform: scale(1);
        animation-timing-function: ease-in-out;
    }

    7.5%, 40.833%, 74.167% {
        transform: scale(1.065);
        animation-timing-function: ease-in-out;
    }
}

/* FOOTER */
#footer {
    width: 100%;
    padding: 44px 0 32px;
    background: #FFFFFF;
}

#footer .ftInfo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 24px;
    background: #F7FBFF;
    border: 1px solid #D7E3EA;
    border-radius: 16px;
    box-shadow: 0 6px 16px rgba(10, 26, 62, 0.03);
}

#footer .ftLogo img {
    display: block;
    width: 441px;
}

#footer .ftText {
    font-size: 13px;
    color: #566777;
}

#footer .ftBottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid #D9E1EA;
    font-size: 12px;
    color: #566777;
}

#footer #copyright {
    color: #586A80;
}

#footer #copyright a {
    color: #0068FF;
    text-decoration: underline;
}

@media (prefers-reduced-motion: reduce) {
    .commonZalo {
        animation: none;
    }
}


/* SHOW HIDE PC SP */
@media (min-width: 769px) {
    .sp {
        display: none;
    }
}

/* STYLE MOBILE */
@media (max-width: 768px) {
    .pc {
        display: none;
    }

    .inner {
        width: 100%;
        padding: 0 4%;
    }

    /* HEADER SP */
    #header .headerBar .inner {
        height: 64px;
    }

    #header .logo img {
        width: 113px;
        height: 40px;
    }

    #header .mainMenu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #FFFFFF;
        border-top: 1px solid #D7E3EA;
        box-shadow: 0 12px 24px rgba(10, 26, 62, 0.08);
    }

    #header .mainMenu .menu {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 4% 24px;
    }

    #header .mainMenu .menu a {
        display: block;
        padding: 16px 0;
        border-bottom: 1px solid #EAF1F5;
        font-size: 15px;
    }

    #header .mainMenu .menu .menuCta {
        margin-top: 20px;
    }

    #header .mainMenu .menu .menuCta a {
        display: flex;
        padding: 0 22px;
        border-bottom: 0;
    }

    /* COMMON SP */
    .commonButton {
        white-space: normal;
        text-align: center;
    }

    .commonHeading {
        gap: 14px;
    }

    .commonHeading .commonHeadingTitle {
        font-size: 28px;
    }

    .commonHeading .commonHeadingLead {
        font-size: 15px;
    }

    .commonZalo {
        right: 16px;
        bottom: 16px;
        width: 60px;
        height: 60px;
        font-size: 13px;
    }

    /* FOOTER SP */
    #footer {
        padding: 32px 0 92px;
    }

    #footer .ftLogo img {
        width: 240px;
    }

    #footer .ftBottom {
        flex-direction: column;
        gap: 8px;
        margin-top: 24px;
        padding-top: 20px;
        line-height: 1.6;
    }

    /* MENU */
    .hamburger {
        width: 44px;
        height: 44px;
        padding: 0 9px;
        z-index: 9991;
        border: 0;
        border-radius: 8px;
        background: #F7FBFF;
        cursor: pointer;
        display: flex;
        justify-content: center;
        flex-direction: column;
        text-align: center;
    }

    .hamburger span {
        display: block;
        height: 2px;
        width: 100%;
        background: #0A1A3E;
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        transform: rotate(0deg);
        -webkit-transition: .25s ease-in-out;
        -moz-transition: .25s ease-in-out;
        transition: .25s ease-in-out;
    }

    .hamburger span:nth-child(1) {
        margin-bottom: 10px;
    }

    .hamburger span:nth-child(2) {
        opacity: 1
    }

    .hamburger span:nth-child(3) {
        margin-top: 10px;
    }

    .hamburger.open span:nth-child(1) {
        margin-bottom: -2px;
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        transform: rotate(45deg);
    }

    .hamburger.open span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.open span:nth-child(3) {
        margin-top: -2px;
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }
}

/***************************************************************************
 *
 * WORDPRESS ADDITIONS (Only24h)
 * Cặp màu nền + chữ khi hover, footer liên hệ, Contact Form 7
 *
 ***************************************************************************/

/* BUTTON HOVER — luôn khai báo cặp nền + chữ (tương phản >= 4.5:1) */
.commonButtonPrimary,
.commonButtonPrimary:hover,
.commonButtonPrimary:focus-visible {
    background-color: #EC9013;
    color: #0A1A3E;
}

.commonButtonWhite,
.commonButtonWhite:hover,
.commonButtonWhite:focus-visible {
    background-color: #FFFFFF;
    color: #0A1A3E;
}

.commonButton:focus-visible,
.commonZalo:focus-visible {
    outline: 3px solid #4DB0D7;
    outline-offset: 3px;
}

.commonZalo:hover {
    background: #0057D6;
    color: #FFFFFF;
}

/* FOOTER CONTACT */
#footer .ftLogo img {
    max-width: 100%;
    height: auto;
}

#footer .ftSloganMain {
    font-family: "Noto Serif", serif;
    font-size: 18px;
    font-weight: 500;
    color: #0A1A3E;
}

#footer .ftContact {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px 24px;
    width: 100%;
    margin-top: 8px;
    padding-top: 16px;
    border-top: 1px solid #D7E3EA;
    font-size: 13px;
    line-height: 1.6;
    color: #0A1A3E;
}

#footer .ftContact span {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    color: #566777;
}

#footer .ftContact a {
    font-weight: 600;
    color: #176C86;
}

#footer .ftContact a:hover {
    color: #A45E00;
    text-decoration: underline;
}

/* CONTACT FORM 7 */
.card-form-container {
    scroll-margin-top: 6rem;
}

.areaContact .areaContactFormLead {
    margin-top: -10px;
    font-size: 13px;
    line-height: 1.7;
    color: #566777;
}

.wpcf7 {
    width: 100%;
}

.wpcf7 .wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

.form-label .required {
    color: #A45E00;
}

.wpcf7-form .areaContactInput.wpcf7-not-valid {
    border-color: #C62828;
}

/* Checkbox "Bạn quan tâm gói nào?" (map từ .areaContactPlan của bản HTML) */
.areaContact .areaContactPlanList .wpcf7-list-item {
    flex: 1;
    min-width: 0;
    margin: 0;
}

.areaContact .areaContactPlanList label {
    position: relative;
    display: block;
    cursor: pointer;
}

.areaContact .areaContactPlanList input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.areaContact .areaContactPlanList .wpcf7-list-item-label {
    display: flex;
    align-items: center;
    gap: 9px;
    height: 48px;
    padding: 0 12px;
    background: #FFFFFF;
    border: 1px solid #D9E1EA;
    border-radius: 8px;
    font-size: 12px;
    color: #0A1A3E;
    white-space: nowrap;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.areaContact .areaContactPlanList .wpcf7-list-item-label::before {
    content: "";
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    background: url("../images/index/form-radio.svg") no-repeat center / contain;
}

.areaContact .areaContactPlanList input:checked + .wpcf7-list-item-label {
    background: #F0F8FB;
    border-color: #4DB0D7;
    font-weight: 600;
    color: #0A1A3E;
}

.areaContact .areaContactPlanList input:focus-visible + .wpcf7-list-item-label {
    outline: 2px solid #4DB0D7;
    outline-offset: 2px;
}

/* Checkbox đồng ý */
.form-consent-group .wpcf7-list-item {
    margin: 0;
}

.form-consent-group label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    line-height: 1.6;
    color: #566777;
    cursor: pointer;
}

.form-consent-group input[type="checkbox"] {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin: 3px 0 0;
    accent-color: #176C86;
    cursor: pointer;
}

/* Nút submit CF7 (input không chứa được <img> nên mũi tên là background) */
.wpcf7-form .areaContactSubmit {
    width: 100%;
    padding: 0 52px;
    background: #EC9013 url("../images/common/icon-arrow-up-right-dark.svg") no-repeat right 22px center / 18px 18px;
    color: #0A1A3E;
    appearance: none;
    -webkit-appearance: none;
}

.wpcf7-form .areaContactSubmit:hover:not(:disabled) {
    background-color: #EC9013;
    color: #0A1A3E;
}

.wpcf7-form .areaContactSubmit:disabled,
.wpcf7-form .areaContactSubmit.is-submitting {
    opacity: 0.65;
    cursor: not-allowed;
    pointer-events: none;
    box-shadow: none;
}

.wpcf7 form:not(.submitting) .wpcf7-spinner {
    display: none;
}

.wpcf7 form.submitting .wpcf7-spinner {
    display: block;
    margin: 0 auto;
}

.wpcf7-not-valid-tip {
    margin-top: 4px;
    font-size: 12px;
    color: #C62828;
}

.wpcf7 form .wpcf7-response-output {
    margin: 0;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.6;
}

.wpcf7 form.sent .wpcf7-response-output {
    border-color: #176C86;
    background: #F0F8FB;
    color: #176C86;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output {
    border-color: #EC9013;
    background: #FFF8F0;
    color: #A45E00;
}

@media (max-width: 1023px) {
    #footer .ftContact {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    #footer .ftContact {
        grid-template-columns: minmax(0, 1fr);
    }

    .areaContact .areaContactPlanList {
        flex-wrap: wrap;
    }

    .areaContact .areaContactPlanList .wpcf7-list-item {
        flex: 1 1 calc(50% - 5px);
    }

    .wpcf7 .wpcf7-form {
        gap: 18px;
    }
}
