/**
 * FICHA TÉCNICA - Diseño Documento Profesional
 * ProSilicones64 - Estilo Dow / 3M / Wacker
 * Documento técnico limpio y estructurado
 */

/* ═══════════════════════════════════════════════════════════════════
   DESIGN TOKENS
   ═══════════════════════════════════════════════════════════════════ */
:root {
    --ft-navy: #002244;
    --ft-navy-light: #003366;
    --ft-accent: #3BAAFE;
    --ft-text: #1a2a3a;
    --ft-text-light: #4a5a6a;
    --ft-text-muted: #6a7a8a;
    --ft-bg: #ffffff;
    --ft-bg-alt: #f8fafc;
    --ft-border: #e2e8f0;
    --ft-border-dark: #cbd5e1;
    --ft-font-display: 'Space Grotesk', -apple-system, system-ui, sans-serif;
    --ft-font-body: 'Inter', -apple-system, system-ui, sans-serif;
    --ft-shadow: 0 4px 20px rgba(0, 34, 68, 0.08);
    --ft-radius: 8px;
}

/* ═══════════════════════════════════════════════════════════════════
   PAGE LAYOUT - Fondo Navy con Sidebar + Folio
   ═══════════════════════════════════════════════════════════════════ */
.serie-page-wrapper {
    background: linear-gradient(180deg, #001a33 0%, var(--ft-navy) 50%, #001a33 100%);
    min-height: 100vh;
    padding: calc(58px + 2rem) 1.5rem 4rem;
}

.serie-layout {
    display: flex;
    gap: 1.5rem;
    max-width: 1280px;
    margin: 0 auto;
    align-items: flex-start;
}

/* ═══════════════════════════════════════════════════════════════════
   SIDEBAR - Navegación por Categorías (2 Paneles)
   ═══════════════════════════════════════════════════════════════════ */
.serie-sidebar {
    width: 280px;
    flex-shrink: 0;
    position: sticky;
    top: calc(58px + 1.5rem);
    max-height: calc(100vh - 58px - 3rem);
    overflow: hidden;
}

.serie-sidebar__panel {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--ft-radius);
    padding: 1rem;
    backdrop-filter: blur(10px);
    max-height: calc(100vh - 58px - 5rem);
    overflow-y: auto;
}

.serie-sidebar__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.serie-sidebar__title {
    font-family: var(--ft-font-body);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.serie-sidebar__close {
    display: none;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    padding: 0.25rem;
}

.serie-sidebar__back {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    background: none;
    border: none;
    color: var(--ft-accent);
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    padding: 0;
}

.serie-sidebar__back:hover {
    color: #fff;
}

.serie-sidebar__group {
    margin-bottom: 1rem;
}

.serie-sidebar__group:last-child {
    margin-bottom: 0;
}

.serie-sidebar__group-title {
    font-family: var(--ft-font-body);
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--ft-accent);
    margin: 0 0 0.5rem;
    padding: 0 0.25rem;
}

.serie-sidebar__list {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.serie-sidebar__list--hidden {
    display: none;
}

/* Botón de categoría */
.serie-sidebar__cat-btn {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0.625rem 0.75rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    font-family: var(--ft-font-body);
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.85);
    text-align: left;
    cursor: pointer;
    transition: all 0.15s ease;
}

.serie-sidebar__cat-btn:hover {
    background: rgba(59, 170, 254, 0.12);
    border-color: rgba(59, 170, 254, 0.3);
    color: #ffffff;
}

.serie-sidebar__cat-name {
    flex: 1;
    font-weight: 500;
}

.serie-sidebar__cat-count {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--ft-accent);
    background: rgba(59, 170, 254, 0.15);
    padding: 0.125rem 0.5rem;
    border-radius: 10px;
    margin-right: 0.5rem;
}

.serie-sidebar__cat-arrow {
    color: rgba(255, 255, 255, 0.3);
    transition: transform 0.15s ease;
}

.serie-sidebar__cat-btn:hover .serie-sidebar__cat-arrow {
    color: var(--ft-accent);
    transform: translateX(2px);
}

/* Toggle auxiliares */
.serie-sidebar__group-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    width: 100%;
    padding: 0.5rem;
    background: transparent;
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.15s ease;
}

