/* =============================================================================
   COMPONENTS.CSS – Đá Ốp Lát Quyết Chiến Component System
   Headings, Bento, Product Cards, News, Video Modal, Partners, Filter Tabs
============================================================================= */

/* ── Section Title Standard & Components ───────────────────────────────────── */
.section-title-wrap,
.section-header {
    margin-bottom: 3.5rem;
    position: relative;
}

.section-title-wrap.text-center,
.section-header.center {
    text-align: center;
}

.section-label,
.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--cyan-500);
    background: rgba(0, 176, 240, 0.08);
    padding: 0.4rem 1.15rem;
    border-radius: var(--radius-full);
    margin-bottom: 0.95rem;
    border: 1px solid rgba(0, 176, 240, 0.2);
    box-shadow: 0 2px 8px rgba(0, 176, 240, 0.08);
}

.section-label::before,
.section-eyebrow::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 6px currentColor;
}

.section-header.light .section-label,
.section-header.light .section-eyebrow {
    color: var(--cyan-300);
    background: rgba(0, 176, 240, 0.15);
    border-color: rgba(0, 176, 240, 0.35);
    box-shadow: 0 0 16px rgba(0, 176, 240, 0.2);
}

.section-heading-main,
.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.4vw, 2.75rem);
    font-weight: 700;
    color: var(--navy-900);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.25;
    margin-bottom: 0.85rem;
}

.section-heading-main span,
.section-title span {
    color: var(--cyan-500);
}

.section-header.light .section-title,
.section-header.light .section-heading-main {
    color: var(--white);
}

.section-header.light .section-title span,
.section-header.light .section-heading-main span {
    color: var(--cyan-400);
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--gray-600);
    line-height: 1.7;
    max-width: 720px;
    margin-inline: auto;
}

.section-header.light .section-subtitle {
    color: rgba(255, 255, 255, 0.75);
}

/* ── 1. Hero Slider Section ───────────────────────────────────────────────── */
.home-hero-section {
    position: relative;
    height: 92vh;
    min-height: 600px;
    max-height: 920px;
    overflow: hidden;
    background: var(--navy-950);
}

.home-hero-slider-wrap {
    position: relative;
    width: 100%;
    height: 100%;
}

.home-hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.9s ease;
    z-index: 1;
    pointer-events: none;
}

.home-hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
    pointer-events: auto;
}

.home-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.0);
    transition: transform 7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.home-hero-slide.active .home-hero-bg {
    transform: scale(1.08);
}

.home-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, #061C32 0%, rgba(6, 28, 50, 0) 100%);
}

.home-hero-container {
    position: relative;
    z-index: 3;
    text-align: center;
    padding-top: 3.5rem;
}

.home-hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.home-hero-title {
    display: inline-grid;
    grid-template-columns: auto auto;
    grid-template-rows: auto auto;
    column-gap: 1.15rem;
    row-gap: 0;
    align-items: baseline;
    justify-content: center;
    margin: 0 auto;
}

.hero-main-row {
    display: contents;
}

.hero-script {
    grid-column: 1;
    grid-row: 1;
    justify-self: end;
    text-align: right;
    white-space: nowrap;
    font-family: var(--font-script, 'Pinyon Script', cursive);
    font-size: clamp(2.4rem, 5.2vw, 5rem);
    font-style: normal;
    font-weight: 400;
    text-transform: none;
    color: var(--white);
    letter-spacing: 0.01em;
    line-height: 1.15;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.45), 0 2px 8px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease 0.2s, transform 0.7s ease 0.2s;
}

.hero-accent-script {
    grid-column: 1;
    grid-row: 2;
    justify-self: end;
    text-align: right;
    white-space: nowrap;
    font-family: var(--font-script, 'Pinyon Script', cursive);
    font-size: clamp(2.4rem, 5.2vw, 5rem);
    font-style: normal;
    font-weight: 400;
    text-transform: none;
    color: var(--white);
    letter-spacing: 0.01em;
    line-height: 1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.45), 0 2px 8px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease 0.35s, transform 0.7s ease 0.35s;
}

.hero-main {
    grid-column: 2;
    grid-row: 2;
    align-self: baseline;
    justify-self: start;
    text-align: left;
    white-space: nowrap;
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4.8vw, 4rem);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--white);
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.45), 0 2px 8px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease 0.45s, transform 0.7s ease 0.45s;
}

/* Slide active animations */
.home-hero-slide.active .hero-script,
.home-hero-slide.active .hero-accent-script,
.home-hero-slide.active .hero-main,
.home-hero-slide.active .hero-main-row {
    opacity: 1;
    transform: translateY(0);
}

/* Navigation Arrows */
.hero-nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(7, 21, 38, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    opacity: 0.75;
}

.hero-nav-arrow:hover {
    background: var(--cyan-500);
    border-color: var(--cyan-400);
    color: var(--navy-950);
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 20px rgba(0, 176, 240, 0.5);
}

.hero-prev {
    left: 2rem;
}

.hero-next {
    right: 2rem;
}

@media (max-width: 768px) {
    .hero-nav-arrow {
        display: none;
    }
}

/* Dots */
.home-hero-dots {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10;
}

.home-hero-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
}

.home-hero-dots .dot:hover {
    background: rgba(255, 255, 255, 0.85);
    transform: scale(1.15);
}

.home-hero-dots .dot.active {
    background: var(--cyan-500);
    width: 28px;
    border-radius: 8px;
    box-shadow: 0 0 14px rgba(0, 176, 240, 0.6);
}

/* ── 2. Vision - Mission - Core Values ────────────────────────────────────── */
.home-vision-section {
    padding-block: 5.5rem;
    background: var(--white);
}

.vision-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    text-align: center;
}

.vision-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    transition: transform var(--duration) var(--ease);
}

.vision-icon-wrap {
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 240px;
    height: 240px;
    max-width: 100%;
    margin-inline: auto;
    transition: transform var(--duration) var(--ease);
}

.vision-icon-img {
    width: 240px;
    height: 240px;
    max-width: 100%;
    object-fit: contain;
    display: block;
    transition: transform var(--duration) var(--ease), filter var(--duration) var(--ease);
}

.vision-card:hover .vision-icon-wrap {
    transform: translateY(-6px) scale(1.05);
}

.vision-card:hover .vision-icon-img {
    filter: drop-shadow(0 10px 20px rgba(0, 176, 240, 0.35));
}

