/* ==========================================================================
   HOMEPAGE SPECIFIC STYLES - TIỆM MAY ĐỎ
   Hero Slideshow, Q&A, Showcase Slider, Matrix Grid, Timeline, Benefits, Aftercare, Booking, Magazine
   ========================================================================== */

/* ==========================================================================
   1. HERO SLIDESHOW (CINEMATIC GPU-ACCELERATED)
   ========================================================================== */
.hero {
    --hero-zoom-start: 1.3;
    --hero-zoom-end: 1.015;
    height: 100vh;
    height: 100dvh;
    padding: 110px 0 50px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
    background-color: #050505; /* Nền đen sâu điện ảnh */
}

.hero-slideshow {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0;
}

.hero-slide { position:absolute; inset:0; opacity:0; z-index:0; transition:opacity 3000ms cubic-bezier(.4,0,.2,1); }
.hero-slide img { width:100%; height:100%; object-fit:cover; object-position:center; }
.hero-slide.is-active { opacity:1; z-index:2; }
.hero-slide.is-outgoing { opacity:1; z-index:1; }
.hero-initializing:not(.hero-ready) .hero-slide { transition:none; }
/* A photo is normally visible for 10s, including the outgoing dissolve.
   Leave extra zoom time so it is still moving at the end of that dissolve. */
.hero-slide.is-active img, .hero-slide.is-outgoing img { animation:cinematicPan 14s linear both; will-change:transform; }
.hero-paused .hero-slide img { animation-play-state:paused; }
@keyframes cinematicPan { from { transform:scale(var(--hero-zoom-start)); } to { transform:scale(var(--hero-zoom-end)); } }
@media (prefers-reduced-motion:reduce) { .hero { --hero-zoom-start:1.1; --hero-zoom-end:1.005; } }

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.6) 100%),
                linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 4;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 5;
    max-width: 950px;
    opacity: 0;
    transform: none;
    transition: opacity 2500ms cubic-bezier(0.16, 1, 0.3, 1), transform 2500ms cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-content.fade-in {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.hero h1 { 
    font-size: 4.2rem; 
    line-height: 1.25; 
    margin-bottom: 30px; 
    font-family: var(--font-serif); 
    font-style: normal; 
    font-weight: 400; 
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6); 
}

.hero p { 
    font-size: 1.25rem; 
    line-height: 1.8; 
    max-width: 650px; 
    margin: 0 auto 55px; 
    font-weight: 300; 
    opacity: 0.9; 
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6); 
}

.cta-scroll { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    font-size: 0.85rem; 
    letter-spacing: 4px; 
    text-transform: uppercase; 
    opacity: 0.85; 
    transition: opacity 0.3s ease; 
}

.cta-scroll:hover { 
    opacity: 1; 
    color: #fff; 
}

.bounce-arrow { 
    margin-top: 15px; 
    font-size: 1.2rem; 
    animation: bounce 2.5s infinite; 
}

@keyframes bounce { 
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); } 
    40% { transform: translateY(-8px); } 
    60% { transform: translateY(-4px); } 
}

/* ==========================================================================
   2. CẨM NANG CHÚ RỂ (Q&A ACCORDION - 2 CỘT CÓ BADGE TRÒN ĐỎ)
   ========================================================================== */
#qna {
    padding-top: 100px;
    padding-bottom: 20px;
}

.qna-header-center {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 50px;
}

.qna-header-center .section-title {
    margin-bottom: 15px;
}

.qna-lead-desc {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 300;
    line-height: 1.7;
    margin: 0;
}

.qna-two-columns-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.qna-col {
    display: flex;
    flex-direction: column;
}

.qna-item {
    border-bottom: 1px solid var(--border-color);
    padding: 22px 0;
    cursor: pointer;
}

.qna-item:first-child {
    border-top: 1px solid var(--border-color);
}

.qna-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.qna-title-group {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
}

.qna-badge-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: var(--primary);
    color: #ffffff;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(138, 24, 26, 0.25);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.qna-item:hover .qna-badge-num,
.qna-item.active .qna-badge-num {
    transform: scale(1.08);
}