.serie-sidebar__group-toggle:hover {
    border-color: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.8);
}

.serie-sidebar__group-toggle.is-open svg {
    transform: rotate(180deg);
}

/* Panel subcategorías */
.serie-sidebar__subcategories {
    animation: slideIn 0.2s ease;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(10px); }
    to { opacity: 1; transform: translateX(0); }
}

.serie-sidebar__subcat {
    margin-bottom: 1rem;
}

.serie-sidebar__subcat:last-child {
    margin-bottom: 0;
}

.serie-sidebar__subcat-title {
    font-size: 0.6875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 0.5rem;
    padding-left: 0.25rem;
}

.serie-sidebar__series-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
}

.serie-sidebar__serie-card {
    display: flex;
    flex-direction: column;
    padding: 0.5rem 0.625rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.15s ease;
    min-width: 80px;
}

.serie-sidebar__serie-card:hover {
    background: rgba(59, 170, 254, 0.15);
    border-color: var(--ft-accent);
}

.serie-sidebar__serie-card.is-active {
    background: var(--ft-accent);
    border-color: var(--ft-accent);
}

.serie-sidebar__serie-name {
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
}

.serie-sidebar__serie-dureza {
    font-size: 0.625rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.125rem;
}

.serie-sidebar__serie-card.is-active .serie-sidebar__serie-dureza {
    color: rgba(255, 255, 255, 0.8);
}

.serie-sidebar__loading,
.serie-sidebar__empty,
.serie-sidebar__error {
    padding: 1rem;
    text-align: center;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
}

.serie-sidebar__error {
    color: #ff6b6b;
}

/* Overlay y móvil */
.serie-sidebar__overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.serie-sidebar__overlay.is-visible {
    opacity: 1;
}

.serie-mobile-menu-btn {
    display: none;
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 56px;
    height: 56px;
    background: var(--ft-accent);
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(59, 170, 254, 0.4);
    z-index: 997;
    align-items: center;
    justify-content: center;
}

/* Responsive */
@media (max-width: 1024px) {
    .serie-sidebar {
        width: 240px;
    }
}

@media (max-width: 768px) {
    .serie-layout {
        flex-direction: column;
    }

    .serie-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: 300px;
        height: 100vh;
        max-height: 100vh;
        z-index: 999;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        border-radius: 0;
    }

    .serie-sidebar.is-open {
        transform: translateX(0);
    }

    .serie-sidebar__panel {
        height: 100%;
        max-height: 100%;
        border-radius: 0;
        border: none;
    }

    .serie-sidebar__close {
        display: block;
    }

    .serie-sidebar__overlay {
        display: block;
    }

    .serie-mobile-menu-btn {
        display: flex;
    }
}

/* ═══════════════════════════════════════════════════════════════════
   FOLIO - Documento Principal
   ═══════════════════════════════════════════════════════════════════ */
.serie-page {
    flex: 1;
    max-width: 1000px;
    background: var(--ft-bg);
    border-radius: var(--ft-radius);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    outline: 1px solid var(--ft-navy);
}

.materia-page {
    background: var(--ft-bg);
    min-height: 100vh;
}

/* ═══════════════════════════════════════════════════════════════════
   FICHA TÉCNICA - Estilos del Folio
   ═══════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════
   HEADER DE FICHA - Compacto y Profesional
   ═══════════════════════════════════════════════════════════════════ */
.serie-hero {
    background: var(--ft-navy);
    padding: 2rem 2.5rem;
    position: relative;
}

.serie-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--ft-accent), #00d4aa);
}

.serie-hero__container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
}

.serie-hero__content {
    flex: 1;
}

.serie-hero__catalisis {
    display: inline-block;
    font-family: var(--ft-font-body);
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--ft-accent);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
}

