/************************ Pagina Categoria 2 ***********************************/
.category-2-section {
    padding: clamp(34px, 7vw, 80px) 0;
}

.category-2-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.82fr);
    gap: clamp(44px, 7vw, 96px);
    align-items: center;
}

.category-2-copy {
    position: relative;
    max-width: 760px;
    padding: clamp(18px, 3vw, 34px) clamp(14px, 2vw, 36px);
    border-left: 4px solid var(--color-blue-800);
    border-radius: 0 var(--radius-large) var(--radius-large) 0;
    background:
        linear-gradient(90deg, rgba(30, 48, 86, 0.02), rgba(255, 255, 255, 0.18));
}

.category-2-copy h2 {
    max-width: 680px;
    margin: 0 0 20px;
    color: var(--color-blue-900);
    font-size: clamp(1.85rem, 3.4vw, 2.65rem);
    line-height: 1.14;
    letter-spacing: -0.025em;
}

.category-2-copy>p {
    max-width: 700px;
    margin: 0;
    color: var(--color-text);
    font-size: 1rem;
    line-height: 1.75;
}

.category-2-copy>p+p {
    margin-top: 15px;
}

.category-2-info {
    display: grid;
    gap: 0;
    margin-top: 34px;
    border-top: 1px solid var(--border-soft);
}

.category-2-info-item {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 8px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-soft);
}

.category-2-info-item>span {
    color: var(--color-blue-800);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.category-2-info-item h3 {
    margin: 0 0 6px;
    color: var(--color-blue-900);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.25;
}

.category-2-info-item p {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.94rem;
    line-height: 1.55;
}

.category-2-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-2-image img {
    width: 100%;
    max-width: 520px;
    height: auto;
    object-fit: contain;
    display: block;
}

@media (max-width: 991.98px) {
    .category-2-layout {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .category-2-copy {
        max-width: 100%;
    }

    .category-2-image {
        order: -1;
    }

    .category-2-image img {
        max-width: 430px;
    }
}

@media (max-width: 575.98px) {
    .category-2-section {
        padding: 52px 0 76px;
    }

    .category-2-copy {
        padding: 26px 22px;
        border-left-width: 3px;
        border-radius: 0 var(--radius-medium) var(--radius-medium) 0;
    }

    .category-2-copy h2 {
        font-size: clamp(1.65rem, 8vw, 2.05rem);
    }

    .category-2-info-item {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 14px;
        padding: 18px 0;
    }

    .category-2-image img {
        max-width: 340px;
    }
}

.category-2-section--brand .category-2-copy {
    border-left-color: var(--brand-accent);
    background:
        linear-gradient(90deg, var(--brand-accent-soft), rgba(255, 255, 255, 0.18));
}

.category-2-headline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 14px;
}

.category-2-headline .product-section-eyebrow {
    margin-bottom: 0;
}

.category-2-section--brand .product-section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.category-2-section--brand .product-section-eyebrow::before {
    content: "";
    flex: 0 0 auto;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--brand-accent);
    box-shadow: 0 0 0 4px var(--brand-accent-soft);
}

.category-2-brand-logo {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    flex: 0 0 auto;
    max-width: 150px;
}

.category-2-brand-logo img {
    display: block;
    width: auto;
    max-width: 132px;
    max-height: 34px;
    object-fit: contain;
}

.category-2-section--brand .category-2-info-item>span {
    color: var(--brand-accent);
}

.category-2-section--brand .category-2-info {
    border-top-color: var(--brand-accent-border);
}

.category-2-section--brand .category-2-info-item {
    border-bottom-color: rgba(18, 40, 76, 0.08);
}

@media (max-width: 575.98px) {
    .category-2-headline {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 16px;
    }

    .category-2-brand-logo {
        justify-content: flex-start;
        max-width: 130px;
    }

    .category-2-brand-logo img {
        max-width: 118px;
        max-height: 30px;
    }
}

/* Categoria 1 Padre */

.hydraulic-systems-core-section {
    padding-top: 50px;
}

.hydraulic-systems-core-copy {
    max-width: 720px;
}

.hydraulic-systems-core-copy h2 {
    max-width: 700px;
    margin: 0 0 18px;
    color: var(--color-blue-900);
    font-size: clamp(1.85rem, 3.4vw, 2.65rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.hydraulic-systems-core-lead {
    max-width: 660px;
    margin: 0;
    color: var(--color-muted);
    font-size: 1.02rem;
    line-height: 1.72;
}

.hydraulic-systems-core-statement {
    position: relative;
    max-width: 660px;
    margin-top: clamp(28px, 4vw, 42px);
    padding-top: 24px;
}

.hydraulic-systems-core-statement::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: min(240px, 52%);
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--brand-accent), transparent);
}

.hydraulic-systems-core-statement strong {
    display: block;
    margin-bottom: 10px;
    color: var(--color-blue-900);
    font-weight: 720;
    line-height: 1.3;
}

.hydraulic-systems-core-statement p {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.98rem;
    line-height: 1.68;
}


/* Video */
.hydraulic-systems-core-media {
    position: relative;
    width: 100%;
    max-width: 560px;
}

.hydraulic-systems-core-media::before {
    content: "";
    position: absolute;
    inset: 10% 3% 6% 16%;
    border-radius: 999px;
    background: radial-gradient(circle, var(--brand-accent-soft), transparent 68%);
    pointer-events: none;
}

.hydraulic-systems-core-video {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 28px;
}