.qna-item-header h3 {
    font-size: 1.15rem;
    font-family: var(--font-serif);
    font-style: normal;
    color: var(--text-dark);
    line-height: 1.45;
    margin: 0;
    transition: color 0.3s ease;
}

.qna-icon {
    font-size: 1.3rem;
    font-family: var(--font-sans);
    font-weight: 300;
    color: var(--text-muted);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s ease;
    flex-shrink: 0;
    line-height: 1;
}

.qna-item-body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.qna-item-body-inner {
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding-left: 42px;
}

.qna-item-body-inner p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.75;
    padding-top: 14px;
    padding-bottom: 4px;
    margin: 0;
    font-weight: 300;
}

.qna-item-body-inner strong {
    color: var(--text-dark);
    font-weight: 600;
}

.qna-item.active .qna-item-header h3 { 
    color: var(--primary); 
}

.qna-item.active .qna-icon { 
    transform: rotate(45deg); 
    color: var(--primary); 
}

.qna-item.active .qna-item-body { 
    grid-template-rows: 1fr; 
}

.qna-item.active .qna-item-body-inner {
    opacity: 1;
    transition: opacity 0.4s ease 0.15s;
}

/* ==========================================================================
   3. SHOWCASE SECTION (DESKTOP SLIDER)
   ========================================================================== */
#showcase {
    scroll-margin-top: 80px; /* Bù trừ khoảng cách khi bấm 'Khám phá ngay' */
}

.showcase-mobile-only {
    display: none !important;
}

.showcase-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
}

.showcase-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

.sc-btn {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
    opacity: 0.5;
}

.sc-btn:hover {
    opacity: 1;
    color: var(--primary);
    transform: scale(1.2);
}

.sc-progress-bar {
    width: 150px;
    height: 3px;
    background: var(--border-color);
    position: relative;
    overflow: hidden;
}

.sc-progress-fill {
    position: absolute;
    top: 0; left: 0;
    height: 100%;
    width: 100%;
    transform: scaleX(0);
    transform-origin: left;
    background: var(--primary);
}

.showcase-wrapper {
    position: relative;
    height: 550px;
}

.showcase-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    gap: 50px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.showcase-slide.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}

.showcase-bg-number {
    position: absolute;
    top: -40px;
    left: -20px;
    font-size: 16rem;
    font-family: var(--font-serif);
    color: var(--bg-sand);
    line-height: 1;
    z-index: 0;
    opacity: 0.6;
}

.showcase-content {
    position: relative;
    z-index: 5;
}

.showcase-content h3 {
    font-size: 2.2rem;
    margin-bottom: 25px;
    font-style: normal;
    line-height: 1.3;
}

.showcase-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.8;
}

.showcase-visuals {
    position: relative;
    z-index: 1;
}

.sc-img-main, .sc-img-sub, .sc-img-sub-2 {
    width: 100%;
    overflow: hidden;
    border-radius: 4px;
}

.sc-img-main img, .sc-img-sub img, .sc-img-sub-2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.layout-type-1 { flex-direction: row; }
.layout-type-1 .showcase-content { width: 35%; }
.layout-type-1 .showcase-visuals { width: 65%; display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; align-items: center; }
.layout-type-1 .sc-img-main { height: 520px; }
.layout-type-1 .sc-img-sub { height: 400px; }

.layout-type-2 { flex-direction: row-reverse; }
.layout-type-2 .showcase-content { width: 40%; }
.layout-type-2 .showcase-visuals { width: 60%; display: grid; grid-template-columns: 1fr 1.2fr; gap: 30px; }
.layout-type-2 .sc-img-main { height: 400px; margin-top: auto; }
.layout-type-2 .sc-img-sub { height: 520px; margin-bottom: auto; }

.layout-type-3 { flex-direction: row; }
.layout-type-3 .showcase-content { width: 40%; padding-right: 40px; }
.layout-type-3 .showcase-visuals { width: 60%; display: block; }
.layout-type-3 .sc-img-main { height: 550px; width: 100%; }

.layout-type-4 { flex-direction: row-reverse; }
.layout-type-4 .showcase-content { width: 35%; }
.layout-type-4 .showcase-visuals { width: 65%; height: 550px; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 20px; }
.layout-type-4 .sc-img-main { grid-column: 1; grid-row: 1 / 3; height: 100%; }
.layout-type-4 .sc-img-sub { grid-column: 2; grid-row: 1; height: 100%; }
.layout-type-4 .sc-img-sub-2 { grid-column: 2; grid-row: 2; height: 100%; }