.serie-hero__title {
    font-family: var(--ft-font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin: 0;
}

.serie-hero__subtitle {
    font-family: var(--ft-font-body);
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0.5rem 0 0;
    line-height: 1.5;
}

.serie-hero__description {
    display: none;
}

/* KPIs en Header - Compactos */
.serie-hero__stats {
    display: flex;
    gap: 1.5rem;
    flex-shrink: 0;
}

.serie-hero__stat {
    text-align: right;
}

.serie-hero__stat-value {
    display: block;
    font-family: var(--ft-font-display);
    font-size: 1.125rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

.serie-hero__stat-label {
    font-family: var(--ft-font-body);
    font-size: 0.625rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.serie-hero__icon {
    display: none;
}

/* ═══════════════════════════════════════════════════════════════════
   CUERPO DE LA FICHA
   ═══════════════════════════════════════════════════════════════════ */
.serie-intro {
    padding: 2rem 2.5rem;
    border-bottom: 1px solid var(--ft-border);
}

.serie-intro__container {
    display: block;
}

.serie-intro__description {
    font-family: var(--ft-font-body);
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--ft-text);
    margin: 0 0 1.5rem;
}

/* ═══════════════════════════════════════════════════════════════════
   ESPECIFICACIONES TÉCNICAS - Lista Limpia
   ═══════════════════════════════════════════════════════════════════ */
.tech-specs {
    background: var(--ft-bg-alt);
    border: 1px solid var(--ft-border);
    border-radius: var(--ft-radius);
    padding: 1.5rem;
}

.tech-specs__header {
    margin-bottom: 1rem;
}

.tech-specs__line {
    display: none;
}

.tech-specs__label {
    font-family: var(--ft-font-display);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--ft-navy);
}

.tech-specs__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.tech-spec {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0.875rem;
    background: var(--ft-bg);
    border-radius: 6px;
    border: 1px solid var(--ft-border);
}

.tech-spec__icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 170, 254, 0.1);
    border-radius: 6px;
    flex-shrink: 0;
}

.tech-spec__icon svg {
    width: 14px;
    height: 14px;
    color: var(--ft-accent);
}

.tech-spec__content {
    flex: 1;
}

.tech-spec__text {
    font-family: var(--ft-font-body);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--ft-text);
    line-height: 1.3;
}

.tech-spec__bar,
.tech-spec__status,
.tech-specs__scanline {
    display: none;
}

/* ═══════════════════════════════════════════════════════════════════
   SECCIONES - Títulos Numerados
   ═══════════════════════════════════════════════════════════════════ */
.serie-section-title {
    font-family: var(--ft-font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--ft-navy);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--ft-accent);
    display: inline-block;
}

.serie-section-title svg {
    display: none;
}

/* ═══════════════════════════════════════════════════════════════════
   TABLA TÉCNICA - Profesional
   ═══════════════════════════════════════════════════════════════════ */
.serie-table-section {
    padding: 2rem 2.5rem;
    border-bottom: 1px solid var(--ft-border);
}

.serie-table-section__container {
    max-width: 100%;
}

.serie-table-wrapper {
    overflow-x: auto;
    border: 1px solid var(--ft-border);
    border-radius: var(--ft-radius);
}

.serie-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.serie-table thead {
    background: var(--ft-navy);
}

.serie-table th {
    padding: 0.875rem 1rem;
    font-family: var(--ft-font-body);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #ffffff;
    text-align: center;
    white-space: nowrap;
}

.serie-table th:first-child {
    text-align: left;
}

.serie-table tbody tr {
    border-bottom: 1px solid var(--ft-border);
}

.serie-table tbody tr:last-child {
    border-bottom: none;
}

.serie-table tbody tr:nth-child(even) {
    background: var(--ft-bg-alt);
}

.serie-table td {
    padding: 0.875rem 1rem;
    font-family: var(--ft-font-body);
    font-size: 0.875rem;
    color: var(--ft-text);
    text-align: center;
}

.serie-table td:first-child {
    font-weight: 600;
    color: var(--ft-navy);
    text-align: left;
}

.serie-table-notes {
    padding: 1rem 0 0;
}

.serie-table-notes ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.serie-table-notes li {
    font-family: var(--ft-font-body);
    font-size: 0.75rem;
    color: var(--ft-text-muted);
    font-style: italic;
    display: inline;
}

.serie-table-notes li::after {
    content: ' · ';
}

.serie-table-notes li:last-child::after {
    content: '';
}

