@import url('https://fonts.googleapis.com/css2?family=Geist:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

@font-face {
    font-family: Montserrat;
    src: url('/assets/montserrat-0.ttf')
}

@font-face {
    font-family: Montserrat;
    src: url('/assets/montserrat-2.ttf');
    font-weight: 600
}

@font-face {
    font-family: Montserrat;
    src: url('/assets/montserrat-3.ttf');
    font-weight: 700
}

@font-face {
    font-family: Montserrat;
    src: url('/assets/montserrat-5.ttf');
    font-weight: 900
}

:root {
    --font-heading: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --cyan: #06a9d2;
    --bright: #20c5e9;
    --navy: #073546;
    --deep: #032832;
    --ink: #15323c;
    --muted: #647a82;
    --line: #dce9ed;
    --soft: #f2f8fa;
    --gold: #cda43f;
    --white: #fff;
    --wrap: 1180px;
    --radius: 22px;
    --shadow: 0 20px 55px rgba(4, 43, 55, .12)
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px
}

body {
    margin: 0;
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.7;
    background: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale
}

h1,
h2,
h3,
h4,
h5,
h6,
.eyebrow,
.hero h1,
.page-hero h1,
.detail h1,
.article h1,
.section-title h2,
.heading-row h2,
.contact h2,
.service-card h3,
.project-card h2,
.project-card h3,
.post-card h3,
.cta h2,
.category-intro h2,
.list-card h3,
.values h3,
.detail h2,
.article-body h2,
.detail-side h3,
.footer-grid h3,
.stats-card strong,
.stat strong,
.num,
.phone,
.btn,
.lead {
    font-family: var(--font-heading);
    font-weight: 300
}

h3,
.service-card h3,
.project-card h2,
.project-card h3,
.post-card h3,
.list-card h3,
.values h3,
.detail-side h3,
.btn {
    font-weight: 400
}

.eyebrow,
.stats-card strong,
.stat strong,
.num,
.phone,
b,
strong {
    font-weight: 600
}

body.modal-open {
    overflow: hidden
}

a {
    color: inherit;
    text-decoration: none
}

img {
    display: block;
    width: 100%
}

button,
input,
textarea,
select {
    font: inherit
}

button {
    cursor: pointer
}

.wrap {
    width: min(var(--wrap), calc(100% - 48px));
    margin: auto
}

.section {
    padding: 96px 0
}

.ticker {
    height: 36px;
    overflow: hidden;
    display: flex;
    align-items: center;
    color: #c9edf3;
    background: var(--deep);
    font-size: 11px;
    letter-spacing: 1.7px;
    white-space: nowrap;
    width: min(var(--wrap), calc(100% - 48px));
    margin: 0 auto;
    box-shadow: 0 0 0 100vmax var(--deep);
    clip-path: inset(0 -100vmax)
}

.ticker div {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    min-width: max-content;
    animation: marquee 30s linear infinite;
    will-change: transform
}

.ticker div:hover {
    animation-play-state: paused
}

.ticker span {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0
}

.ticker b {
    color: var(--bright)
}

@keyframes marquee {
    0% {
        transform: translateX(0)
    }
    100% {
        transform: translateX(-50%)
    }
}

header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(13px)
}

.header-inner {
    width: min(var(--wrap), calc(100% - 48px));
    height: 82px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px
}

.brand {
    display: flex;
    align-items: center;
    line-height: 1;
    flex-shrink: 0
}

.brand i {
    margin-right: 11px;
    color: var(--gold);
    font-size: 31px;
    font-weight: 900;
    letter-spacing: -4px;
    transform: skew(-8deg)
}

.brand>span {
    font-family: Georgia, serif;
    color: #52646b;
    font-size: 24px
}

.brand small {
    display: block;
    margin-top: 6px;
    color: #b89541;
    font: 700 7px Montserrat, sans-serif;
    letter-spacing: 2px;
    text-align: center
}

.brand-logo-img {
    height: 48px;
    max-width: 190px;
    width: auto;
    display: block;
    object-fit: contain;
    transition: transform .25s ease;
}

.brand:hover .brand-logo-img {
    transform: scale(1.02);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin: 0 auto
}

.nav>a,
.nav-drop>a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 31px 0;
    color: var(--navy);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
    transition: color .2s ease
}

.nav>a:hover,
.nav-drop>a:hover {
    color: var(--cyan)
}

.nav-drop {
    position: relative
}

.nav-drop>a span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 8px;
    height: 8px;
    font-size: 0;
    line-height: 0;
    position: relative;
    vertical-align: middle
}

.nav-drop>a span::after {
    content: '';
    display: block;
    width: 4.5px;
    height: 4.5px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    margin-top: -3px;
    transition: transform .22s ease
}

.nav-drop:hover>a span::after {
    transform: rotate(-135deg);
    margin-top: 2px
}

