:root {
    --brand: #1787C9;
    --brand-dark: #147DB2;
    --accent: #F58220;
    --ink: #0f172a;
    --mut: #64748b;
    --line: #e9eef5;
    --bg: #fff;
    --container: 1380px;
    --r: 16px;
    --shadow-sm: 0 4px 10px rgba(0, 0, 0, .08);
    --shadow-md: 0 10px 24px rgba(0, 0, 0, .12);
    --fs-primary: #0b67af;
    --fs-line: #2fa0d7;
    --fs-pill: #eaf4ff;
    --fs-shadow-sm: 0 6px 14px rgba(15, 23, 42, .08);
    --fs-radius: 12px;
    --fs-text: #1f2d3d;
    --fs-border: #cfe3fb;
    --hn-brand: #0b67af;
    --hn-line: #bfe0f7;
    --hn-line-2: #d7e6f6;
    --hn-text: #1f2d3d;
    --hn-muted: #6b7785;
    --hn-border: #eaf1fb;
    --hn-shadow: 0 10px 25px rgba(15, 23, 42, .08);
    --hn-radius: 14px;
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

html, body {
    overflow-x: hidden
}

body {
    margin: 0;
    font-family: Inter, system-ui, "Segoe UI", Roboto, Arial, sans-serif;
    color: var(--ink);
    background: #fff;
    line-height: 1.55
}

img {
    max-width: 100%;
    display: block
}

.container {
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 20px
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .06)
}

.header-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 16px;
    padding: 16px 0
}

.logo img {
    height: 72px
}

.header-slogan {
    font-weight: 800;
    color: var(--brand-dark);
    text-align: center;
    font-size: clamp(18px, 2.2vw, 28px);
    letter-spacing: .2px
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px
}

.search {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--brand);
    border-radius: 999px;
    background: #fff;
    box-shadow: var(--shadow-sm)
}

.search input {
    border: 0;
    outline: 0;
    padding: 10px 14px;
    min-width: 220px;
    font-size: 14px;
    /* border: 1.5px solid var(--brand); */
    border-radius: 999px;
}


.search button {
    border: 0;
    background: transparent;
    padding: 8px 12px;
    cursor: pointer
}

.hotline {
    font-weight: 700;
    white-space: nowrap
}

.hotline span {
    color: var(--mut);
    margin-right: 6px
}

.hotline a {
    color: #d23b2c;
    text-decoration: none
}

.zalo img {
    height: 32px
}

.lang {
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 10px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0
}

/* Nav desktop */
.main-nav {
    background: var(--brand)
}

.main-nav .container {
    display: flex;
    justify-content: center
}

.menu {
    list-style: none;
    margin: 0;
    padding: 6px 0;
    display: flex;
    gap: 26px;
    align-items: center
}

.menu > li > a {
    color: #fff;
    text-decoration: none;
    display: block;
    padding: 12px 6px;
    font-weight: 600;
    position: relative
}

.menu > li > a::after {
    content: "";
    position: absolute;
    left: 10%;
    right: 10%;
    bottom: 6px;
    height: 2px;
    background: transparent;
    transition: .25s
}

.menu > li > a:hover::after, .menu > li:hover > a::after {
    background: rgba(255, 255, 255, .85)
}

.menu > li.has-sub {
    position: relative
}

.menu > li .sub {
    position: absolute;
    left: 0;
    top: 100%;
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    list-style: none;
    padding: 8px;
    min-width: 220px;
    display: grid;
    gap: 4px;
    z-index: 20;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: .2s
}


.menu li.has-sub > .sub {
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
}

.menu li.has-sub.open > .sub {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.menu > li .sub a {
    display: block;
    padding: 10px 12px;
    color: var(--ink);
    text-decoration: none;
    border-radius: 8px
}

.menu > li .sub a:hover {
    background: #f1f5f9
}

/* ===== Hero (nền + carousel) ===== */
.hero {
    background: #ffffff;
}

.carousel {
    position: relative;
    margin: 0 auto
}

.carousel-viewport {
    position: relative;
    overflow: hidden;
    background: #eaf6ff;
    will-change: transform;
}

.carousel-track {
    display: flex;
    transition: transform .22s cubic-bezier(.2, .8, .2, 1)
}

.carousel-slide {
    min-width: 100%;
    position: relative;
    user-select: none
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1920/500
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    background: #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, .12);
    display: grid;
    place-items: center;
    opacity: .9;
    z-index: 3;
}

.carousel-btn:active {
    transform: translateY(-50%) scale(.96);
}

.carousel-btn svg {
    width: 18px;
    height: 18px
}

.carousel-btn.prev {
    left: 12px
}

.carousel-btn.next {
    right: 12px
}

.carousel-dots {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 12px;
    display: flex;
    gap: 8px;
    z-index: 2
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 2px solid #fff;
    background: transparent;
    opacity: .75;
    cursor: pointer
}

.carousel-dot.active {
    background: #fff;
    opacity: 1
}

.banner-main {
    background: var(--bg);
    padding: 24px 0 56px
}

.banner-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 36px;
    max-width: var(--container);
    margin: 0 auto;
    padding-inline: 20px
}