.sc-btn-more {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 45px;
    padding: 12px 28px;
    border: 1px solid var(--primary);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    background: transparent;
}
.sc-btn-more .sc-arrow { font-size: 1rem; transition: transform 0.3s ease; }
.sc-btn-more:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.sc-btn-more:hover .sc-arrow { transform: translateX(6px); }

.showcase-slide .sc-btn-more,
.showcase-slide .showcase-content,
.showcase-slide .sc-img-sub,
.showcase-slide .sc-img-sub-2 {
    opacity: 0;
    transform: translateY(30px);
}
.showcase-slide .sc-img-main { clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%); }
.showcase-slide .sc-img-main img { transform: scale(1.1); }

.showcase-slide:is(.active, .is-leaving) .sc-img-main { animation: revealUp 1s cubic-bezier(0.77, 0, 0.175, 1) forwards; }
.showcase-slide:is(.active, .is-leaving) .sc-img-main img { transition: transform 1.5s cubic-bezier(0.25, 1, 0.5, 1); transform: scale(1); }
.showcase-slide:is(.active, .is-leaving) .showcase-content { transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.25, 1, 0.5, 1); transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.showcase-slide:is(.active, .is-leaving) .sc-img-sub { transition: opacity 0.6s ease, transform 0.8s cubic-bezier(0.25, 1, 0.5, 1); transition-delay: 0.4s; opacity: 1; transform: translateY(0); }
.showcase-slide:is(.active, .is-leaving) .sc-btn-more { transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.4s, color 0.4s, border-color 0.4s; transition-delay: 0.4s; opacity: 1; transform: translateY(0); }
.showcase-slide:is(.active, .is-leaving) .sc-img-sub-2 { transition: opacity 0.6s ease, transform 0.8s cubic-bezier(0.25, 1, 0.5, 1); transition-delay: 0.6s; opacity: 1; transform: translateY(0); }

@keyframes revealUp {
    0% { clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%); }
    100% { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
}

/* ==========================================================================
   4. EDITORIAL MATRIX LOOKBOOK (CÁC BỘ SƯU TẬP)
   ========================================================================== */
.gallery-matrix-wrapper {
    margin-top: 50px;
    padding-top: 0;
    border-top: none;
}

.mosaic-header-sub {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
    gap: 20px;
}

.mosaic-header-text {
    text-align: left;
    min-width: 0;
}

.mosaic-tag {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary);
    display: inline-block;
    margin-bottom: 6px;
}

.mosaic-title {
    font-family: var(--font-serif);
    font-size: clamp(1.15rem, 2.2vw, 2rem);
    font-style: normal;
    color: var(--text-dark);
    margin: 0;
    white-space: nowrap;
}

.lookbook-link-inline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--primary);
    padding-bottom: 4px;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.lookbook-link-inline .link-arrow {
    font-size: 1rem;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.lookbook-link-inline:hover {
    color: var(--text-dark);
}

.lookbook-link-inline:hover .link-arrow {
    transform: translateX(5px);
}

.matrix-grid {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 16px;
    background: transparent;
    aspect-ratio: 18 / 9;
}

.mx-cell {
    position: relative;
    overflow: hidden;
    background: #1c1a17;
    border-radius: 2px;
    cursor: pointer;
}

.cell-c1-r1 { grid-area: 1 / 1 / 2 / 2; }
.cell-c1-r2 { grid-area: 2 / 1 / 3 / 2; }
.cell-c1-r3 { grid-area: 3 / 1 / 4 / 2; }

.cell-lg-left { grid-area: 1 / 2 / 3 / 4; }
.cell-c2-r3    { grid-area: 3 / 2 / 4 / 3; }
.cell-c3-r3    { grid-area: 3 / 3 / 4 / 4; }

.cell-c4-r1 { grid-area: 1 / 4 / 2 / 5; }
.cell-c4-r2 { grid-area: 2 / 4 / 3 / 5; }
.cell-c4-r3 { grid-area: 3 / 4 / 4 / 5; }

.cell-c5-r1  { grid-area: 1 / 5 / 2 / 6; }
.cell-c6-r1  { grid-area: 1 / 6 / 2 / 7; }
.cell-lg-mid { grid-area: 2 / 5 / 4 / 7; }

.cell-c7-r1 { grid-area: 1 / 7 / 2 / 8; }
.cell-c7-r2 { grid-area: 2 / 7 / 3 / 8; }
.cell-c7-r3 { grid-area: 3 / 7 / 4 / 8; }

.cell-lg-right { grid-area: 1 / 8 / 3 / 10; }
.cell-c8-r3    { grid-area: 3 / 8 / 4 / 9; }
.cell-c9-r3    { grid-area: 3 / 9 / 4 / 10; }

.mx-cell img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1);
    transition: opacity 0.4s ease, transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform, opacity;
}