.mega {
    position: absolute;
    top: 75px;
    right: -200px;
    width: 780px;
    padding: 24px 28px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    background: #fff;
    border: 1px solid var(--line);
    border-top: 2px solid var(--navy);
    border-radius: 0 0 10px 10px;
    box-shadow: 0 16px 40px rgba(4, 43, 55, .1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
    z-index: 50
}

.nav-drop:hover .mega,
.nav-drop:focus-within .mega {
    opacity: 1;
    visibility: visible;
    transform: none
}

.mega section {
    display: flex;
    flex-direction: column;
    gap: 8px
}

.mega b {
    display: none
}

.mega section>a:first-of-type {
    color: var(--navy);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .5px;
    padding-bottom: 8px;
    border-bottom: 1.5px solid var(--line);
    margin-bottom: 4px;
    transition: color .2s ease, border-color .2s ease
}

.mega section>a:first-of-type:hover {
    color: var(--cyan);
    border-bottom-color: var(--cyan)
}

.mega section>a:not(:first-of-type) {
    font-size: 12px;
    color: #4b636e;
    padding: 5px 0;
    transition: all .18s ease
}

.mega section>a:not(:first-of-type):hover {
    color: var(--cyan);
    padding-left: 5px
}

.hotline {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 9px 20px;
    background: var(--navy);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(4, 43, 55, .15);
    line-height: 1.25;
    text-align: center;
    flex-shrink: 0;
    transition: all .25s ease
}

.hotline:hover {
    background: var(--cyan);
    box-shadow: 0 6px 20px rgba(6, 169, 210, .32);
    transform: translateY(-2px)
}

.hotline small {
    font-size: 8.5px;
    font-weight: 700;
    letter-spacing: .8px;
    color: #9cb0b7;
    text-transform: uppercase;
    transition: color .2s ease
}

.hotline:hover small {
    color: #d8edf1
}

.hotline b {
    margin-top: 2px;
    font-size: 13.5px;
    font-weight: 800;
    letter-spacing: .4px;
    color: #fff;
    transition: color .2s ease
}

.menu-btn,
.mobile-nav {
    display: none
}

.hero {
    overflow: hidden;
    background: linear-gradient(128deg, #effafd, #fff 52%, #eef8fa)
}

.hero-grid {
    min-height: 620px;
    display: grid;
    grid-template-columns: .86fr 1.14fr;
    align-items: center;
    gap: 60px
}

.eyebrow,
.section-title>p,
.page-hero p {
    margin: 0 0 8px;
    color: var(--cyan);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase
}

.hero h1,
.page-hero h1,
.detail h1,
.article h1 {
    margin: 0;
    color: var(--navy);
    font-size: clamp(42px, 5vw, 72px);
    line-height: 1.05;
    letter-spacing: -2.7px;
    font-weight: 300
}

.hero h1 {
    max-width: 5.2em
}

.hero h1 em {
    display: block;
    color: var(--cyan);
    font-style: normal
}

.hero .lead {
    margin: 24px 0 32px;
    color: var(--muted);
    font-size: 17px;
    font-weight: 600
}

.hero .lead i {
    margin: 0 8px;
    color: var(--gold)
}

.actions {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 50px;
    padding: 13px 24px;
    border: 0;
    border-radius: 10px;
    color: #fff;
    background: var(--cyan);
    box-shadow: 0 12px 28px rgba(6, 169, 210, .24);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .4px;
    transition: .22s
}

.btn:hover {
    background: #078eae;
    transform: translateY(-2px)
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--navy);
    font-family: var(--font-heading);
    font-size: 11.5px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .8px;
    border-bottom: 1.5px solid currentColor;
    padding-bottom: 3px;
    line-height: 1.2;
    transition: color .2s ease, border-color .2s ease, transform .2s ease
}

.text-link:hover {
    color: var(--cyan);
    transform: translateY(-1px)
}

.hero figure {
    position: relative;
    margin: 0;
    padding: 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(4, 43, 55, .22)
}

.hero figure>img {
    display: block;
    width: 100%;
    height: 470px;
    object-fit: cover;
    border-radius: 10px
}

.hero figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 110px;
    padding: 16px 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .32);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, .22);
    border-radius: 0 0 10px 10px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, .15);
    z-index: 2;
    transition: background .3s ease
}

.hero figcaption:hover {
    background: rgba(0, 0, 0, .42)
}

.hero figcaption::before {
    content: '';
    display: block;
    width: 235px;
    height: 76px;
    background: url('/assets/images/logo-light.png') center / contain no-repeat
}

.hero figcaption b,
.hero figcaption span {
    display: none
}

.section-title {
    max-width: 760px
}

.section-title.center {
    max-width: 740px;
    margin: 0 auto 45px;
    text-align: center
}

.section-title h2,
.heading-row h2,
.contact h2 {
    margin: 0;
    color: var(--navy);
    font-size: clamp(32px, 3.8vw, 46px);
    line-height: 1.2;
    letter-spacing: -1.2px;
    font-weight: 300;
    text-wrap: balance
}

.section-title.center h2 {
    max-width: 560px;
    margin: 0 auto
}

.section-title>span {
    display: block;
    margin-top: 16px;
    color: var(--muted);
    line-height: 1.6;
    text-wrap: balance
}

.section-title.center>span {
    max-width: 680px;
    margin: 16px auto 0
}

.section-title .btn {
    margin-top: 27px
}

.about .section-title .btn {
    border-radius: 10px;
    font-size: 0
}

.about .section-title .btn::before {
    content: "TÌM HIỂU THÊM";
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .4px
}

.services {
    background: var(--soft)
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px
}

.service-card {
    display: flex;
    flex-direction: column;
    padding: 34px 30px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 8px 30px rgba(4, 43, 55, .045);
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(6, 169, 210, .45);
    box-shadow: 0 20px 45px rgba(6, 169, 210, .12)
}

.service-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 22px
}

.service-card-head b {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    color: var(--cyan);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -1px;
    background: none;
    border-radius: 0;
    line-height: 1;
    margin: 0
}

.service-card h3 {
    margin: 0;
    color: var(--navy);
    font-size: 16px;
    font-weight: 800;
    letter-spacing: .3px;
    line-height: 1.3
}

.service-links {
    margin: 0 0 24px 0;
    display: flex;
    flex-direction: column;
    gap: 12px
}

.service-links a {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 0;
    border: none;
    color: #334155;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.45;
    transition: all .2s ease
}