/* Línea de alcance */
.hydraulic-systems-scope {
    margin-top: clamp(46px, 6vw, 76px);
    border-top: 1px solid rgba(18, 40, 76, 0.1);
    border-bottom: 1px solid rgba(18, 40, 76, 0.1);
}

.hydraulic-systems-scope-item {
    height: 100%;
    padding: 28px 22px;
    border-right: 1px solid rgba(18, 40, 76, 0.1);
}

.hydraulic-systems-scope .col:last-child .hydraulic-systems-scope-item {
    border-right: 0;
}

.hydraulic-systems-scope-item i {
    color: var(--brand-accent);
    font-size: 1.05rem;
    line-height: 1.25;
    margin-top: 2px;
}

.hydraulic-systems-scope-item h3 {
    margin: 0 0 7px;
    color: var(--color-blue-900);
    font-size: 1rem;
    font-weight: 720;
    line-height: 1.25;
}

.hydraulic-systems-scope-item p {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}


/* Responsive */
@media (max-width: 1199.98px) {
    .hydraulic-systems-scope .col:nth-child(2) .hydraulic-systems-scope-item {
        border-right: 0;
    }

    .hydraulic-systems-scope .col:nth-child(1) .hydraulic-systems-scope-item,
    .hydraulic-systems-scope .col:nth-child(2) .hydraulic-systems-scope-item {
        border-bottom: 1px solid rgba(18, 40, 76, 0.1);
    }
}

@media (max-width: 575.98px) {
    .hydraulic-systems-core-section {
        padding: 56px 0;
    }

    .hydraulic-systems-core-copy {
        text-align: center;
    }

    .hydraulic-systems-core-copy .product-section-eyebrow {
        justify-content: center;
    }

    .hydraulic-systems-core-copy h2 {
        font-size: clamp(1.9rem, 9vw, 2.35rem);
    }

    .hydraulic-systems-core-statement::before {
        left: 50%;
        transform: translateX(-50%);
    }

    .hydraulic-systems-core-video {
        border-radius: 22px;
    }

    .hydraulic-systems-scope {
        margin-top: 42px;
    }

    .hydraulic-systems-scope-item,
    .hydraulic-systems-scope .col:nth-child(2) .hydraulic-systems-scope-item {
        flex-direction: column;
        align-items: center;
        gap: 10px !important;
        padding: 24px 18px;
        text-align: center;
        border-right: 0;
        border-bottom: 1px solid rgba(18, 40, 76, 0.1);
    }

    .hydraulic-systems-scope .col:last-child .hydraulic-systems-scope-item {
        border-bottom: 0;
    }

    .hydraulic-systems-scope-item i {
        margin-top: 0;
        font-size: 1.15rem;
    }
}

/************************ Cards categorías Padre e hijas ************************/

.category-series-section {
    padding: clamp(44px, 7vw, 86px) 0;
    background: var(--surface-page);
}

.category-series-header {
    max-width: 760px;
    margin-bottom: clamp(30px, 4vw, 46px);
}

.category-series-header h2 {
    max-width: 680px;
    margin: 0 0 14px;
    color: var(--color-blue-900);
    font-size: clamp(1.9rem, 3.2vw, 2.75rem);
    line-height: 1.12;
    letter-spacing: -0.03em;
}

.category-series-header p {
    max-width: 680px;
    margin: 0;
    color: var(--color-muted);
    font-size: 1rem;
    line-height: 1.7;
}

.category-series-grid {
    row-gap: clamp(20px, 2vw, 42px);
}

/* Cada columna conserva la misma altura */
.category-series-grid>.col {
    display: flex;
}

/* Cada columna conserva la misma altura */
.category-series-grid>.col {
    display: flex;
}

/* Contenedor exterior de la imagen y la tarjeta */
.category-series-item {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100%;
    padding-top: 56px;
    overflow: visible;
    transition: transform var(--transition-fast);
}

/* La tarjeta comienza debajo del espacio superior */
.category-series-card {
    position: relative;
    z-index: 1;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    width: 100%;
    padding: 140px 22px 22px;
    border: 1px solid rgba(18, 40, 76, 0.08);
    border-radius: 22px;
    background:
        linear-gradient(180deg,
            rgba(255, 255, 255, 0.78),
            rgba(255, 255, 255, 0.54));

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.92),
        0 14px 34px rgba(18, 40, 76, 0.07);
    overflow: hidden;
    transition:
        border-color var(--transition-fast),
        box-shadow var(--transition-fast);
}

.category-series-card::before {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0 0 auto;
    height: 3px;
    background: var(--card-accent, var(--brand-accent));
    opacity: 0.9;
}

/* Se mueve todo el conjunto: imagen y tarjeta */
.category-series-item:hover {
    transform: translateY(-4px);
}

.category-series-item:hover .category-series-card {
    border-color:
        var(--card-accent-border,
            var(--brand-accent-border));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.92),
        0 18px 42px rgba(18, 40, 76, 0.1);
}

/* Imagen independiente de la tarjeta */
.category-series-image {
    position: absolute;
    z-index: 3;
    top: 0;
    left: 22px;
    right: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 190px;
    pointer-events: auto;
}

.category-series-image img {
    display: block;
    width: 100%;
    max-width: 280px;
    max-height: 220px;
    object-fit: contain;
    filter:
        drop-shadow(0 14px 20px rgba(18, 40, 76, 0.12));
}

.category-series-body {
    position: relative;
    z-index: 2;
    flex: 1 1 auto;
}

