/**
 * Industries Block Styles — ALKEMIA dark luxury theme
 *
 * @package AloraAlkemia
 */

/* ── Section ─────────────────────────────────────────────── */
.industries-section {
    position: relative;
    background: oklch(0.10 0.038 262);   /* deep void-navy */
    padding: 112px 0;
    overflow: hidden;
}

/* ── Atmosphere ──────────────────────────────────────────── */
.industries-atmosphere {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.industries-orb-1 {
    position: absolute;
    top: -8rem;
    left: -6rem;
    width: 30rem;
    height: 30rem;
    border-radius: 9999px;
    background: radial-gradient(circle,
        color-mix(in oklab, var(--color-red) 14%, transparent),
        transparent 70%);
    opacity: 0.5;
}

.industries-orb-2 {
    position: absolute;
    bottom: -8rem;
    right: -6rem;
    width: 30rem;
    height: 30rem;
    border-radius: 9999px;
    background: radial-gradient(circle,
        color-mix(in oklab, #1055A0 40%, transparent),
        transparent 70%);
    opacity: 0.4;
}

.industries-hairline {
    position: absolute;
    inset-inline: 0;
    top: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
}

/* ── Container z-index ───────────────────────────────────── */
.industries-section .container {
    position: relative;
    z-index: 1;
}

/* ── Header ──────────────────────────────────────────────── */
.industries-header {
    max-width: 768px;
    margin-bottom: 4rem;
}

.industries-badge-wrap {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.5rem;
}

.industries-badge-bar {
    display: block;
    width: 2px;
    height: 16px;
    background: var(--color-red);
    flex-shrink: 0;
}

.industries-badge-text {
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.42em;
    color: var(--color-red);
    line-height: 1;
}

.industries-title {
    font-family: var(--font-display, 'Montserrat', sans-serif);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: #ffffff;
    margin: 0 0 1.5rem;
}

.industries-title .text-vermilion { color: var(--color-red); }

.industries-description {
    font-size: var(--text-lg);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
}

/* ── Grid ────────────────────────────────────────────────── */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.07); /* hairline between cells */
}

/* ── Cell ────────────────────────────────────────────────── */
.industry-cell {
    position: relative;
    background: color-mix(in oklab, white 4%, transparent);
    padding: 3rem;
    overflow: hidden;
    transition: background 0.35s ease;
}

.industry-cell:hover {
    background: color-mix(in oklab, white 7%, transparent);
}

/* Hover radial glow */
.industry-cell-hover-glow {
    position: absolute;
    inset: 0;
    opacity: 0;
    background: radial-gradient(400px 200px at 50% 0%,
        color-mix(in oklab, var(--color-red) 12%, transparent),
        transparent 70%);
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.industry-cell:hover .industry-cell-hover-glow {
    opacity: 1;
}

/* Label row */
.industry-cell-label {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.5rem;
}

.industry-cell-bar {
    display: block;
    width: 3px;
    height: 16px;
    background: var(--color-red);
    flex-shrink: 0;
}

.industry-cell-number {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--color-red);
    line-height: 1;
}

/* Title */
.industry-cell-title {
    font-family: var(--font-display, 'Montserrat', sans-serif);
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.2;
}

/* Description */
.industry-cell-desc {
    font-size: var(--text-base);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
}

/* Bottom line */
.industry-cell-line {
    margin-top: 2rem;
    height: 1px;
    width: 32px;
    background: var(--color-red);
}

/* Tag */
.industry-cell-tag {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--color-red);
    background: color-mix(in oklab, var(--color-red) 12%, transparent);
    border: 1px solid color-mix(in oklab, var(--color-red) 25%, transparent);
    border-radius: 4px;
    padding: 0.2em 0.6em;
    margin-bottom: 0.75rem;
}

/* Icon in label row */
.industry-cell-icon-svg,
.industry-cell-label svg {
    width: 18px;
    height: 18px;
    color: var(--color-red);
    flex-shrink: 0;
}

/* Column variants */
.industries-grid--2-cols { grid-template-columns: repeat(2, 1fr); }
.industries-grid--3-cols { grid-template-columns: repeat(3, 1fr); }
.industries-grid--4-cols { grid-template-columns: repeat(4, 1fr); }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1023px) {
    .industries-section { padding: 80px 0; }
    .industries-grid,
    .industries-grid--2-cols,
    .industries-grid--3-cols,
    .industries-grid--4-cols { grid-template-columns: 1fr; }
    .industry-cell { padding: 2.5rem; }
}

@media (max-width: 767px) {
    .industries-section { padding: 64px 0; }
    .industries-header { margin-bottom: 2.5rem; }
    .industry-cell { padding: 2rem; }
    .industries-grid { gap: 20px; }
}
