/* ================= VARIABLES ================= */
:root {
    --ivory: #F9F6F2;
    --charcoal: #1A1A1A;
    --gold: #C5A059;
    --gold-light: #EAD596;
    --gray: #6b7280;
    --gray-light: #9ca3af;
    --gold-gradient: linear-gradient(135deg, #EAD596 0%, #C5A059 100%);

    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Montserrat', sans-serif;
    --font-body: 'Montserrat', sans-serif;

    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;
}

/* ================= RESET & BASE ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--ivory);
    color: var(--charcoal);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

ul {
    list-style: none;
}

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

/* ================= UTILITIES ================= */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 3rem;
    }
}

.font-serif {
    font-family: var(--font-serif);
}

.font-sans {
    font-family: var(--font-sans);
}

.text-gold {
    color: var(--gold);
}

.text-white {
    color: #ffffff;
}

.text-charcoal {
    color: var(--charcoal);
}

.text-gray {
    color: #6b7280;
}

.text-gray-light {
    color: #9ca3af;
}

.bg-ivory {
    background-color: var(--ivory);
}

.bg-charcoal {
    background-color: var(--charcoal);
}

.bg-white {
    background-color: #ffffff;
}

.italic {
    font-style: italic;
}

.uppercase {
    text-transform: uppercase;
}

.tracking-widest {
    letter-spacing: 0.1em;
}

.tracking-mega {
    letter-spacing: 0.2em;
}

.text-center {
    text-align: center;
}

.section-padding {
    padding: 6rem 0;
}

@media (min-width: 768px) {
    .section-padding {
        padding: 10rem 0;
    }
}

/* ================= HEADER ================= */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    padding: 1.5rem 0;
    transition: all 0.5s ease;
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.logo {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 1.5rem;
    font-weight: 700;
    transition: color 0.3s;
    color: #fff;
}

.logo-sub {
    font-size: 0.6rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
}

header.scrolled .logo-title {
    color: var(--charcoal);
}

header.scrolled .logo-sub {
    color: var(--gray);
}

header.scrolled .nav-links a {
    color: var(--charcoal);
}

.nav-links {
    display: none;
    gap: 3rem;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: #fff;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--gold) !important;
}

/* ================= MOBILE MENU (EDITORIAL STYLE) ================= */
.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 100;
    /* Nằm trên overlay */
    padding: 5px;
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-menu-btn span {
    display: block;
    width: 32px;
    height: 1px;
    background-color: #fff;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

header.scrolled:not(.menu-open) .mobile-menu-btn span {
    background-color: var(--charcoal);
}

/* Trạng thái biến thành chữ X */
.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(4.5px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    transform: translateY(-4.5px) rotate(-45deg);
}

/* Overlay toàn màn hình */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--charcoal);
    z-index: 90;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    /* Hiệu ứng bung hình tròn */
    clip-path: circle(0px at top right);
    transition: clip-path 0.7s cubic-bezier(0.65, 0, 0.35, 1), visibility 0.7s;
}

.mobile-menu-overlay.active {
    visibility: visible;
    clip-path: circle(150% at top right);
}

/* Khi menu mở, ép Header trở lại màu trắng để nổi bật trên nền than */
header.menu-open {
    background-color: transparent !important;
    box-shadow: none !important;
}

header.menu-open .logo-title,
header.menu-open .logo-sub,
header.menu-open .mobile-menu-btn span {
    color: #fff !important;
    background-color: #fff !important;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    width: 100%;
    padding: 0 2rem;
}