.service-links a::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 17px;
    height: 17px;
    min-width: 17px;
    border-radius: 50%;
    border: 1.5px solid var(--cyan);
    color: var(--cyan);
    font-size: 9.5px;
    font-weight: 800;
    transition: all .2s ease
}

.service-links a:hover {
    color: var(--cyan);
    transform: translateX(3px)
}

.service-links a:hover::before {
    background: var(--cyan);
    color: #fff
}

.service-links i {
    display: none
}

.card-more {
    margin-top: auto;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--line);
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .8px;
    color: var(--cyan);
    transition: color .2s ease
}

.card-more:hover {
    color: #078eae
}

.card-more span {
    transition: transform .2s ease
}

.card-more:hover span {
    transform: translateX(4px)
}

.about {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 75px;
    align-items: center
}

.about-slider {
    position: relative;
    height: 480px
}

.about-slider>img {
    position: absolute;
    inset: 0;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateX(20px);
    transition: opacity .7s, transform .7s
}

.about-slider>img.active {
    opacity: 1;
    transform: none
}

.about-slider>span {
    position: absolute;
    right: 0;
    bottom: 24px;
    padding: 11px 17px;
    color: #fff;
    background: var(--navy);
    border-radius: 10px 0 0 10px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px
}

.dots {
    position: absolute;
    left: 22px;
    bottom: 20px;
    z-index: 2;
    display: flex;
    gap: 8px
}

.dots button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .65)
}

.dots button.active {
    width: 25px;
    border-radius: 5px;
    background: var(--bright)
}

.videos {
    overflow: hidden;
    color: #fff;
    background: var(--deep);
    padding: 95px 0
}

.video-layout {
    display: block
}

.video-layout .section-title {
    max-width: 100%;
    position: relative;
    margin-bottom: 35px
}

.section-title.light>p {
    color: var(--bright);
    font-weight: 800;
    font-size: 11px;
    letter-spacing: 1px;
    margin-bottom: 8px;
    text-transform: uppercase
}

.section-title.light h2 {
    color: #fff;
    font-size: clamp(32px, 3.8vw, 46px);
    font-weight: 300;
    letter-spacing: -1.2px;
    margin: 0 0 10px;
    line-height: 1.2
}

.section-title.light>span {
    display: block;
    font-size: 0;
    margin-top: 10px;
    line-height: 1.6
}

.section-title.light>span::before {
    content: "Những khoảnh khắc thực tế trong quá trình triển khai.";
    font-size: 14.5px;
    color: #a8c8d0;
    font-weight: 400
}

.slider-controls {
    display: flex;
    gap: 12px;
    position: absolute;
    right: 0;
    bottom: 6px;
    margin: 0;
    z-index: 2
}

.slider-controls button {
    width: 44px;
    height: 44px;
    border: 1.5px solid rgba(255, 255, 255, .32);
    border-radius: 50%;
    color: transparent;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 8px 14px;
    font-size: 0;
    cursor: pointer;
    padding: 0;
    outline: none;
    transition: all .22s ease
}

.slider-controls button:hover {
    background-color: var(--cyan);
    border-color: var(--cyan);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(6, 169, 210, .4)
}

.slider-controls button[data-video-prev] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 14' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='7 1 1 7 7 13'/%3E%3C/svg%3E")
}

.slider-controls button[data-video-next] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 14' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='1 1 7 7 1 13'/%3E%3C/svg%3E")
}

.video-window {
    overflow: hidden
}

.video-track {
    display: flex;
    gap: 20px;
    transition: transform .6s cubic-bezier(.2, .7, .2, 1)
}

.video-layout .video-card {
    position: relative;
    flex: 0 0 calc((100% - 40px) / 3);
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 10px;
    background: #063442;
    text-align: left;
    color: #fff;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .22);
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease
}

.video-layout .video-card:hover {
    transform: translateY(-6px);
    border-color: var(--bright);
    box-shadow: 0 16px 36px rgba(0, 0, 0, .45)
}

.video-layout .video-card img {
    width: 100%;
    height: 215px;
    object-fit: cover;
    border-radius: 9px 9px 0 0;
    filter: none;
    transition: transform .35s ease
}

.video-layout .video-card:hover img {
    transform: scale(1.03)
}

.video-layout .video-card>span {
    position: absolute;
    left: 50%;
    top: 107px;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--cyan);
    color: #fff;
    transform: translate(-50%, -50%);
    box-shadow: 0 4px 16px rgba(6, 169, 210, .45);
    font-size: 13px;
    z-index: 3;
    transition: transform .22s ease, background .22s ease
}

.video-layout .video-card:hover>span {
    background: var(--bright);
    transform: translate(-50%, -50%) scale(1.12)
}

.video-layout .video-card::before {
    position: absolute;
    right: 10px;
    top: 185px;
    z-index: 2;
    padding: 2px 7px;
    border-radius: 4px;
    background: rgba(0, 0, 0, .75);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .5px;
    line-height: 1.4
}

.video-layout .video-card:nth-child(1)::before { content: "03:45"; }
.video-layout .video-card:nth-child(2)::before { content: "02:18"; }
.video-layout .video-card:nth-child(3)::before { content: "04:12"; }
.video-layout .video-card:nth-child(4)::before { content: "01:22"; }

.video-layout .video-card>b {
    display: block;
    margin: 0;
    padding: 16px 18px 20px;
    color: #fff;
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.45;
    transition: color .2s ease
}

.video-layout .video-card:hover>b {
    color: var(--bright)
}

.video-layout .video-card>b::before {
    display: block;
    margin-bottom: 7px;
    color: var(--bright);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .6px;
    text-transform: uppercase
}