.banner-left {
    width: 720px;
    max-width: 60%;
    display: flex;
    align-items: center;
    justify-content: flex-end
}

.banner-left img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-md)
}

.banner-right {
    width: 440px;
    max-width: 40%;
    background: #fff;
    border-radius: 28px;
    border: 2px solid #80d7cd;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 0
}

.banner-right form {
    width: 85%
}

.banner-right h3 {
    text-align: center;
    color: #f16622;
    margin-bottom: 18px;
    font-weight: 800;
    line-height: 1.35;
    font-size: 22px;
    letter-spacing: .2px
}

.banner-right input {
    display: block;
    width: 100%;
    margin-bottom: 12px;
    padding: 12px 16px;
    border: 1px solid #80d7cd;
    border-radius: 38px;
    font-size: 15px;
    outline: none;
    transition: .2s
}

.banner-right input::placeholder {
    color: black;
    font-weight: 500;
    opacity: 1
}

.banner-right input:focus {
    border-color: #18a0d6;
    box-shadow: 0 0 0 3px rgba(24, 160, 214, .15)
}

.form-buttons {
    display: flex;
    gap: 10px;
    margin: 12px 0 20px;
    flex-wrap: wrap
}

.btn-secondary {
    flex: 1 1 140px;
    border: 2px solid #00a6d6;
    color: #00a6d6;
    border-radius: 12px;
    padding: 12px 0;
    font-weight: 700;
    font-size: 14px;
    background: #fff;
    cursor: pointer;
    transition: .25s
}

.btn-secondary:hover {
    background: #00a6d6;
    color: #fff
}

.btn-secondary.active {
    background: #00a6d6;
    color: #fff;
    border-color: #00a6d6;
}

.btn-primary {
    width: 100%;
    background: #f16622;
    color: #fff;
    font-weight: 800;
    border: none;
    border-radius: 12px;
    padding: 14px 0;
    font-size: 14px;
    cursor: pointer;
    transition: .25s;
    box-shadow: var(--shadow-sm)
}

.btn-primary:hover {
    background: #d9541a;
    transform: translateY(-1px)
}

.services {
    background: #fff;
    text-align: center;
    max-width: var(--container);
    margin: 0 auto;
    padding: 56px 20px
}

.services-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 36px
}

.services-header hr {
    flex: 1;
    border: none;
    border-top: 2px solid var(--brand);
    max-width: 320px;
    opacity: .5
}

.services-header img {
    height: 100px;
    object-fit: contain;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .08))
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 42px 56px;
    margin: 0 auto
}

.service-item img {
    width: 100%;
    max-width: 260px;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: .3s;
    margin: 0 auto
}

.service-item:hover img {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md)
}

.service-item h3 {
    color: #2885BD;
    font-weight: 800;
    font-size: 22px;
    line-height: 1.3;
    text-transform: uppercase;
    margin-top: 12px
}

.thu-vien-suc-khoe {
    max-width: var(--container);
    margin: 0 auto;
    padding: 56px 20px
}

.thu-vien-suc-khoe .title {
    font-size: clamp(22px, 2.6vw, 28px);
    font-weight: 800;
    color: #2885BD;
    margin: 0 0 28px;
    position: relative;
    text-align: center;
    letter-spacing: .3px
}

.thu-vien-suc-khoe .title::before, .thu-vien-suc-khoe .title::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 30%;
    height: 2px;
    background-color: #2885BD;
    transform: translateY(-50%)
}

.thu-vien-suc-khoe .title::before {
    left: 0
}

.thu-vien-suc-khoe .title::after {
    right: 0
}

.thu-vien-suc-khoe .tabs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: min(10vw, 200px);
    margin-bottom: 8px;
    flex-wrap: wrap
}

.tabs-left, .tabs-right {
    display: flex;
    gap: 24px;
    flex-wrap: wrap
}

.tab {
    background: none;
    border: none;
    font-weight: 700;
    font-size: 16px;
    color: #0a4b86;
    cursor: pointer;
    position: relative;
    padding: 8px 10px;
    border-radius: 8px;
    transition: .2s
}

.tab:hover {
    background: #e7f4ff
}

.tab.active {
    color: #0b84d6
}

.tab.active::after {
    content: "";
    position: absolute;
    left: 10%;
    right: 10%;
    bottom: -6px;
    height: 3px;
    background: #0b84d6;
    border-radius: 2px
}

.tab-content {
    display: none;
    gap: 28px;
    margin-top: 22px;
    align-items: flex-start;
    flex-wrap: wrap
}

.tab-content.active {
    display: flex
}

.video-area {
    flex: 1 1 680px;
    min-width: 320px;
    max-width: 760px
}

.video-area video, .video-area iframe {
    width: 100%;
    aspect-ratio: 16/9;
    border: 0;
    border-radius: 12px;
    box-shadow: var(--shadow-sm)
}

.video-thumbs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 12px;
    flex-wrap: wrap
}

.video-thumbs .thumb {
    width: 96px;
    height: 64px;
    background: #2b8ec7;
    border-radius: 8px;
    box-shadow: var(--shadow-sm)
}