.mobile-nav-links a {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Hiệu ứng xuất hiện lần lượt (Staggered Reveal) */
.mobile-menu-overlay.active .mobile-nav-links a {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-overlay.active .mobile-nav-links a:nth-child(1) {
    transition-delay: 0.2s;
}

.mobile-menu-overlay.active .mobile-nav-links a:nth-child(2) {
    transition-delay: 0.3s;
}

.mobile-menu-overlay.active .mobile-nav-links a:nth-child(3) {
    transition-delay: 0.4s;
}

.mobile-menu-overlay.active .mobile-nav-links a:nth-child(4) {
    transition-delay: 0.5s;
}

.mobile-menu-overlay.active .mobile-nav-links a:nth-child(5) {
    transition-delay: 0.6s;
}

.mobile-menu-overlay.active .mobile-nav-links a:nth-child(6) {
    transition-delay: 0.7s;
}

.mobile-nav-links a:hover {
    color: var(--gold);
    font-style: italic;
}

.mobile-nav-cta {
    margin-top: 1.5rem;
    font-family: var(--font-sans) !important;
    font-size: 0.875rem !important;
    font-weight: 600;
    border-bottom: 1px solid var(--gold);
    padding-bottom: 0.5rem;
    color: var(--gold) !important;
    letter-spacing: 0.2em !important;
}

/* Khoá cuộn trang nền khi mở menu */
body.no-scroll {
    overflow: hidden;
}

/* ================= BUTTONS & INTERACTIONS ================= */
.btn-luxury {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background: var(--gold-gradient);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-luxury:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(197, 160, 89, 0.4);
}

.btn-luxury::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.7s ease;
}

.btn-luxury:hover::after {
    left: 100%;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(4px);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s;
}

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

/* Hero Play Button (Editorial Style) */
.hero-play-link {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s;
    cursor: pointer;
}

.hero-play-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(4px);
}

.hero-play-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    transform: translateX(2px);
    /* Canh giữa icon tam giác */
    transition: fill 0.3s;
}

.hero-play-link:hover .hero-play-icon {
    background: var(--gold);
    border-color: var(--gold);
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(197, 160, 89, 0.4);
}

.hero-play-link:hover {
    color: var(--gold-light);
}

/* Image Zoom */
.img-zoom-container {
    overflow: hidden;
    position: relative;
}

.img-zoom {
    transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.group:hover .img-zoom {
    transform: scale(1.05);
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ================= HERO SECTION ================= */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: pulse 20s ease-in-out infinite;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 10;
}

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

    50% {
        transform: scale(1.05);
    }

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

.hero-content {
    position: relative;
    z-index: 20;
    padding: 0 1.5rem;
    margin-top: 5rem;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 2rem;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero h1 span {
    font-size: 2.5rem;
    opacity: 0.9;
}

@media (min-width: 768px) {
    .hero h1 {
        font-size: 5.5rem;
    }

    .hero h1 span {
        font-size: 4.5rem;
    }
}

.hero p {
    font-size: 1.125rem;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto 3rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

@media (min-width: 600px) {
    .hero-actions {
        flex-direction: row;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.5rem;
}

.scroll-line {
    width: 1px;
    height: 3rem;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), transparent);
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-10px) translateX(-50%);
    }

    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

/* ================= PHILOSOPHY ================= */
.philosophy {
    max-width: 900px;
    margin: 0 auto;
}

.philosophy-icon {
    width: 3rem;
    height: 3rem;
    color: var(--gold);
    margin: 0 auto 2rem;
    opacity: 0.8;
}

.philosophy h2 {
    font-size: 2rem;
    line-height: 1.4;
    margin-bottom: 2.5rem;
    font-weight: 400;
}

@media (min-width: 768px) {
    .philosophy h2 {
        font-size: 3rem;
    }
}

.philosophy p {
    font-size: 1.125rem;
    color: var(--gray);
    margin-bottom: 1.5rem;
    font-weight: 300;
    text-align: justify;
}

@media (min-width: 768px) {
    .philosophy p {
        text-align: center;
    }
}

/* ================= STATS ================= */
.stats-wrapper {
    background: #fff;
    padding: 5rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem 1.5rem;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .stat-item {
        border-right: 1px solid rgba(0, 0, 0, 0.05);
    }

    .stat-item:last-child {
        border-right: none;
    }
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .stat-number {
        font-size: 4rem;
    }
}

.stat-number span {
    font-size: 1.5rem;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--gray-light);
    font-weight: 500;
}