.category-series-kicker {
    display: inline-flex;
    align-items: center;
    margin-bottom: 8px;
    color: var(--card-accent, var(--brand-accent));
    font-size: 0.74rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.category-series-card h3 {
    margin: 0 0 10px;
    color: var(--color-blue-900);
    font-size: 1.16rem;
    font-weight: 680;
    line-height: 1.25;
    letter-spacing: -0.015em;
}

.category-series-card p {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.92rem;
    line-height: 1.58;
}

.category-series-actions {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    margin-top: 22px;
}

.category-series-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 132px;
    min-height: 38px;
    padding: 0 16px;
    color: #ffffff;
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 999px;
    background: var(--color-blue-900);
    transition:
        background var(--transition-fast),
        transform var(--transition-fast),
        box-shadow var(--transition-fast);
}

.category-series-link:hover,
.category-series-link:focus-visible {
    color: #ffffff;
    background: var(--card-accent, var(--brand-accent));
    transform: translateY(-1px);

    box-shadow:
        0 12px 26px var(--card-accent-medium,
            var(--brand-accent-medium));
}

.category-series-link i {
    font-size: 0.76rem;
}

@media (max-width: 575.98px) {
    .category-series-section {
        padding: 54px 0 76px;
    }

    .category-series-header {
        margin-bottom: 34px;
        text-align: center;
    }

    .category-series-header .product-section-eyebrow {
        justify-content: center;
    }

    .category-series-grid {
        row-gap: 46px;
    }

    .category-series-grid>.col {
        display: flex;
    }

    .category-series-item {
        padding-top: 24px;
    }

    .category-series-card {
        padding: 140px 20px 20px;
        border-radius: 18px;
    }

    .category-series-image {
        top: 4px;
        left: 18px;
        right: 18px;
        height: 160px;
    }

    .category-series-image img {
        width: 100%;
        max-width: 240px;
        max-height: 180px;
        object-fit: contain;
    }

    .category-series-item:hover {
        transform: none;
    }

    .category-series-actions {
        justify-content: center;
        margin-top: 20px;
    }

    .category-series-link {
        width: auto;
        min-width: 150px;
    }
}

/********************* Introducción técnica *********************/
.product-intro-clean-section {
    position: relative;
    padding: clamp(48px, 6vw, 40px) 0;
    overflow: hidden;
}

.product-intro-clean-copy {
    max-width: 720px;
}

.product-intro-clean-copy h2 {
    max-width: 680px;
    margin: 0 0 18px;
    color: var(--color-blue-800);
    font-size: clamp(1.85rem, 3vw, 3rem);
    line-height: 1.12;
    letter-spacing: -0.04em;
}

.product-intro-clean-copy p {
    max-width: 670px;
    margin: 0 0 15px;
    color: rgba(104, 115, 134, 0.95);
    font-size: clamp(0.98rem, 1.06vw, 1.08rem);
    font-weight: 400;
    line-height: 1.72;
}

/* Puntos técnicos */

.product-intro-clean-points {
    margin-top: 32px;
    border-top: 1px solid rgba(18, 40, 76, 0.12);
    border-bottom: 1px solid rgba(18, 40, 76, 0.12);
}

.product-intro-clean-point {
    position: relative;
    height: 100%;
    padding: 22px 24px 22px 0;
}

.product-intro-clean-points .col:not(:last-child) .product-intro-clean-point {
    border-right: 1px solid rgba(18, 40, 76, 0.1);
}

.product-intro-clean-points .col:not(:first-child) .product-intro-clean-point {
    padding-left: 24px;
}

.product-intro-clean-point::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    width: 46px;
    height: 2px;
    background: var(--brand-accent);
}

.product-intro-clean-points .col:not(:first-child) .product-intro-clean-point::before {
    left: 24px;
}

.point-number {
    display: block;
    margin-bottom: 13px;
    color: var(--brand-accent);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.product-intro-clean-point strong {
    display: block;
    margin-bottom: 8px;
    color: var(--color-blue-900);
    font-size: 0.98rem;
    font-weight: 620;
    line-height: 1.25;
}

.product-intro-clean-point p {
    margin: 0;
    color: rgba(104, 115, 134, 0.94);
    font-size: 0.88rem;
    font-weight: 400;
    line-height: 1.55;
}

/* Imagen */

.product-intro-clean-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(8px, 2vw, 24px);
    overflow: visible;
}

.product-intro-clean-image::before {
    content: "";
    position: absolute;
    z-index: 1;
    width: min(82%, 420px);
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background:
        radial-gradient(circle,
            var(--brand-accent-soft) 0%,
            rgba(255, 255, 255, 0.04) 42%,
            transparent 72%);
    filter: blur(2px);
}

.product-intro-clean-image img {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    max-width: 460px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 18px 24px rgba(18, 40, 76, 0.14));
}

/* Responsive */

@media (max-width: 767.98px) {


    .product-intro-clean-points {
        margin-top: 26px;
    }

    .product-intro-clean-point,
    .product-intro-clean-points .col:not(:first-child) .product-intro-clean-point {
        padding: 20px 0;
    }

    .product-intro-clean-points .col:not(:last-child) .product-intro-clean-point {
        border-right: 0;
        border-bottom: 1px solid rgba(18, 40, 76, 0.1);
    }

    .product-intro-clean-point::before,
    .product-intro-clean-points .col:not(:first-child) .product-intro-clean-point::before {
        left: 0;
    }

    .point-number,
    .product-intro-clean-point strong,
    .product-intro-clean-point p {
        text-align: left;
    }
}