.video-layout .video-card:nth-child(1)>b::before { content: "XƯỞNG KỸ THUẬT SỐ"; }
.video-layout .video-card:nth-child(2)>b::before { content: "GIA CÔNG CƠ KHÍ"; }
.video-layout .video-card:nth-child(3)>b::before { content: "LẮP ĐẶT HIỆN TRƯỜNG"; }
.video-layout .video-card:nth-child(4)>b::before { content: "THI CÔNG HOÀN THIỆN"; }

@media (max-width: 900px) {
    .video-layout .video-card {
        flex: 0 0 calc((100% - 16px) / 2)
    }
    .video-track {
        gap: 16px
    }
}

@media (max-width: 560px) {
    .video-layout .section-title {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px
    }
    .slider-controls {
        position: static;
        margin-top: 4px
    }
    .video-layout .video-card {
        flex: 0 0 100%
    }
    .video-track {
        gap: 16px
    }
    .video-layout .video-card img {
        height: 240px
    }
    .video-layout .video-card>span {
        top: 120px
    }
    .video-layout .video-card::before {
        top: 210px
    }
}

.heading-row {
    margin-bottom: 35px;
    display: flex;
    justify-content: space-between;
    align-items: end
}

.heading-row h2 {
    font-size: clamp(32px, 3.8vw, 46px);
    letter-spacing: -1.2px;
    line-height: 1.2
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px
}

.project-card {
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
    transition: .22s
}

.project-card.is-hidden {
    display: none
}

.project-card img {
    height: 235px;
    object-fit: cover;
    border-radius: 10px;
    transition: .25s
}

.project-card:hover img {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(4, 43, 55, .12)
}

.project-card>span {
    display: block;
    margin-top: 12px;
    color: var(--cyan);
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 1.2px
}

.project-card h3,
.project-card h2 {
    margin: 4px 0 0;
    color: var(--navy);
    font-size: 15px;
    line-height: 1.35;
    transition: color .2s ease
}

.project-card:hover h3,
.project-card:hover h2 {
    color: var(--cyan)
}

.project-card p {
    display: none
}

.load-more {
    margin: 38px auto 0;
    display: flex
}

.news {
    background: var(--soft)
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px
}

.post-card {
    display: grid;
    grid-template-columns: 185px 1fr;
    gap: 22px;
    padding: 17px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(4, 43, 55, .05)
}

.post-image img {
    height: 100%;
    min-height: 200px;
    object-fit: cover;
    border-radius: 10px
}

.post-card>div>span {
    color: var(--cyan);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px
}

.post-card h3 {
    margin: 7px 0;
    color: var(--navy);
    font-size: 17px;
    line-height: 1.35
}

.post-card p {
    margin: 0 0 10px;
    color: var(--muted);
    font-size: 11px
}

.cta {
    padding: 55px 0;
    color: #fff;
    background: linear-gradient(115deg, #07516a, var(--navy))
}

.cta>.wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px
}

.cta p {
    margin: 0 0 8px;
    color: var(--bright);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px
}

.cta h2 {
    margin: 0;
    font-size: 29px;
    font-weight: 300
}

.cta .btn {
    background: #fff;
    color: var(--navy)
}

.crumb {
    padding: 22px 0 0;
    display: flex;
    gap: 10px;
    color: #76909a;
    font-size: 10px
}

.crumb a:hover {
    color: var(--cyan)
}

.page-hero {
    padding: 55px 0 70px;
    background: linear-gradient(135deg, #effafd, #fff)
}

.page-hero h1 {
    font-size: clamp(40px, 5vw, 65px)
}

.page-hero span {
    display: block;
    margin-top: 18px;
    max-width: 650px;
    color: var(--muted);
    font-size: 16px
}

.tabs,
.filters {
    margin-bottom: 35px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap
}

.tabs button,
.filters button {
    padding: 11px 19px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    color: var(--navy);
    font-size: 10px;
    font-weight: 800
}

.tabs button.active,
.filters button.active,
.tabs button:hover,
.filters button:hover {
    color: #fff;
    background: var(--navy);
    border-color: var(--navy)
}

.service-list.is-hidden {
    display: none
}

.category-intro {
    margin-bottom: 30px;
    display: grid;
    grid-template-columns: 70px 200px 1fr;
    align-items: center;
    gap: 20px
}

.category-intro>span {
    color: var(--cyan);
    font-size: 40px;
    font-weight: 700
}

.category-intro h2 {
    font-size: 30px;
    font-weight: 300
}

.category-intro p {
    color: var(--muted)
}

.cards-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px
}

.list-card {
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    transition: .22s
}

.values article {
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    transition: .22s
}

.list-card:hover,
.values article:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow)
}

.list-card img {
    height: 210px;
    object-fit: cover;
    border-radius: 10px
}

.list-card>span,
.values article>b {
    display: block;
    margin-top: 15px;
    color: var(--cyan);
    font-size: 22px;
    font-weight: 900
}

.list-card h3,
.values h3 {
    margin: 4px 0;
    color: var(--navy);
    font-size: 16px
}

.list-card p,
.values p {
    color: var(--muted);
    font-size: 11px
}

.list-card>b {
    font-size: 10px
}

.detail {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 65px
}

.detail h1 {
    font-size: clamp(36px, 4.5vw, 60px)
}

.detail-main>img {
    height: 430px;
    margin: 34px 0;
    object-fit: cover;
    border-radius: 10px
}

.detail .intro,
.article header p {
    font-size: 17px;
    color: var(--muted)
}

.detail h2,
.article-body h2 {
    margin: 38px 0 10px;
    color: var(--navy);
    font-size: 25px;
    font-weight: 300
}

