:root {
    --navy: #0a1931;
    --navy-light: #12284c;
    --navy-dark: #061020;
    --gold: #d4a024;
    --gold-hover: #b88616;
    --gold-light: #fef3c7;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-600: #475569;
    --slate-800: #1e293b;
    --radius: 12px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #fff;
    color: var(--slate-800);
    line-height: 1.6;
}

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

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

.wrap {
    max-width: 1240px;
    margin: 0 auto;
}

.topbar {
    background-color: var(--navy-dark);
    color: #94a3b8;
    font-size: 0.85rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar .wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar a {
    color: #cbd5e1;
    transition: color 0.2s;
}

.topbar a:hover {
    color: var(--gold);
}

header {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
}

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

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--navy);
    letter-spacing: 0.5px;
    line-height: 1.1;
}

.brand-title span {
    color: var(--gold);
}

.brand-sub {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--slate-600);
    letter-spacing: 1px;
    text-transform: uppercase;
}

nav.main-nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

nav.main-nav a {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--navy);
    padding: 6px 0;
    position: relative;
    transition: color 0.2s;
}

nav.main-nav a:hover {
    color: var(--gold);
}

nav.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.2s;
}

nav.main-nav a:hover::after {
    width: 100%;
}

.nav-item.has-dropdown {
    position: relative;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.nav-arrow {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.nav-item.has-dropdown:hover .nav-arrow {
    transform: rotate(180deg);
}

.mega-dropdown {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 820px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 20px 45px rgba(10, 25, 49, 0.18);
    border: 1px solid var(--slate-200);
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
}

.mega-dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #ffffff;
}

.mega-dropdown::after {
    content: '';
    position: absolute;
    top: -16px;
    left: 0;
    right: 0;
    height: 16px;
}

.nav-item.has-dropdown:hover .mega-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

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

.mega-col {
    display: flex;
    flex-direction: column;
}

.mega-title {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    padding-bottom: 6px;
    border-bottom: 2px solid var(--gold);
}

.mega-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mega-item {
    display: flex !important;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem !important;
    color: var(--slate-700) !important;
    padding: 6px 8px !important;
    border-radius: 6px;
    transition: all 0.2s ease !important;
}

.mega-item::after {
    display: none !important;
}

.mega-item:hover {
    background: #f1f5f9;
    color: var(--navy) !important;
    padding-left: 12px !important;
}

.mega-icon {
    font-size: 1rem;
    color: var(--gold);
    width: 18px;
    text-align: center;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mega-icon i,
.service-icon i,
.card-icon i,
.detail-icon i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mega-text {
    font-weight: 500;
}

.mega-bottom {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--slate-100);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mega-note {
    font-size: 0.8rem;
    color: var(--slate-600);
}

.mega-all-btn {
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    color: var(--gold) !important;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.mega-all-btn:hover {
    color: var(--navy) !important;
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-call {
    display: flex;
    flex-direction: column;
    text-align: right;
}

.header-call span {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--slate-600);
}

.header-call strong {
    font-size: 1.15rem;
    color: var(--navy);
    font-weight: 800;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: var(--navy);
}

.hero-carousel {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 55%, var(--navy-light) 100%);
    color: #fff;
    margin-bottom: 45px;
    position: relative;
    overflow: hidden;
}

.hero-carousel::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -15%;
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, rgba(212, 160, 36, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.slides-container {
    position: relative;
    min-height: 440px;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateX(30px);
    transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s;
    pointer-events: none;
}

.hero-slide.is-active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-content {
    max-width: 650px;
    position: relative;
    z-index: 2;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-photo-wrap,
.hero-diagram-wrap {
    width: 100%;
    max-width: 500px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.15);
    background: #000;
}

.hero-media {
    width: 100%;
    height: 340px;
    object-fit: cover;
    display: block;
}

.hero-diagram-wrap .hero-media {
    object-fit: contain;
    background: #ffffff;
}

.hero-logo-wrap {
    text-align: center;
    width: 100%;
    max-width: 440px;
}

.hero-logo-box {
    background: #fff;
    border: 4px solid var(--gold);
    border-radius: 12px;
    padding: 35px 25px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
    margin-bottom: 20px;
}

.hero-logo-img {
    max-width: 280px;
    margin: 0 auto;
}

.hero-slogan-label {
    color: var(--gold);
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 2px;
    line-height: 1.5;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.eyebrow {
    display: inline-block;
    color: var(--gold);
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 20px;
}

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

.hero p {
    font-size: 1.15rem;
    color: #cbd5e1;
    margin-bottom: 35px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.carousel-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 35px;
    padding-top: 18px;
    position: relative;
    z-index: 5;
}

.slide-dots {
    display: flex;
    gap: 18px;
}

.dot-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    padding-bottom: 6px;
    position: relative;
    transition: color 0.25s;
}

.dot-btn.is-active {
    color: var(--gold);
    border-bottom: 2px solid var(--gold);
}

.carousel-note {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 2px;
    font-weight: 600;
    text-transform: uppercase;
}

.carousel-controls {
    display: flex;
    gap: 6px;
}

.carousel-controls button {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.carousel-controls button:hover {
    background: var(--gold);
    color: var(--navy-dark);
    border-color: var(--gold);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: 0.2s;
    border: none;
}

.btn-gold {
    background-color: var(--gold);
    color: var(--navy-dark);
}

.btn-gold:hover {
    background-color: var(--gold-hover);
    color: #fff;
}

.btn-gold-white {
    background-color: var(--gold);
    color: #ffffff !important;
    font-weight: 700;
    padding: 13px 30px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 6px 18px rgba(212, 160, 36, 0.3);
    transition: all 0.25s ease;
}

.btn-gold-white:hover {
    background-color: var(--gold-hover);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(212, 160, 36, 0.4);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.quick-bar {
    background: #fff;
    position: relative;
    z-index: 10;
    padding-bottom: 24px;
}

.quick-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.quick-title span {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
}

.quick-title h3 {
    font-size: 1.2rem;
    color: var(--navy);
}

.quick-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.quick-btn {
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--navy);
    cursor: pointer;
    transition: 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.quick-btn:hover {
    background: var(--gold-light);
    border-color: var(--gold);
    color: var(--navy-dark);
}

.quick-btn i {
    color: var(--gold);
    font-size: 1rem;
    transition: transform 0.2s ease;
}

.quick-btn:hover i {
    transform: scale(1.15);
}

.quick-btn.emergency {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #dc2626;
}

.quick-btn.emergency i {
    color: #dc2626;
}

.quick-btn.emergency:hover {
    background: #fecaca;
    border-color: #f87171;
    color: #b91c1c;
}

.section {
    padding: 85px 0;
}

.section-bg {
    background-color: var(--slate-50);
}

.section-head {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.section-head h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 12px;
}

.section-head h2 span {
    color: var(--gold);
}

.section-head p {
    color: var(--slate-600);
    font-size: 1.05rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 22px;
}

.service-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 26px 24px;
    border: 1px solid var(--slate-200);
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    border-color: var(--gold);
}

.service-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.service-icon {
    width: 48px;
    height: 48px;
    background: var(--gold-light);
    color: var(--gold-hover);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: bold;
}

.service-group {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--slate-600);
    background: var(--slate-100);
    padding: 3px 8px;
    border-radius: 4px;
}

.service-card h3 {
    font-size: 1.2rem;
    color: var(--navy);
    margin-bottom: 8px;
    font-weight: 700;
}

.service-card p {
    color: var(--slate-600);
    font-size: 0.92rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--navy);
    font-weight: 700;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.service-link:hover {
    color: var(--gold);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.about-banner {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.about-banner img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.about-banner-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(10, 25, 49, 0.92);
    color: #fff;
    padding: 16px 22px;
    border-radius: 10px;
    backdrop-filter: blur(8px);
    border-left: 4px solid var(--gold);
}

.about-banner-badge strong {
    font-size: 1.1rem;
    display: block;
}

.about-banner-badge span {
    font-size: 0.85rem;
    color: #cbd5e1;
}

.about-quote {
    background: var(--gold-light);
    border-left: 4px solid var(--gold);
    padding: 16px 20px;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #78350f;
    font-size: 1.05rem;
    margin: 24px 0;
    font-weight: 600;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 30px 0;
}

.value-box {
    background: var(--slate-100);
    padding: 16px;
    border-radius: 8px;
    text-align: center;
}

.value-box strong {
    display: block;
    color: var(--gold);
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.value-box span {
    font-size: 0.88rem;
    color: var(--navy);
    font-weight: 700;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 24px;
}

.feature-card {
    background: var(--navy);
    color: #fff;
    border-radius: var(--radius);
    padding: 40px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 280px;
}

.feature-card:nth-child(2) {
    background: linear-gradient(135deg, #1e293b 0%, var(--navy) 100%);
}

.feature-card h3 {
    font-size: 1.7rem;
    margin-bottom: 8px;
}

.feature-card p {
    color: #cbd5e1;
    margin-bottom: 20px;
}

.faq-list {
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

details.faq-item {
    background: #fff;
    border: 1px solid var(--slate-200);
    border-radius: 10px;
    padding: 18px 24px;
    transition: all 0.2s;
}

details.faq-item[open] {
    border-color: var(--gold);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

details.faq-item summary {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--navy);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

details.faq-item summary::-webkit-details-marker {
    display: none;
}

details.faq-item summary::after {
    content: '+';
    font-size: 1.4rem;
    color: var(--gold);
    font-weight: 700;
}

details.faq-item[open] summary::after {
    content: '−';
}

details.faq-item p {
    margin-top: 14px;
    color: var(--slate-600);
    border-top: 1px solid var(--slate-100);
    padding-top: 12px;
}

.brands-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    align-items: center;
    flex-wrap: wrap;
}

.brand-pill {
    background: #fff;
    border: 1px solid var(--slate-200);
    padding: 16px 36px;
    border-radius: 40px;
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--navy);
    letter-spacing: 2px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 26px;
}

.video-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--slate-200);
    cursor: pointer;
    transition: transform 0.25s, box-shadow 0.25s;
}

.video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.video-thumb {
    position: relative;
    width: 100%;
    height: 200px;
    background: #000;
}

.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.88;
}

.play-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 52px;
    height: 52px;
    background: rgba(212, 160, 36, 0.92);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.video-info {
    padding: 18px 20px;
}

.video-tag {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
    display: block;
    margin-bottom: 6px;
}

.video-info h4 {
    font-size: 1.05rem;
    color: var(--navy);
    font-weight: 700;
}

footer {
    background-color: var(--navy-dark);
    color: #cbd5e1;
    padding: 70px 0 30px;
    font-size: 0.92rem;
}

.footer-wrap {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-brand {
    font-size: 1.6rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 12px;
}

.footer-brand span {
    color: var(--gold);
}

.footer-brand small {
    display: block;
    font-size: 0.75rem;
    color: #94a3b8;
    letter-spacing: 1px;
}

.footer-grid h3 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 18px;
    font-weight: 700;
    position: relative;
    padding-bottom: 8px;
}

.footer-grid h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gold);
}

.footer-grid ul {
    list-style: none;
}

.footer-grid ul li {
    margin-bottom: 10px;
}

.footer-grid ul li a:hover {
    color: var(--gold);
}

.footer-hotline {
    background: rgba(255, 255, 255, 0.05);
    padding: 16px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-hotline span {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--gold);
    display: block;
    margin-bottom: 4px;
}

.footer-hotline a {
    font-size: 1.5rem;
    font-weight: 900;
    color: #fff;
}

.footer-socials {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.footer-socials span {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    font-weight: bold;
    font-size: 0.9rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #94a3b8;
}

.mobile-contact-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--navy-dark);
    z-index: 9999;
    padding: 8px 12px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    grid-template-columns: 1fr 1fr 1.2fr;
    gap: 8px;
}