@media (max-width: 575.98px) {
    .product-intro-clean-section {
        padding: 15px 0;
    }

    .product-intro-clean-copy h2 {
        font-size: clamp(1.8rem, 9vw, 2.35rem);
    }

    .product-intro-clean-copy p {
        font-size: 0.94rem;
    }

    .product-intro-clean-image {
        padding: 18px 10px;
    }

    .product-intro-clean-image::before {
        width: min(86%, 300px);
    }

    .product-intro-clean-image img {
        max-width: 330px;
    }

    .product-intro-clean-headline {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 18px;
    }
}

/***************************** Lista de modelos y buscador ********************************/
.product-models-section {
    position: relative;
    padding: clamp(64px, 3vw, 108px) 0;
    overflow: hidden;
}

.product-models-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: clamp(54px, 6vw, 78px);
}

.product-models-header h2 {
    max-width: 760px;
    margin: 0 0 14px;
    color: var(--color-blue-800);
    font-size: clamp(1.8rem, 3vw, 3rem);
    line-height: 1.12;
    letter-spacing: -0.04em;
}

.product-models-header p {
    max-width: 680px;
    margin: 0;
    color: rgba(104, 115, 134, 0.95);
    font-size: clamp(0.96rem, 1.05vw, 1.05rem);
    line-height: 1.68;
}

/* Buscador */

.product-models-search {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-height: 48px;
    padding: 5px;
    border: 1px solid rgba(18, 40, 76, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.92),
        0 12px 30px rgba(18, 40, 76, 0.06);
    transition:
        border-color var(--transition-fast),
        box-shadow var(--transition-fast),
        background var(--transition-fast);
}

.product-models-search:focus-within {
    border-color: rgba(0, 149, 58, 0.42);
}

.product-models-search i {
    flex: 0 0 auto;
    margin-left: 12px;
    color: var(--color-muted);
    font-size: 0.88rem;
}

.product-models-search input {
    width: 100%;
    min-width: 0;
    height: 38px;
    padding: 0 12px;
    color: var(--color-blue-900);
    font-size: 0.9rem;
    font-weight: 500;
    border: 0;
    outline: 0;
    background: transparent;
}

.product-models-search input::placeholder {
    color: rgba(104, 115, 134, 0.78);
}

.product-models-search button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    height: 38px;
    padding: 0 18px;
    color: #ffffff;
    font-size: 0.86rem;
    font-weight: 700;
    border: 0;
    border-radius: 999px;
    background: var(--color-blue-900);
    cursor: pointer;
    transition:
        background var(--transition-fast),
        transform var(--transition-fast),
        box-shadow var(--transition-fast);
}

.product-models-search button:hover,
.product-models-search button:focus-visible {
    background: var(--color-green-500);
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(0, 149, 58, 0.22);
}

/* Buscador de modelos con color de marca */
.product-detail-page--brand .product-models-search button {
    background: var(--brand-accent);
}

.product-detail-page--brand .product-models-search button:hover,
.product-detail-page--brand .product-models-search button:focus-visible {
    background: var(--brand-accent);
    box-shadow: 0 12px 26px var(--brand-accent-medium);
}

.product-detail-page--brand .product-models-search:focus-within {
    border-color: var(--brand-accent-border);
}

/* Desktop: distribución entre texto y buscador */

.product-models-header>div:first-child {
    flex: 1 1 auto;
    min-width: 0;
}

.product-models-search-wrap {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 0 0 clamp(500px, 42vw, 520px);
    max-width: 650px;
    min-width: 0;
    gap: 12px;
}

.product-models-search-wrap .product-models-search {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
}

.models-search-reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    gap: 6px;
    white-space: nowrap;
}

@media (max-width: 575.98px) {
    .product-models-search-wrap {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .product-models-search {
        order: 1;
        width: 100%;
        max-width: none;
        flex: 0 0 auto;
        box-sizing: border-box;
    }

    .models-search-reset {
        order: 2;
        align-self: center;
    }

    .product-models-search input {
        min-width: 0;
    }

    .product-models-search button {
        padding: 0 14px;
        font-size: 0.8rem;
    }
}

/********************* Refresh Ver todos *********************/
.models-search-reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    padding: 0 8px;
    color: rgba(104, 115, 134, 0.85);
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: color var(--transition-fast);
}

.models-search-reset:hover,
.models-search-reset:focus-visible {
    color: var(--color-green-600);
}


/* Card */
.product-models-grid {
    row-gap: 78px;
}

.product-models-grid>.col {
    display: flex;
}

.product-model-card {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    margin-top: 16px;
    padding: 0 16px 16px;
    border: 1px solid var(--border-glass);
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.42)),
        var(--surface-liquid);
    box-shadow:
        inset 0 1px 0 var(--glass-highlight),
        0 12px 28px rgba(18, 40, 76, 0.075);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    overflow: visible;
}


/* Imagen */

.product-model-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 150px;
    margin-top: -56px;
    margin-bottom: 8px;
    pointer-events: none;
}

.product-model-image img {
    display: block;
    width: 100%;
    max-height: 180px;
    object-fit: contain;
    filter: drop-shadow(0 14px 18px rgba(18, 40, 76, 0.14));
}

/* Iconos debajo de imagen */

.model-icon-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    width: 100%;
    margin: 20px 0;
}

