/* --- CORE VARIABLES --- */
:root { 
    --dark: #111; 
    --primary: #c0a16b; 
    --header-bg: #f5ecdd;
    --light: #f9f9f9; 
    --border: #eee; 
    --text-gray: #888;
    --transition: all 0.3s ease;
}

* { box-sizing: border-box; transition: var(--transition); }

html, body { 
    overflow: visible !important; 
}

body { 
    font-family: 'Montserrat', sans-serif; 
    margin: 0; 
    background: #fff; 
    color: var(--dark); 
    line-height: 1.6;
    padding-top: 100px;
}

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

/* --- SEO UTILITIES --- */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* --- HEADER --- */
header { 
    position: fixed; top: 0; left: 0; right: 0; background: var(--header-bg); z-index: 1000; 
    display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
    padding: 0 5%; border-bottom: 1px solid var(--border); height: 100px;
    transition: height 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
header.shrunk { 
    height: 70px; 
    background: rgba(245, 236, 221, 0.55); 
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}
header.shrunk .header-logo { max-height: 40px; }
header.shrunk .brand-main { font-size: 1.4rem; letter-spacing: 10px; margin-right: -10px; }
header.shrunk .brand-sub { font-size: 0.6rem; letter-spacing: 20px; margin-top: 5px; margin-right: -20px; }
.header-left { display: flex; align-items: center; gap: 20px; justify-self: start; }
.menu-toggle { font-size: 1.5rem; cursor: pointer; color: var(--dark); padding: 10px; }
.menu-toggle:hover { color: var(--primary); }

.nav-item { 
    font-weight: 700; font-size: 0.75rem; text-transform: uppercase; 
    letter-spacing: 2px; color: #999; cursor: pointer; 
    position: relative; padding-bottom: 5px; transition: 0.3s;
    white-space: nowrap;
}
.nav-item:hover { color: var(--dark); }
.nav-item::after { 
    content: ''; position: absolute; bottom: 0; left: 0; width: 0; 
    height: 2px; background: var(--dark); transition: 0.3s; 
}
.nav-item:hover::after { width: 100%; }

.header-center { display: flex; align-items: center; gap: 60px; justify-self: center; }
.brand-wrapper { display: flex; align-items: center; gap: 20px; cursor: pointer; }
.header-logo { max-height: 55px; }
.brand-text { display: flex; flex-direction: column; align-items: flex-start; }
.brand-main { font-weight: 700; font-size: 1.8rem; text-transform: uppercase; line-height: 1; letter-spacing: 15px; margin-right: -15px; }
.brand-sub { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 26px; margin-top: 10px; font-weight: 400; margin-right: -26px; }

.header-right { display: flex; align-items: center; gap: 20px; justify-self: end; }
.social-links { display: flex; gap: 20px; font-size: 1.2rem; }
.social-links a { color: var(--dark); filter: grayscale(100%); transition: 0.3s; }
.social-links a:hover { filter: grayscale(0%); transform: translateY(-2px); color: var(--primary); }

.pc-only { display: block; }

/* --- SIDE MENU (DRAWER) --- */
.side-menu-overlay { 
    position: fixed; inset: 0; background: rgba(0,0,0,0.6); 
    z-index: 3000; display: none; opacity: 0; transition: opacity 0.3s ease;
}
.side-menu { 
    position: fixed; top: 0; left: -320px; width: 320px; height: 100%; 
    background: #111; z-index: 3001; transition: left 0.3s ease;
    display: flex; flex-direction: column; padding: 40px 30px;
    box-shadow: 5px 0 30px rgba(0,0,0,0.5);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.side-menu.active { left: 0; }
.side-menu-overlay.active { display: block; opacity: 1; }

.side-menu-brand { 
    display: flex; align-items: center; gap: 15px; 
    margin-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.05); 
    padding-bottom: 25px;
}
.side-logo { max-height: 40px; filter: invert(1); }
.side-menu-brand .brand-main { font-size: 1.4rem; letter-spacing: 5px; margin-right: -5px; color: #fff; font-weight: 700; }
.side-menu-brand .brand-sub { font-size: 0.6rem; letter-spacing: 12px; margin-top: 5px; margin-right: -12px; color: var(--primary); }

.side-menu-list { list-style: none; padding: 0; margin: 0; }
.side-menu-item { 
    display: block;
    width: 100%;
    padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.03); 
    font-size: 0.85rem; text-transform: uppercase; letter-spacing: 2px; 
    font-weight: 700; cursor: pointer; color: #999; transition: 0.3s;
    white-space: normal;
    word-break: break-word;
}
.side-menu-item:hover { color: #fff; padding-left: 10px; }
.close-side-menu { align-self: flex-end; font-size: 1.8rem; cursor: pointer; margin-bottom: 30px; color: #fff; opacity: 0.5; transition: 0.3s; }
.close-side-menu:hover { opacity: 1; }

.bubble.zalo { background: #fff; }
.bubble.zalo img { width: 28px; height: 28px; }

/* --- HERO NHAANN STYLE --- */
.hero-bg-nhaann {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: #fff;
    overflow: hidden;
}
.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: flex;
    width: 300%; /* 3 slides */
    transition: transform 1s ease-in-out;
}
.hero-slide {
    flex: 0 0 33.333%; /* 1/3 of the 300% width slider */
    width: 33.333%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
}
.hero-slide::before { content: none; }
.hero-dots {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    gap: 15px;
}
.dot {
    width: 12px;
    height: 12px;
    border: 2px solid #fff;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}
.dot.active {
    background: #fff;
    transform: scale(1.2);
}
.hero-scroll-nhaann {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}
.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid #fff;
    border-radius: 20px;
    position: relative;
}
.mouse::before {
    content: '';
    width: 4px;
    height: 8px;
    background: #fff;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    animation: scrollMouse 2s infinite;
}
@keyframes scrollMouse {
    0% { top: 8px; opacity: 1; }
    100% { top: 25px; opacity: 0; }
}

/* --- ABOUT IMPRESSIVE --- */
.about-section-impressive {
    padding: 150px 0;
    background: #fff;
}
.about-grid-new {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}
.about-visual {
    position: relative;
}
.main-img-wrap {
    width: 85%;
    aspect-ratio: 4/5;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}
.about-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.img-overlay-text {
    position: absolute;
    bottom: 40px;
    left: -40px;
    background: var(--dark);
    color: var(--primary);
    padding: 20px 40px;
    font-weight: 900;
    letter-spacing: 5px;
    font-size: 0.8rem;
    transform: rotate(-90deg);
    transform-origin: left bottom;
}
.sub-img-wrap {
    position: absolute;
    top: 10%;
    right: 0;
    width: 45%;
    aspect-ratio: 1;
    border: 15px solid #fff;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.sub-img-wrap img { width: 100%; height: 100%; object-fit: cover; }

.about-subtitle-top {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 900;
    letter-spacing: 5px;
    display: block;
    margin-bottom: 20px;
}
.about-title-new {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 1;
    color: var(--dark);
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}
.about-title-new small {
    display: block;
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--primary);
    text-transform: none;
    font-style: italic;
    margin-top: 15px;
    letter-spacing: 0;
}
.about-text-p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 25px;
}
.about-features {
    display: flex;
    gap: 40px;
    margin: 40px 0;
    padding: 30px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.about-feat-item {
    display: flex;
    flex-direction: column;
}
.feat-num {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 5px;
    font-family: 'Montserrat', sans-serif;
}
.feat-txt {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    color: var(--dark);
}
.philosophy-box-new {
    margin-top: 50px;
    padding: 40px;
    background: var(--light);
    border-radius: 8px;
    position: relative;
}
.philosophy-box-new i {
    font-size: 2rem;
    color: var(--primary);
    opacity: 0.3;
    position: absolute;
    top: 20px;
    left: 20px;
}
.philosophy-box-new p {
    font-size: 1.1rem;
    font-style: italic;
    color: #444;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* --- WORKFLOW NHAANN STYLE --- */
.workflow-section-nhaann {
    padding: 120px 0;
    background: #fff;
}
.workflow-grid-nhaann {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}
.workflow-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left;
}
.workflow-icon-box {
    width: 100px;
    height: 100px;
    background: #fdfbf7;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    border-radius: 50%;
    margin-bottom: 30px;
    transition: var(--transition);
    border: 1px solid var(--border);
    position: relative;
}
.workflow-num {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 35px;
    height: 35px;
    background: var(--dark);
    color: #fff;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}
.workflow-item:hover .workflow-num {
    background: var(--primary);
}
.workflow-item:hover .workflow-icon-box {
    background: var(--primary);
    color: #fff;
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(192, 161, 107, 0.2);
}
.workflow-info h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.workflow-info ol {
    padding-left: 0;
    list-style: none;
    counter-reset: workflow-counter;
    margin-bottom: 30px;
    text-align: left;
    display: inline-block;
}
.workflow-info ol li {
    counter-increment: workflow-counter;
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 15px;
    display: flex;
    gap: 15px;
}
.workflow-info ol li::before {
    content: counter(workflow-counter) ". ";
    font-weight: 700;
    color: var(--primary);
}
.workflow-link {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}
.workflow-link:hover {
    gap: 15px;
}

/* --- VALUES ASYMMETRIC --- */
.values-section-nhaann {
    padding: 120px 0;
    background: #fdfbf7;
}
.values-asymmetric-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 1fr;
    gap: 30px;
    margin-top: 60px;
}
.value-box {
    background: #fff;
    padding: 40px;
    border: 1px solid var(--border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}
.value-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.08);
    border-color: var(--primary);
}
.value-box.box-large {
    grid-column: span 2;
    grid-row: span 2;
    background: var(--dark);
    color: #fff;
    padding: 60px;
}
.value-box.box-large h3 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-transform: uppercase;
    font-weight: 900;
}
.value-box.box-large p {
    font-size: 1.2rem;
    opacity: 0.8;
    line-height: 1.8;
}
.value-box.box-large h3, .value-box.box-large p {
    color: #fff;
}
.value-icon { 
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 25px;
}
.value-box h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.value-box p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 25px;
}
.btn-contact-small {
    padding: 12px 25px;
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 2px;
    cursor: pointer;
    transition: var(--transition);
}
.value-box.box-large .btn-contact-small {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 15px 35px;
    font-size: 0.8rem;
}
.btn-contact-small:hover {
    background: var(--primary);
    color: #fff;
}