/* Responsive sizes for vision icon */
@media (max-width: 1200px) {
    .vision-icon-wrap {
        width: 200px;
        height: 200px;
        margin-bottom: 1.75rem;
    }

    .vision-icon-img {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 1024px) {
    .vision-icon-wrap {
        width: 170px;
        height: 170px;
        margin-bottom: 1.5rem;
    }

    .vision-icon-img {
        width: 170px;
        height: 170px;
    }
}

@media (max-width: 768px) {
    .vision-icon-wrap {
        width: 200px;
        height: 200px;
        margin-bottom: 1.5rem;
    }

    .vision-icon-img {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 480px) {
    .vision-icon-wrap {
        width: 160px;
        height: 160px;
        margin-bottom: 1.25rem;
    }

    .vision-icon-img {
        width: 160px;
        height: 160px;
    }
}

.vision-card-desc {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--gray-700);
    line-height: 1.65;
    max-width: 320px;
}

/* Cyan Variant (Used in Giới thiệu: 3 cyan cards) */
.vision-section-has-cyan {
    padding-top: 2rem;
    padding-bottom: 6rem;
}

.vision-section-has-cyan .vision-cards-grid {
    gap: 2rem;
}

.vision-card-cyan {
    background: var(--cyan-200);
    border-radius: var(--radius-2xl);
    padding: 3.5rem 2rem;
    box-shadow: 0 10px 30px rgba(0, 176, 240, 0.22);
    transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.vision-card-cyan:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 176, 240, 0.35);
}

/* .vision-card-cyan .vision-icon-img {
    filter: brightness(0);
}

.vision-card-cyan:hover .vision-icon-img {
    filter: brightness(0) drop-shadow(0 6px 14px rgba(0, 0, 0, 0.25));
} */

/* .vision-card-cyan .vision-card-desc {
    color: var(--navy-900);
    font-weight: 400;
} */

/* Full section background cyan option */
.vision-section-bg-cyan {
    background: var(--cyan-500);
}

/* ── 3. Home About Section (Navy Slanted) ─────────────────────────────────── */
.home-about-section {
    background: var(--navy-900);
    color: var(--white);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.home-about-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 4.5rem;
    align-items: center;
}

.video-preview-card {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    aspect-ratio: 16/10;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

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

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: transform var(--duration) var(--ease), filter var(--duration) var(--ease);
}

.video-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.12);
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.6));
}

.home-about-heading {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 700;
    color: var(--white);
    letter-spacing: .03em;
    margin-bottom: 2rem;
}

.home-about-text p {
    font-family: var(--font-body);
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.85;
    margin-bottom: 1.5rem;
}

/* ── 4. Bento Grid (ĐÁ ỐP LÁT QUYẾT CHIẾN) ───────────────────────────────── */
.home-bento-section {
    padding-block: 5.5rem;
    background: var(--white);
}

.home-bento-section .section-title-wrap {
    margin-bottom: 2.75rem;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 200px);
    grid-template-areas:
        "quarry  quarry  floor   kitchen"
        "quarry  quarry  marble  wall"
        "bath    decor   stairs  stairs";
    gap: 0;
    width: 100%;
}

.bento-item {
    position: relative;
    overflow: hidden;
    display: flex;
}

.bento-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s var(--ease);
}

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

/* Grid Area Assignments */
.bento-item-quarry {
    grid-area: quarry;
}

.bento-item-floor {
    grid-area: floor;
}

.bento-item-kitchen {
    grid-area: kitchen;
}

.bento-item-marble {
    grid-area: marble;
}

.bento-item-wall {
    grid-area: wall;
}

.bento-item-bath {
    grid-area: bath;
}

.bento-item-decor {
    grid-area: decor;
}

.bento-item-stairs {
    grid-area: stairs;
}

/* Cyan Cards */
.bento-card-cyan {
    background-color: var(--cyan-500);
    color: var(--white);
    padding: 2rem 2.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: background-color var(--duration) var(--ease);
}

.bento-card-cyan:hover {
    background-color: var(--cyan-600);
}

.bento-card-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: .05em;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
    line-height: 1.2;
}

.bento-card-desc {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: #0f161a;
    font-weight: 500;
    line-height: 1.55;
    margin-bottom: 0;
}


/* ── 5. Featured Products & Stone Cards ───────────────────────────────────── */
.home-products-section {
    padding-block: 5.5rem;
    background: var(--white);
}

.products-header-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 2.25rem;
}

.dqc-tab-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.dqc-tab-nav .filter-tab {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--gray-400);
    background: none;
    border: none;
    padding: 0.35rem 0.5rem;
    position: relative;
    cursor: pointer;
    transition: color var(--duration) var(--ease);
}

.dqc-tab-nav .filter-tab:hover,
.dqc-tab-nav .filter-tab.active {
    color: var(--navy-900);
}

.dqc-tab-nav .filter-tab.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0.5rem;
    right: 0.5rem;
    height: 2px;
    background: var(--cyan-500);
    border-radius: 2px;
}

.view-more-link {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--gray-700);
    letter-spacing: .02em;
    transition: color var(--duration) var(--ease), transform var(--duration) var(--ease);
}

.view-more-link:hover {
    color: var(--red-500);
    transform: translateY(-50%) translateX(4px);
}

.products-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    min-height: 340px;
    align-content: start;
    position: relative;
}

/* ── Products Grid Spinner Loading ─────────────────────────────────────── */
.products-grid-4.is-loading>.stone-product-card,
.products-grid-4.is-loading>.products-empty-state {
    visibility: hidden;
    pointer-events: none;
}

.products-grid-spinner {
    display: none;
    position: absolute;
    inset: 0;
    z-index: 10;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.75);
    border-radius: var(--radius-sm);
    grid-column: 1 / -1;
}

.products-grid-4.is-loading .products-grid-spinner {
    display: flex;
}

@keyframes pgSpinnerRotate {
    to {
        transform: rotate(360deg);
    }
}

.products-grid-spinner__icon {
    width: 44px;
    height: 44px;
    border: 4px solid var(--gray-200);
    border-top-color: var(--red-500);
    border-radius: 50%;
    animation: pgSpinnerRotate 0.75s linear infinite;
}

/* Products Empty State (Filter with 0 results) */
.products-empty-state {
    grid-column: 1 / -1;
    min-height: 340px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
    background: rgba(248, 249, 250, 0.7);
    border: 1.5px dashed var(--gray-300);
    border-radius: var(--radius-md);
    text-align: center;
    transition: opacity var(--duration) var(--ease), transform var(--duration) var(--ease);
}