.mx-cell .img-def {
    opacity: 1;
    z-index: 1;
}

.mx-cell .img-hov {
    opacity: 0;
    z-index: 2;
}

.matrix-grid .img-hov:not([data-image-ready]) { opacity: 0; }

.mx-cell:hover .img-def {
    opacity: 1;
    transform: scale(1.04);
}

.mx-cell:hover .img-hov {
    opacity: 1;
    z-index: 2;
    transform: scale(1.04);
}

/* ==========================================================================
   6. TIMELINE IMMERSIVE
   ========================================================================== */
.timeline-immersive-wrapper { 
    position: relative; 
    margin-top: 0; 
    width: 100vw; 
    margin-left: calc(-50vw + 50%); 
}

.timeline-sticky-bg { 
    position: sticky; 
    top: 0; 
    left: 0; 
    width: 100vw; 
    height: 100vh; 
    overflow: hidden; 
    z-index: 0; 
}

.timeline-bg-layer { 
    position: absolute; 
    inset: 0; 
    background-color: var(--text-dark); 
}

.timeline-bg-item { 
    position: absolute; 
    inset: 0; 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    opacity: 0; 
    transform: scale(1.05); 
    transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1), transform 3s ease-out; 
}

.timeline-bg-item.active { 
    opacity: 1; 
    transform: scale(1); 
}

.timeline-overlay { 
    position: absolute; 
    inset: 0; 
    background: linear-gradient(to bottom, rgba(28, 26, 23, 0.95) 0%, rgba(28, 26, 23, 0.65) 30%, rgba(28, 26, 23, 0.65) 70%, rgba(28, 26, 23, 0.95) 100%); 
    z-index: 1; 
}

.timeline-content-layer { 
    position: relative; 
    z-index: 2; 
    margin: -100vh auto 0; 
    padding: 15vh 40px 15vh; 
    max-width: 1280px; 
}

.text-light { 
    color: #fff !important; 
    text-align: center; 
    margin-bottom: 100px; 
}

.timeline-vertical { 
    position: relative; 
    max-width: 900px; 
    margin: 0 auto; 
}

.timeline-line { 
    position: absolute; 
    left: 50%; 
    top: 0; 
    bottom: 0; 
    width: 1px; 
    background: rgba(255, 255, 255, 0.15); 
    transform: translateX(-50%); 
    z-index: 1; 
}

.timeline-line-fill {
    position: absolute;
    left: 50%;
    top: 0;
    width: 2px;
    background: var(--primary);
    transform: translateX(-50%);
    height: 0;
    z-index: 2;
    transition: none;
}

.timeline-step { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 120px; 
    position: relative; 
    opacity: 0.25; 
    transform: translateY(30px); 
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.25, 1, 0.5, 1); 
}

.timeline-step:last-child { 
    margin-bottom: 0px; 
}

.timeline-step:nth-child(odd) { 
    flex-direction: row-reverse; 
}

.timeline-step:nth-child(odd) .timeline-content { 
    text-align: right; 
    padding-right: 50px; 
}

.timeline-step:nth-child(even) .timeline-content { 
    text-align: left; 
    padding-left: 50px; 
}

.timeline-content { 
    width: 50%; 
    position: relative; 
}