.mobile-contact-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 10px;
    border-radius: 6px;
    text-align: center;
}

.btn-call {
    background: #0284c7;
    color: #fff;
}

.btn-zalo {
    background: #2563eb;
    color: #fff;
}

.btn-sos {
    background: #dc2626;
    color: #fff;
}

.site-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.site-modal-content {
    background: #fff;
    border-radius: var(--radius);
    max-width: 750px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 30px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #f1f5f9;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.modal-close-btn:hover {
    background: #e2e8f0;
}

.rescue-modal-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.rescue-icon-wrap {
    width: 60px;
    height: 60px;
    background: #fee2e2;
    color: #dc2626;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
    border: 1px solid #fca5a5;
}

.rescue-badge {
    font-size: 0.75rem;
    font-weight: 800;
    color: #dc2626;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}

.rescue-badge i {
    font-size: 0.55rem;
    animation: pulseRed 1.2s infinite;
}

@keyframes pulseRed {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.3;
        transform: scale(1.3);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.rescue-title {
    font-size: 1.55rem;
    font-weight: 900;
    color: var(--navy);
}

.rescue-desc {
    color: var(--slate-600);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.rescue-services-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    background: #f8fafc;
    border-radius: 12px;
    padding: 16px;
    border: 1px solid var(--slate-200);
    margin-bottom: 24px;
}

.rescue-serv-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.rescue-serv-item i {
    color: #dc2626;
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.rescue-serv-item strong {
    display: block;
    font-size: 0.88rem;
    color: var(--navy);
}

.rescue-serv-item small {
    display: block;
    font-size: 0.78rem;
    color: var(--slate-500);
}

.rescue-actions-box {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-call-emergency {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: #ffffff !important;
    padding: 14px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    box-shadow: 0 10px 25px rgba(220, 38, 38, 0.35);
    transition: all 0.25s ease;
}

.btn-call-emergency:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(220, 38, 38, 0.45);
    color: #ffffff !important;
}

.btn-call-emergency i {
    font-size: 1.8rem;
    animation: ringPhone 1.5s infinite;
}

@keyframes ringPhone {

    0%,
    100% {
        transform: rotate(0);
    }

    10%,
    30% {
        transform: rotate(-15deg);
    }

    20%,
    40% {
        transform: rotate(15deg);
    }
}

.btn-call-emergency div {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.btn-call-emergency span {
    font-size: 0.75rem;
    font-weight: 700;
    opacity: 0.9;
    letter-spacing: 0.5px;
}

.btn-call-emergency strong {
    font-size: 1.4rem;
    font-weight: 900;
    line-height: 1.1;
}

.rescue-sub-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4px;
}

.rescue-zalo-btn {
    background: #0068ff;
    color: #ffffff !important;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background 0.2s;
}

.rescue-zalo-btn:hover {
    background: #0054d1;
}

.rescue-detail-link {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--navy);
    transition: color 0.2s;
}

.rescue-detail-link:hover {
    color: var(--gold);
}

@media (max-width: 600px) {
    .rescue-services-list {
        grid-template-columns: 1fr;
    }

    .rescue-sub-actions {
        flex-direction: column;
        gap: 10px;
    }

    .rescue-zalo-btn {
        width: 100%;
        justify-content: center;
    }
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(10, 25, 49, 0.96);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.popup-box {
    background: #fff;
    max-width: 650px;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    text-align: center;
    padding: 40px 30px;
}

.popup-box h3 {
    color: var(--navy);
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.popup-box p {
    color: var(--slate-600);
    margin-bottom: 25px;
}

.to-top {
    position: fixed;
    z-index: 999;
    right: 24px;
    bottom: 28px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ffffff;
    background: var(--navy);
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-size: 1.35rem;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 4px 18px rgba(10, 25, 49, 0.35);
    transition: all 0.25s ease;
    cursor: pointer;
}

.to-top:hover {
    background: var(--gold);
    color: var(--navy-dark);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(212, 160, 36, 0.45);
}

@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-visual {
        margin-top: 15px;
    }

    .carousel-note {
        display: none;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 820px) {
    nav.main-nav {
        display: none;
    }

    nav.main-nav.is-open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        max-height: 80vh;
        overflow-y: auto;
    }

    .mega-dropdown {
        position: static;
        width: 100%;
        transform: none;
        box-shadow: none;
        border: 1px solid var(--slate-100);
        background: #f8fafc;
        padding: 15px;
        margin-top: 8px;
        display: none;
    }

    .mega-dropdown::before,
    .mega-dropdown::after {
        display: none;
    }

    .nav-item.has-dropdown:hover .mega-dropdown,
    .nav-item.has-dropdown.is-open .mega-dropdown {
        display: block;
        opacity: 1;
        visibility: visible;
    }

    .mega-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .menu-toggle {
        display: block;
    }

    .mobile-contact-bar {
        display: grid;
    }

    .to-top {
        bottom: 72px;
        right: 16px;
        width: 42px;
        height: 42px;
        font-size: 1.15rem;
    }

    body {
        padding-bottom: 55px;
    }

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