.detail ul {
    padding-left: 20px
}

.process {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden
}

.process div {
    padding: 22px 15px;
    border-right: 1px solid var(--line)
}

.process div:last-child {
    border: 0
}

.process b {
    display: block;
    color: var(--cyan);
    font-size: 24px
}

.process span {
    font-size: 10px;
    font-weight: 700
}

.detail-side {
    position: sticky;
    top: 120px;
    align-self: start;
    padding: 28px;
    border-radius: 10px;
    color: #fff;
    background: var(--navy)
}

.detail-side h3 {
    font-size: 20px
}

.detail-side p {
    color: #c5dce2;
    font-size: 12px
}

.detail-side .btn {
    width: 100%;
    margin: 13px 0 18px
}

.detail-side>a:last-child {
    font-weight: 800
}

.project-detail .intro {
    margin-bottom: 28px
}

.gallery {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 12px
}

.gallery button,
.masonry button {
    position: relative;
    padding: 0;
    border: 0;
    background: none;
    overflow: hidden;
    border-radius: 10px
}

.gallery button:first-child {
    grid-row: span 3
}

.gallery img {
    height: 180px;
    object-fit: cover;
    transition: .25s
}

.gallery button:first-child img {
    height: 564px
}

.gallery button:hover img,
.masonry button:hover img {
    transform: scale(1.035)
}

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

.story {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 60px;
    align-items: center
}

.story img {
    height: 520px;
    object-fit: cover;
    border-radius: 10px
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 30px
}

.stats div {
    padding: 18px;
    background: var(--soft);
    border-radius: 10px
}

.stats b {
    display: block;
    color: var(--cyan);
    font-size: 27px
}

.stats span {
    font-size: 9px;
    font-weight: 700
}

.values {
    background: var(--soft)
}

.masonry {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 190px;
    gap: 12px
}

.masonry button:nth-child(1),
.masonry button:nth-child(6) {
    grid-column: span 2;
    grid-row: span 2
}

.masonry button:nth-child(4) {
    grid-row: span 2
}

.masonry img {
    height: 100%;
    object-fit: cover;
    transition: .25s
}

.masonry span {
    position: absolute;
    left: 15px;
    bottom: 12px;
    padding: 6px 10px;
    color: #fff;
    background: rgba(3, 40, 50, .8);
    border-radius: 7px;
    font-size: 8px;
    font-weight: 800
}

.video-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px
}

.video-gallery .video-card {
    padding: 0;
    flex: auto;
    border-radius: 10px;
    overflow: hidden
}

.video-gallery .video-card img {
    height: 390px;
    border-radius: 10px 10px 0 0
}

.post-list {
    display: grid;
    gap: 22px
}

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

.article {
    max-width: 950px
}

.article header {
    max-width: 830px
}

.article h1 {
    font-size: clamp(35px, 5vw, 62px)
}

.article header>span {
    color: var(--cyan);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.4px
}

.article-cover {
    height: 500px;
    margin: 40px 0;
    object-fit: cover;
    border-radius: 10px
}

.article-body {
    max-width: 760px;
    margin: auto;
    font-size: 16px
}

.article-body blockquote {
    margin: 35px 0;
    padding: 24px 30px;
    border-left: 4px solid var(--cyan);
    border-radius: 0 10px 10px 0;
    background: var(--soft);
    font-size: 18px;
    font-weight: 600
}

.contact {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 60px
}

.contact-info>a,
.contact-info>div {
    padding: 18px 0;
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid var(--line)
}

.contact-info span {
    font-size: 9px;
    color: var(--cyan);
    font-weight: 800;
    letter-spacing: 1px
}

.contact-info b {
    font-size: 13px
}

.contact-form {
    padding: 32px;
    border-radius: 10px;
    background: var(--soft)
}

.contact-form label {
    display: block;
    margin-bottom: 17px;
    color: var(--navy);
    font-size: 10px;
    font-weight: 800
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    margin-top: 7px;
    padding: 13px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    color: var(--ink);
    outline: none
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: var(--cyan)
}

.form-note {
    color: var(--cyan);
    font-size: 11px
}

.video-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    padding: 7vw;
    display: none;
    place-items: center;
    background: rgba(1, 20, 26, .9)
}

.video-modal.open {
    display: grid
}

.video-modal iframe {
    width: min(100%, 900px);
    aspect-ratio: 16/9;
    border: 0;
    border-radius: 10px;
    background: #000
}

.video-modal button {
    position: absolute;
    right: 25px;
    top: 18px;
    border: 0;
    color: #fff;
    background: none;
    font-size: 40px
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 110;
    display: grid;
    place-items: center;
    padding: 30px;
    background: rgba(1, 20, 26, .94)
}

.lightbox img {
    max-width: 1100px;
    max-height: 88vh;
    object-fit: contain;
    border-radius: 10px
}

.lightbox button {
    position: absolute;
    right: 20px;
    top: 15px;
    border: 0;
    background: none;
    color: #fff;
    font-size: 42px
}

footer {
    padding-bottom: 50px;
    color: #a4c4cc;
    background: var(--deep)
}

.footer-top {
    padding: 30px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, .08)
}

.brand.inverse>span {
    color: #fff
}

.footer-phone {
    display: flex;
    flex-direction: column;
    text-align: right;
    text-decoration: none
}

.footer-phone small {
    color: var(--cyan);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 3px
}

.footer-phone b {
    color: #fff;
    font-size: 21px;
    font-weight: 700;
    letter-spacing: .5px;
    transition: color .2s ease
}

.footer-phone:hover b {
    color: var(--bright)
}