.products-empty-state .empty-state-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-full);
    background: rgba(0, 176, 240, 0.08);
    color: var(--cyan-600);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.products-empty-state .empty-state-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--navy-900);
    letter-spacing: .02em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.products-empty-state .empty-state-desc {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: var(--gray-500);
    max-width: 480px;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.products-empty-state .empty-state-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.5rem;
    background: var(--navy-900);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: background var(--duration) var(--ease), transform var(--duration) var(--ease);
}

.products-empty-state .empty-state-btn:hover {
    background: var(--cyan-600);
    color: var(--white);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .products-grid-4 {
        min-height: 280px;
    }

    .products-empty-state {
        min-height: 280px;
        padding: 2rem 1rem;
    }
}

/* Distinctive Red Footer Stone Product Card */
.stone-product-card {
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: box-shadow var(--duration) var(--ease);
}

.stone-product-card:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
}

.stone-card-link {
    display: block;
}

.stone-card-media {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    position: relative;
    background: #eef1f5;
}

.stone-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.stone-product-card:hover .stone-thumb-img {
    transform: scale(1.07);
}

.stone-card-bar {
    background: var(--red-500);
    color: var(--white);
    padding: 0.65rem 0.9rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.stone-bar-left {
    display: flex;
    flex-direction: column;
}

.stone-bar-size {
    font-family: var(--font-body);
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.2;
    margin-bottom: 2px;
}

.stone-bar-code {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: .04em;
    line-height: 1.1;
}

.stone-bar-right {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.92);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(6px);
    transition: opacity var(--duration) var(--ease), transform var(--duration) var(--ease), visibility var(--duration) var(--ease);
}

.stone-product-card:hover .stone-bar-right,
.stone-product-card:focus-within .stone-bar-right {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

@media (hover: none) {
    .stone-bar-right {
        opacity: 1;
        visibility: visible;
        transform: none;
    }
}

/* Sample stone patterns */
.stone-placeholder-thumb {
    width: 100%;
    height: 100%;
}

.stone-dark-1 {
    background: linear-gradient(135deg, #1b2128 0%, #2f3844 50%, #15191f 100%);
    background-size: cover;
}

.stone-dark-2 {
    background: linear-gradient(145deg, #111417 0%, #222933 60%, #0d0f12 100%);
}

.stone-dark-3 {
    background: linear-gradient(135deg, #2b3036 0%, #1b1e22 100%);
}

.stone-light-1 {
    background: linear-gradient(135deg, #f0f2f5 0%, #d8dde4 50%, #c4ccd6 100%);
}

.stone-white-marble {
    background: linear-gradient(135deg, #fafbfc 0%, #e6eaf0 60%, #f4f6f8 100%);
}

.stone-gray-textured {
    background: linear-gradient(135deg, #cfd4dc 0%, #b0b7c3 50%, #9aa2b0 100%);
}

/* ── 6. Partners & Clients Section ────────────────────────────────────────── */
/* ── 6. Partners & Clients Section ────────────────────────────────────────── */
.home-partners-section {
    background: var(--cyan-500);
    padding: 5.5rem 0 6rem;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.partners-section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.85rem, 3.2vw, 2.5rem);
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: .03em;
    margin-bottom: 3.5rem;
}

.partners-carousel-wrapper {
    position: relative;
    width: 100%;
    margin: 0 auto;
    max-width: var(--container-max);
    margin-bottom: 2rem;
    box-sizing: border-box;
}

.partners-carousel-viewport {
    width: 100%;
    overflow: hidden;
    padding: 1.5rem 0;
    /* Padding for rotated diamond badge overflow */
    cursor: grab;
}

.partners-carousel-viewport:active {
    cursor: grabbing;
}

.partners-carousel-track {
    display: flex;
    transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

/* 4 items / view on desktop */
.partner-slide {
    flex: 0 0 25%;
    max-width: 25%;
    box-sizing: border-box;
    padding: 0 1rem;
    display: flex;
    justify-content: center;
    user-select: none;
}

.partner-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    text-decoration: none;
    color: var(--white);
    transition: transform var(--duration) var(--ease);
}

.partner-item:hover {
    transform: translateY(-5px);
}

.partner-badge-wrap {
    padding: 12px;
}

.partner-diamond-badge {
    width: 220px;
    height: 220px;
}

.partner-diamond-badge img,
.partner-diamond-badge svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.partner-name {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: .02em;
    text-align: center;
}

/* Dots Navigation */
.partners-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 2rem;
}

.partners-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    border: none;
    padding: 0;
    transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.partners-dots .dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.15);
}

.partners-dots .dot.active {
    background: var(--white);
    width: 32px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

@media (max-width: 1024px) {
    .partner-slide {
        flex: 0 0 33.333%;
        max-width: 33.333%;
    }
}

@media (max-width: 768px) {
    .partner-slide {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .partner-diamond-badge {
        width: 88px;
        height: 88px;
    }

    .partner-diamond-badge img {
        width: 56px;
        height: 56px;
    }
}

@media (max-width: 480px) {
    .partner-slide {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* ── 7. News & Events Section ─────────────────────────────────────────────── */
.home-news-section {
    padding-block: 5.5rem;
    background: var(--white);
}

.home-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.25rem;
}

.news-card {
    display: flex;
    flex-direction: column;
}

.news-thumb-link {
    aspect-ratio: 16 / 10;
    border-radius: var(--radius-xl);
    overflow: hidden;
    display: block;
    margin-bottom: 1.25rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.news-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-placeholder-img {
    width: 100%;
    height: 100%;
    transition: transform 0.4s ease;
}

.news-card:hover .news-card-img,
.news-card:hover .news-placeholder-img {
    transform: scale(1.06);
}

.news-card-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .02em;
    margin-bottom: 0.65rem;
    line-height: 1.35;
}

.news-card-title a {
    color: var(--gray-900);
    transition: color var(--duration) var(--ease);
}

.news-card-title a:hover {
    color: var(--cyan-500);
}

.news-card-excerpt {
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--gray-500);
    line-height: 1.65;
    margin-bottom: 0.85rem;
}

.news-card-date {
    font-family: var(--font-body);
    font-size: 0.82rem;
    color: var(--gray-400);
}

/* ── Video Modal Overlay ──────────────────────────────────────────────────── */
.video-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--duration) var(--ease);
}

.video-modal-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.video-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
}

.video-modal-content {
    position: relative;
    z-index: 2;
    width: min(900px, 92vw);
}

.video-modal-close {
    position: absolute;
    top: -45px;
    right: 0;
    font-size: 2.5rem;
    color: var(--white);
    line-height: 1;
}

.video-responsive-wrap {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
}

.video-responsive-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ── 8. Archive Search & Filter Bar ───────────────────────────────────────── */
.archive-search-container {
    margin-bottom: 2rem;
}

.archive-search-form {
    display: flex;
    align-items: center;
    background: var(--white);
    padding: 0.35rem 0.4rem 0.35rem 1.15rem;
    border-radius: var(--radius-full);
    border: 1.5px solid var(--gray-200);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
    transition: all var(--duration) var(--ease);
}

.archive-search-form:hover {
    border-color: var(--gray-300);
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.08);
}

.archive-search-form:focus-within {
    border-color: var(--cyan-500);
    box-shadow: 0 6px 24px rgba(0, 176, 240, 0.18);
}

.archive-search-input-wrap {
    display: flex;
    align-items: center;
    flex: 1;
    position: relative;
    gap: 0.75rem;
    min-width: 0;
}

.archive-search-input-wrap .search-icon {
    color: var(--gray-400);
    flex-shrink: 0;
    transition: color var(--duration) var(--ease);
}

.archive-search-form:focus-within .search-icon {
    color: var(--cyan-500);
}

.archive-search-input {
    width: 100%;
    border: none;
    outline: none;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--gray-900);
    background: transparent;
    padding: 0.45rem 0;
}

