/*
 * Hero trang chủ phiên bản cân bằng.
 *
 * - Sử dụng icon SVG nét mảnh.
 * - Nhãn địa chỉ, email và giờ làm việc có màu riêng.
 * - Hiệu ứng hover nhẹ, phù hợp website cơ quan.
 */

.hero.hero--modern {
    position: relative;
    overflow: hidden;
    isolation: isolate;

    color: #ffffff;

    background:
        radial-gradient(
            circle at 87% 18%,
            rgba(255, 255, 255, 0.09) 0,
            rgba(255, 255, 255, 0.09) 90px,
            transparent 91px
        ),
        radial-gradient(
            circle at 94% 78%,
            transparent 0,
            transparent 135px,
            rgba(255, 255, 255, 0.045) 136px,
            rgba(255, 255, 255, 0.045) 190px,
            transparent 191px
        ),
        linear-gradient(
            120deg,
            #0c3d62 0%,
            #145983 54%,
            #1d709d 100%
        ) !important;
}

.hero.hero--modern::before {
    content: "";

    position: absolute;
    z-index: -1;

    top: -190px;
    right: -170px;

    width: 580px;
    height: 580px;

    background:
        radial-gradient(
            circle,
            rgba(255, 255, 255, 0.08) 0%,
            rgba(255, 255, 255, 0.025) 43%,
            transparent 70%
        );

    border-radius: 50%;
}

.hero.hero--modern::after {
    content: "";

    position: absolute;
    z-index: -1;

    right: 8%;
    bottom: -135px;

    width: 310px;
    height: 310px;

    border:
        42px solid rgba(255, 255, 255, 0.035);

    border-radius: 50%;
}

/* =========================================================
   BỐ CỤC HAI CỘT
   ========================================================= */

.hero__content--modern {
    min-height: 570px !important;

    display: grid;

    grid-template-columns:
        minmax(0, 1.55fr)
        minmax(375px, 0.65fr) !important;

    align-items: center;

    gap: 64px !important;

    padding-top: 64px !important;
    padding-bottom: 64px !important;
}

.hero__copy {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 790px;
}

.hero__copy h1 {
    max-width: 790px;
}

.hero__line-1 {
    display: block;
    white-space: nowrap;
}

.hero__line-2 {
    display: block;
    margin-top: 12px;
}

/* =========================================================
   CỤM THÔNG TIN BÊN PHẢI
   ========================================================= */

.hero__side {
    position: relative;
    z-index: 3;

    width: 100%;
    max-width: 445px;

    display: grid;
    gap: 0;

    justify-self: end;
    overflow: hidden;

    color: #243746;
    background: rgba(255, 255, 255, 0.98);

    border:
        1px solid rgba(255, 255, 255, 0.72);

    border-radius: 20px;

    box-shadow:
        0 24px 65px rgba(4, 35, 57, 0.26);
}

.hero__side::before {
    content: "";

    position: absolute;

    top: 0;
    right: 0;
    left: 0;

    height: 5px;

    background:
        linear-gradient(
            90deg,
            #a71930 0%,
            #a71930 72%,
            #e0b347 72%,
            #e0b347 100%
        );
}

/* =========================================================
   THÔNG TIN CƠ QUAN
   ========================================================= */

.hero__side .hero__info-card {
    width: 100%;

    padding: 34px 34px 25px;

    color: #243746;
    background: transparent !important;

    border: 0 !important;
    border-radius: 0 !important;

    box-shadow: none !important;
}

.hero__side .hero__info-label {
    margin: 0 0 12px;

    color: #a71930;

    font-size: 0.73rem;
    font-weight: 800;

    letter-spacing: 0.1em;
}

.hero__side .hero__info-card h2 {
    margin: 0 0 22px;

    color: #0e3b5a;

    font-size: 1.52rem;
    font-weight: 800;
    line-height: 1.36;
}

.hero__side .hero__info-card dl {
    display: grid;
    gap: 7px;

    margin: 0;
}

/* =========================================================
   TỪNG DÒNG THÔNG TIN
   ========================================================= */

.hero__info-row {
    position: relative;

    display: grid;

    grid-template-columns:
        126px
        minmax(0, 1fr);

    align-items: start;

    gap: 14px;

    margin: 0 -10px;
    padding: 13px 10px;

    border-top:
        1px solid #dbe5ec;

    border-radius: 11px;

    transition:
        background-color 180ms ease,
        box-shadow 180ms ease,
        transform 180ms ease;
}