.footer-grid {
    padding: 36px 0 32px;
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr;
    gap: 48px
}

.footer-grid section {
    display: block
}

.footer-grid h3 {
    margin: 0 0 14px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase
}

.footer-grid p {
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.65;
    color: #9bbcc5;
    max-width: 400px
}

.footer-grid a {
    color: #9bbcc5;
    font-size: 13px;
    text-decoration: none;
    transition: color .2s ease, transform .2s ease
}

.footer-grid a:hover {
    color: var(--bright)
}

.footer-grid section:first-child a[href^="tel"] {
    color: #fff;
    font-weight: 600;
    font-size: 13.5px
}

.footer-grid section:first-child a[href^="tel"]:hover {
    color: var(--bright)
}

.footer-grid section:first-child a[href^="mailto"] {
    display: block;
    margin-top: 8px;
    color: var(--cyan);
    font-size: 12.5px
}

.footer-grid section:first-child a[href^="mailto"]:hover {
    color: var(--bright);
    text-decoration: underline
}

.footer-grid section:not(:first-child) a {
    display: block;
    padding: 5px 0;
    line-height: 1.5
}

.footer-grid section:not(:first-child) a:hover {
    transform: translateX(4px)
}

.copyright {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, .08);
    font-size: 0;
    color: #7296a2
}

.copyright::before {
    content: "Copyright © 2026 Hoàng Thịnh ADV.";
    font-size: 11.5px;
    float: left
}

.copyright a {
    float: right;
    font-size: 11.5px;
    color: var(--cyan);
    font-weight: 600;
    text-decoration: none;
    transition: color .2s ease
}

.copyright a::before {
    content: "Designed by ";
    color: #7296a2;
    font-weight: 400
}

.copyright a:hover {
    color: var(--bright);
    text-decoration: underline
}

.copyright a:hover::before {
    color: #7296a2;
    text-decoration: none
}

.copyright::after {
    content: "";
    display: table;
    clear: both
}

.contact-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    height: 68px;
    display: none;
    background: var(--deep);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, .15)
}

.contact-bar a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 17px
}

.contact-bar a:nth-child(3) {
    background: var(--bright);
    color: var(--deep)
}

.contact-bar span {
    font-size: 7px;
    font-weight: 800
}

.to-top {
    position: fixed;
    right: 20px;
    bottom: 90px;
    z-index: 40;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--navy)
}

@media(max-width:1050px) {
    .nav {
        gap: 12px
    }

    .nav>a,
    .nav-drop>a {
        font-size: 9px
    }

    .hotline {
        display: none
    }

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

    .service-card {
        padding: 22px
    }

    .mega {
        right: -200px;
        width: 780px
    }
}

@media(max-width:820px) {
    body {
        font-size: 14px
    }

    .wrap {
        width: min(100% - 30px, var(--wrap))
    }

    .ticker {
        height: 32px;
        width: min(100% - 30px, var(--wrap))
    }

    .header-inner {
        width: calc(100% - 30px);
        height: 72px
    }

    .brand-logo-img {
        height: 40px
    }

    .header-inner>.nav {
        display: none
    }

    .menu-btn {
        display: block;
        margin-left: auto;
        border: 0;
        background: none;
        color: var(--navy);
        font-size: 25px
    }

    .mobile-nav {
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        padding: 15px;
        background: #fff;
        border-top: 1px solid var(--line);
        box-shadow: var(--shadow)
    }

    .mobile-nav.open {
        display: block
    }

    .mobile-nav>.nav {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0
    }

    .mobile-nav .nav>a,
    .mobile-nav .nav-drop>a {
        padding: 12px;
        font-size: 11px
    }

    .mobile-nav .nav-drop {
        width: 100%
    }

    .mobile-nav .mega {
        display: none
    }

    .section {
        padding: 70px 0
    }

    .hero-grid {
        min-height: 0;
        padding: 55px 0;
        grid-template-columns: 1fr;
        gap: 45px
    }

    .hero figure>img {
        height: 390px
    }

    .service-grid,
    .cards-3,
    .all-visible,
    .video-gallery {
        grid-template-columns: repeat(2, 1fr)
    }

    .service-card:nth-child(2) {
        transform: none
    }

    .about,
    .story,
    .detail,
    .contact {
        grid-template-columns: 1fr;
        gap: 40px
    }

    .about-slider {
        height: 420px
    }

    .video-layout {
        grid-template-columns: 1fr
    }

    .video-card img {
        height: 350px
    }

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

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

    .category-intro {
        grid-template-columns: 60px 1fr
    }

    .category-intro p {
        grid-column: 1/-1
    }

    .detail-side {
        position: static
    }

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

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

    .video-gallery .video-card img {
        height: 330px
    }

    .contact-bar {
        display: flex
    }

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

    .footer-grid section:first-child {
        grid-column: span 2
    }

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

    .process div:nth-child(2) {
        border-right: 0
    }

    .article-cover {
        height: 400px
    }

    .cta>.wrap {
        align-items: flex-start;
        flex-direction: column
    }
}