/* ═══════════════════════════════════════════════════════════════════
   NORMAS Y TOLERANCIAS - 2 Columnas
   ═══════════════════════════════════════════════════════════════════ */
.serie-standards {
    padding: 2rem 2.5rem;
    border-bottom: 1px solid var(--ft-border);
    background: var(--ft-bg-alt);
}

.serie-standards__container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.serie-standards__block {
    background: var(--ft-bg);
    padding: 1.25rem;
    border-radius: var(--ft-radius);
    border: 1px solid var(--ft-border);
}

.serie-standards__title {
    font-family: var(--ft-font-display);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--ft-navy);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--ft-accent);
}

.serie-standards__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.serie-standards__list li {
    padding: 0.5rem 0;
    font-family: var(--ft-font-body);
    font-size: 0.8125rem;
    color: var(--ft-text);
    border-bottom: 1px solid var(--ft-border);
}

.serie-standards__list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.serie-standards__list li strong {
    color: var(--ft-navy);
    font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════════════
   APLICACIONES - Lista Compacta
   ═══════════════════════════════════════════════════════════════════ */
.serie-applications {
    padding: 2rem 2.5rem;
    border-bottom: 1px solid var(--ft-border);
}

.serie-applications__container {
    max-width: 100%;
}

.serie-applications__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.serie-application-card {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: var(--ft-bg-alt);
    border: 1px solid var(--ft-border);
    border-radius: 100px;
}

.serie-application-card__title {
    display: none;
}

.serie-application-card__desc {
    font-family: var(--ft-font-body);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--ft-text);
    margin: 0;
}

/* ═══════════════════════════════════════════════════════════════════
   PRODUCTOS FABRICABLES - Grid Compacto
   ═══════════════════════════════════════════════════════════════════ */
.serie-products {
    padding: 2rem 2.5rem;
    border-bottom: 1px solid var(--ft-border);
    background: var(--ft-bg);
}

.serie-products__container {
    max-width: 100%;
}

.serie-products__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
}

.serie-products .card-producto {
    display: flex;
    flex-direction: column;
    background: var(--ft-bg);
    border: 1px solid var(--ft-border);
    border-radius: var(--ft-radius);
    overflow: hidden;
    text-decoration: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.serie-products .card-producto:hover {
    border-color: var(--ft-accent);
    box-shadow: 0 4px 12px rgba(59, 170, 254, 0.15);
}

.serie-products .card-producto .imagen {
    position: relative;
    width: 100%;
    padding-top: 60%;
    overflow: hidden;
    background: var(--ft-bg-alt);
}

.serie-products .card-producto .imagen img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.serie-products .card-producto h3 {
    padding: 0.875rem 1rem;
    font-family: var(--ft-font-body);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--ft-text);
    margin: 0;
    text-align: center;
}

/* ═══════════════════════════════════════════════════════════════════
   CERTIFICACIONES - Badges en Línea
   ═══════════════════════════════════════════════════════════════════ */
.serie-certifications {
    padding: 2rem 2.5rem;
    border-bottom: 1px solid var(--ft-border);
}

.serie-certifications__container {
    max-width: 100%;
}

.serie-certifications__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.serie-cert-item {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: var(--ft-navy);
    border-radius: 6px;
    font-family: var(--ft-font-body);
    font-size: 0.75rem;
    font-weight: 600;
    color: #ffffff;
}

/* ═══════════════════════════════════════════════════════════════════
   ADVERTENCIAS
   ═══════════════════════════════════════════════════════════════════ */
.serie-warnings {
    padding: 1.5rem 2.5rem;
    background: #fffbeb;
    border-bottom: 1px solid #fcd34d;
}

.serie-warnings__container {
    max-width: 100%;
}

.serie-warnings__box {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.serie-warnings__box svg {
    flex-shrink: 0;
    color: #b45309;
}

.serie-warnings__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.serie-warnings__list li {
    font-family: var(--ft-font-body);
    font-size: 0.8125rem;
    color: #92400e;
    line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════════════════
   CTA - Footer de Ficha
   ═══════════════════════════════════════════════════════════════════ */
.serie-cta {
    background: var(--ft-navy);
    padding: 2rem 2.5rem;
}

.serie-cta__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.serie-cta__content {
    flex: 1;
}

.serie-cta__title {
    font-family: var(--ft-font-display);
    font-size: 1.125rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.25rem;
}

.serie-cta__text {
    display: none; /* Oculto - el título ya comunica la acción */
}

.serie-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--ft-accent);
    border-radius: 6px;
    font-family: var(--ft-font-body);
    font-size: 0.875rem;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    transition: background 0.2s ease;
    white-space: nowrap;
}