.timeline-roman { 
    font-family: var(--font-serif); 
    font-size: 3.5rem; 
    font-style: normal; 
    color: rgba(255, 255, 255, 0.2); 
    line-height: 1; 
    margin-bottom: 15px; 
    transition: color 0.6s ease; 
}

.timeline-content h4 { 
    font-size: 1.3rem; 
    color: #fff; 
    margin-bottom: 10px; 
}

.timeline-content p { 
    font-size: 0.95rem; 
    color: #d1cbc1; 
    line-height: 1.7; 
}

.timeline-dot { 
    width: 14px; 
    height: 14px; 
    border-radius: 50%; 
    background: var(--text-dark); 
    border: 2px solid rgba(255, 255, 255, 0.3); 
    position: absolute; 
    left: 50%; 
    top: 50%; 
    transform: translate(-50%, -50%); 
    z-index: 3; 
    transition: all 0.6s ease; 
}

.timeline-step.active { 
    color: #e5e0d8; 
    opacity: 1; 
    transform: translateY(0); 
}

.timeline-step.active .timeline-roman { 
    color: var(--primary); 
}

.timeline-step.active .timeline-dot { 
    background: var(--primary); 
    border-color: var(--primary); 
    box-shadow: 0 0 15px rgba(138, 24, 26, 0.6); 
    transform: translate(-50%, -50%) scale(1.3); 
}

.timeline-day-tag {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #a19c93;
    margin-bottom: 8px;
    transition: color 0.4s ease;
}

.timeline-commitment-box {
    margin-top: 150px;
    background: rgba(28, 26, 23, 0.75);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-top: 2px solid var(--primary);
    padding: 40px 50px 80px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 3;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.commit-seal {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 10px;
}

.commit-title {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 25px;
    font-style: normal;
}

.commit-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-align: left;
    width: fit-content;
    max-width: 100%;
}

.commit-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    color: #e5e0d8;
    line-height: 1.6;
    font-weight: 300;
}

.commit-bullet {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    flex-shrink: 0;
    margin-top: 1px;
}

/* ==========================================================================
   7. QUYỀN LỢI KHÁCH HÀNG (4 THẺ VUÔNG)
   ========================================================================== */
#benefits {
    padding-top: 100px;
    padding-bottom: 100px; /* Độ thở cân đối cho nền màu cát bg-light */
}

.benefits-header-center {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 55px;
}

.benefits-sub-tag {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary);
    display: inline-block;
    margin-bottom: 8px;
}

.benefits-lead-desc {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 300;
    line-height: 1.7;
    margin: 0;
}

.benefits-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    align-items: stretch;
}

.benefit-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 2px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease;
}

.benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.06);
}

.benefit-media {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background-color: var(--text-dark);
}

.benefit-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.benefit-card:hover .benefit-media img {
    transform: scale(1.05);
}

.benefit-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--primary);
    color: #ffffff;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    z-index: 2;
}

.benefit-content {
    padding: 24px 20px 28px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.benefit-content h3 {
    font-family: var(--font-serif);
    font-size: 1.18rem;
    font-style: normal;
    color: var(--text-dark);
    line-height: 1.45;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.benefit-card:hover .benefit-content h3 {
    color: var(--primary);
}

.benefit-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
    font-weight: 300;
}

/* ==========================================================================
   HẬU MÃI
   ========================================================================== */
.aftercare-header {
    max-width: 780px;
    margin: 0 auto 60px;
    text-align: center;
}

.aftercare-sub-tag {
    display: block;
    margin-bottom: 16px;
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.aftercare-header .section-title {
    margin-bottom: 0;
    line-height: 1.35;
    text-wrap: balance;
}

.aftercare-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--border-color);
}

.aftercare-step { min-width: 0; padding: 36px 36px 0; }
.aftercare-step:first-child { padding-left: 0; }
.aftercare-step:last-child { padding-right: 0; }
.aftercare-step + .aftercare-step { border-left: 1px solid var(--border-color); }
.aftercare-step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.aftercare-number { font-family: var(--font-serif); font-size: 2.6rem; line-height: 1; color: var(--text-muted); }
.aftercare-icon { flex-shrink: 0; width: 32px; height: 32px; color: var(--primary); }
.aftercare-step h3 { margin-bottom: 14px; font-size: 1.45rem; line-height: 1.45; }
.aftercare-step p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.8; }