@media(max-width:560px) {
    .brand-logo-img {
        height: 36px
    }

    .brand>span {
        font-size: 20px
    }

    .hero h1 {
        font-size: 44px
    }

    .hero figure {
        padding: 0
    }

    .hero figure>img {
        height: 330px;
        border-radius: 10px
    }

    .hero figcaption {
        width: 100%;
        height: 90px;
        border-radius: 0 0 10px 10px;
        padding: 12px 20px
    }

    .hero figcaption::before {
        width: 180px;
        height: 58px
    }

    .section-title h2,
    .heading-row h2,
    .contact h2 {
        font-size: 32px
    }

    .service-grid,
    .cards-3,
    .projects-grid,
    .all-visible,
    .video-gallery {
        grid-template-columns: 1fr
    }

    .service-card:nth-child(2) {
        order: -1
    }

    .about-slider {
        height: 350px
    }

    .video-card {
        flex-basis: 100%
    }

    .video-card img {
        height: 430px
    }

    .heading-row {
        align-items: flex-start;
        gap: 20px;
        flex-direction: column
    }

    .project-card img {
        height: 260px
    }

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

    .post-image img {
        height: 230px
    }

    .cta h2 {
        font-size: 24px
    }

    .page-hero {
        padding: 45px 0
    }

    .page-hero h1 {
        font-size: 40px
    }

    .detail h1,
    .article h1 {
        font-size: 38px
    }

    .detail-main>img {
        height: 300px
    }

    .process {
        grid-template-columns: 1fr
    }

    .process div {
        border-right: 0;
        border-bottom: 1px solid var(--line)
    }

    .gallery {
        grid-template-columns: 1fr 1fr
    }

    .gallery button:first-child {
        grid-column: span 2;
        grid-row: auto
    }

    .gallery button:first-child img {
        height: 320px
    }

    .gallery img {
        height: 150px
    }

    .masonry {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 160px
    }

    .masonry button:nth-child(1),
    .masonry button:nth-child(6) {
        grid-column: span 2
    }

    .masonry button:nth-child(4) {
        grid-row: auto
    }

    .article-cover {
        height: 280px
    }

    .footer-top {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
        padding: 24px 0
    }

    .footer-phone {
        text-align: left
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 24px 0
    }

    .footer-grid section:first-child {
        grid-column: auto
    }

    .copyright {
        text-align: left
    }

    .copyright::before,
    .copyright a {
        float: none;
        display: block
    }

    .copyright a {
        margin-top: 6px
    }

    .contact-info b {
        font-size: 11px
    }

    .contact-form {
        padding: 22px
    }

    .stats {
        grid-template-columns: 1fr
    }

    .story img {
        height: 360px
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    *,
    *:before,
    *:after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important
    }
}

html,
body {
    overflow-x: clip
}

/* ======================================================================
   PHẦN GHI ĐÈ THEO MODULE (site-modules.css cũ — nối theo đúng thứ tự cascade của index.html)
   ====================================================================== */
/* site-modules.css — Dòng chữ chạy (ticker) + nút nổi góc phải (cấu hình 1 lần từ admin)
   Nguồn dữ liệu: settings (hotline/secondaryPhone/email/address/zalo) + networks (mạng xã hội)
   + block 'topbar' (nội dung/tốc độ chữ chạy qua header.text1..3 & marqueeSpeed, nhãn + công tắc nút nổi).
   Khung màu theo site.css (--deep/--bright). */

/* ---------- Dòng chữ chạy trên cùng ---------- */
/* Tốc độ chạy theo cấu hình admin (block 'topbar' → marqueeSpeed, giây/vòng; mặc định 30s của site.css) */
.ticker div{animation-duration:var(--marquee-dur,30s)}