.archive-search-input::placeholder {
    color: var(--gray-400);
    font-size: 0.92rem;
}

.search-clear-btn {
    margin-right: .5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--gray-100);
    font-size: 0.8rem;
    color: var(--gray-500);
    line-height: 1;
    text-decoration: none;
    flex-shrink: 0;
    transition: all var(--duration) var(--ease);
}

.search-clear-btn:hover {
    background: var(--red-500);
    color: var(--white);
    transform: scale(1.1);
}

.archive-search-btn {
    padding: 0.65rem 1.6rem;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    background: var(--navy-900);
    color: var(--white);
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    flex-shrink: 0;
    transition: all var(--duration) var(--ease);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.archive-search-btn:hover {
    background: var(--cyan-500);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 176, 240, 0.35);
    transform: translateY(-1px);
}

.archive-search-btn:active {
    transform: translateY(0);
}

/* Active filter feedback bar */
.filter-result-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #F8FAFC;
    border: 1px solid var(--gray-200);
    border-left: 4px solid var(--cyan-500);
    padding: 0.85rem 1.25rem;
    border-radius: var(--radius-md);
    margin-bottom: 2rem;
    font-size: 0.92rem;
    color: var(--gray-600);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.filter-result-bar .result-text {
    line-height: 1.5;
}

.filter-result-bar strong {
    color: var(--navy-900);
    font-weight: 600;
}

.filter-reset-link {
    padding: 4px 8px;
    color: var(--red-500);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-full);
    background: rgba(229, 26, 36, 0.08);
    transition: all var(--duration) var(--ease);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    margin-left: 1rem;
}

.filter-reset-link:hover {
    background: var(--red-500);
    color: white;
}

/* Catalog Top Bar specific for products page */
.catalog-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.75rem;
    flex-wrap: wrap;
}

.catalog-top-bar .product-search-form {
    flex: 1;
    max-width: 520px;
    margin: 0;
}

.catalog-top-count {
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--gray-500);
    white-space: nowrap;
}

.catalog-top-count strong {
    color: var(--navy-900);
    font-weight: 700;
}

/* ── Responsive Rules for Components ──────────────────────────────────────── */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
        grid-template-areas:
            "quarry  quarry"
            "floor   kitchen"
            "marble  wall"
            "bath    decor"
            "stairs  stairs";
    }

    .bento-item {
        min-height: 180px;
    }

    .bento-item-quarry {
        min-height: 280px;
    }

    .bento-item-stairs {
        min-height: 180px;
    }

    .products-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .vision-cards-grid {
        gap: 2rem;
    }

    .vision-card-cyan {
        padding: 2.5rem 1.5rem;
    }
}

@media (max-width: 768px) {

    /* Hero Title Mobile Center Alignment */
    .home-hero-title {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.25rem;
    }

    .hero-script {
        grid-column: auto;
        grid-row: auto;
        justify-self: center;
        text-align: center;
        white-space: normal;
        font-size: clamp(2rem, 7.5vw, 2.75rem);
    }

    .hero-main-row {
        display: flex;
        flex-wrap: wrap;
        align-items: baseline;
        justify-content: center;
        gap: 0.35rem 0.6rem;
        text-align: center;
    }

    .hero-accent-script {
        grid-column: auto;
        grid-row: auto;
        justify-self: center;
        text-align: center;
        white-space: normal;
        font-size: clamp(2rem, 7.5vw, 2.75rem);
    }

    .hero-main {
        grid-column: auto;
        grid-row: auto;
        justify-self: center;
        align-self: center;
        text-align: center;
        white-space: normal;
        font-size: clamp(1.65rem, 6vw, 2.25rem);
    }

    .vision-cards-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .bento-grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "quarry"
            "floor"
            "kitchen"
            "marble"
            "wall"
            "bath"
            "decor"
            "stairs";
    }

    .bento-item {
        min-height: 180px;
    }

    .bento-item-quarry {
        min-height: 240px;
    }

    .bento-card-cyan {
        padding: 1.75rem 1.5rem;
    }

    .products-grid-4 {
        grid-template-columns: 1fr;
    }

    .home-news-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .products-header-nav {
        flex-direction: column;
        align-items: center;
        gap: 1.25rem;
    }

    .products-header-nav .view-more-link {
        position: static;
        transform: none;
    }

    .products-header-nav .view-more-link:hover {
        transform: translateX(4px);
    }

    .dqc-tab-nav {
        gap: 1rem;
    }

    .catalog-top-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .catalog-top-bar .product-search-form {
        max-width: 100%;
    }

    .archive-search-form {
        padding: 0.35rem 0.4rem 0.35rem 1rem;
    }

    .archive-search-btn {
        padding: 0.6rem 1.25rem;
        font-size: 0.85rem;
    }

    .filter-result-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .filter-reset-link {
        margin-left: 0;
    }
}

/* =============================================================================
   PAGE BUILDER SECTIONS: CAPABILITY, PROCESS, FINANCIAL, ABOUT INTRO & CONTACT
============================================================================= */