@media (max-width: 1200px) {
    .values-asymmetric-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; }
    .value-box.box-large { grid-row: span 1; }
}
@media (max-width: 768px) {
    .workflow-grid-nhaann { grid-template-columns: 1fr; }
    .values-asymmetric-grid { grid-template-columns: 1fr; }
    .value-box.box-large { grid-column: span 1; padding: 40px; }
    .value-box.box-large h3 { font-size: 1.8rem; }
}

@media (max-width: 992px) {
    .about-grid-new { grid-template-columns: 1fr; gap: 50px; }
    .main-img-wrap { width: 100%; }
    .sub-img-wrap { display: none; }
    .img-overlay-text { left: -20px; bottom: 30px; padding: 16px 28px; }
}

/* --- WORKFLOW V2 (OLD) --- */
.about-title { font-weight: 700; font-size: 1.4rem; text-transform: uppercase; letter-spacing: 2.5px; margin-bottom: 20px; color: var(--dark); }
.about-desc { font-style: italic; color: #555; line-height: 1.7; font-size: 1rem; }
.category-quote { 
    grid-column: 1 / -1; 
    text-align: center; 
    font-style: italic; 
    color: #666; 
    line-height: 1.8; 
    font-size: 1.1rem; 
    margin-bottom: 40px; 
    max-width: 1000px; 
    margin-left: auto; 
    margin-right: auto;
    text-wrap: balance;
}
.project-desc {
    grid-column: 1 / -1;
    text-align: center;
    font-style: italic;
    color: #555;
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 50px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    text-wrap: balance;
    padding: 0 40px;
    position: relative;
    font-family: 'Montserrat', sans-serif;
}
.project-desc::before, .project-desc::after {
    color: var(--primary);
    font-size: 2.5rem;
    line-height: 0;
    vertical-align: middle;
    opacity: 0.6;
}
.container { max-width: 1400px; margin: 40px auto; padding: 0 20px; }

/* --- PROJECT GRID (HOME) --- */
.project-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px; }
.featured-projects .project-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 992px) {
    .featured-projects .project-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
    .featured-projects .project-grid { grid-template-columns: 1fr; }
}
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin-top: 20px; }
.project-item { cursor: pointer; text-align: center; }
.project-item { display: block; text-decoration: none; color: inherit; }
.img-wrap { overflow: hidden; aspect-ratio: 3/4; background: #eee; border-radius: 4px; position: relative; border: 1px solid rgba(0,0,0,0.08); }
.category-item .img-wrap { aspect-ratio: 1/1; border-radius: 12px; border: 1px solid rgba(0,0,0,0.08); }
.img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.project-item:hover .img-wrap img { transform: scale(1.05); }
.project-title { font-size: 0.9rem; margin: 15px 0 5px; text-transform: uppercase; font-weight: 700; }
.section-title { 
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem; 
    font-weight: 900; 
    text-transform: uppercase; 
    letter-spacing: 5px; 
    text-align: center; 
    margin-bottom: 50px; 
    position: relative;
    color: var(--dark);
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 4px;
    background: var(--primary);
}

.cta-banner .btn-submit:hover {
    background: var(--dark);
    transform: scale(1.05);
}
.project-loc { color: var(--text-gray); font-size: 0.75rem; }

/* --- CONTACT PAGE --- */
.contact-card { background: var(--light); padding: 50px; border-radius: 8px; display: flex; gap: 60px; flex-wrap: wrap; }
.contact-info { flex: 1; min-width: 300px; }
.contact-info h3 { text-transform: uppercase; letter-spacing: 2px; font-weight: 900; margin-bottom: 20px; }
.contact-details { list-style: none; padding: 0; margin: 25px 0 0; color: #111; }
.contact-details li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; font-size: 0.95rem; line-height: 1.6; }
.contact-details i { color: var(--primary); margin-top: 3px; width: 18px; flex: 0 0 18px; }
.contact-form { flex: 1.5; min-width: 300px; background: #fff; padding: 30px; border-radius: 4px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.input-group { margin-bottom: 20px; }
.input-label { display:block; font-size:0.7rem; font-weight:700; text-transform:uppercase; margin-bottom:8px; }
.input-style { width: 100%; padding: 12px; border: 1px solid var(--border); font-family: 'Montserrat', sans-serif; outline: none; }
.input-style:focus { border-color: var(--primary); }
.btn-submit { width:100%; padding:15px; background:var(--dark); color:#fff; border:none; font-weight:700; text-transform:uppercase; letter-spacing:2px; cursor:pointer; }
.btn-submit:hover { background: var(--primary); }

/* --- SERVICES PAGE --- */
.service-grid-main {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px !important;
    align-items: stretch !important;
}
@media (max-width: 1024px) {
    .service-grid-main {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
@media (max-width: 768px) {
    .service-grid-main {
        grid-template-columns: 1fr !important;
    }
}
.service-card { 
    background: #fff; 
    padding: 40px; 
    border-radius: 12px; 
    border: 1px solid var(--border); 
    text-align: center; 
    transition: var(--transition); 
    display: flex; 
    flex-direction: column; 
}
.service-card:hover { 
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); 
    transform: translateY(-5px); 
    border-color: var(--primary); 
}
.service-icon { 
    font-size: 3.2rem; 
    color: var(--primary); 
    margin-bottom: 28px; 
    text-align: center;
}
.service-title { 
    font-size: 1.25rem; 
    font-weight: 900; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    margin-bottom: 22px; 
    text-align: center;
}
.service-list { 
    list-style: none; 
    padding: 0; 
    text-align: left; 
    margin-bottom: 32px; 
    flex: 1; 
    color: #666; 
}
.service-list li { 
    font-size: 0.92rem; 
    margin-bottom: 14px; 
    display: flex; 
    align-items: flex-start; 
    gap: 12px; 
    line-height: 1.7;
}
.service-list li i { 
    color: var(--primary); 
    margin-top: 4px; 
}

/* --- PAGINATION --- */
.pagination { display: flex; justify-content: center; align-items: center; gap: 20px; margin-top: 50px; }
.page-btn { padding: 10px 20px; border: 1px solid var(--dark); background: transparent; cursor: pointer; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; font-size: 0.7rem; }
.page-btn:hover:not(:disabled) { background: var(--dark); color: #fff; }
.page-btn:disabled { border-color: #ccc; color: #ccc; cursor: not-allowed; }

/* --- FOOTER --- */
footer { background: #000; color: #fff; padding: 80px 10% 40px; margin-top: 50px; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px; }
.footer-col { text-align: center; }
.footer-col h4 { font-size: 0.9rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 30px; color: #fff; }
.footer-col p, .footer-col ul { font-size: 0.85rem; color: #bbb; list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 10px; }
.social-icons { margin-top: 25px; display: flex; gap: 20px; justify-content: center; }
.footer-bottom { margin-top: 80px; padding-top: 30px; border-top: 1px solid #222; text-align: center; font-size: 0.75rem; color: #666; }

/* --- LIGHTBOX & ZOOM 1.5x --- */
#lightbox { 
    display: none; position: fixed; inset: 0; 
    background: #000; z-index: 99999; 
}
/* Khi ở chế độ Fullscreen của trình duyệt */
#lightbox:fullscreen { background: #000; }
#lightbox:-webkit-full-screen { background: #000; }

.lb-track { 
    display: flex; width: 100%; height: 100%; 
    overflow-x: auto; 
    scroll-snap-type: x mandatory; 
    scroll-behavior: smooth; 
    -webkit-overflow-scrolling: touch; /* Giúp vuốt mượt hơn trên iOS */
}
.lb-track::-webkit-scrollbar { display: none; }

.lb-slide { 
    flex: 0 0 100%; width: 100%; height: 100%; 
    display: flex; align-items: center; justify-content: center; 
    scroll-snap-align: start;
    overflow: auto;
    touch-action: pan-x pan-y pinch-zoom; /* Cho phép pan cả 2 chiều và zoom */
}

.lb-slide img { 
    max-width: 100%; max-height: 100%; object-fit: contain; 
    transition: transform 0.1s ease-out, width 0.2s ease, height 0.2s ease;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: auto;
}

.lb-slide img.double-zoomed { 
    width: 250vw; 
    height: 250vh;
    max-width: none;
    max-height: none;
    cursor: grab;
}

.lb-close { 
    position: absolute; top: 20px; right: 25px; 
    color: #fff; font-size: 50px; cursor: pointer; 
    z-index: 100000; line-height: 1;
    text-shadow: 0 0 10px rgba(0,0,0,0.5);
}

/* --- UTILS & ANIMATIONS --- */
.page { display: none; }
.active { display: block; animation: fadeIn 0.4s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* --- PROJECT DETAIL (DYNAMIC SCALING FIX) --- */
.detail-two-col {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: start !important;
    margin-top: 60px;
}

.detail-left {
    position: sticky !important;
    top: 120px !important;
    z-index: 99;
}

.detail-right {
    min-width: 0;
}

.project-info-card {
    background: #fff;
    padding: 60px;
    border-radius: 16px;
    /* Bóng đổ đa lớp tạo độ nổi khối cực mạnh ra bên ngoài */
    box-shadow: 
        0 10px 30px rgba(0,0,0,0.05),
        0 30px 60px rgba(0,0,0,0.1),
        0 60px 100px rgba(0,0,0,0.05);
    margin-bottom: 40px;
    transition: transform 0.1s ease-out, box-shadow 0.4s ease;
    border: none;
    position: relative;
    z-index: 2;
}

.project-info-card:hover {
    box-shadow: 
        0 20px 40px rgba(0,0,0,0.08),
        0 40px 80px rgba(0,0,0,0.12),
        0 80px 120px rgba(0,0,0,0.08);
    transform: translateY(-5px);
}

.p-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    color: var(--dark);
    margin: 0 0 25px 0;
    line-height: 1.1;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.p-desc {
    font-size: 1.15rem;
    color: #777;
    line-height: 1.7;
    font-style: italic;
    border-left: 5px solid #c5a059;
    padding-left: 25px;
    margin: 30px 0 45px 0;
}

.p-meta-box {
    background: #f8f8f8;
    padding: 45px;
    border-radius: 12px;
}

.p-meta-item {
    margin-bottom: 30px;
}

.p-meta-item:last-child {
    margin-bottom: 0;
}

.p-meta-label {
    font-size: 0.75rem;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 3px;
    display: block;
    margin-bottom: 8px;
}

.p-meta-value {
    font-weight: 700;
    color: #111;
    font-size: 1.25rem;
    line-height: 1.4;
}

/* Dynamic Scaling based on Viewport Height (Laptop Optimization) */
@media (max-height: 950px) {
    .detail-left { top: 100px !important; }
    .project-info-card { padding: 40px !important; }
    .p-title { font-size: 2.2rem !important; margin-bottom: 15px !important; }
    .p-desc { font-size: 1rem !important; margin: 20px 0 30px 0 !important; }
    .p-meta-box { padding: 30px !important; }
    .p-meta-item { margin-bottom: 15px !important; }
    .p-meta-value { font-size: 1.1rem !important; }
}

@media (max-height: 800px) {
    .detail-left { top: 80px !important; }
    .project-info-card { padding: 30px !important; }
    .p-title { font-size: 1.8rem !important; }
    .p-desc { font-size: 0.9rem !important; margin: 15px 0 25px 0 !important; }
    .p-meta-box { padding: 20px !important; }
    .p-meta-item { margin-bottom: 10px !important; }
    .p-meta-label { letter-spacing: 2px !important; }
}

@media (max-height: 700px) {
    .detail-left { top: 70px !important; }
    .project-info-card { padding: 25px !important; }
    .p-title { font-size: 1.5rem !important; }
    .p-desc { display: none; } /* Ẩn mô tả ngắn trên màn hình cực thấp để hiện đủ thông tin chính */
    .p-meta-box { padding: 15px !important; }
    .p-meta-item { margin-bottom: 8px !important; }
}

@media (max-width: 1024px) {
    .detail-two-col { grid-template-columns: 1fr; gap: 30px; }
    .detail-left { position: static !important; }
    .p-desc { display: block !important; }
}

@media (max-width: 768px) {
    .project-info-card { padding: 30px !important; }
    .p-title { font-size: 2rem !important; }
}

.p-album-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 100px;
}

.p-detail-footer {
    text-align: center;
    margin-bottom: 100px;
}

.album-img-wrap img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

/* --- SKELETON LOADING --- */
.skeleton {
    background: #eee;
    background: linear-gradient(110deg, #ececec 8%, #f5f5f5 18%, #ececec 33%);
    border-radius: 4px;
    background-size: 200% 100%;
    animation: 1.5s shine linear infinite;
}
@keyframes shine {
    to { background-position-x: -200%; }
}
.skeleton-item { margin-bottom: 20px; }
.skeleton-img { width: 100%; aspect-ratio: 3/4; margin-bottom: 15px; }
.skeleton-title { width: 60%; height: 15px; margin: 0 auto 10px; }
.skeleton-loc { width: 40%; height: 10px; margin: 0 auto; }
.category-item .skeleton-img { aspect-ratio: 1/1; border-radius: 12px; }

/* --- NEWS SECTION --- */
.news-section {
    padding: 100px 0;
}
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}
.news-item {
    display: flex;
    flex-direction: column;
    background: #fff;
    transition: var(--transition);
}
.news-item:hover {
    transform: translateY(-10px);
}
.news-img-wrap {
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    border-radius: 4px;
    margin-bottom: 20px;
}
.news-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.news-content {
    text-align: left;
}
.news-cat {
    font-size: 0.7rem;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 10px;
}
.news-title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--dark);
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-date {
    font-size: 0.75rem;
    color: #999;
}

@media (max-width: 992px) {
    .news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .news-grid { grid-template-columns: 1fr; }
}

/* --- CONTACT BUBBLES --- */
.contact-bubbles { position: fixed; bottom: 30px; right: 20px; z-index: 9999; display: flex; flex-direction: column; gap: 15px; }
.bubble { width: 55px; height: 55px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 26px; box-shadow: 0 4px 15px rgba(0,0,0,0.3); }
.bubble:hover { transform: translateY(-5px) scale(1.1); }
.bubble.messenger { background: linear-gradient(135deg, #00c6ff, #0072ff); }
.bubble.phone { background: #4CAF50; animation: vibrate 2s infinite; }
@keyframes vibrate { 0%, 40% { transform: scale(1); } 10% { transform: rotate(5deg); } 20% { transform: rotate(-5deg); } 30% { transform: rotate(5deg); } }

/* --- MOBILE NAV (BOTTOM) --- */
.mobile-nav { 
    display: none; 
    position: fixed; bottom: 0; left: 0; width: 100%; 
    background: #fff; border-top: 1px solid var(--border); 
    z-index: 10000; padding: 10px 0;
    justify-content: space-around; align-items: center;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
}
.m-nav-item { 
    display: flex; flex-direction: column; align-items: center; 
    gap: 4px; font-size: 0.6rem; text-transform: uppercase; 
    font-weight: 700; color: #999; cursor: pointer;
}
.m-nav-item i { font-size: 1.2rem; }
.m-nav-item.active { color: var(--dark); }

/* --- ABOUT SECTION (HOME) --- */
.about-section { padding: 100px 0; background: #fff; }
.about-flex { display: flex; gap: 60px; align-items: center; flex-wrap: wrap; }
.about-image { flex: 1; min-width: 300px; }
.about-image img { width: 100%; border-radius: 12px; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.about-text { flex: 1.5; min-width: 300px; }
.about-text h3 { font-family: 'Montserrat', sans-serif; font-size: 2.5rem; margin-bottom: 30px; color: var(--dark); }
.about-text p { font-size: 1.1rem; line-height: 1.8; color: #555; margin-bottom: 25px; }
.about-text .philosophy { font-size: 1.1rem; line-height: 1.8; color: #555; font-style: italic; border-left: 4px solid var(--primary); padding-left: 25px; margin-top: 40px; }

@media (max-width: 768px) {
    .about-flex { gap: 40px; }
    .about-text h3 { font-size: 1.8rem; }
    .about-text p { font-size: 1rem; }
}

/* --- PORTFOLIO FILTER --- */
.filter-btn {
    padding: 10px 25px;
    background: none;
    border: 1px solid var(--border);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    color: #888;
}
.filter-btn:hover { border-color: var(--primary); color: var(--primary); }
.filter-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }

@media (max-width: 768px) {
    .filter-btn { padding: 8px 15px; font-size: 0.75rem; }
    .project-info-card { padding: 30px !important; margin-top: -50px !important; }
    #album-name { font-size: 2rem !important; }
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 768px) {
    header { 
        height: 80px; padding: 0 15px; 
        display: grid; grid-template-columns: 50px 1fr 50px; 
        align-items: center;
    }
    body { padding-top: 80px; }
    header.shrunk { height: 65px; }
    header.shrunk .header-logo { max-height: 30px; }
    header.shrunk .brand-main { font-size: 0.85rem; letter-spacing: 2px; margin-right: -2px; }
    header.shrunk .brand-sub { font-size: 0.42rem; letter-spacing: 4px; margin-top: 4px; margin-right: -4px; }
    .header-left { justify-self: start; }
    .header-center { justify-self: center; }
    .header-right { display: block !important; visibility: hidden; width: 50px; }
    
    .pc-only { display: none; }
    
    .brand-wrapper { gap: 10px; margin-right: 0; }
    .header-logo { max-height: 35px; }
    .brand-main { font-size: 0.95rem; letter-spacing: 3px; margin-right: -3px; }
    .brand-sub { font-size: 0.5rem; letter-spacing: 6px; margin-top: 6px; margin-right: -6px; }

    header, .header-center { max-width: 100%; }
    .brand-wrapper { max-width: 100%; }
    .brand-text, .brand-main, .brand-sub { max-width: 100%; }
    
    .side-menu { width: 280px; left: -280px; }
    
    .hero-title { font-size: 1.8rem; letter-spacing: 3px; }
    .hero-subtitle { font-size: 0.9rem; }
    
    .workflow-grid-nhaann { grid-template-columns: 1fr; gap: 20px; }
    .counter-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
    .values-grid { grid-template-columns: 1fr; }
    
    .category-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .project-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    
    .mobile-nav { display: flex; }
    
    .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .social-icons { justify-content: center; }
    .contact-card { padding: 20px; }
    
    body { padding-bottom: 70px; }
    .contact-bubbles { bottom: 85px; right: 15px; }
    .bubble { width: 45px; height: 45px; font-size: 20px; }
}

@media (max-width: 420px) {
    .header-logo { max-height: 32px; }
    .brand-main { font-size: 0.85rem; letter-spacing: 2px; margin-right: -2px; }
    .brand-sub { font-size: 0.42rem; letter-spacing: 4px; margin-right: -4px; }
}

@media (max-width: 360px) {
    .brand-wrapper { gap: 8px; }
    .brand-main { font-size: 0.8rem; letter-spacing: 1px; margin-right: -1px; }
    .brand-sub { font-size: 0.4rem; letter-spacing: 3px; margin-right: -3px; }
}

@media (max-width: 768px) {
    .about-title-new { 
        font-size: 2.2rem;
        white-space: normal;
        line-height: 1.15;
        word-break: break-word;
    }
    .about-title-new small { font-size: 1.1rem; }
}