.right-box {
    flex: 0 0 340px;
    max-width: 340px;
    background: #e6fbff;
    border: 1px solid #b7eef6;
    border-radius: 12px;
    padding: 18px;
    box-shadow: var(--shadow-sm);
    min-height: 200px
}

.right-box .item {
    background: #fff;
    border: 1px solid #e5f3f7;
    border-radius: 10px;
    height: 72px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .04)
}

.newsletter {
    background: linear-gradient(180deg, #2a84b7, #257bb0);
    color: #fff;
    padding: 28px 0
}

.newsletter-row {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: 22px
}

.news-text h2 {
    margin: 0 0 4px;
    font-weight: 800;
    font-size: clamp(18px, 2.2vw, 26px)
}

.news-text p {
    margin: 0;
    opacity: .9;
    font-size: clamp(13px, 1.6vw, 16px)
}

.news-form {
    justify-self: end;
    width: 100%
}

.news-input {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, .25);
    border: 2px solid rgba(255, 255, 255, .35);
    border-radius: 999px;
    padding: 8px 8px 8px 14px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15);
    max-width: 680px
}

.news-input input {
    flex: 1;
    min-width: 160px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #fff;
    font-size: 15px
}

.news-input input::placeholder {
    color: #e6f1f7
}

.news-input button {
    border: 0;
    padding: 10px 18px;
    border-radius: 999px;
    background: #fff;
    color: #257bb0;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .12)
}

.news-input button:hover {
    transform: translateY(-1px)
}

.site-footer {
    background: #fff;
    padding: 52px 0 22px
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr .9fr .9fr;
    gap: 32px 56px;
    align-items: flex-start
}

.footer-brand .footer-logo {
    width: 270px;
    max-width: 100%;
    margin-bottom: 16px
}

.contact-list {
    display: grid;
    gap: 16px
}

.contact-item {
    display: flex;
    gap: 14px;
    align-items: flex-start
}

.contact-label {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 4px
}

.contact-icon {
    --bubble: #e6f0ff;
    inline-size: 58px;
    block-size: 58px;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    background: radial-gradient(120% 120% at 30% 20%, #eef4ff 0%, var(--bubble) 60%, #d7e5ff 100%);
    box-shadow: 0 6px 14px rgba(30, 64, 175, .12) inset, 0 4px 10px rgba(0, 0, 0, .06);
    flex: 0 0 58px
}

.i-pin::before {
    content: "";
    inline-size: 24px;
    block-size: 24px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="%232885BD" viewBox="0 0 24 24"><path d="M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7Zm0 9.5a2.5 2.5 0 1 1 0-5 2.5 2.5 0 0 1 0 5Z"/></svg>') center/contain no-repeat
}

.i-phone::before {
    content: "";
    inline-size: 24px;
    block-size: 24px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="%232885BD" viewBox="0 0 24 24"><path d="M6.6 10.8c1.4 2.8 3.8 5.1 6.6 6.6l2.2-2.2c.3-.3.7-.4 1.1-.3 1.2.4 2.6.6 3.9.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.4 21 3 13.6 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.7.6 3.9.1.4 0 .8-.3 1.1L6.6 10.8Z"/></svg>') center/contain no-repeat
}

.contact-item a {
    color: #2885BD;
    text-decoration: none
}

.contact-item a:hover {
    text-decoration: underline
}

.footer-col h4 {
    margin: 0 0 12px;
    font-size: 18px;
    font-weight: 800
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px
}

.footer-col a {
    color: #0f172a;
    text-decoration: none
}

.footer-col a:hover {
    color: var(--brand)
}

.m-header {
    display: none
}

.menu > li > a::before {
    content: "";
    position: absolute;
    left: 10%;
    right: 10%;
    bottom: 6px;
    height: 2px;
    background: transparent;
    transition: .25s;
}

.menu > li > a:hover::before,
.menu > li:hover > a::before {
    background: rgba(255, 255, 255, .85);
}

.menu .chev {
    display: inline-grid;
    place-items: center;
    width: 16px;
    height: 16px;
    margin-left: 8px;
    opacity: .95;
    transition: transform .2s ease;
}

.menu > li.has-sub > a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}


.menu .sub li.has-sub.drop-left > a .chev-right {
    transform: translateY(-50%) rotate(180deg);
}

.main-nav .menu > li > a {
    color: #fff;
}

.menu .sub a {
    color: var(--ink);
}


.menu li.has-sub > a .chev svg {
    transform-origin: 50% 45%;
    transition: transform .2s ease;
    transform: translateY(2px);
}

.menu > li.has-sub > a .chev svg {
    transform: translateY(2px) rotate(0deg);
}

.menu > li.has-sub.open > a .chev svg {
    transform: translateY(2px) rotate(180deg);
}

.menu .sub li.has-sub > a .chev svg {
    transform: translateY(2px) rotate(0deg);
}

.menu .sub li.has-sub.open > a .chev svg {
    transform: translateY(2px) rotate(90deg);
}

.menu .sub li.has-sub.drop-left > a .chev svg {
    transform: translateY(2px) rotate(180deg);
}

