/* V2 — Hubs /industria/ y /audiovisual/: tokens compartidos y reel embebido.
 * Showcase helicóptero: ver v2-servicios.css (final del archivo). */

body.iagofer-industria-page,
body.iagofer-audiovisual-page {
    --v2-hub-accent: #ff6e00;
    --v2-hub-card-bg: #121418;
    --v2-hub-card-border: #2a2d34;
    --v2-hub-card-border-inner: #1e2128;
    --v2-hub-text-muted: #9aa3b2;
    --v2-hub-mono: ui-monospace, "Cascadia Code", "Source Code Pro", Menlo, Consolas, "Courier New", monospace;
}

.v2-servicios-process--showcase {
    padding-top: clamp(3rem, 5vw, 4.5rem);
    padding-bottom: clamp(3rem, 5vw, 4.75rem);
}

.v2-servicios-process--showcase .v2-servicios-process__inner > .v2-process-showcase:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

body.iagofer-industria-page .v2-process-showcase__title,
body.iagofer-audiovisual-page .v2-process-showcase__title {
    font-size: clamp(1.35rem, 2.4vw, 1.75rem);
    line-height: 1.22;
    letter-spacing: -0.015em;
}

/* —— Reel embebido (#catalogo) —— */
.v2-casos--hub-embed.v2-casos-hero {
    padding: clamp(3.5rem, 6vw, 5rem) 24px clamp(3rem, 5vw, 4rem);
    background:
        linear-gradient(180deg, #0d0d0d 0%, #0b0b0b 14%, #0b0b0b 100%),
        radial-gradient(circle at 78% 6%, rgba(255, 110, 0, 0.11), rgba(0, 0, 0, 0) 46%);
}

.v2-casos--hub-embed .v2-casos-hero__inner {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: clamp(2rem, 4vw, 2.75rem);
}

body.iagofer-industria-page .v2-casos--hub-embed h2,
body.iagofer-audiovisual-page .v2-casos--hub-embed h2 {
    font-size: clamp(1.5rem, 3vw, 2.4rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

/* Tarjetas reel en hub: mismos tokens que showcase */
body.iagofer-industria-page .v2-casos .reel-project-card,
body.iagofer-audiovisual-page .v2-casos .reel-project-card {
    --v2-casos-accent: var(--v2-hub-accent);
    --v2-casos-card-bg: var(--v2-hub-card-bg);
    --v2-casos-card-border: var(--v2-hub-card-border);
    --v2-casos-card-border-inner: var(--v2-hub-card-border-inner);
    --v2-casos-text-muted: var(--v2-hub-text-muted);
    --v2-casos-mono: var(--v2-hub-mono);
    transition:
        transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.38s ease,
        box-shadow 0.38s ease;
}

@media (hover: hover) and (pointer: fine) {
    body.iagofer-industria-page .v2-casos .reel-project-card:hover,
    body.iagofer-audiovisual-page .v2-casos .reel-project-card:hover,
    body.iagofer-industria-page .v2-casos .reel-project-card:focus-within,
    body.iagofer-audiovisual-page .v2-casos .reel-project-card:focus-within {
        transform: translateY(-4px);
        border-color: rgba(255, 110, 0, 0.28);
        box-shadow:
            0 1px 0 rgba(255, 255, 255, 0.05) inset,
            0 18px 48px rgba(0, 0, 0, 0.48);
    }
}

/* Grid pipeline 2×2 (tarjetas 03 y 04 bajo 01 y 02) */
@media (min-width: 769px) {
    .v2-pipeline-integration__grid .v2-pipeline-integration__block:nth-child(n + 3) {
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .v2-pipeline-integration__grid .v2-pipeline-integration__block:nth-child(2n + 1):not(:first-child) {
        border-left: none;
    }
}

@media (max-width: 768px) {
    .v2-casos--hub-embed.v2-casos-hero {
        padding: clamp(2.75rem, 8vw, 3.5rem) 20px clamp(2.5rem, 7vw, 3rem);
    }

    .v2-servicios-process--showcase {
        padding-top: 2.5rem;
        padding-bottom: 2.75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.iagofer-industria-page .v2-casos .reel-project-card,
    body.iagofer-audiovisual-page .v2-casos .reel-project-card {
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }

    body.iagofer-industria-page .v2-casos .reel-project-card:hover,
    body.iagofer-audiovisual-page .v2-casos .reel-project-card:hover {
        transform: none;
    }
}