.model-icon-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: rgba(104, 115, 134, 0.62);
    font-size: 0.86rem;
    border: 0;
    background: transparent;
    box-shadow: none;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.model-icon-actions button:hover,
.model-icon-actions button:focus-visible {
    color: var(--color-green-600);
}

/*** Bradge span ***/
.product-model-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-model-badge-slot {
    min-width: 0;
}

.product-model-badge {
    color: var(--brand-accent);
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    word-break: keep-all;
    overflow-wrap: normal;
    hyphens: none;
    background: none;
    border: 0;
    box-shadow: none;
}

/** Banner de confirmacion de copiado exitoso**/

.model-toast {
    position: fixed;
    left: 50%;
    bottom: 28px;
    z-index: 9999;
    padding: 10px 16px;
    color: #ffffff;
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1;
    border-radius: 999px;
    background: rgba(18, 40, 76, 0.94);
    box-shadow: 0 14px 34px rgba(18, 40, 76, 0.22);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 12px);
    transition:
        opacity 0.22s ease,
        visibility 0.22s ease,
        transform 0.22s ease;
    pointer-events: none;
}

.model-toast.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

/* Contenido */

.product-model-body {
    flex: 1 1 auto;
    text-align: center;
}

.product-model-body h3 {
    max-width: 212px;
    margin: 0 auto 10px;
    color: var(--color-blue-900);
    font-size: 1.12rem;
    font-weight: 680;
    line-height: 1.25;
    word-break: break-word;
}

.product-model-specs {
    display: grid;
    gap: 2px;
}

.product-model-specs p {
    margin: 0;
    color: rgba(104, 115, 134, 0.95);
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.34;
    text-align: center;
}

.product-model-specs strong {
    color: rgba(18, 40, 76, 0.9);
    font-weight: 650;
}

/* Ficha técnica */

.product-model-actions {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: auto;
}

.model-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 0;
    min-height: 46px;
    gap: 2px;
    padding: 0 10px;
    font-size: 0.74rem;
    font-weight: 700;
    line-height: 1.1;
    text-align: center;
    text-decoration: none;
    border-radius: 10px;
    box-shadow: none;
    transition:
        background var(--transition-fast),
        color var(--transition-fast),
        border-color var(--transition-fast);
}

/* Ficha técnica: ocupa 55% cuando hay dos botones */
.model-tech-btn {
    flex: 0 0 55%;
    color: #ffffff;
    background: var(--color-blue-900);
    border: 1px solid var(--color-blue-900);
}

/* Comprar: ocupa el espacio restante */
.model-buy-btn {
    flex: 1 1 0;
    color: var(--color-green-600);
    background: transparent;
    border: 1px solid var(--color-green-600);
}

/* Cuando solo hay un botón, se centra */
.model-action-btn:only-child {
    flex: 0 1 55%;
}

.model-tech-btn:hover,
.model-tech-btn:focus-visible {
    color: #ffffff;
    background: #0c1d38;
    border-color: #0c1d38;
}

.model-buy-btn:hover,
.model-buy-btn:focus-visible {
    color: var(--color-green-600);
    background: rgba(0, 149, 58, 0.035);
    border-color: var(--color-green-600);
}

.model-action-btn i {
    font-size: 0.72rem;
}

/* Responsive */

@media (max-width: 991.98px) {
    .product-models-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .product-models-search {
        width: 100%;
        flex-basis: auto;
    }
}

@media (max-width: 767.98px) {
    .product-models-grid {
        row-gap: 76px;
    }
}

@media (max-width: 575.98px) {

    .product-models-section {
        padding: 54px 0;
    }

    .product-models-header {
        text-align: center;
        margin-bottom: 72px;
    }

    .product-models-grid {
        --bs-gutter-x: 0.75rem;
        --bs-gutter-y: 3rem;
    }

    .product-models-header h2 {
        font-size: clamp(1.8rem, 9vw, 2.35rem);
    }

    .product-model-card {
        margin-top: 2px;
        padding: 0 18px 18px;
        border-radius: 17px;
    }

    .product-model-image {
        height: 148px;
        margin-top: -54px;
    }

    .product-model-image img {
        max-width: 225px;
        max-height: 152px;
    }

    .product-model-body h3 {
        max-width: 240px;
        font-size: 0.96rem;
    }

    .product-model-specs p {
        font-size: 0.82rem;
    }

    .product-model-actions {
        text-align: center;
        gap: 10px;
    }

    .model-action-btn,
    .model-tech-btn,
    .model-buy-btn,
    .model-action-btn:only-child {
        width: 100%;
        flex: 0 0 auto;
    }

}

/********************* Paginacion *********************/

.product-models-results-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 1.25rem 0 6rem;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
}

.product-models-results-bar p {
    margin: 0;
    color: #64748b;
    font-size: 0.95rem;
}

.product-models-results-bar strong {
    color: #0f172a;
    font-weight: 700;
}

.product-models-results-bar span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: #64748b;
    font-size: 0.92rem;
    font-weight: 600;
    border: 0;
}


.product-models-pagination {
    margin-top: 4rem;
}