/* ================= COLLECTION ================= */
.collection-header {
    display: flex;
    flex-direction: column;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .collection-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
        margin-bottom: 6rem;
    }

    .collection-header-desc {
        display: block;
        text-align: right;
        max-width: 400px;
    }
}

.collection-header-desc {
    display: none;
}

/* Editorial Typography */
.editorial-heading-wrapper {
    display: flex;
    gap: 1.5rem;
    align-items: stretch;
}

.editorial-accent-line {
    width: 3px;
    background: var(--gold-gradient);
    border-radius: 2px;
}

.editorial-vertical-text {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

.editorial-title {
    font-size: 3rem;
    font-weight: 400;
    line-height: 1.1;
    color: var(--charcoal);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.editorial-subtitle {
    display: block;
    font-size: 1.75rem;
    color: var(--gray);
    margin-top: 0.25rem;
    padding-left: 2rem;
    text-transform: none;
    letter-spacing: 0;
}

@media (min-width: 768px) {
    .editorial-title {
        font-size: 4.5rem;
    }

    .editorial-subtitle {
        font-size: 2.5rem;
        padding-left: 4.5rem;
        margin-top: 0.5rem;
    }
}

/* Feature Card (Full width) */
.card-feature {
    position: relative;
    height: 60vh;
    margin-bottom: 6rem;
    cursor: pointer;
}

@media (min-width: 1024px) {

    /* Thu hẹp ảnh để tạo Whitespace chuẩn Editorial */
    .card-feature {
        height: 80vh;
        margin-bottom: 8rem;
        width: 85%;
    }
}

.card-feature .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(26, 26, 26, 0.3) 100%);
}

/* Bảng thông tin trôi nổi (Floating Plaque) */
.card-feature-plaque {
    position: absolute;
    bottom: -2rem;
    right: 1rem;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(15px);
    padding: 2.5rem 2rem;
    width: calc(100% - 2rem);
    border-top: 3px solid var(--gold);
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 10;
}

@media (min-width: 1024px) {
    .card-feature-plaque {
        padding: 4rem;
        width: 500px;
        /* Cố tình cho bảng chữ lệch ra ngoài khung ảnh */
        right: -10%;
        bottom: -4rem;
    }
}

.group:hover .card-feature-plaque {
    transform: translateY(-10px);
}

.plaque-overline {
    display: block;
    font-size: 0.75rem;
    color: var(--gold);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.card-feature h3 {
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .card-feature h3 {
        font-size: 3rem;
    }
}

/* Chuyển các tag thành list cao cấp */
.luxury-specs {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.luxury-spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.luxury-spec-label {
    color: rgba(255, 255, 255, 0.5);
}

.luxury-spec-value {
    color: var(--gold-light);
    font-weight: 500;
    text-align: right;
}

/* Grid Cards */
.collection-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

@media (min-width: 768px) {
    .collection-grid {
        grid-template-columns: 1fr 1fr;
        gap: 6rem;
    }
}

.card-grid .img-zoom-container {
    height: 400px;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .card-grid .img-zoom-container {
        height: 500px;
    }
}

.card-grid h3 {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

.card-grid p {
    color: var(--gray);
    font-weight: 300;
    margin-bottom: 1.5rem;
}

.card-grid ul {
    margin-bottom: 2rem;
}

.card-grid li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--gray);
    margin-bottom: 0.75rem;
}

.card-grid li svg {
    width: 16px;
    height: 16px;
    color: var(--gold);
    flex-shrink: 0;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 700;
    transition: color 0.3s;
}

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

/* ================= VISION / LOCATION ================= */
.vision-section {
    position: relative;
    background-color: var(--charcoal);
    color: #fff;
    overflow: hidden;
}

.vision-bg {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    pointer-events: none;
}

.vision-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
}

