.inmosoft-features {
    font-family: var(--inmosoft-font-family);
}

.feature-matrix {
    width: 100%;
    table-layout: fixed;
    color: var(--inmosoft-color-heading);
}

.feature-matrix :is(th, td) {
    padding: 9px 8px;
    border-bottom: 1px solid #dbe2e8;
}

.feature-matrix thead th {
    background: #eef5fb;
    color: var(--inmosoft-color-heading);
    font-weight: var(--inmosoft-weight-bold);
}

.feature-matrix tbody th[scope="row"] {
    font-weight: 400;
    overflow-wrap: anywhere;
}

.feature-matrix th[scope="col"]:not(:first-child) {
    width: 116px;
}

.feature-matrix :is(th[scope="col"]:not(:first-child), td:not([colspan])) {
    text-align: center;
}

.feature-matrix .feature-matrix-group th {
    background: #f7f9fb;
    color: #263c51;
}

.feature-status {
    display: inline-block;
    min-width: 86px;
    padding: 2px 7px;
    border: 1px solid transparent;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
}

.feature-status-web {
    border-color: #cce8d4;
    background: #e5f5e9;
    color: #1b6538;
}

.feature-status-windows {
    border-color: #cce4f2;
    background: #e8f4fb;
    color: #07557e;
}

.feature-status-pending {
    color: #586672;
}

.feature-status-platform {
    display: none;
}

@media (max-width: 767px) {
    .feature-matrix thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
    }

    .feature-matrix,
    .feature-matrix tbody {
        display: block;
    }

    .feature-matrix tbody tr {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
        padding: 10px 0;
        border-bottom: 1px solid #dbe2e8;
    }

    .feature-matrix tbody th,
    .feature-matrix td[colspan] {
        grid-column: 1 / -1;
    }

    .feature-matrix tbody :is(th, td) {
        padding: 0;
        border: 0;
    }

    .feature-status {
        display: block;
        min-width: 0;
        padding-inline: 3px;
    }

    .feature-status-platform {
        display: block;
    }

    .feature-matrix .feature-matrix-group th {
        padding: 3px 6px;
    }
}

#funciones-web-app,
#funciones-windows,
#exclusivas-web-app,
#titulo-funciones,
#titulo-disponibilidad,
#OpcionesAlquileres,
.feature-topic-heading[id],
#correo-whatsapp {
    scroll-margin-top: 96px;
}

#exclusivas-windows {
    scroll-margin-top: 136px;
}

#funciones-windows [hidden] {
    display: none !important;
}

.feature-web-app-panel,
.feature-plans-panel {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 26px;
    margin-bottom: 24px;
    padding: clamp(14px, 1.9vw, 19px) clamp(16px, 2.2vw, 24px);
    border: 1px solid #c9e0ee;
    border-left: 4px solid #0088c1;
    border-radius: 12px;
    background: #eef6fb;
}

.feature-panel-copy {
    flex: 1 1 500px;
    min-width: 0;
}

.feature-panel-copy h2 {
    margin: 0 0 6px;
    color: var(--inmosoft-color-heading);
    font-size: clamp(19px, 2vw, 22px);
    font-weight: var(--inmosoft-weight-bold);
    line-height: 1.25;
}

.feature-panel-copy p {
    margin: 0;
    color: var(--inmosoft-color-text);
    line-height: 1.45;
}

.feature-panel-copy p + p {
    margin-top: 4px;
}

.feature-panel-link {
    padding: 10px 16px;
    border-radius: 6px;
    background: #0072a8;
    color: #fff;
    font-weight: var(--inmosoft-weight-bold);
    text-align: center;
}

.feature-panel-link:is(:hover, :focus) {
    background: #005e91;
    color: #fff;
    text-decoration: none;
}

.feature-panel-link:focus-visible {
    outline: 2px solid #07557e;
    outline-offset: 2px;
}

#titulo-disponibilidad {
    color: var(--inmosoft-color-heading);
    font-size: var(--inmosoft-type-feature);
    font-weight: var(--inmosoft-weight-bold);
    letter-spacing: -0.025em;
    line-height: 1.25;
}

.feature-catalog-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 20px;
}

.feature-filter {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 4px;
    border: 1px solid #dbe6ee;
    border-radius: 8px;
    background: #f1f6fa;
}

.feature-filter button {
    flex: 1 1 auto;
    min-height: 40px;
    padding: 8px 15px;
    border: 0;
    border-radius: 5px;
    background: transparent;
    color: var(--inmosoft-color-heading);
    font-weight: var(--inmosoft-weight-bold);
}

.feature-filter button:hover {
    background: #e3eef6;
}

.feature-filter button[aria-pressed="true"] {
    background: #0072a8;
    color: #fff;
}

.feature-filter button:focus-visible {
    outline: 2px solid #07557e;
    outline-offset: 1px;
}

.feature-catalog-controls .feature-filter-count {
    margin: 0;
    color: #475d71;
}

.feature-icon-definitions {
    position: absolute;
}

.feature-filter [data-feature-filter="exclusive"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.feature-filter svg {
    flex: none;
    width: 13px;
    height: 16px;
}

.feature-catalog-list {
    margin: 20px 0 42px;
    padding: 0;
    list-style: none;
}

.feature-catalog-list .featured-box {
    margin: 0 0 24px;
    text-align: left;
}

.feature-catalog-list .box-content {
    padding: clamp(14px, 2.25vw, 28px);
    border-top-color: #088ee0;
}

.feature-topic-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 16px;
    color: var(--inmosoft-color-heading);
    font-size: clamp(18px, 2.2vw, 24px);
    font-weight: var(--inmosoft-weight-bold);
    line-height: 1.25;
    text-transform: none;
}

.feature-topic-icon {
    display: grid;
    flex: 0 0 38px;
    height: 38px;
    place-items: center;
    border-radius: 8px;
    background: #eaf4fb;
    color: #0072a8;
}

.feature-topic-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.feature-matrix {
    --feature-status-width: 154px;
    --feature-status-height: 24px;
}

.feature-matrix .feature-status {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: var(--feature-status-width);
    min-width: 0;
    height: var(--feature-status-height);
    padding: 0 4px;
    vertical-align: middle;
    white-space: nowrap;
}

.feature-status-web,
.feature-status-windows {
    border-color: #cce8d4;
    background: #e5f5e9;
    color: #1b6538;
}

.feature-status-unavailable,
.feature-status-migration {
    border-color: #d9dfe5;
    background: #f1f3f5;
    color: #485462;
}

.feature-status-pair {
    display: inline-flex;
    position: relative;
    vertical-align: middle;
}

.feature-status-flame {
    position: absolute;
    right: calc(100% + 5px);
    top: 50%;
    width: 15px;
    height: 18px;
    transform: translateY(-50%);
}

@media (min-width: 768px) {
    .feature-matrix th[scope="col"]:not(:first-child) {
        width: 194px;
    }
}

@media (max-width: 767px) {
    .feature-filter {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }

    .feature-filter button {
        min-height: 44px;
        padding: 6px;
        font-size: 13px;
        line-height: 1.25;
    }

    .feature-matrix {
        --feature-status-width: min(154px, 35vw);
        --feature-status-height: 46px;
    }

    .feature-matrix .feature-status {
        font-size: clamp(10px, 3.25vw, 12px);
        line-height: 1.2;
        white-space: normal;
    }
}