.menu .sub li.has-sub.open.drop-left > a .chev svg {
    transform: translateY(2px) rotate(-90deg);
}


.breadcrumb {
    background: #f8fbff;
    border-bottom: 1px solid #e9eef5;
}

.breadcrumb .container {
    padding: 10px 16px
}

.breadcrumb ol {
    display: flex;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0
}

.breadcrumb a {
    color: #64748b;
    text-decoration: none
}

.breadcrumb a:hover {
    color: #1787c9
}

.breadcrumb li[aria-current="page"] {
    color: #0f172a;
    font-weight: 600
}

.breadcrumb li::after {
    content: "/";
    margin: 0 6px;
    color: #b9c3d3
}

.breadcrumb li:last-child::after {
    content: ""
}

/* ===== HEADER NHỎ + BỘ LỌC ===== */
.page {
    padding-bottom: 60px
}

.page-head {
    padding: 20px 0
}

.page-head__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap
}

.page-title {
    margin: 0;
    font-size: 24px;
    letter-spacing: .02em
}

.filters {
    display: flex;
    gap: 10px;
    align-items: center
}

.filter-select {
    appearance: none;
    border: 1px solid #e9eef5;
    border-radius: 10px;
    padding: 10px 12px;
    min-width: 170px;
    background: #fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>") no-repeat right 10px center;
}

.filter-search {
    display: flex;
    align-items: center;
    border: 1px solid #e9eef5;
    border-radius: 10px;
    overflow: hidden
}

.filter-search input {
    border: 0;
    outline: none;
    padding: 10px 12px;
    min-width: 220px
}

.filter-search button {
    border: 0;
    background: #fff;
    color: #64748b;
    padding: 10px 12px;
    cursor: pointer
}

.filter-search button:hover {
    color: #1787c9
}

/* ===== LAYOUT 2 CỘT ===== */
.grid-2col {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 28px;
    align-items: start
}

.col-main {
    min-width: 0
}

.col-side {
    position: sticky;
    top: 88px
}

/* ===== DANH SÁCH BÀI (CARD) ===== */
.post-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 16px
}

.post-card {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 16px;
    padding: 14px;
    background: #ffffff;
    border: 1px solid #e9eef5;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(2, 22, 58, .06);
}

.post-card .thumb {
    display: block;
    border-radius: 10px;
    overflow: hidden
}

.post-card .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 16/9
}

.post-card .meta {
    display: flex;
    flex-direction: column;
    gap: 8px
}

.post-title {
    margin: 0;
    font-size: 18px;
    line-height: 1.4
}

.post-title a {
    color: #0f172a;
    text-decoration: none
}

.post-title a:hover {
    color: #1787c9
}

.post-excerpt {
    margin: 0;
    color: #64748b
}

.post-more {
    align-self: flex-start;
    color: #1787c9;
    font-weight: 600;
    text-decoration: none
}

.post-more:hover {
    text-decoration: underline
}

/* ===== PHÂN TRANG ===== */
.pagination {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    margin-top: 20px
}

.pagination .page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    background: #fff;
    border: 1px solid #e9eef5;
    border-radius: 10px;
    color: #0f172a;
    text-decoration: none
}

.pagination .page:hover {
    border-color: #cfe0f5;
    color: #1787c9
}

.pagination .is-active {
    background: #1787c9;
    border-color: #1787c9;
    color: #fff;
    pointer-events: none
}

/* ===== SIDEBAR: WIDGET & MINI LIST ===== */
.col-side .widget {
    background: #fff;
    border: 1px solid #e9eef5;
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 6px 20px rgba(2, 22, 58, .06)
}

.widget + .widget {
    margin-top: 18px
}

.widget-title {
    margin: 0 0 12px;
    font-size: 18px
}

.mini-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px
}

.mini {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 10px;
    align-items: center
}

.mini-thumb {
    display: block;
    border-radius: 8px;
    overflow: hidden
}

.mini-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1/1
}

.mini-title {
    color: #0f172a;
    text-decoration: none;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.mini-title:hover {
    color: #1787c9
}

/* ===== FORM ĐẶT LỊCH ===== */
.widget-box .booking-form {
    display: grid;
    gap: 12px
}

.booking-form .field {
    display: grid;
    gap: 6px
}

.booking-form label {
    font-size: 13px;
    color: #64748b
}

.booking-form input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e9eef5;
    border-radius: 10px;
    outline: none;
    background: #fff;
    color: #0f172a
}

.booking-form input:focus {
    border-color: #c9ddf5;
    box-shadow: 0 0 0 3px rgba(23, 135, 201, .12)
}

.field-group {
    display: flex;
    gap: 10px;
    align-items: center
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 14px;
    border-radius: 10px;
    border: 1px solid #e9eef5;
    text-decoration: none
}

.btn.primary {
    background: #1787c9;
    border-color: #1787c9;
    color: #fff
}

.btn.primary:hover {
    background: #147db2;
    border-color: #147db2
}

.btn.ghost {
    background: #fff;
    color: #1787c9
}