/* ── 1. Capability Section (Năng Lực Triển Khai) ─────────────────────────── */
.capability-section {
    padding-block: var(--space-20);
    background: radial-gradient(circle at 10% 20%, rgba(0, 176, 240, 0.03) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(14, 35, 64, 0.03) 0%, transparent 40%),
                var(--white);
    position: relative;
}

.capability-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-8);
}

.capability-card {
    background: linear-gradient(180deg, #FFFFFF 0%, #F9FBFC 100%);
    border-radius: var(--radius-2xl);
    padding: 2.5rem 2rem 2.25rem;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform var(--duration) var(--ease),
                box-shadow var(--duration) var(--ease),
                border-color var(--duration) var(--ease);
}

.capability-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--cyan-500) 0%, var(--cyan-300) 60%, var(--navy-800) 100%);
    opacity: 0.8;
    transition: opacity var(--duration) var(--ease), height var(--duration) var(--ease);
}

.capability-card:hover {
    border-color: rgba(0, 176, 240, 0.45);
    box-shadow: 0 20px 40px -15px rgba(7, 21, 38, 0.12), 0 0 0 1px rgba(0, 176, 240, 0.25);
    transform: translateY(-8px);
}

.capability-card:hover::before {
    opacity: 1;
    height: 5px;
}

.cap-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(0, 176, 240, 0.12) 0%, rgba(14, 35, 64, 0.05) 100%);
    border: 1px solid rgba(0, 176, 240, 0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    line-height: 1;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 176, 240, 0.1);
    transition: transform var(--duration) var(--ease),
                background var(--duration) var(--ease),
                box-shadow var(--duration) var(--ease);
    flex-shrink: 0;
}

.capability-card:hover .cap-icon {
    transform: scale(1.08) translateY(-2px);
    background: linear-gradient(135deg, rgba(0, 176, 240, 0.22) 0%, rgba(14, 35, 64, 0.08) 100%);
    box-shadow: 0 8px 20px rgba(0, 176, 240, 0.22);
}

.cap-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--navy-900);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 0.75rem;
    line-height: 1.3;
    transition: color var(--duration) var(--ease);
}

.capability-card:hover .cap-title {
    color: var(--navy-700);
}

.cap-desc {
    font-family: var(--font-body);
    font-size: 0.935rem;
    color: var(--gray-600);
    font-weight: 400;
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

.cap-items {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-top: auto;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(226, 232, 240, 0.85);
}

.cap-items li {
    font-family: var(--font-body);
    font-size: 0.885rem;
    color: var(--gray-700);
    font-weight: 500;
    line-height: 1.5;
    padding-left: 1.5rem;
    position: relative;
    transition: color 0.2s ease, transform 0.2s ease;
}

.cap-items li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.45rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--cyan-500);
    box-shadow: 0 0 6px rgba(0, 176, 240, 0.6);
}

.cap-items li:hover {
    color: var(--navy-900);
    transform: translateX(3px);
}

/* ── 2. Process Section (Quy Trình Thực Hiện) ────────────────────────────── */
section.process-section {
    padding-block: var(--space-20);
    background: linear-gradient(180deg, #F8FAFC 0%, #EEF2F6 100%) !important;
    position: relative;
    overflow: hidden;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
    position: relative;
    z-index: 1;
}

.process-step {
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: 2.5rem 2rem 2.25rem;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform var(--duration) var(--ease),
                box-shadow var(--duration) var(--ease),
                border-color var(--duration) var(--ease);
}

.process-step::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--cyan-500), transparent);
    opacity: 0;
    transition: opacity var(--duration) var(--ease);
}

.process-step:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 176, 240, 0.45);
    box-shadow: 0 20px 40px -12px rgba(14, 35, 64, 0.12), 0 0 0 1px rgba(0, 176, 240, 0.25);
}

.process-step:hover::after {
    opacity: 1;
}

.process-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 100%);
    color: var(--cyan-400);
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(7, 21, 38, 0.2);
    margin-bottom: 1.35rem;
    transition: transform var(--duration) var(--ease),
                background var(--duration) var(--ease),
                color var(--duration) var(--ease);
}

.process-step:hover .process-number {
    transform: scale(1.08);
    background: linear-gradient(135deg, var(--cyan-600) 0%, var(--cyan-500) 100%);
    color: #FFFFFF;
    box-shadow: 0 6px 18px rgba(0, 176, 240, 0.35);
}

.process-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy-900);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.process-desc {
    font-family: var(--font-body);
    font-size: 0.925rem;
    color: var(--gray-600);
    line-height: 1.65;
    margin: 0;
}

/* ── 3. Financial Stats Section (Tiềm Lực Tài Chính) ───────────────────────── */
section.fin-stats-section {
    padding-block: var(--space-20);
    background: radial-gradient(ellipse at 50% -20%, #15325B 0%, #0B1C33 50%, #040D18 100%) !important;
    position: relative;
    overflow: hidden;
}

.fin-stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(0, 176, 240, 0.08) 0%, transparent 45%),
                radial-gradient(circle at 20% 80%, rgba(0, 176, 240, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.fin-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-8);
    position: relative;
    z-index: 1;
}

.fin-card {
    text-align: center;
    padding: 3rem 2rem 2.5rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-2xl);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform var(--duration) var(--ease),
                border-color var(--duration) var(--ease),
                box-shadow var(--duration) var(--ease),
                background var(--duration) var(--ease);
}

.fin-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 176, 240, 0.8), transparent);
    opacity: 0.6;
    transition: all var(--duration) var(--ease);
}

.fin-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 176, 240, 0.55);
    background: linear-gradient(145deg, rgba(0, 176, 240, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 176, 240, 0.22);
}

.fin-card:hover::before {
    opacity: 1;
    left: 5%;
    right: 5%;
}

.fin-value {
    font-family: var(--font-heading);
    font-size: clamp(2.75rem, 4.5vw, 3.75rem);
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 0.75rem;
    display: block;
    background: linear-gradient(135deg, #FFFFFF 25%, var(--cyan-400) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 12px rgba(0, 176, 240, 0.25));
    letter-spacing: -0.01em;
}

.fin-label {
    font-family: var(--font-body);
    font-size: 0.925rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 500;
    line-height: 1.45;
    margin: 0;
}

/* ── 4. Legal Info Section (Thông Tin Pháp Lý) ────────────────────────────── */
section.legal-section {
    padding-block: var(--space-20);
    background: radial-gradient(ellipse at 50% 0%, #15325B 0%, #071526 80%) !important;
    position: relative;
    overflow: hidden;
}

.legal-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-8);
    position: relative;
    z-index: 1;
}