.serie-cta__btn:hover {
    background: #2d9aee;
}

.serie-cta__btn svg {
    width: 16px;
    height: 16px;
}

/* ═══════════════════════════════════════════════════════════════════
   SERIES RELACIONADAS - Footer
   ═══════════════════════════════════════════════════════════════════ */
.serie-related {
    background: var(--ft-bg-alt);
    padding: 2rem 2.5rem;
    border-radius: 0 0 var(--ft-radius) var(--ft-radius);
}

.serie-related__container {
    max-width: 100%;
}

.serie-related__title {
    font-family: var(--ft-font-display);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--ft-navy);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 1rem;
}

.serie-related__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.serie-related__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    background: var(--ft-bg);
    border: 1px solid var(--ft-border);
    border-radius: var(--ft-radius);
    text-decoration: none;
    text-align: center;
    transition: border-color 0.2s ease;
}

.serie-related__card:hover {
    border-color: var(--ft-accent);
}

.serie-related__name {
    font-family: var(--ft-font-body);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ft-navy);
    margin-bottom: 0.25rem;
}

.serie-related__dureza {
    font-family: var(--ft-font-body);
    font-size: 0.75rem;
    color: var(--ft-text-muted);
}

/* ═══════════════════════════════════════════════════════════════════
   INDEX PAGE (CATÁLOGO) - Sin cambios
   ═══════════════════════════════════════════════════════════════════ */
.materia-hero {
    position: relative;
    min-height: 320px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0a0e27, #002244);
    overflow: hidden;
}

.materia-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.materia-hero__content {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    z-index: 1;
    padding: 6rem 2rem 3rem;
}

.materia-hero__eyebrow {
    display: inline-block;
    font-family: var(--ft-font-body);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--ft-accent);
    margin-bottom: 0.75rem;
}