@media (max-width: 1024px) {
    .aftercare-step { padding: 28px 24px 0; }
    .aftercare-step h3 { font-size: 1.25rem; }
}

@media (max-width: 768px) {
    .aftercare-header { margin-bottom: 36px; }
    .aftercare-steps { grid-template-columns: minmax(0, 1fr); }
    .aftercare-step { padding: 28px 0; }
    .aftercare-step:last-child { padding-bottom: 0; }
    .aftercare-step + .aftercare-step { border-left: 0; border-top: 1px solid var(--border-color); }
    .aftercare-step-top { margin-bottom: 20px; }
    .aftercare-number { font-size: 2.2rem; }
    .aftercare-step p { font-size: 1rem; }
}

/* Homepage uses the shared appointment form styles. */
#booking { margin-top: 0; padding-top: 100px; scroll-margin-top: 80px; }
.booking-section-card { width: 100%; border: 1px solid var(--border-color); border-radius: 4px; overflow: hidden; }

/* ==========================================================================
   9. MAGAZINE BENTO / EDITORIAL GRID
   ========================================================================== */
.magazine-editorial-grid { 
    display: grid; 
    grid-template-columns: 2fr 1.2fr 1fr; 
    gap: 40px; 
    align-items: stretch; 
}

.mag-col { 
    display: flex; 
    flex-direction: column; 
}

.mag-subs { 
    border-left: 1px solid var(--border-color); 
    padding-left: 40px; 
}

.mag-recents { 
    border-left: 1px solid var(--border-color); 
    padding-left: 40px; 
}

.mag-article-card { 
    display: flex; 
    flex-direction: column; 
}

.mag-img-wrapper { 
    width: 100%; 
    overflow: hidden; 
    margin-bottom: 20px; 
    background: var(--text-dark); 
}

.mag-img-wrapper img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s ease; 
}

.mag-article-card:hover .mag-img-wrapper img { 
    transform: scale(1.05); 
    opacity: 0.9; 
}

.mag-category { 
    font-family: var(--font-sans); 
    font-size: 0.75rem; 
    font-weight: 600; 
    letter-spacing: 2px; 
    color: var(--primary); 
    text-transform: uppercase; 
    margin-bottom: 15px; 
}

.mag-title-lg { 
    font-family: var(--font-serif); 
    font-size: 2.2rem; 
    line-height: 1.3; 
    color: var(--text-dark); 
    margin-bottom: 15px; 
    transition: color 0.3s ease; 
}

.mag-title-md { 
    font-family: var(--font-serif); 
    font-size: 1.4rem; 
    line-height: 1.35; 
    color: var(--text-dark); 
    margin-bottom: 10px; 
    transition: color 0.3s ease; 
}

.mag-article-card:hover .mag-title-lg, 
.mag-article-card:hover .mag-title-md { 
    color: var(--primary); 
}

.mag-desc { 
    font-size: 1rem; 
    color: var(--text-muted); 
    line-height: 1.7; 
}

.sub-card:first-child { 
    margin-bottom: 40px; 
    padding-bottom: 40px; 
    border-bottom: 1px solid var(--border-color); 
}

.sub-card .mag-img-wrapper { 
    height: 200px; 
}

.recents-header { 
    font-family: var(--font-sans); 
    font-size: 0.85rem; 
    font-weight: 600; 
    letter-spacing: 2px; 
    text-transform: uppercase; 
    color: var(--text-dark); 
    border-top: 2px solid var(--text-dark); 
    border-bottom: 1px solid var(--text-dark); 
    padding: 12px 0; 
    margin-bottom: 25px; 
}

.recent-item { 
    display: block; 
    padding: 20px 0; 
    border-bottom: 1px solid var(--border-color); 
    transition: transform 0.3s ease; 
}

.recent-item:last-child { 
    border-bottom: none; 
}

.recent-item:hover { 
    transform: translateX(5px); 
}

.recent-title { 
    font-family: var(--font-serif); 
    font-size: 1.15rem; 
    line-height: 1.4; 
    color: var(--text-dark); 
    margin-bottom: 8px; 
    font-weight: 400; 
    transition: color 0.3s ease; 
}