.legal-stat-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-2xl);
    padding: 2.5rem 1.75rem 2.25rem;
    text-align: center;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform var(--duration) var(--ease),
                border-color var(--duration) var(--ease),
                box-shadow var(--duration) var(--ease);
}

.legal-stat-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 176, 240, 0.45);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35), 0 0 20px rgba(0, 176, 240, 0.15);
}

.legal-stat-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: rgba(0, 176, 240, 0.12);
    border: 1px solid rgba(0, 176, 240, 0.25);
    color: var(--cyan-400);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 12px rgba(0, 176, 240, 0.12);
}

.legal-stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.legal-stat-value {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.3;
    margin: 0;
}

/* ── 5. CTA Form Section (Nhận Tư Vấn Miễn Phí) ───────────────────────────── */
section.cta-section {
    padding-block: var(--space-24);
    background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 50%, var(--navy-850) 100%) !important;
    position: relative;
    overflow: hidden;
}

.cta-diagonal {
    position: absolute;
    pointer-events: none;
}

.cta-diagonal--left {
    left: -10%;
    top: -20%;
    width: 45%;
    height: 140%;
    background: linear-gradient(135deg, rgba(0, 176, 240, 0.05) 0%, transparent 60%);
    transform: rotate(-12deg);
}

.cta-diagonal--right {
    right: -10%;
    bottom: -20%;
    width: 50%;
    height: 140%;
    background: linear-gradient(315deg, rgba(0, 176, 240, 0.06) 0%, transparent 55%);
    transform: rotate(-12deg);
}

.cta-container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4.5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.cta-content {
    display: flex;
    flex-direction: column;
}

.cta-eyebrow {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--cyan-400);
    background: rgba(0, 176, 240, 0.12);
    border: 1px solid rgba(0, 176, 240, 0.3);
    padding: 0.4rem 1.15rem;
    border-radius: var(--radius-full);
    margin-bottom: 1.25rem;
    box-shadow: 0 0 16px rgba(0, 176, 240, 0.15);
}

.cta-eyebrow::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--cyan-400);
    box-shadow: 0 0 6px var(--cyan-400);
}

.cta-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 3.6vw, 3.1rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 1.15rem;
}

.cta-title span {
    color: var(--cyan-400);
}

.cta-subtitle {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 580px;
}

.cta-benefits {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 2.25rem;
}

.cta-benefits li {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.cta-benefits li svg {
    color: var(--cyan-400);
    flex-shrink: 0;
    filter: drop-shadow(0 0 6px rgba(0, 176, 240, 0.5));
}

.cta-contact-quick {
    margin-top: 0.5rem;
}

.cta-phone-btn {
    display: inline-flex;
    align-items: center;
    gap: 1.25rem;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 0.85rem 1.75rem 0.85rem 1rem;
    transition: all var(--duration) var(--ease);
    text-decoration: none;
    backdrop-filter: blur(8px);
}

.cta-phone-btn:hover {
    background: rgba(0, 176, 240, 0.15);
    border-color: rgba(0, 176, 240, 0.45);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35), 0 0 20px rgba(0, 176, 240, 0.2);
}

.cta-phone-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cyan-500) 0%, var(--cyan-600) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    box-shadow: 0 4px 14px rgba(0, 176, 240, 0.35);
}

.pulse-ring {
    position: relative;
}

@keyframes ctaPulseRing {
    0% { box-shadow: 0 0 0 0 rgba(0, 176, 240, 0.6); }
    70% { box-shadow: 0 0 0 14px rgba(0, 176, 240, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 176, 240, 0); }
}

.pulse-ring {
    animation: ctaPulseRing 2.2s cubic-bezier(0.45, 0, 0.2, 1) infinite;
}

.cta-phone-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
}

.cta-phone-number {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    color: #FFFFFF;
    font-weight: 700;
    letter-spacing: 0.03em;
    line-height: 1.2;
}

/* CTA Right Form Card */
.cta-form-card {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 2.75rem 2.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.cta-form-header {
    margin-bottom: 1.75rem;
    text-align: left;
}

.cta-form-title {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    font-weight: 700;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 0.35rem;
}

.cta-form-desc {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
}

.cta-form {
    display: flex;
    flex-direction: column;
}

.cta-form .form-group {
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
    text-align: left;
}

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

.cta-form .form-label {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.45rem;
    display: block;
}

.cta-form .form-label .req {
    color: #FF5C5C;
    margin-left: 2px;
}

.cta-form .form-control {
    width: 100%;
    background: rgba(255, 255, 255, 0.07);
    border: 1.5px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    padding: 0.85rem 1.15rem;
    color: #FFFFFF;
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: all var(--duration) var(--ease);
}

.cta-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.cta-form .form-control:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--cyan-400);
    box-shadow: 0 0 0 3px rgba(0, 176, 240, 0.25);
}

.cta-form textarea.form-control {
    resize: vertical;
    min-height: 90px;
}

#cta-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--cyan-500) 0%, var(--cyan-600) 100%);
    color: #FFFFFF;
    border: none;
    border-radius: 10px;
    padding: 1.05rem 1.75rem;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 176, 240, 0.35);
    transition: all var(--duration) cubic-bezier(0.16, 1, 0.3, 1);
    margin-top: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#cta-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 176, 240, 0.5);
    background: linear-gradient(135deg, var(--cyan-400) 0%, var(--cyan-500) 100%);
}

#cta-submit-btn:active {
    transform: translateY(0);
}

.cta-form .form-status {
    margin-top: 1rem;
    font-size: 0.9rem;
    text-align: center;
    border-radius: 8px;
    line-height: 1.5;
}

.cta-form .form-status:not(:empty) {
    padding: 0.75rem 1rem;
}

.cta-form .form-status.success {
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #6EE7B7;
}

.cta-form .form-status.error {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #FCA5A5;
}

/* ── About Intro Section ─────────────────────────────────────────────────── */
.about-intro-section {
    padding-top: 5rem;
    padding-bottom: 4rem;
}

.about-intro-heading {
    font-family: var(--font-heading);
    font-size: clamp(1.85rem, 3.2vw, 2.15rem);
    font-weight: 600;
    color: var(--gray-900);
    letter-spacing: .02em;
    margin-bottom: 1.5rem;
}

.about-p {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--gray-700);
    line-height: 1.85;
    margin-bottom: 1.25rem;
}

.about-video-container {
    margin-top: 3.5rem;
}

.about-video-card {
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-2xl);
}

/* ── Contact Section & Two Column Grid ────────────────────────────────────── */
.contact-section {
    padding-block: 4.5rem 6rem;
}