.hero__info-row:hover {
    background: #f6fafc;
    transform: translateX(3px);
}

.hero__info-row--address:hover {
    box-shadow:
        inset 3px 0 0 #b42332;
}

.hero__info-row--email:hover {
    box-shadow:
        inset 3px 0 0 #176a9b;
}

.hero__info-row--time:hover {
    box-shadow:
        inset 3px 0 0 #b88716;
}

.hero__info-row dt,
.hero__info-row dd {
    margin: 0;
}

.hero__info-row dd {
    padding-top: 4px;

    color: #243746;

    font-size: 0.89rem;
    line-height: 1.62;

    overflow-wrap: anywhere;
}

/* =========================================================
   NHÃN ĐỊA CHỈ, EMAIL VÀ GIỜ LÀM VIỆC
   ========================================================= */

.hero__info-tag {
    width: fit-content;
    min-height: 36px;

    display: inline-flex;
    align-items: center;

    gap: 8px;

    padding: 5px 12px 5px 6px;

    border:
        1px solid transparent;

    border-radius: 999px;

    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;

    text-decoration: none !important;

    transition:
        color 180ms ease,
        background-color 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease,
        transform 180ms ease;
}

a.hero__info-tag:hover,
a.hero__info-tag:focus-visible {
    transform: translateY(-2px);
}

/*
 * Khung tròn chứa icon.
 */
.hero__info-tag-icon {
    width: 27px;
    height: 27px;

    display: grid;
    place-items: center;

    flex: 0 0 auto;

    color: #ffffff;

    border-radius: 50%;

    box-shadow:
        inset 0 0 0 1px
        rgba(255, 255, 255, 0.18);
}

/*
 * SVG dùng màu hiện tại của phần tử cha.
 */