.form-note {
    margin: 0;
    color: #64748b;
    font-size: 13px
}

/* ===== ĐỐI TÁC ===== */
.partners {
    padding: 30px 0
}

.section-title {
    font-size: 20px;
    margin: 0 0 14px
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    list-style: none;
    margin: 0;
    padding: 0
}

.partner-grid li {
    background: #fff;
    border: 1px solid #e9eef5;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    box-shadow: 0 6px 20px rgba(2, 22, 58, .06)
}

.partner-grid img {
    max-height: 42px;
    width: auto
}

/* ============ DESKTOP DROPDOWN (>= 992px) ============ */
@media (min-width: 992px) {
    /* Panel chung */
    .main-nav .menu .sub,
    .main-nav .menu .sub_item {
        position: absolute;
        min-width: 232px;
        background: #fff;
        border: 1px solid #e9eef5;
        border-radius: 12px;
        box-shadow: 0 12px 28px rgba(0, 0, 0, .12);
        padding: 8px 0;
        z-index: 30;

        /* Ẩn mặc định + animation */
        opacity: 0;
        pointer-events: none;
        transform: translateY(6px);
        transition: opacity .18s ease, transform .18s ease;
    }

    /* Cấp 1 (từ menu chính) xổ xuống */
    .main-nav .menu > li > .sub {
        top: calc(100% + 5px);
        left: 0;
    }

    /* Cấp 2+ fly-out sang phải (không tụt xuống dưới) */
    .main-nav .menu .sub li {
        position: relative;
    }

    .main-nav .menu .sub li > .sub,
    .main-nav .menu .sub li > .sub.sub_item {
        top: -8px; /* canh hàng với item cha */
        left: calc(100% - 6px); /* bay ngang sang phải 10px */
        transform: translateX(8px); /* animation hướng ngang */
    }

    /* Hiển thị khi mở */
    .main-nav .menu li.open > .sub,
    .main-nav .menu li.open > .sub_item {
        opacity: 1;
        pointer-events: auto;
        transform: none;
    }

    /* Xử lý tràn phải -> rơi sang trái (class đã set từ JS: drop-left) */
    .main-nav .menu li.drop-left > .sub {
        left: auto;
        right: 0; /* panel cấp 1 bám mép phải */
    }

    .main-nav .menu li.drop-left .sub li > .sub,
    .main-nav .menu li.drop-left .sub li > .sub.sub_item {
        left: auto;
        right: calc(100% + 10px); /* fly-out sang trái */
        transform: translateX(-8px); /* animation hướng trái */
    }

    /* Mũi tên chevron xoay khi mở (nếu bạn đang gắn .chev/.chev-btn trong <a>) */
    .main-nav .menu li.has-sub.open > a > .chev-btn svg,
    .main-nav .menu li.has-sub.open > a > .chev svg {
        transform: rotate(180deg);
        transition: transform .25s ease;
    }

    /* Item trong panel: spacing & hover */
    .main-nav .menu .sub a[role="menuitem"],
    .main-nav .menu .sub a.item-link {
        display: block;
        /*padding: 10px 14px;*/
        color: #0f172a;
        text-decoration: none;
        white-space: nowrap;
        border-radius: 8px; /* để hiệu ứng hover bo trong */
    }

    .main-nav .menu .sub a[role="menuitem"]:hover,
    .main-nav .menu .sub a.item-link:hover {
        background: #f3f6fb;
        color: #1787C9;
    }

    /* Viền ngăn cách nhẹ giữa các nhóm (tuỳ chọn) */
    .main-nav .menu .sub > li + li {
        /* dùng margin ở link nên không cần border; nếu thích có thể bật: */
        /* border-top: 1px dashed #eef3f9; */
    }

    /* Nút chevron trong <a> (nếu có) */
    .main-nav .menu .chev-btn,
    .main-nav .menu .chev {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-left: 6px;
        line-height: 1;
    }
}

/* ============ MOBILE (<= 991px): GIỮ Y NGUYÊN CỦA BẠN ============ */
/* (Bạn đã set position:static/accordion cho .sub ở mobile; không đụng ở đây) */

.has-sub.open > a > .chev-btn svg {
    transform: rotate(180deg);
    transition: transform .25s ease;
}

.contact {
    padding: 36px 0;
    background: #fff;
}

.contact-grid {
    display: grid;
    gap: 28px;
    grid-template-columns: 1.6fr .9fr;
}

.contact-form {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 22px;
    box-shadow: var(--shadow-sm);
}

.contact-form {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 22px;
    box-shadow: var(--shadow-sm);
}

.c-row {
    display: flex;
    gap: 16px;
    margin-bottom: 14px;
}

.c-col {
    flex: 1 1 0%;
}

.c-field {
    position: relative;
}

.c-label {
    display: block;
    margin: 0 0 6px 2px;
    font-size: 13px;
    font-weight: 600;
    color: var(--mut);
}

.c-input, .c-textarea, .c-select {
    width: 100%;
    color: var(--ink);
    background: #fff;
    border: 1.5px solid var(--line);
    border-radius: calc(var(--r) - 4px);
    padding: 10px 12px;
    font-size: 14px;
    line-height: 1.5;
    transition: border-color .2s, box-shadow .2s, background .2s;
}