.contact-two-col-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4.5rem;
    align-items: start;
    margin-bottom: 4.5rem;
}

.contact-block {
    margin-bottom: 2.5rem;
}

.contact-block-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    letter-spacing: .03em;
    margin-bottom: 1.25rem;
}

.contact-block-content p {
    font-family: var(--font-body);
    font-size: 0.98rem;
    color: var(--gray-700);
    line-height: 1.75;
    margin-bottom: 0.6rem;
}

.contact-block-content strong {
    color: var(--gray-900);
}

.contact-block-content a {
    color: var(--gray-700);
    transition: color var(--duration) var(--ease);
}

.contact-block-content a:hover {
    color: var(--cyan-500);
}

.facilities-list p {
    margin-bottom: 0.85rem;
}

/* Clean Contact Form */
.dqc-clean-contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding-top: 0.4rem;
}

.form-field-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Floating Label System */
.floating-wrap {
    position: relative;
}

.floating-wrap .form-clean-input,
.floating-wrap .form-clean-textarea {
    position: relative;
    z-index: 1;
}

.form-clean-label {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%) scale(1);
    transform-origin: left center;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: #9CA3AF;
    pointer-events: none;
    z-index: 2;
    transition: top 0.22s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.22s cubic-bezier(0.4, 0, 0.2, 1),
                color 0.22s cubic-bezier(0.4, 0, 0.2, 1),
                background-color 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: transparent;
    padding: 0 0.4rem;
    border-radius: 4px;
    line-height: 1;
    white-space: nowrap;
}

.floating-wrap textarea ~ .form-clean-label {
    top: 1.15rem;
    transform: translateY(0) scale(1);
}

/* Floating when filled, autofilled, or has value (inactive) */
.floating-wrap .form-clean-input:not(:placeholder-shown) ~ .form-clean-label,
.floating-wrap .form-clean-input:-webkit-autofill ~ .form-clean-label,
.floating-wrap .form-clean-input.has-value ~ .form-clean-label,
.floating-wrap .form-clean-textarea:not(:placeholder-shown) ~ .form-clean-label,
.floating-wrap .form-clean-textarea.has-value ~ .form-clean-label {
    top: 0;
    transform: translateY(-50%) scale(0.85);
    background-color: #FFFFFF;
    color: #4B5563;
    font-weight: 500;
    z-index: 5;
}

/* Floating on Focus (active interaction) */
.floating-wrap .form-clean-input:focus ~ .form-clean-label,
.floating-wrap .form-clean-textarea:focus ~ .form-clean-label {
    top: 0;
    transform: translateY(-50%) scale(0.85);
    background-color: #FFFFFF;
    color: var(--cyan-600);
    font-weight: 600;
    z-index: 5;
}

/* Error state for floating label */
.floating-wrap .form-clean-input.is-invalid ~ .form-clean-label,
.floating-wrap .form-clean-textarea.is-invalid ~ .form-clean-label {
    color: #DC2626 !important;
}

.req-star {
    color: var(--red-500);
    font-weight: 700;
    margin-left: 2px;
}

.form-clean-input,
.form-clean-textarea {
    width: 100%;
    background: #FFFFFF;
    border: 1.5px solid #D1D5DB;
    border-radius: 8px;
    padding: 0.85rem 1.25rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--gray-900);
    outline: none;
    transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.form-clean-input:focus,
.form-clean-textarea:focus {
    border-color: var(--cyan-500);
    box-shadow: 0 0 0 3px rgba(0, 176, 240, 0.15);
}

/* Invalid State */
.form-clean-input.is-invalid,
.form-clean-textarea.is-invalid,
.form-control.is-invalid {
    border-color: #EF4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.18) !important;
}

/* Field Level Error Message */
.field-error-msg,
.field-error {
    display: none;
    font-size: 0.8125rem;
    color: #DC2626;
    margin-top: 0.35rem;
    line-height: 1.35;
    font-weight: 500;
    text-align: left;
}

.field-error-msg.visible,
.field-error.visible {
    display: block;
    animation: dqcFieldFadeIn 0.22s ease;
}

.cta-form .field-error-msg,
.cta-form .field-error {
    color: #FCA5A5;
}

@keyframes dqcFieldFadeIn {
    from {
        opacity: 0;
        transform: translateY(-3px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Spinner */
.dqc-spinner {
    display: inline-block;
    width: 0.95rem;
    height: 0.95rem;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: dqcSpin 0.75s linear infinite;
    margin-right: 6px;
    vertical-align: text-bottom;
}

@keyframes dqcSpin {
    to {
        transform: rotate(360deg);
    }
}

.form-clean-textarea {
    resize: vertical;
}

.btn-clean-red {
    background: var(--red-500);
    color: var(--white);
    border: none;
    border-radius: 6px;
    padding: 0.75rem 2rem;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .05em;
    cursor: pointer;
    transition: all var(--duration) var(--ease);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-clean-red:hover {
    background: var(--red-600);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(229, 26, 36, 0.35);
}

.btn-clean-red:disabled {
    opacity: 0.75;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.form-response-msg {
    padding: 0.85rem 1.25rem;
    border-radius: 8px;
    font-size: 0.925rem;
    margin-top: 0.75rem;
    line-height: 1.5;
    font-weight: 500;
}

.form-response-msg.success {
    background: #ECFDF5;
    color: #065F46;
    border: 1px solid #A7F3D0;
}

.form-response-msg.error {
    background: #FEF2F2;
    color: #991B1B;
    border: 1px solid #FECACA;
}

/* Map Container */
.contact-map-wrap {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
}

.contact-map-wrap iframe {
    display: block;
}

@media (max-width: 1024px) {
    .capability-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-6);
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-6);
    }

    .fin-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-6);
    }

    .legal-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-6);
    }

    .cta-container {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }

    .cta-content {
        text-align: center;
        align-items: center;
    }

    .cta-eyebrow {
        align-self: center;
    }

    .cta-subtitle {
        margin-inline: auto;
    }

    .cta-benefits {
        align-items: flex-start;
        display: inline-flex;
        margin-inline: auto;
    }

    .cta-contact-quick {
        display: flex;
        justify-content: center;
    }
}

@media (max-width: 900px) {
    .contact-two-col-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 640px) {
    .capability-grid,
    .process-grid,
    .fin-grid,
    .legal-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .capability-card,
    .process-step,
    .fin-card,
    .legal-stat-card {
        padding: 2rem 1.5rem;
    }

    .cta-form-card {
        padding: 2rem 1.25rem;
    }

    .cta-form .form-row {
        grid-template-columns: 1fr;
    }

    .cta-phone-btn {
        width: 100%;
        justify-content: center;
    }
}