.vision-grid {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .vision-grid {
        grid-template-columns: 1fr 1fr;
        gap: 5rem;
    }
}

.vision-grid h2 {
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .vision-grid h2 {
        font-size: 3.5rem;
    }
}

.location-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.location-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(197, 160, 89, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.location-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--gold);
}

.location-item h4 {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-family: var(--font-sans);
}

.location-item p {
    font-size: 0.875rem;
    color: #9ca3af;
    line-height: 1.6;
}

.vision-image-wrapper {
    position: relative;
}

.vision-image-inner {
    aspect-ratio: 4/5;
    background: #1f2937;
    padding: 0.5rem;
    transform: rotate(2deg);
    transition: transform 0.7s;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.vision-image-inner:hover {
    transform: rotate(0);
}

.vision-image-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.7s;
}

.vision-image-inner:hover img {
    filter: grayscale(0%);
}

.vision-badge {
    position: absolute;
    bottom: -2.5rem;
    left: -2.5rem;
    background: var(--gold-gradient);
    color: var(--charcoal);
    padding: 2rem;
    max-width: 300px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .vision-badge {
        left: 0;
        bottom: -1rem;
        padding: 1.5rem;
    }
}

.vision-badge h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* ================= PRIVILEGES ================= */
.privileges-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .privileges-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.privilege-card {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.privilege-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s;
}

.privilege-card:hover img {
    transform: scale(1.1);
}

.privilege-content {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 26, 26, 0.9), rgba(26, 26, 26, 0.4), transparent);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.privilege-content h4 {
    font-size: 1.5rem;
    font-weight: 400;
    color: #fff;
    margin-bottom: 0.5rem;
}

.privilege-content p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
}

/* ================= GALLERY (THƯ VIỆN) ================= */
.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {

    /* Nâng cấp lên hệ thống Grid 12 cột để linh hoạt chia tỷ lệ */
    .gallery-grid {
        grid-template-columns: repeat(12, 1fr);
        grid-auto-rows: 250px;
        gap: 1.5rem;
    }

    .item-video {
        grid-column: span 6;
        grid-row: span 2;
    }

    .item-tall {
        grid-column: span 3;
        grid-row: span 2;
    }

    .item-square {
        grid-column: span 3;
        grid-row: span 1;
    }

    .item-third {
        grid-column: span 4;
        grid-row: span 1;
    }

    /* 12 chia 4 = 3 cột đều nhau */
}

.gallery-item {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.play-button-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.5s;
}

.gallery-item:hover .play-button-overlay {
    background: rgba(0, 0, 0, 0.4);
}

.play-btn {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover .play-btn {
    background: var(--gold);
    border-color: var(--gold);
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(197, 160, 89, 0.4);
}

/* Lớp phủ Overlay "+XX Hình" */
.more-images-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 26, 26, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 500;
    font-family: var(--font-sans);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 0.4s ease;
    z-index: 2;
}

/* Hiệu ứng kính mờ chuyển sang Vàng Sâm panh khi hover */
.gallery-item:hover .more-images-overlay {
    background: rgba(197, 160, 89, 0.85);
    transform: scale(1.05);
}

/* Popup Lightbox CSS */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(17, 17, 17, 0.95);
    backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 2.5rem;
    color: white;
    font-size: 3rem;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.3s;
    line-height: 1;
    z-index: 10000;
}

.lightbox-close:hover {
    color: var(--gold);
}

