/* Hexagonal Mosaic Layout — 7c21cd6a */

:root {
    --hex-obsidian-7c21cd6a: #1a1a2e;
    --hex-obsidian-deep-7c21cd6a: #0f0f1a;
    --hex-gold-7c21cd6a: #c9a84c;
    --hex-gold-light-7c21cd6a: #e8d48b;
    --hex-gold-dark-7c21cd6a: #a07c2a;
    --hex-white-7c21cd6a: #f8f6f0;
    --hex-gray-7c21cd6a: #8a8a9a;
    --hex-bg-7c21cd6a: #0b0b14;
    --hex-size-7c21cd6a: 220px;
}

/* Section */
.hex-mosaic-section-7c21cd6a {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background: var(--hex-bg-7c21cd6a);
    padding: 100px 0 120px;
    overflow: hidden;
    position: relative;
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

.hex-mosaic-section-7c21cd6a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(201, 168, 76, 0.04) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 30%, rgba(201, 168, 76, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

/* Header */
.hex-mosaic-header-7c21cd6a {
    text-align: center;
    margin-bottom: 80px;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.hex-mosaic-eyebrow-7c21cd6a {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--hex-gold-7c21cd6a);
    margin-bottom: 20px;
    position: relative;
    padding: 0 20px;
}

.hex-mosaic-eyebrow-7c21cd6a::before,
.hex-mosaic-eyebrow-7c21cd6a::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--hex-gold-7c21cd6a));
}

.hex-mosaic-eyebrow-7c21cd6a::before {
    right: 100%;
    background: linear-gradient(90deg, transparent, var(--hex-gold-7c21cd6a));
}

.hex-mosaic-eyebrow-7c21cd6a::after {
    left: 100%;
    background: linear-gradient(90deg, var(--hex-gold-7c21cd6a), transparent);
}

.hex-mosaic-title-7c21cd6a {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 300;
    color: var(--hex-white-7c21cd6a);
    margin: 0 0 16px;
    line-height: 1.15;
    letter-spacing: -0.5px;
}

.hex-gold-text-7c21cd6a {
    background: linear-gradient(135deg, var(--hex-gold-light-7c21cd6a), var(--hex-gold-7c21cd6a), var(--hex-gold-dark-7c21cd6a));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 400;
}

.hex-mosaic-subtitle-7c21cd6a {
    font-size: 16px;
    color: var(--hex-gray-7c21cd6a);
    margin: 0;
    font-weight: 300;
    letter-spacing: 0.5px;
    max-width: 480px;
    margin-inline: auto;
    line-height: 1.6;
}