/* =============================================================================
   FLOATING ACTION BUTTONS: SCROLL TO TOP & HOTLINE CALL CLUSTER
============================================================================= */
.floating-actions {
    position: fixed;
    right: 28px;
    bottom: 28px;
    z-index: 998;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
    pointer-events: none;
}

.floating-btn {
    pointer-events: auto;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    outline: none;
    user-select: none;
}

/* ── 1. Back to Top Button ────────────────────────────────────────────────── */
.floating-back-to-top {
    width: 46px;
    height: 46px;
    background: rgba(7, 21, 38, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px) scale(0.9);
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
        visibility 0.3s ease,
        transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
        background-color 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.floating-back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.floating-back-to-top:hover {
    background: #00B0F0;
    border-color: #00B0F0;
    color: #FFFFFF;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 24px rgba(0, 176, 240, 0.4);
}

.floating-back-to-top:active {
    transform: translateY(0) scale(0.96);
}

.floating-back-to-top svg {
    transition: transform 0.25s ease;
}

.floating-back-to-top:hover svg {
    transform: translateY(-2px);
}

/* ── 2. Floating Hotline Call Button ──────────────────────────────────────── */
.floating-hotline {
    height: 54px;
    min-width: 54px;
    padding: 0;
    background: linear-gradient(135deg, #E51A24 0%, #C4121B 100%);
    color: #FFFFFF;
    overflow: visible;
}

.floating-hotline:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 30px rgba(229, 26, 36, 0.45);
}

.floating-hotline:active {
    transform: translateY(0) scale(0.96);
}

.hotline-icon-wrap {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 9999px;
    z-index: 2;
}

.hotline-phone-icon {
    width: 24px;
    height: 24px;
    color: #FFFFFF;
    animation: phoneWiggle 2.6s ease-in-out infinite;
}

/* Pulsing ripple wave rings */
.hotline-pulse-ring {
    position: absolute;
    inset: -3px;
    border-radius: 9999px;
    border: 2px solid #E51A24;
    opacity: 0;
    animation: hotlinePulse 2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
    pointer-events: none;
    z-index: 1;
}

.hotline-pulse-ring.delay {
    animation-delay: 0.9s;
}

/* Flyout phone number tooltip on hover */
.hotline-label-flyout {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    white-space: nowrap;
    transition: max-width 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.25s ease,
        padding 0.35s ease;
    padding-right: 0;
    line-height: 1.25;
}

.floating-hotline:hover .hotline-label-flyout {
    max-width: 220px;
    opacity: 1;
    padding-right: 18px;
    padding-left: 2px;
}

.hotline-text-sub {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
}

.hotline-text-num {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: #FFFFFF;
}

/* Keyframes */
@keyframes phoneWiggle {

    0%,
    65%,
    100% {
        transform: rotate(0deg) scale(1);
    }

    70% {
        transform: rotate(-16deg) scale(1.1);
    }

    75% {
        transform: rotate(14deg) scale(1.1);
    }

    80% {
        transform: rotate(-12deg) scale(1.1);
    }

    85% {
        transform: rotate(10deg) scale(1.1);
    }

    90% {
        transform: rotate(0deg) scale(1);
    }
}

@keyframes hotlinePulse {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }

    50% {
        opacity: 0.4;
    }

    100% {
        transform: scale(1.65);
        opacity: 0;
    }
}

/* ── Mobile Viewport ──────────────────────────────────────────────────────── */
@media (max-width: 640px) {
    .floating-actions {
        right: 16px;
        bottom: 20px;
        gap: 10px;
    }

    .floating-back-to-top {
        width: 42px;
        height: 42px;
    }

    .floating-hotline {
        height: 48px;
        min-width: 48px;
    }

    .hotline-icon-wrap {
        width: 48px;
        height: 48px;
    }

    .hotline-phone-icon {
        width: 21px;
        height: 21px;
    }

    /* On mobile, keep it as icon to preserve screen space */
    .hotline-label-flyout {
        display: none !important;
    }
}

/* ── Archive / Filter Empty State ─────────────────────────────────────────── */
.archive-empty-state {
    width: 100%;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3.5rem 1.5rem;
    background: rgba(248, 249, 250, 0.7);
    border: 1.5px dashed var(--gray-300);
    border-radius: var(--radius-md);
    text-align: center;
    margin-block: 1.5rem;
}

.archive-empty-state .empty-icon {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-full);
    background: rgba(0, 176, 240, 0.08);
    color: var(--cyan-600, #0099cc);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    flex-shrink: 0;
}

.archive-empty-state h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy-900);
    letter-spacing: .02em;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}

.archive-empty-state p {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: var(--gray-500);
    max-width: 480px;
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

.archive-empty-state .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.75rem;
    background: var(--navy-900);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: background var(--duration) var(--ease), transform var(--duration) var(--ease);
}

.archive-empty-state .btn:hover {
    background: var(--cyan-600, #0099cc);
    color: var(--white);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .archive-empty-state {
        min-height: 260px;
        padding: 2.5rem 1rem;
    }
}

/* ── Catalog Filter Buttons (AJAX sidebar) ─────────────────────────────────── */
.filter-item-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--gray-700);
    text-align: left;
    transition: color var(--duration) var(--ease), padding-left var(--duration) var(--ease);
    line-height: 1.4;
}

.filter-item-btn:hover,
.filter-item-btn.active {
    color: var(--cyan-500);
    font-weight: 600;
    padding-left: 4px;
}

/* ── Catalog AJAX Spinner & Loading State ──────────────────────────────────── */
.catalog-products-area {
    position: relative;
}

.catalog-ajax-spinner {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(2px);
    z-index: 10;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    border-radius: var(--radius-md);
}

.catalog-products-area.is-ajax-loading .catalog-ajax-spinner {
    opacity: 1;
    pointer-events: auto;
}

.catalog-products-area.is-ajax-loading .products-grid-3 {
    opacity: 0.4;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.catalog-ajax-spinner__icon {
    width: 40px;
    height: 40px;
    border: 3px solid var(--gray-200);
    border-top-color: var(--cyan-500, #06b6d4);
    border-radius: 50%;
    animation: catalog-spin 0.7s linear infinite;
}

@keyframes catalog-spin {
    to {
        transform: rotate(360deg);
    }
}