.materia-hero__title {
    font-family: var(--ft-font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.75rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.materia-hero__description {
    font-family: var(--ft-font-body);
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 550px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Stats catálogo */
.materia-stats {
    position: relative;
    margin-top: -2rem;
    padding: 0 2rem;
    z-index: 10;
}

.materia-stats__container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    max-width: 1000px;
    margin: 0 auto;
}

.materia-stats__item {
    background: var(--ft-bg);
    padding: 1.25rem 1.5rem;
    border-radius: var(--ft-radius);
    box-shadow: var(--ft-shadow);
    text-align: center;
    min-width: 120px;
    flex: 1;
    max-width: 180px;
    border: 1px solid var(--ft-border);
}

.materia-stats__value {
    display: block;
    font-family: var(--ft-font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ft-navy);
    line-height: 1.2;
}

.materia-stats__label {
    display: block;
    font-family: var(--ft-font-body);
    font-size: 0.6875rem;
    color: var(--ft-text-muted);
    margin-top: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Filters */
.materia-filters {
    padding: 1.5rem 2rem;
}

.materia-filters__container {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    max-width: 1000px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.materia-filter {
    padding: 0.5rem 1rem;
    background: var(--ft-bg);
    border: 1px solid var(--ft-border);
    border-radius: 100px;
    font-family: var(--ft-font-body);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--ft-text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
}

.materia-filter:hover {
    border-color: var(--ft-accent);
    color: var(--ft-accent);
}

.materia-filter.is-active {
    background: var(--ft-accent);
    border-color: var(--ft-accent);
    color: #ffffff;
}

/* Table section */
.materia-table-section {
    padding: 0 2rem 3rem;
}

.materia-table__container {
    max-width: 1200px;
    margin: 0 auto;
}

.materia-table__wrapper {
    background: var(--ft-bg);
    border-radius: var(--ft-radius);
    box-shadow: var(--ft-shadow);
    overflow: hidden;
    border: 1px solid var(--ft-border);
}

.materia-table {
    width: 100%;
    border-collapse: collapse;
}

.materia-table thead {
    background: var(--ft-navy);
}

.materia-table th {
    padding: 0.875rem 1rem;
    text-align: left;
    font-family: var(--ft-font-body);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
}

.materia-table tbody tr {
    border-bottom: 1px solid var(--ft-border);
    transition: background 0.15s ease;
}

.materia-table tbody tr:last-child {
    border-bottom: none;
}

.materia-table tbody tr:hover {
    background: var(--ft-bg-alt);
}

.materia-table td {
    padding: 0.875rem 1rem;
    font-family: var(--ft-font-body);
    font-size: 0.8125rem;
    color: var(--ft-text);
    vertical-align: middle;
}

.materia-cell__nombre a {
    color: var(--ft-text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s ease;
}

.materia-cell__nombre a:hover {
    color: var(--ft-accent);
}

.materia-nodata {
    color: #ccc;
    font-style: italic;
    font-size: 0.75rem;
}

.materia-catalisis-text {
    font-size: 0.75rem;
    color: var(--ft-text-muted);
    font-weight: 500;
}

.materia-certs-text {
    font-size: 0.6875rem;
    color: var(--ft-text-muted);
    line-height: 1.4;
}

.materia-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 0.875rem;
    background: transparent;
    border: 1px solid var(--ft-accent);
    border-radius: 6px;
    font-family: var(--ft-font-body);
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--ft-accent);
    text-decoration: none;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.materia-btn:hover {
    background: var(--ft-accent);
    color: #ffffff;
}

.materia-btn svg {
    width: 12px;
    height: 12px;
}

/* CTA catálogo */
.materia-cta {
    background: var(--ft-navy);
    padding: 3rem 2rem;
}

.materia-cta__container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.materia-cta__content {
    flex: 1;
    min-width: 250px;
}

.materia-cta__title {
    font-family: var(--ft-font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.375rem;
}

.materia-cta__text {
    font-family: var(--ft-font-body);
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.materia-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: var(--ft-accent);
    border-radius: 6px;
    font-family: var(--ft-font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    transition: background 0.2s ease;
    white-space: nowrap;
}

.materia-cta__btn:hover {
    background: #2d9aee;
}

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .serie-sidebar {
        display: none;
    }

    .serie-layout {
        max-width: 1000px;
    }
}

@media (max-width: 768px) {
    .serie-page-wrapper {
        padding: calc(58px + 1.5rem) 1rem 3rem;
    }

    .serie-page {
        border-radius: var(--ft-radius);
    }

    .serie-hero {
        padding: 1.5rem;
    }

    .serie-hero__container {
        flex-direction: column;
        gap: 1.25rem;
    }

    .serie-hero__stats {
        width: 100%;
        justify-content: flex-start;
        gap: 1rem;
    }

    .serie-hero__stat {
        text-align: left;
    }

    .serie-intro,
    .serie-table-section,
    .serie-applications,
    .serie-products,
    .serie-certifications,
    .serie-standards,
    .serie-related {
        padding: 1.5rem;
    }

    .serie-warnings {
        padding: 1rem 1.5rem;
    }

    .serie-cta {
        padding: 1.5rem;
    }

    .serie-cta__container {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .tech-specs__grid {
        grid-template-columns: 1fr;
    }

    .serie-standards__container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

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

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

    .materia-hero__content {
        padding: 5rem 1.5rem 2.5rem;
    }

    .materia-cta__container {
        flex-direction: column;
        text-align: center;
    }

    .materia-table__wrapper {
        overflow-x: auto;
    }

    .materia-table {
        min-width: 700px;
    }
}

@media (max-width: 480px) {
    .serie-hero__title {
        font-size: 1.375rem;
    }

    .serie-related__grid {
        grid-template-columns: 1fr;
    }

    .serie-products__grid {
        grid-template-columns: 1fr;
    }

    .serie-certifications__grid {
        gap: 0.375rem;
    }

    .serie-cert-item {
        font-size: 0.6875rem;
        padding: 0.375rem 0.75rem;
    }
}