.product-models-pagination ul {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.product-models-pagination a,
.product-models-pagination .pagination-dots {
    min-width: 42px;
    height: 42px;
    padding: 0 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    color: #0f172a;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.product-models-pagination a:hover {
    border-color: #143c63;
    color: #143c63;
    transform: translateY(-1px);
}

.product-models-pagination a.is-active {
    background: #143c63;
    border-color: #143c63;
    color: #ffffff;
}

.product-models-pagination a.is-disabled {
    opacity: 0.45;
    pointer-events: none;
    cursor: not-allowed;
}

.product-models-pagination .pagination-dots {
    border-color: transparent;
    background: transparent;
    color: #64748b;
}

.product-models-search {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.product-models-search button {
    border: 0;
    border-radius: 999px;
    padding: 0.65rem 1rem;
    background: #143c63;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
}

.product-models-search button:hover {
    background: #0f2d4a;
}

.model-detail-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    color: var(--color-primary, #145294);
}

.model-detail-link i {
    font-size: 0.85rem;
    transition: transform 0.25s ease;
}

.model-detail-link:hover i {
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .product-models-results-bar {
        align-items: center;
        flex-direction: column;
    }

    .product-models-results-bar span {
        width: auto;
    }

    .product-models-search {
        width: 100%;
    }

    .product-models-search input {
        width: 100%;
    }

    .product-models-search button {
        flex-shrink: 0;
    }
}

/* Sugerencias de modelos */
.model-match-highlight {
    padding: 0;
    color: var(--color-blue-900);
    background: rgba(0, 149, 57, 0.109);
    border-radius: 2px;
}

.model-missing-highlight {
    display: inline-block;
    width: 0.40em;
    height: 1.1em;
    margin: 0px;
    vertical-align: -0.12em;
    border-radius: 1px;
    background: rgba(220, 38, 38, 0.16);
}

/* Reduce el espacio grande de la barra solo cuando hay sugerencias */
.product-models-results-bar.has-suggestions {
    margin-bottom: 0.75rem;
}

.product-models-suggestion-message {
    margin: 0 0 4rem;
    text-align: center;
}

.product-models-suggestion-message p {
    margin: 0;
    color: rgba(104, 115, 134, 0.96);
    font-size: 0.92rem;
    font-weight: 500;
    line-height: 1.45;
}

.product-models-suggestions-grid {
    margin-top: 0;
}

.product-models-suggestions-grid .product-model-card {
    margin-top: 16px;
}

.product-model-card-suggestion {
    border-color: rgba(0, 149, 58, 0.22);
}

.product-models-suggestions-footer {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

/**************** Documento técnico de producto ****************/

.product-document-section {
    --document-accent: var(--brand-accent);

    padding:
        0 0 clamp(64px, 7vw, 96px);
}

.product-document-card {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(20px, 3vw, 34px);
    padding: clamp(24px, 3vw, 34px);
    overflow: hidden;
    border: 1px solid
        color-mix(
            in srgb,
            var(--document-accent) 22%,
            transparent
        );
    border-radius: 18px;
    background:
        linear-gradient(
            120deg,
            color-mix(
                in srgb,
                var(--document-accent) 7%,
                #ffffff
            ),
            #ffffff 68%
        );
    box-shadow:
        0 14px 34px rgba(15, 23, 42, 0.07);
}

.product-document-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 4px;
    background: var(--document-accent);
}

.product-document-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    color: var(--document-accent);
    font-size: 1.6rem;
    border-radius: 16px;
    background:
        color-mix(
            in srgb,
            var(--document-accent) 11%,
            #ffffff
        );
}

.product-document-content {
    min-width: 0;
}

.product-document-eyebrow {
    display: block;
    margin-bottom: 7px;
    color: var(--document-accent);
    font-size: 0.76rem;
    font-weight: 750;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.product-document-content h2 {
    margin: 0 0 8px;
    color: var(--color-blue-900, #12284c);
    font-size: clamp(1.2rem, 2vw, 1.55rem);
    line-height: 1.25;
}

.product-document-content p {
    max-width: 720px;
    margin: 0;
    color: var(--color-muted, #64748b);
    line-height: 1.65;
}

.product-document-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 21px;
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 650;
    text-decoration: none;
    white-space: nowrap;
    border: 1px solid var(--document-accent);
    border-radius: 999px;
    background: var(--document-accent);
    transition:
        color var(--transition-fast, 180ms ease),
        background var(--transition-fast, 180ms ease),
        transform var(--transition-fast, 180ms ease),
        box-shadow var(--transition-fast, 180ms ease);
}

.product-document-button:hover,
.product-document-button:focus-visible {
    color: var(--document-accent);
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow:
        0 10px 22px
        color-mix(
            in srgb,
            var(--document-accent) 18%,
            transparent
        );
}

@media (max-width: 767.98px) {
    .product-document-card {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .product-document-button {
        grid-column: 1 / -1;
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .product-document-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .product-document-icon {
        margin: 0 auto;
    }
}

/************************************ Paginas individuales Modelos ********************************************/

.product-model-detail-section {
    padding: clamp(60px, 8vw, 96px) 0;
}

.product-detail-image-card {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-detail-image-card img {
    width: 100%;
    max-width: 440px;
    height: auto;
    object-fit: contain;
    display: block;
}

.product-detail-info-card {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.product-detail-small-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-blue-800);
}

.product-detail-info-card h2 {
    margin: 0 0 16px;
    color: var(--color-blue-900);
    font-size: clamp(1.8rem, 3vw, 2.45rem);
    line-height: 1.12;
}

.product-detail-intro {
    max-width: 680px;
    margin: 0 0 28px;
    color: var(--color-text);
    font-size: 1rem;
    line-height: 1.7;
}

.product-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 38px;
}

.product-detail-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-height: 44px;
    padding: 11px 18px;
    border-radius: var(--radius-small);
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: none;
    transition:
        background-color var(--transition-fast),
        color var(--transition-fast),
        border-color var(--transition-fast);
}

.product-detail-btn:hover {
    text-decoration: none;
    transform: none;
}

.product-detail-btn-primary {
    background: var(--color-blue-800);
    color: var(--color-white);
    border: 1px solid var(--color-blue-800);
}

.product-detail-btn-primary:hover {
    color: var(--color-white);
    background: var(--color-blue-900);
    border-color: var(--color-blue-900);
}

.product-detail-btn-store {
    background: transparent;
    color: var(--color-green-500);
    border: 1px solid var(--color-green-500);
}

.product-detail-btn-store:hover {
    color: var(--color-green-600);
    background: rgba(0, 149, 58, 0.07);
    border-color: var(--color-green-600);
}

.product-detail-btn-contact {
    background: transparent;
    color: var(--color-blue-800);
    border: 1px solid var(--color-blue-800);
}

.product-detail-btn-contact:hover {
    color: var(--color-blue-900);
    background: rgba(26, 55, 104, 0.07);
    border-color: var(--color-blue-900);
}


.product-detail-btn.is-disabled {
    opacity: 0.55;
    cursor: not-allowed;
    pointer-events: none;
}

.product-detail-btn-cad {
    background: transparent;
    color: var(--color-blue-800);
    border: 1px solid var(--color-blue-800);
}

.product-detail-btn-cad:hover {
    color: var(--color-blue-900);
    background: var(--surface-blue-soft);
    border-color: var(--color-blue-900);
}

.product-tech-block {
    margin-top: 4px;
}

.product-tech-block h3 {
    margin: 0 0 16px;
    color: var(--color-blue-900);
    font-size: 1.18rem;
    font-weight: 700;
}

.product-tech-table-wrap {
    overflow: hidden;
    border-radius: var(--radius-small);
    border: 1px solid var(--border-soft);
    background: var(--surface-section);
}

.product-detail-info-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.product-detail-info-head .product-detail-small-label {
    margin-bottom: 0;
}

.product-detail-brand-logo {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    flex: 0 0 auto;
    max-width: 150px;
}

.product-detail-brand-logo img {
    display: block;
    width: auto;
    max-width: 132px;
    max-height: 34px;
    object-fit: contain;
}

.product-detail-page--brand .product-detail-small-label {
    color: var(--brand-accent);
}

.product-detail-page--brand .product-detail-small-label i {
    color: var(--brand-accent);
    filter: drop-shadow(0 4px 10px var(--brand-accent-soft));
}

@media (max-width: 575.98px) {
    .product-detail-info-head {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 12px;
        margin-top: 10px;
        margin-bottom: 16px;
        text-align: center;
    }

    .product-detail-info-head .product-detail-small-label {
        justify-content: center;
    }

    .product-detail-brand-logo {
        justify-content: center;
        max-width: 140px;
        width: 100%;
    }

    .product-detail-brand-logo img {
        max-width: 120px;
        max-height: 30px;
    }
}

.product-tech-table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
}

.product-tech-table tr {
    border-bottom: 1px solid var(--border-soft);
}

.product-tech-table tr:last-child {
    border-bottom: 0;
}

.product-tech-table th,
.product-tech-table td {
    padding: 14px 16px;
    vertical-align: top;
    font-size: 0.95rem;
    line-height: 1.5;
}

.product-tech-table th {
    width: 38%;
    color: var(--color-blue-900);
    font-weight: 600;
    background: rgba(30, 48, 86, 0.06);
}

.product-tech-table td {
    color: var(--color-text);
    font-weight: 400;
    background: rgba(255, 255, 255, 0.38);
}



@media (max-width: 991.98px) {
    .product-detail-image-card {
        min-height: auto;
        margin-bottom: 10px;
    }

    .product-detail-image-card img {
        max-width: 360px;
    }
}

@media (max-width: 575.98px) {
    .product-model-detail-section {
        padding: 48px 0 70px;
    }

    .product-detail-small-label {
        display: none;
    }

    .product-detail-info-card h2 {
        margin-top: 20px;
        font-size: 1.5rem;
        text-align: center;
    }

    .product-detail-intro {
        font-size: 14px;
    }

    .product-detail-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .product-detail-btn {
        width: 100%;
    }

    .product-tech-table th,
    .product-tech-table td {
        display: block;
        width: 100%;
    }

    .product-tech-table th {
        padding-bottom: 5px;
    }

    .product-tech-table td {
        padding-top: 5px;
    }
}


/** Modal Solicitar Ficha Modelo ****/
.model-request-modal {
    position: fixed;
    inset: 0;
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.22s ease,
        visibility 0.22s ease;
}

.model-request-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.model-request-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 16, 29, 0.52);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.model-request-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 480px);
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.56);
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.78)),
        var(--surface-liquid);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 28px 72px rgba(7, 16, 29, 0.24);
    transform: translateY(14px) scale(0.98);
    transition: transform 0.22s ease;
}