/* ---------- Nút nổi góc phải (desktop) ---------- */
.float-dock{position:fixed;right:16px;bottom:24px;z-index:90;display:flex;flex-direction:column;gap:10px}
.dock-btn{width:52px;min-height:52px;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;text-decoration:none;border:1px solid rgba(4,43,55,.14);background:var(--deep);color:#fff;cursor:pointer;box-shadow:0 10px 26px rgba(4,43,55,.28);transition:transform .18s,background .18s,box-shadow .18s;padding:0;font-family:inherit}
.dock-btn b{font-size:19px;line-height:1;font-weight:600}
.dock-btn span{position:absolute;left:auto;right:60px;white-space:nowrap;background:var(--deep);color:#fff;font-size:11.5px;letter-spacing:.4px;padding:5px 10px;opacity:0;pointer-events:none;transform:translateX(6px);transition:.18s;border-radius:3px}
.dock-btn{position:relative}
.dock-btn:hover{transform:translateY(-2px);background:var(--navy);box-shadow:0 14px 30px rgba(4,43,55,.36)}
.dock-btn:hover span{opacity:1;transform:translateX(0)}
.dock-call{background:var(--navy)}
.dock-zalo{background:#0e71ad}
.dock-zalo:hover{background:#0c5f92}
.dock-mail{background:var(--deep)}
.dock-map{background:var(--deep)}
.dock-net{background:var(--ink)}
.dock-net b{font-size:16px}
.dock-top{background:var(--deep);border-style:dashed}

/* Ẩn nút lên đầu trang cũ trên desktop — dock đã có nút ↑ (giữ .to-top cho mobile) */
@media (min-width:821px){
  .to-top{display:none!important}
}

@media (max-width:820px){
  .contact-bar{display:none!important}
  .float-dock{left:0;right:0;bottom:0;display:flex;flex-direction:row;gap:0;padding-bottom:env(safe-area-inset-bottom,0px);background:var(--deep)!important}
  .float-dock .dock-btn{flex:1;min-width:0;width:auto;min-height:58px;border:0;border-radius:0;box-shadow:none;padding:6px 3px;gap:5px;background:transparent!important}
  .float-dock .dock-btn:nth-child(n+6){display:none}
  .float-dock .dock-btn span{position:static;opacity:1;transform:none;background:none;padding:0;font-size:10px;letter-spacing:0;white-space:normal;text-align:center;line-height:1.2}
  .float-dock .dock-btn .dock-avatar{width:26px;height:26px}
  .float-dock .dock-btn:hover{transform:none;background:transparent!important}
}

/* Tôn trọng người dùng giảm chuyển động */
@media (prefers-reduced-motion:reduce){
  .dock-btn,.dock-btn span{transition:none}
  .ticker div{animation:none}
}

.dock-btn .dock-avatar{width:50px;height:50px;object-fit:cover;border-radius:50%;display:block}
.dock-btn:focus-visible span{opacity:1;transform:translateX(0)}

.dock-btn .dock-logo{display:block;width:30px;height:30px;object-fit:contain}
@media(max-width:820px){.float-dock .dock-btn .dock-logo{width:26px;height:26px}}

@media(min-width:821px){
 .dock-btn:has(> .dock-avatar),.dock-btn:has(> .dock-brand){height:52px;background:transparent!important;border:0;box-shadow:none}
 .dock-btn>.dock-avatar,.dock-btn>.dock-brand{width:100%;height:100%;object-fit:cover;border-radius:50%}
}
@media(max-width:820px){
 .float-dock .dock-btn:has(> .dock-avatar),.float-dock .dock-btn:has(> .dock-brand){background:transparent}
}

/* ======================================================================
   PHẦN SỬA GIAO TIẾP SAU BÀN GIAO (site-fixes.css cũ — nối theo đúng thứ tự cascade của index.html)
   ====================================================================== */
/* site-fixes.css — sửa responsive nhỏ cho web công khai (bổ sung, KHÔNG đụng site.css gốc đã chốt).
   Chỉ thêm breakpoint: chặn tràn ngang trên màn hình nhỏ ≤520px do media embed/banner cố định rộng. */
@media (max-width:520px){
  html,body{overflow-x:clip}
  img,video,iframe{max-width:100%}
}

/* 1. Giữ nút số điện thoại (hotline) hiển thị trên màn hình máy tính khi thu nhỏ (821px - 1050px),
   sang màn mobile và tablet (<= 820px) thì ẩn nút hotline trên navbar */
@media (max-width: 1050px) and (min-width: 821px) {
  .hotline {
    display: inline-flex !important;
    padding: 7px 14px !important;
  }
  .hotline b {
    font-size: 11.5px !important;
  }
  .hotline small {
    font-size: 8px !important;
  }
}

@media (max-width: 820px) {
  .header-inner .hotline,
  .hotline {
    display: none !important;
  }
  .menu-btn {
    margin-left: auto !important;
  }
}

/* 2. Căn giữa chữ và nút phần Hero khi thu nhỏ màn hình (mobile / tablet) */
@media (max-width: 820px) {
  .hero-grid > div:first-child,
  .hero {
    text-align: center !important;
  }
  .hero .eyebrow {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .hero h1 {
    text-align: center !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .hero .lead {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .hero .actions {
    justify-content: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* Căn giữa chữ và nút khối Giới thiệu (About), Video, Tin tức, CTA khi thu nhỏ */
  .about .section-title {
    text-align: center !important;
    margin: 0 auto !important;
  }
  .about .section-title p {
    text-align: center !important;
    margin: 0 auto 8px !important;
  }
  .about .section-title h2 {
    text-align: center !important;
    margin: 0 auto !important;
  }
  .about .section-title > span {
    text-align: center !important;
    margin: 16px auto 0 !important;
  }
  .about .section-title .btn {
    display: inline-flex !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .video-layout .section-title,
  .videos .section-title {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    margin: 0 auto 35px !important;
    max-width: 100% !important;
  }
  .video-layout .section-title > p,
  .videos .section-title p {
    text-align: center !important;
    margin: 0 auto 8px !important;
    align-self: center !important;
    width: 100% !important;
  }
  .video-layout .section-title h2,
  .videos .section-title h2 {
    text-align: center !important;
    margin: 0 auto 10px !important;
    width: 100% !important;
  }
  .video-layout .section-title > span,
  .videos .section-title > span {
    text-align: center !important;
    margin: 10px auto 0 !important;
    width: 100% !important;
  }
  .videos .slider-controls {
    justify-content: center !important;
    align-self: center !important;
    position: static !important;
    margin: 16px auto 0 !important;
  }

  .heading-row {
    align-items: center !important;
    text-align: center !important;
  }
  .heading-row .section-title {
    margin: 0 auto !important;
    text-align: center !important;
  }
  .heading-row .section-title p {
    text-align: center !important;
    margin: 0 auto 8px !important;
  }
  .heading-row .text-link {
    margin: 0 auto !important;
  }

  .cta > .wrap {
    align-items: center !important;
    text-align: center !important;
  }
  .cta > .wrap > div {
    margin: 0 auto !important;
  }
  .cta .btn {
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* 3. Sửa thứ tự thẻ dịch vụ trên trang chủ: giữ đúng thứ tự 01 Quảng Cáo, 02 Nội Thất, 03 In Ấn (bỏ order: -1 bị đảo lộn trên mobile) */
.service-card:nth-child(2) {
  order: 0 !important;
}

/* 4. Đồng màu thanh liên hệ mobile (.float-dock) & ẩn contact-bar cũ bị lộ vệt xanh */
.contact-bar {
  display: none !important;
}

@media (max-width: 820px) {
  .float-dock {
    background: var(--deep) !important;
  }
  .float-dock .dock-btn {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }
  .float-dock .dock-btn:hover {
    background: transparent !important;
  }
}


/* The hero shares the configured website logo. */
.hero figcaption::before{display:none}
.hero figcaption .hero-brand-logo{display:block;width:auto;max-width:min(235px,100%);height:76px;object-fit:contain}

/* Lift dark lettering while retaining the uploaded logo colors. */
.hero figcaption .hero-brand-logo{filter:url(#hero-logo-contrast)}