.recent-item:hover .recent-title { 
    color: var(--primary); 
}

.recent-date { 
    font-family: var(--font-sans); 
    font-size: 0.75rem; 
    color: var(--text-muted); 
    letter-spacing: 1px; 
}

/* ==========================================================================
   10. MEDIA QUERIES TẬP TRUNG (TABLET & MOBILE)
   ========================================================================== */
@media (max-width: 1024px) {
    .qna-wrapper, 
    .magazine-editorial-grid { 
        grid-template-columns: 1fr; 
        gap: 40px; 
    }
    


    .benefits-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .showcase-header { 
        flex-direction: column; 
        align-items: flex-start; 
        gap: 20px; 
    }
    
    .showcase-wrapper { 
        height: auto; 
    }
    
    .showcase-slide { 
        position: relative;
        inset: auto;
        flex-direction: column !important; 
        opacity: 1; 
        margin-bottom: 60px; 
        gap: 30px; 
    }
    
    .showcase-slide:not(.active) { 
        display: none; 
    }
    
    .layout-type-1 .showcase-content, 
    .layout-type-2 .showcase-content, 
    .layout-type-3 .showcase-content, 
    .layout-type-4 .showcase-content { 
        width: 100%; 
        padding: 0; 
    }
    
    .layout-type-1 .showcase-visuals, 
    .layout-type-2 .showcase-visuals, 
    .layout-type-3 .showcase-visuals, 
    .layout-type-4 .showcase-visuals { 
        width: 100%; 
        grid-template-columns: 1fr; 
        height: auto; 
    }
    
    .sc-img-main, 
    .sc-img-sub, 
    .sc-img-sub-2 { 
        height: 350px !important; 
        margin: 0 !important; 
    }
    
    .mag-subs, 
    .mag-recents { 
        border-left: none; 
        padding-left: 0; 
        border-top: 1px solid var(--border-color); 
        padding-top: 40px; 
    }
    
    .mag-subs { 
        display: grid; 
        grid-template-columns: 1fr 1fr; 
        gap: 30px; 
    }
    
    .sub-card:first-child { 
        margin-bottom: 0; 
        padding-bottom: 0; 
        border-bottom: none; 
    }

    .matrix-grid {
        gap: 12px;
        aspect-ratio: auto;
        grid-template-columns: repeat(6, 1fr);
        grid-template-rows: auto;
    }

    .cell-c1-r1, .cell-c1-r2, .cell-c1-r3,
    .cell-c2-r3, .cell-c3-r3,
    .cell-c4-r1, .cell-c4-r2, .cell-c4-r3,
    .cell-c5-r1, .cell-c6-r1,
    .cell-c7-r1, .cell-c7-r2, .cell-c7-r3,
    .cell-c8-r3, .cell-c9-r3 {
        grid-area: auto;
        aspect-ratio: 2 / 3;
    }

    .cell-lg-left, 
    .cell-lg-mid, 
    .cell-lg-right {
        grid-area: auto;
        grid-column: span 2;
        grid-row: span 2;
    }
}