.model-request-modal.is-open .model-request-modal-dialog {
    transform: translateY(0) scale(1);
}

.model-request-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    color: rgba(104, 115, 134, 0.9);
    border: 1px solid rgba(18, 40, 76, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    cursor: pointer;
}

.model-request-modal-head {
    padding-right: 34px;
}

.model-request-modal-head span {
    display: inline-flex;
    margin-bottom: 10px;
    color: var(--brand-accent, var(--color-green-500));
    font-size: 0.76rem;
    font-weight: 760;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.model-request-modal-head h3 {
    margin: 0 0 10px;
    color: var(--color-blue-900);
    font-size: clamp(1.45rem, 3vw, 1.85rem);
    font-weight: 620;
    line-height: 1.12;
    letter-spacing: -0.035em;
}

.model-request-modal-head p {
    margin: 0;
    color: rgba(104, 115, 134, 0.96);
    font-size: 0.94rem;
    line-height: 1.6;
}

.model-request-form {
    display: grid;
    gap: 14px;
    margin-top: 22px;
}

.model-request-field {
    display: grid;
    gap: 7px;
}

.model-request-field label {
    color: var(--color-blue-900);
    font-size: 0.82rem;
    font-weight: 720;
}

.model-request-field input {
    width: 100%;
    height: 46px;
    padding: 0 14px;
    color: var(--color-blue-900);
    font-size: 0.92rem;
    font-weight: 500;
    border: 1px solid rgba(18, 40, 76, 0.12);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.76);
    outline: none;
}