.hero__info-tag-icon svg {
    width: 15px;
    height: 15px;

    display: block;

    fill: none;
    stroke: currentColor;

    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Địa chỉ: đỏ hành chính */

.hero__info-tag--address {
    color: #9e1d30 !important;

    background: #fff1f3;

    border-color: #f3cdd3;
}

.hero__info-tag--address .hero__info-tag-icon {
    color: #ffffff;
    background: #b42332;
}

.hero__info-tag--address:hover,
.hero__info-tag--address:focus-visible {
    color: #841526 !important;

    background: #ffe5e9;

    border-color: #eeb8c1;

    box-shadow:
        0 7px 18px rgba(180, 35, 50, 0.14);
}

.hero__info-tag--address:hover .hero__info-tag-icon,
.hero__info-tag--address:focus-visible .hero__info-tag-icon {
    background: #971d2b;
}

/* Email: xanh dương */

.hero__info-tag--email {
    color: #125b87 !important;

    background: #eaf5fb;

    border-color: #c9e3f1;
}

.hero__info-tag--email .hero__info-tag-icon {
    color: #ffffff;
    background: #176a9b;
}

.hero__info-tag--email:hover,
.hero__info-tag--email:focus-visible {
    color: #0c4c75 !important;

    background: #dceff9;

    border-color: #add5e9;

    box-shadow:
        0 7px 18px rgba(23, 106, 155, 0.14);
}

.hero__info-tag--email:hover .hero__info-tag-icon,
.hero__info-tag--email:focus-visible .hero__info-tag-icon {
    background: #0f5a88;
}

/* Giờ làm việc: vàng nâu */

.hero__info-tag--time {
    color: #815d08;

    background: #fff8df;

    border-color: #f0df9f;

    cursor: default;
}

.hero__info-tag--time .hero__info-tag-icon {
    color: #ffffff;
    background: #b88716;
}

/* =========================================================
   LIÊN KẾT EMAIL
   ========================================================= */

.hero__info-value-link {
    position: relative;

    color: #145d89 !important;

    font-weight: 600;

    text-decoration: none;

    background:
        linear-gradient(
            currentColor,
            currentColor
        )
        left bottom / 100% 1px no-repeat;

    transition:
        color 180ms ease,
        background-size 180ms ease;
}

.hero__info-value-link:hover,
.hero__info-value-link:focus-visible {
    color: #a71930 !important;

    background-size:
        45% 2px;
}

/* =========================================================
   GIÁ TRỊ VẬN HÀNH
   ========================================================= */

.hero__values-card {
    position: relative;

    padding: 22px 34px 28px;

    color: #243746;

    background:
        linear-gradient(
            180deg,
            #f4f8fb 0%,
            #edf4f8 100%
        );

    border: 0;

    border-top:
        1px solid #dbe5ec;

    border-radius: 0;

    box-shadow: none;
}

.hero__values-label {
    margin: 0 0 14px;

    color: #0e527c;

    font-size: 0.72rem;
    font-weight: 800;

    letter-spacing: 0.1em;
}

.hero__values-card ul {
    display: grid;
    gap: 0;

    margin: 0;
    padding: 0;

    list-style: none;
}

.hero__values-card li {
    min-height: auto;

    display: grid;

    grid-template-columns:
        32px
        minmax(0, 1fr);

    align-items: center;

    gap: 11px;

    padding: 10px 0;

    color: #243746;

    background: transparent;

    border: 0;

    border-top:
        1px solid rgba(15, 74, 108, 0.1);

    border-radius: 0;

    transition:
        color 180ms ease,
        padding-left 180ms ease;
}

.hero__values-card li:first-child {
    border-top: 0;
}

.hero__values-card li:hover {
    padding-left: 5px;
}

.hero__values-card li span {
    width: 27px;
    height: 27px;

    display: grid;
    place-items: center;

    margin: 0;

    color: #ffffff;

    background: #155f8b;

    border-radius: 50%;

    font-size: 0.64rem;
    font-weight: 800;

    transition:
        background-color 180ms ease,
        transform 180ms ease;
}

.hero__values-card li:hover span {
    background: #a71930;
    transform: scale(1.08);
}

.hero__values-card li strong {
    color: #173c56;

    font-size: 0.87rem;
    font-weight: 800;
    line-height: 1.4;
}

.hero__highlights {
    display: none !important;
}

/* =========================================================
   NÚT TRÊN HERO
   ========================================================= */

.hero__actions {
    display: flex;
    flex-wrap: wrap;

    gap: 13px;
}

.hero__actions .button {
    min-width: 184px;
    justify-content: center;
}

/* =========================================================
   MÀN HÌNH TRUNG BÌNH
   ========================================================= */

@media (max-width: 1180px) {
    .hero__content--modern {
        grid-template-columns:
            minmax(0, 1.25fr)
            minmax(360px, 0.75fr) !important;

        gap: 42px !important;
    }

    .hero__copy h1 {
        font-size:
            clamp(2.5rem, 4.6vw, 4rem);
    }

    .hero__line-1 {
        white-space: normal;
    }
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 980px) {
    .hero__content--modern {
        min-height: auto !important;

        grid-template-columns: 1fr !important;

        gap: 38px !important;

        padding-top: 54px !important;
        padding-bottom: 54px !important;
    }

    .hero__copy {
        max-width: 760px;
    }

    .hero__side {
        max-width: 760px;
        justify-self: start;
    }

    .hero__side .hero__info-card dl {
        grid-template-columns: 1fr;
    }

    .hero__values-card ul {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));

        gap: 14px;
    }

    .hero__values-card li {
        display: flex;

        gap: 9px;

        border-top: 0;
    }
}

/* =========================================================
   ĐIỆN THOẠI
   ========================================================= */

@media (max-width: 760px) {
    .hero__content--modern {
        padding-top: 44px !important;
        padding-bottom: 44px !important;
    }

    .hero__copy h1 {
        font-size:
            clamp(2rem, 9vw, 3rem);
    }

    .hero__line-1 {
        white-space: normal;
    }

    .hero__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .hero__actions .button {
        width: 100%;
        min-width: 0;
    }

    .hero__side {
        border-radius: 16px;
    }

    .hero__side .hero__info-card {
        padding: 29px 24px 19px;
    }

    .hero__info-row {
        grid-template-columns: 1fr;

        gap: 8px;

        margin-right: 0;
        margin-left: 0;

        padding-right: 0;
        padding-left: 0;
    }

    .hero__info-row:hover {
        padding-left: 8px;
    }

    .hero__info-row dd {
        padding-top: 0;
    }

    .hero__values-card {
        padding:
            20px 24px 24px;
    }

    .hero__values-card ul {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .hero__values-card li {
        display: grid;

        grid-template-columns:
            32px
            minmax(0, 1fr);

        border-top:
            1px solid rgba(15, 74, 108, 0.1);
    }

    .hero__values-card li:first-child {
        border-top: 0;
    }
}