.c-textarea {
    min-height: 120px;
    resize: vertical;
}

.c-input::placeholder, .c-textarea::placeholder {
    color: #9aa6b2;
}

/* Focus state */
.c-input:focus, .c-textarea:focus, .c-select:focus {
    outline: 0;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent);
}

.is-valid .c-input, .is-valid .c-textarea, .is-valid .c-select {
    border-color: #16a34a;
}

.is-invalid .c-input, .is-invalid .c-textarea, .is-invalid .c-select {
    border-color: #e11d48;
}

.c-help {
    font-size: 12px;
    margin-top: 6px;
    color: var(--mut);
}

.c-help.error {
    color: #e11d48;
}

.c-help.ok {
    color: #16a34a;
}

/* Icon trong input (tuỳ chọn) */
.c-field.has-icon .c-input {
    padding-left: 40px;
}

.c-field .c-ico {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--mut);
    opacity: .9;
}

.c-actions {
    margin-top: 10px;
}

.btn-send {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 180px;
    height: 44px;
    padding: 0 18px;
    border-radius: calc(var(--r) - 4px);
    border: none;
    cursor: pointer;
    font-weight: 800;
    letter-spacing: .2px;
    background: var(--brand);
    color: #fff;
    box-shadow: 0 10px 22px color-mix(in srgb, var(--brand) 25%, transparent);
    transition: transform .08s ease, box-shadow .2s ease, background .2s ease;
}

.btn-send:hover {
    background: #0f6fb0;
}

.btn-send:active {
    transform: translateY(1px);
}

.btn-send[disabled] {
    opacity: .6;
    cursor: not-allowed;
    box-shadow: none;
}

.alert {
    border-radius: calc(var(--r) - 4px);
    padding: 10px 12px;
    margin-bottom: 14px;
    font-size: 14px;
}

.alert-success {
    background: #ecfdf5;
    border: 1px solid #34d399;
    color: #065f46;
}

.alert-error {
    background: #fff1f2;
    border: 1px solid #fb7185;
    color: #9f1239;
}

.contact-info {
    background: #f8fbff;
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 18px;
    box-shadow: var(--shadow-sm);
}

.contact-info .ci-title {
    background: var(--brand);
    color: #fff;
    font-weight: 800;
    padding: 10px 14px;
    border-radius: calc(var(--r) - 6px);
    margin: -6px -6px 12px;
}

.ci-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 2px;
}

.ci-item + .ci-item {
    border-top: 1px dashed #dbe3ef;
}

.ci-ico {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    flex: none;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--brand);
}

.ci-text {
    font-size: 14px;
    line-height: 1.45;
}

.ci-text a {
    color: var(--brand);
    font-weight: 700;
    text-decoration: none;
}

.ci-note {
    font-size: 12px;
    color: var(--mut);
}

.hero .fs {
    margin: 24px 0 8px;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    width: 100%;
}

.fs__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 30px 60px 30px;
}

.fs__head {
    text-align: center;
    margin-bottom: 22px;
}

.fs__title {
    margin: 0 0 16px;
    font: 800 20px/1.2 Inter, system-ui, Arial;
    color: var(--fs-primary);
    letter-spacing: .5px;
    text-transform: uppercase;
}

.fs__divider {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 32px;
    width: min(720px, 100%);
    margin: 0 auto;
}

.fs__line {
    height: 2px;
    background: var(--brand);
    position: relative;
}

.fs__line::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #d7e6f6, transparent);
    border-radius: 999px;
}

.fs__logo {
    display: block;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
    /* tránh giãn */
}

.fs__logo img {
    height: 100px;
    width: auto;
    object-fit: contain;
}

.fs__grid {
    list-style: none;
    padding: 0;
    margin: 22px auto 0;
    display: grid;
    gap: 18px;
    justify-items: center;
    grid-template-columns: repeat(6, 1fr);
}

.fs__item {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* Ô dịch vụ – viền xanh, bóng nhẹ như ảnh */

.fs__card {
    width: 150px;
    min-height: 78px;
    background: #fff;
    border: 1px solid var(--fs-border);
    border-radius: var(--fs-radius);
    padding: 12px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    text-align: center;
    box-shadow: 0 2px 0 rgba(11, 103, 175, .05);
    transition: background .15s ease, border-color .15s ease, transform .15s ease;
}

.fs__card:hover {
    background: var(--fs-pill);
    border-color: #9fc4f1;
    transform: translateY(-1px);
}

.fs__card--active {
    background: var(--fs-pill);
    border-color: #9fc4f1;
}

.fs__icon {
    width: 45px;
    height: 45px;
    border-radius: 999px;
    border: 2px solid var(--fs-primary);
    display: grid;
    place-items: center;
}

.fs__icon img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.fs__card,
.fs__card:hover,
.fs__card:focus,
.fs__card:active {
    text-decoration: none;
}

.fs__label {
    font: 700 11px/1.2 Inter, system-ui, Arial;
    color: var(--brand);
    letter-spacing: .15px;
    text-transform: uppercase;
}

.hn {
    padding: 48px 16px 8px;
    background: transparent;
}

.hn__container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Heading + 2 line + logo giữa (match phần “dịch vụ nổi bật”) */

.hn__head {
    text-align: center;
    margin-bottom: 26px;
}

.hn__title {
    margin: 0 0 16px;
    font: 800 22px/1.2 Inter, system-ui, Arial;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: var(--hn-brand);
}

.hn__divider {
    display: grid;
    width: min(720px, 100%);
    margin: 0 auto;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 32px;
}

.hn__line {
    height: 2px;
    background: var(--brand);
    position: relative;
}

.hn__line::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--hn-line-2), transparent);
    border-radius: 999px;
}