/* Hex Grid */
.hex-mosaic-grid-7c21cd6a {
    display: grid;
    grid-template-columns: repeat(4, var(--hex-size-7c21cd6a));
    gap: 12px 12px;
    justify-content: center;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

/* Offset every other row */
.hex-cell-4-7c21cd6a,
.hex-cell-5-7c21cd6a,
.hex-cell-6-7c21cd6a,
.hex-cell-7-7c21cd6a {
    transform: translateX(calc(var(--hex-size-7c21cd6a) / 2 + 6px));
}

.hex-cell-8-7c21cd6a,
.hex-cell-9-7c21cd6a,
.hex-cell-10-7c21cd6a,
.hex-cell-11-7c21cd6a {
    transform: translateX(0);
}

/* Hex Shape */
.hex-cell-7c21cd6a {
    width: var(--hex-size-7c21cd6a);
    height: calc(var(--hex-size-7c21cd6a) * 1.1547);
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.hex-cell-7c21cd6a.hex-visible-7c21cd6a {
    opacity: 1;
}

.hex-outer-7c21cd6a {
    width: 100%;
    height: 100%;
    position: relative;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hex-cell-7c21cd6a:hover .hex-outer-7c21cd6a {
    transform: scale(1.05);
}

/* Gold Border */
.hex-border-7c21cd6a {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, var(--hex-gold-light-7c21cd6a), var(--hex-gold-7c21cd6a), var(--hex-gold-dark-7c21cd6a), var(--hex-gold-7c21cd6a));
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    opacity: 0.6;
    transition: opacity 0.4s ease;
}

.hex-cell-7c21cd6a:hover .hex-border-7c21cd6a {
    opacity: 1;
}

/* Inner Hex */
.hex-inner-7c21cd6a {
    position: absolute;
    inset: 2px;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Content Hex */
.hex-type-content-7c21cd6a .hex-inner-7c21cd6a {
    background: linear-gradient(160deg, var(--hex-obsidian-7c21cd6a), var(--hex-obsidian-deep-7c21cd6a));
}

.hex-content-7c21cd6a {
    text-align: center;
    padding: 30px 20px;
}

.hex-icon-7c21cd6a {
    display: block;
    font-size: 22px;
    color: var(--hex-gold-7c21cd6a);
    margin-bottom: 10px;
    transition: transform 0.4s ease;
}

.hex-cell-7c21cd6a:hover .hex-icon-7c21cd6a {
    transform: scale(1.2) rotate(10deg);
}

.hex-cell-title-7c21cd6a {
    font-size: 15px;
    font-weight: 500;
    color: var(--hex-white-7c21cd6a);
    margin: 0 0 8px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.hex-cell-desc-7c21cd6a {
    font-size: 11px;
    color: var(--hex-gray-7c21cd6a);
    margin: 0;
    line-height: 1.55;
    font-weight: 300;
}

/* Image Hex */
.hex-type-image-7c21cd6a .hex-inner-7c21cd6a {
    background: linear-gradient(160deg, #16162a, #0d0d1a);
}

.hex-image-placeholder-7c21cd6a {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.hex-image-icon-7c21cd6a {
    font-size: 32px;
    color: var(--hex-gold-7c21cd6a);
    opacity: 0.3;
    transition: opacity 0.4s ease;
}

.hex-cell-7c21cd6a:hover .hex-image-icon-7c21cd6a {
    opacity: 0.6;
}

.hex-image-label-7c21cd6a {
    font-size: 9px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--hex-gold-7c21cd6a);
    opacity: 0.4;
}

/* Ambient glow on hover */
.hex-cell-7c21cd6a::after {
    content: '';
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.08) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: -1;
}

.hex-cell-7c21cd6a:hover::after {
    opacity: 1;
}

/* ========== RESPONSIVE ========== */

/* Tablet */
@media (max-width: 1024px) {
    :root {
        --hex-size-7c21cd6a: 180px;
    }

    .hex-mosaic-grid-7c21cd6a {
        grid-template-columns: repeat(3, var(--hex-size-7c21cd6a));
    }

    .hex-cell-3-7c21cd6a,
    .hex-cell-4-7c21cd6a,
    .hex-cell-5-7c21cd6a {
        transform: translateX(calc(var(--hex-size-7c21cd6a) / 2 + 6px));
    }

    .hex-cell-6-7c21cd6a,
    .hex-cell-7-7c21cd6a,
    .hex-cell-8-7c21cd6a {
        transform: translateX(0);
    }

    .hex-cell-9-7c21cd6a,
    .hex-cell-10-7c21cd6a,
    .hex-cell-11-7c21cd6a {
        transform: translateX(calc(var(--hex-size-7c21cd6a) / 2 + 6px));
    }

    .hex-mosaic-section-7c21cd6a {
        padding: 70px 0 90px;
    }

    .hex-mosaic-header-7c21cd6a {
        margin-bottom: 60px;
    }
}

/* Mobile Large */
@media (max-width: 768px) {
    :root {
        --hex-size-7c21cd6a: 160px;
    }

    .hex-mosaic-grid-7c21cd6a {
        grid-template-columns: repeat(2, var(--hex-size-7c21cd6a));
        gap: 8px;
    }

    .hex-cell-7c21cd6a {
        transform: none !important;
    }

    .hex-cell-2-7c21cd6a,
    .hex-cell-3-7c21cd6a,
    .hex-cell-6-7c21cd6a,
    .hex-cell-7-7c21cd6a,
    .hex-cell-10-7c21cd6a,
    .hex-cell-11-7c21cd6a {
        transform: translateX(calc(var(--hex-size-7c21cd6a) / 2 + 4px)) !important;
    }

    .hex-mosaic-section-7c21cd6a {
        padding: 50px 0 70px;
    }

    .hex-mosaic-header-7c21cd6a {
        margin-bottom: 40px;
    }

    .hex-content-7c21cd6a {
        padding: 24px 16px;
    }

    .hex-cell-title-7c21cd6a {
        font-size: 13px;
    }

    .hex-cell-desc-7c21cd6a {
        font-size: 10px;
    }
}

/* Mobile Small */
@media (max-width: 480px) {
    :root {
        --hex-size-7c21cd6a: 140px;
    }

    .hex-mosaic-grid-7c21cd6a {
        grid-template-columns: repeat(2, var(--hex-size-7c21cd6a));
        gap: 6px;
    }

    .hex-mosaic-title-7c21cd6a {
        font-size: 28px;
    }

    .hex-mosaic-subtitle-7c21cd6a {
        font-size: 14px;
    }

    .hex-content-7c21cd6a {
        padding: 20px 12px;
    }

    .hex-cell-title-7c21cd6a {
        font-size: 11px;
        letter-spacing: 1px;
    }

    .hex-cell-desc-7c21cd6a {
        font-size: 9px;
    }

    .hex-icon-7c21cd6a {
        font-size: 18px;
    }
}