@media (max-width: 768px) {
    .hero h1 { 
        font-size: 2.2rem; 
        margin-bottom: 15px; 
        line-height: 1.3; 
    }

    .hero p { 
        font-size: 0.95rem; 
        margin-bottom: 30px; 
        padding: 0 15px; 
    }

    /* Timeline Mobile */
    .timeline-content-layer { 
        padding-bottom: 12vh !important; 
    }

    .timeline-line, 
    .timeline-line-fill { 
        left: 12px !important; 
    }

    .timeline-dot { 
        left: 12px !important; 
        top: 8px !important; 
    }

    .timeline-step { 
        display: block !important; 
        margin-bottom: 40px !important; 
        position: relative !important; 
    }

    .timeline-step:last-child { 
        margin-bottom: 0px !important; 
    }

    .timeline-content { 
        width: 100% !important; 
        padding-left: 35px !important; 
        padding-right: 15px !important; 
        text-align: left !important; 
        box-sizing: border-box !important; 
    }

    .timeline-step .timeline-content:empty, 
    .timeline-step .timeline-content[style*="height: 0"] { 
        display: none !important; 
    }

    .timeline-roman { 
        font-size: 2rem !important; 
        margin-bottom: 2px !important; 
    }

    .timeline-day-tag { 
        font-size: 0.68rem !important; 
        letter-spacing: 1.5px !important; 
        margin-bottom: 4px !important; 
        opacity: 0.85; 
    }

    .timeline-content h4 { 
        font-size: 1.05rem !important; 
        line-height: 1.4 !important; 
        margin-bottom: 6px !important; 
        color: #ffffff !important; 
    }

    .timeline-content p { 
        font-size: 0.82rem !important; 
        line-height: 1.55 !important; 
        color: #d1cbc1 !important; 
    }

    .timeline-sticky-bg::after {
        content: ''; 
        position: absolute; 
        inset: 0;
        background: linear-gradient(to right, rgba(18, 17, 15, 0.88) 0%, rgba(18, 17, 15, 0.6) 65%, rgba(18, 17, 15, 0.15) 100%);
        z-index: 2; 
        pointer-events: none;
    }

    .timeline-commitment-box {
        margin-top: 60px !important;
        padding: 30px 20px 60px !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .commit-title { 
        font-size: 1.4rem !important; 
        margin-bottom: 20px !important; 
    }

    .commit-list li { 
        font-size: 0.85rem !important; 
        gap: 10px !important; 
    }

    /* Ẩn hoàn toàn slider tạp chí trên mobile */
    .showcase-desktop-only,
    .showcase-mobile-only {
        display: none !important;
    }

    /* Lookbook Mobile: 2 hàng header & lưới 3 cột dense */
    .gallery-matrix-wrapper {
        margin-top: 30px !important;
        padding-top: 0 !important;
        border-top: none !important;
    }

    .mosaic-header-sub {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 8px !important;
        margin-bottom: 16px !important;
        padding-bottom: 12px !important;
        border-bottom: 1px solid var(--border-color) !important;
    }

    .mosaic-header-text {
        width: 100% !important;
    }

    .mosaic-tag {
        font-size: 0.65rem !important;
        letter-spacing: 2px !important;
        margin-bottom: 4px !important;
    }

    .mosaic-title {
        font-size: clamp(0.92rem, 3.8vw, 1.2rem) !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        display: block !important;
        width: 100% !important;
    }

    .lookbook-link-inline {
        font-size: 0.72rem !important;
        letter-spacing: 1.5px !important;
        padding-top: 2px !important;
        margin-top: 2px !important;
    }

    .matrix-grid {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        grid-auto-flow: dense !important;
        gap: 6px !important;
        aspect-ratio: auto !important;
    }

    .mx-cell {
        aspect-ratio: 2 / 3 !important;
        grid-area: auto !important;
        grid-column: span 1 !important;
        grid-row: span 1 !important;
    }

    .cell-lg-left,
    .cell-lg-mid,
    .cell-lg-right {
        grid-column: span 2 !important;
        grid-row: span 2 !important;
        aspect-ratio: auto !important;
    }

    /* Quyền Lợi Khách Hàng Mobile */
    #benefits {
        padding-top: 60px !important;
        padding-bottom: 60px !important;
    }

    .benefits-header-center {
        margin-bottom: 35px;
    }

    .benefits-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .benefit-content h3 {
        font-size: 1.1rem;
    }

    #booking { padding-top: 60px; scroll-margin-top: 64px; }

    /* Magazine Mobile */
    .mag-subs { 
        grid-template-columns: 1fr; 
    }

    .mag-title-lg { 
        font-size: 1.5rem; 
    }

    .sub-card:first-child { 
        margin-bottom: 40px; 
        padding-bottom: 40px; 
        border-bottom: 1px solid var(--border-color); 
    }
}

.hero-ready .hero-slideshow { animation: heroImageReveal 2.8s ease-in-out both; }
@keyframes heroImageReveal {
    from { opacity: 0; }
    to { opacity: 1; }
}
.hero-ready .hero-content { animation: heroContentReveal 1.8s ease-out both; }
@keyframes heroContentReveal {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
    .hero-ready .hero-slideshow { animation-duration: 1.6s; }
    .hero-ready .hero-content { animation: reducedFade 1.2s ease-out both; }
}