.model-request-field input:focus {
    border-color: var(--brand-accent-border, rgba(0, 149, 58, 0.34));
    background: #ffffff;
    box-shadow: 0 0 0 4px var(--brand-accent-soft, rgba(0, 149, 58, 0.08));
}

.model-request-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    min-height: 46px;
    margin-top: 4px;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 760;
    border: 0;
    border-radius: 14px;
    background: var(--color-blue-900);
    cursor: pointer;
}

body.model-request-modal-open {
    overflow: hidden;
}


/****************** Producto no encontrado *************************/

.model-not-found-section {
    padding: clamp(54px, 7vw, 96px) 0;
}

.model-not-found-card {
    position: relative;
    max-width: 760px;
    margin: 0 auto;
    padding: clamp(34px, 5vw, 56px);
    text-align: center;
    border: 1px solid rgba(18, 40, 76, 0.1);
    border-radius: 28px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.5)),
        var(--surface-liquid);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.92),
        0 18px 46px rgba(18, 40, 76, 0.07);
    overflow: hidden;
}

.model-not-found-card::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    width: min(72%, 420px);
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg,
            transparent,
            var(--brand-accent, var(--color-green-500)),
            transparent);
    transform: translateX(-50%);
    opacity: 0.75;
}

.model-not-found-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    color: var(--brand-accent, var(--color-green-500));
    font-size: 0.76rem;
    font-weight: 760;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.model-not-found-card h2 {
    max-width: 660px;
    margin: 0 auto 16px;
    color: var(--color-blue-900);
    font-size: clamp(1.7rem, 3.4vw, 2.4rem);
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.model-not-found-card p {
    max-width: 620px;
    margin: 0 auto;
    color: rgba(104, 115, 134, 0.96);
    font-size: 1rem;
    line-height: 1.7;
}

.model-not-found-help {
    max-width: 620px;
    margin: 22px auto 0;
    padding: 14px 18px;
    color: var(--color-blue-900);
    font-size: 0.9rem;
    font-weight: 560;
    line-height: 1.55;
    border: 1px solid rgba(18, 40, 76, 0.1);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.56);
}

.model-not-found-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.model-not-found-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 44px;
    padding: 0 18px;
    font-size: 0.88rem;
    font-weight: 750;
    text-decoration: none;
    border-radius: 13px;
    transition:
        background var(--transition-fast),
        color var(--transition-fast),
        border-color var(--transition-fast),
        transform var(--transition-fast);
}

.model-not-found-btn-primary {
    color: #ffffff;
    border: 1px solid var(--color-blue-900);
    background: var(--color-blue-900);
}

.model-not-found-btn-primary:hover {
    color: #ffffff;
    background: #0c1d38;
    border-color: #0c1d38;
    transform: translateY(-1px);
}

/* Referencias y denominaciones del modelo */
.model-identification {
    margin-top: 22px;
    padding-top: 16px;
    border-top: 1px solid var(--border-soft);
}

.model-identification > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 6px 0;
    color: var(--color-muted);
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.5;
    list-style: none;
    cursor: pointer;
}

.model-identification > summary::-webkit-details-marker {
    display: none;
}

.model-identification > summary i {
    flex-shrink: 0;
    font-size: 0.72rem;
}

.model-identification > summary:hover {
    color: var(--brand-accent, var(--color-green-500));
}

.model-identification > summary:focus-visible {
    outline: 2px solid var(--brand-accent, var(--color-green-500));
    outline-offset: 4px;
    border-radius: 4px;
}

.model-identification[open] > summary i {
    transform: rotate(180deg);
}

.model-identification-content {
    padding-top: 12px;
}

.model-identification-content > p {
    margin: 0 0 14px;
    color: var(--color-muted);
    font-size: 0.84rem;
    line-height: 1.65;
}

.model-identification-terms {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.model-identification-terms > li {
    max-width: 100%;
    padding: 5px 10px;
    border: 1px solid var(--border-soft);
    border-radius: 7px;
    background: var(--surface-page);
    color: var(--color-text);
    font-size: 0.65rem;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

@media (max-width: 575.98px) {
    .model-not-found-section {
        padding: 46px 0 72px;
    }

    .model-not-found-card {
        padding: 30px 20px;
        border-radius: 22px;
    }

    .model-not-found-actions {
        flex-direction: column;
    }

    .model-not-found-btn {
        width: 100%;
    }
}