.fs__logo {
    display: block;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
}

.hn__logo img {
    height: 100px;
    width: auto;
    object-fit: contain;
}

/* Grid 3 card */

.hn__grid {
    list-style: none;
    margin: 30px 0 0;
    padding: 0px 0px 50px 0px;
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(3, 1fr);
}

.hn__card {
    background: #fff;
    border: 1px solid var(--hn-border);
    border-radius: var(--hn-radius);
    box-shadow: var(--hn-shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.hn__card:hover {
    transform: translateY(-2px);
    border-color: #cfe3fb;
}

/* Thumb 4:3 */

.hn__thumb {
    display: block;
    position: relative;
    overflow: hidden;
}

.hn__thumb img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.hn__meta {
    padding: 14px 16px 16px;
}

.hn__name {
    margin: 8px 0 6px;
    font: 700 16px/1.3 Inter, system-ui, Arial;
}

.hn__name a {
    color: var(--hn-brand);
    text-decoration: none;
}

.hn__name a:hover {
    text-decoration: underline;
}

.hn__desc {
    margin: 0 0 10px;
    color: var(--hn-muted);
    font: 400 14px/1.55 Inter, system-ui, Arial;
}

.hn__more {
    font: 600 13px/1 Inter, system-ui, Arial;
    color: var(--hn-brand);
    text-decoration: none;
}

.hn__more:hover {
    text-decoration: underline;
}

.services-grid .service-item > a {
    text-decoration: none !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
}

.services-grid .service-item > a:hover {
    text-decoration: none !important;
}

.services-grid .service-item > a h3 {
    text-decoration: none !important;
    border-bottom: 0 !important;
}

.services-grid .service-item h3::after,
.services-grid .service-item h3::before {
    content: none !important;
    display: none !important;
}

@media (max-width: 1100px) {
    .fs__card {
        width: 140px;
    }

    .lang {
        display: none
    }

    .grid-2col {
        grid-template-columns: 1fr 300px
    }

    .news-text {
        text-align: center
    }

    .news-form {
        justify-self: center;
        width: 100%
    }

    .news-input {
        max-width: 580px
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 32px
    }

    .video-area {
        max-width: 600px
    }
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr
    }

    .menu > li.has-sub > a {
        gap: 1px;
    }

    .menu > li > a {
        padding: 12px 0px;
        font-size: 15px;
    }

    .banner-left {
        width: 630px;
    }

    .banner-right {
        width: 460px;
    }

    .banner-right h3 {
        font-size: 18px;
        font-weight: 700;
        line-height: 21px;
    }
}

@media (max-width: 920px) {
    .menu {
        flex-wrap: wrap;
        gap: 14px;
        justify-content: center
    }

    .video-area {
        max-width: 504px
    }

    .header-slogan {
        font-size: clamp(18px, 2vw, 28px)
    }

    .grid-2col {
        grid-template-columns: 1fr
    }

    .col-side {
        position: static
    }

    .post-card {
        grid-template-columns: 1fr
    }

    .post-card .thumb img {
        aspect-ratio: 16/9
    }
}

@media (max-width: 600px) {
    .c-row {
        flex-direction: column;
        gap: 12px;
    }

    .btn-send {
        width: 100%;
    }

    .menu .chev {
        display: none;
    }

    .carousel {
        display: none;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .service-item h3 {
        font-size: 12px;
        line-height: 15px;
    }

    .thu-vien-suc-khoe .title::before, .thu-vien-suc-khoe .title::after {
        width: 11%;
    }


    .site-header {
        display: none
    }

    .m-header {
        display: block;
        padding-top: env(safe-area-inset-top);
    }

    .m-header {
        position: sticky;
        top: 0;
        z-index: 1002;
        background: rgba(255, 255, 255, .95);
        backdrop-filter: saturate(130%) blur(8px);
        border-bottom: 1px solid var(--line);
        box-shadow: 0 8px 24px rgba(2, 25, 54, .06)
    }

    .mbar {
        display: grid;
        grid-template-columns: 44px 1fr 44px;
        align-items: center;
        padding: 10px 14px;
        column-gap: 8px
    }

    .m-logo {
        display: grid;
        place-items: center
    }

    .m-logo img {
        height: 28px;
        max-width: 120px
    }

    .btn-ico {
        display: grid;
        place-items: center;
        width: 44px;
        height: 44px;
        border-radius: 12px;
        background: #fff;
        color: var(--ink);
        border: none;
        box-shadow: 0 6px 16px rgba(2, 24, 51, .06), inset 0 1px 0 #fff
    }

    .btn-ico svg {
        width: 20px;
        height: 20px
    }

    .overlay {
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, .55);
        opacity: 0;
        pointer-events: none;
        transition: .25s;
        z-index: 1000
    }

    .overlay.show {
        opacity: 1;
        pointer-events: auto
    }

    .mnav {
        position: fixed;
        left: 0;
        top: 0;
        height: 100dvh;
        width: 86vw;
        max-width: 360px;
        transform: translateX(-105%);
        transition: .28s cubic-bezier(.22, .61, .36, 1);
        background: #fff;
        border-right: 1px solid #e6e8ee;
        z-index: 1001;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: 12px 14px 20px
    }

    .mnav.show {
        transform: translateX(0)
    }

    .m-search {
        display: flex;
        align-items: center;
        gap: 10px;
        border: 1px solid #e6e8ee;
        border-radius: 999px;
        padding: 10px 14px;
        background: linear-gradient(180deg, #f8fafc, #eef2f7)
    }

    .m-search input {
        flex: 1;
        border: 0;
        outline: 0;
        background: transparent;
        font-size: 14px
    }

    .m-search button {
        border: 0;
        background: transparent
    }

    .mlist {
        list-style: none;
        margin: 10px 0 0;
        padding: 0
    }

    .node {
        --lvl: 0
    }

    .node .node {
        --lvl: calc(var(--lvl) + 1)
    }

    .mcell {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 52px;
        padding: 0 8px 0 calc(8px + var(--lvl) * 14px);
        text-decoration: none;
        color: #0f172a;
        font-weight: 800;
        text-transform: uppercase;
        font-size: 13.8px;
        letter-spacing: .2px
    }

    .mcell .title {
        display: flex;
        align-items: center;
        gap: 10px;
        flex: 1
    }

    .mcell .title_item {
        padding-left: 20px;
    }

    .mcell .title_item_1 {
        padding-left: 40px;
    }

    .chev {
        display: inline-grid;
        place-items: center;
        width: auto;
        height: auto;
        padding: 0;
        background: transparent;
        box-shadow: none;
        border-radius: 0;
    }

    .chev svg {
        width: 16px;
        height: 16px;
    }


    .divider {
        height: 1px;
        background: #edf0f4;
        margin: 0 0 0 8px
    }

    .sub {
        list-style: none;
        margin: 0;
        padding: 0;
        overflow: hidden;
        max-height: 0;
        transition: max-height .28s ease
    }

    .open > .sub {
        max-height: 600px
    }

    .open > .subbtn .chev svg {
        transform: rotate(180deg)
    }

    .banner-wrapper {
        flex-direction: column;
        align-items: stretch;
        gap: 16px
    }

    .banner-left, .banner-right {
        width: 100%;
        max-width: 100%;
        justify-content: center
    }

    .banner-left img {
        max-width: 520px;
        margin-inline: auto
    }

    .banner-right {
        padding: 16px 0
    }

    .banner-right form {
        width: 92%;
        max-width: 520px;
        margin: 0 auto;
    }

    .form-buttons {
        justify-content: center
    }

    .btn-secondary {
        flex: 1 1 auto;
        min-width: 140px
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        padding-inline: 16px;
    }

    .footer-brand .footer-logo {
        width: 180px;
    }

    .contact-item {
        padding: 12px;
        background: #fff;
        border-radius: 14px;
        box-shadow: 0 6px 18px rgba(2, 24, 51, .05)
    }

    .footer-col {
        padding: 12px;
        background: #fff;
        border-radius: 14px;
        box-shadow: 0 6px 18px rgba(2, 24, 51, .04)
    }

    .footer-col a {
        font-weight: 600;
    }

    .footer-grid, .footer-grid * {
        word-break: break-word;
        overflow-wrap: anywhere;
    }

    .newsletter-row {
        display: grid;
        grid-template-columns: 1fr;
        row-gap: 14px;
        text-align: center;
    }

    .news-form {
        justify-self: center;
        width: 100%;
    }

    .news-input {
        max-width: 640px;
        width: 100%;
        display: flex;
        align-items: center;
        gap: 10px;
        flex-wrap: nowrap;
        padding: 8px 8px 8px 12px;
        border-radius: 999px;
    }

    .news-input input {
        min-width: 0;
        height: 44px;
    }

    .news-input button {
        flex: 0 0 auto;
        height: 44px;
        padding: 0 16px;
        white-space: nowrap;
    }

    .filter-search input {
        min-width: 0;
        width: 180px
    }

    .partner-grid {
        grid-template-columns: repeat(3, 1fr)
    }

    .sub .node {
        padding: 0 0 0 15px;
    }

    .sub .node .title {
        font-size: 12px;
        font-weight:700;
    }
}

@media (max-width: 380px) {
    .partner-grid {
        grid-template-columns:repeat(2, 1fr)
    }
}

body.nav-open {
    height: 100dvh;
    overflow: hidden
}