/* Navigation & Counter CSS */
.lightbox-counter {
    position: absolute;
    top: 2.5rem;
    left: 2.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    font-family: var(--font-sans);
    letter-spacing: 0.1em;
    z-index: 10000;
    font-weight: 500;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.lightbox-nav:hover {
    background: var(--gold);
    border-color: var(--gold);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 10px 25px rgba(197, 160, 89, 0.4);
}

.lightbox-nav svg {
    width: 1.5rem;
    height: 1.5rem;
}

.lightbox-prev {
    left: 2.5rem;
}

.lightbox-next {
    right: 2.5rem;
}

@media (max-width: 768px) {
    .lightbox-prev {
        left: 1rem;
    }

    .lightbox-next {
        right: 1rem;
    }

    .lightbox-nav {
        width: 2.5rem;
        height: 2.5rem;
    }

    .lightbox-nav svg {
        width: 1.2rem;
        height: 1.2rem;
    }
}

.lightbox-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lightbox-content iframe {
    width: 100%;
    aspect-ratio: 16/9;
    max-height: 85vh;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ================= CONTACT ================= */
.contact-section {
    background-color: var(--charcoal);
    color: #fff;
    border-top: 8px solid var(--gold);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 6rem;
    }
}

.contact-info h3 {
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1.4;
    margin-bottom: 1.5rem;
}

.contact-info>p {
    color: #9ca3af;
    font-weight: 300;
    margin-bottom: 3rem;
}

.contact-list p {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
    color: #9ca3af;
    margin-bottom: 1rem;
}

.contact-list svg {
    width: 1rem;
    height: 1rem;
    color: var(--gold);
}

.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(4px);
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

@media (min-width: 768px) {
    .contact-form-wrapper {
        padding: 3.5rem;
    }
}

.contact-form-wrapper h4 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    font-family: var(--font-serif);
}

.contact-form-wrapper>p {
    font-size: 0.875rem;
    color: #9ca3af;
    font-weight: 300;
    margin-bottom: 2.5rem;
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.input-luxury {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 10px 0;
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: all 0.3s ease;
    border-radius: 0;
}

.input-luxury:focus {
    outline: none;
    border-bottom-color: var(--gold);
}

.input-luxury::placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
}

select.input-luxury {
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
}

select.input-luxury option {
    background: var(--charcoal);
    color: #fff;
}

.purpose-label {
    margin: 0 0 0.875rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 400;
}

.purpose-radio-group {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

@media (max-width: 640px) {
    .purpose-radio-group {
        grid-template-columns: 1fr;
    }
}

.purpose-radio-item {
    display: block;
    cursor: pointer;
}

.purpose-radio-item input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.purpose-radio-box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.25s ease;
}

.purpose-radio-dot {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.55);
    position: relative;
    flex-shrink: 0;
    transition: border-color 0.25s ease;
}

.purpose-radio-dot::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--gold);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.22s ease;
}

.purpose-radio-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.4;
}

.purpose-radio-item:hover .purpose-radio-box {
    border-color: rgba(227, 191, 121, 0.6);
    background: rgba(227, 191, 121, 0.08);
}

.purpose-radio-item input[type="radio"]:checked+.purpose-radio-box {
    border-color: rgba(227, 191, 121, 0.95);
    background: rgba(227, 191, 121, 0.14);
}

.purpose-radio-item input[type="radio"]:checked+.purpose-radio-box .purpose-radio-dot {
    border-color: var(--gold);
}

.purpose-radio-item input[type="radio"]:checked+.purpose-radio-box .purpose-radio-dot::after {
    transform: translate(-50%, -50%) scale(1);
}

.purpose-radio-item input[type="radio"]:focus-visible+.purpose-radio-box {
    outline: 2px solid rgba(227, 191, 121, 0.45);
    outline-offset: 2px;
}

.form-note {
    font-size: 10px;
    color: #6b7280;
    font-weight: 300;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

/* ================= FOOTER ================= */
footer {
    background: #111;
    padding: 1.5rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer p {
    font-size: 10px;
    color: #4b5563;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Utility for displaying SVGs */
.svg-icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    stroke-width: 0;
    stroke: currentColor;
    fill: currentColor;
}

.ttsolieu {
    font-size: 2.5rem;
}

@media (max-width: 600px) {
    .bcdmb {
        grid-template-columns: 1fr !important;
    }
}