.eul-directorio {
    max-width: 1120px;
    margin: 0 auto;
    color: #1a1a1a;
}

.eul-directorio .screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.eul-titulo {
    text-align: center;
    font-size: 1.85rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 1.5rem;
    color: #1a1a1a;
}

.eul-volver {
    margin: 0 0 1.25rem;
}

.eul-boton-volver {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 8px 16px;
    background: #2a2a2a;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border: 0;
}

.eul-boton-volver:hover,
.eul-boton-volver:focus {
    background: #111;
    color: #fff;
    text-decoration: none;
}

.eul-boton-volver-icono {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.eul-descripcion-rubro {
    margin: 0 0 1.5rem;
    line-height: 1.6;
    color: #333;
}

.eul-descripcion-rubro p {
    margin: 0;
}

.eul-formulario-busqueda {
    display: flex;
    align-items: stretch;
    width: 100%;
    max-width: 720px;
    margin: 0 auto 2rem;
}

.eul-campo-buscar {
    flex: 1;
    width: 100%;
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid #cfcfcf;
    border-right: 0;
    border-radius: 0;
    background: #fff;
    font-size: 1rem;
    color: #1a1a1a;
}

.eul-campo-buscar:focus {
    outline: 2px solid #2a2a2a;
    outline-offset: -2px;
}

.eul-boton-buscar {
    min-height: 44px;
    padding: 8px 22px;
    border: 0;
    background: #2a2a2a;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
}

.eul-boton-buscar:hover,
.eul-boton-buscar:focus {
    background: #111;
}

.eul-grilla-subsectores {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
    margin: 2.5rem 0 0;
    min-height: 120px;
}

.eul-tarjeta-subsector {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 110px;
    background: #2f2f2f;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
}

.eul-tarjeta-subsector img {
    display: block;
    width: 100%;
    height: auto;
    min-height: 110px;
    object-fit: contain;
}

.eul-tarjeta-subsector-nombre {
    display: block;
    padding: 12px 8px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    line-height: 1.25;
    text-align: center;
    text-transform: uppercase;
    color: #fff;
}

.eul-tarjeta-subsector:hover,
.eul-tarjeta-subsector:focus {
    opacity: 0.92;
}

.eul-cta-formulario {
    max-width: 760px;
    margin: 0 auto;
    padding: 1.25rem 1.5rem;
    border: 2px solid #e10600;
    background: #fff;
    text-align: center;
}

.eul-cta-formulario p {
    margin: 0;
    line-height: 1.5;
}

.eul-cta-formulario a {
    color: inherit;
    font-weight: 700;
    text-decoration: underline;
}

.eul-tabla-contenedor {
    width: 100%;
    overflow-x: auto;
}

.eul-tabla-empresas {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    font-size: 0.95rem;
    background: #fff;
}

.eul-tabla-empresas th,
.eul-tabla-empresas td {
    padding: 16px 14px;
    vertical-align: middle;
    border: 1px solid #cfcfcf;
    background: #fff;
}

.eul-tabla-empresas th {
    background: #f3f3f3;
    font-weight: 600;
    color: #333;
}

.eul-celda-logo {
    width: 110px;
    text-align: center;
}

.eul-celda-nombre {
    text-align: left;
    min-width: 180px;
}

.eul-celda-correo,
.eul-celda-telefono,
.eul-celda-sitio-web {
    text-align: center;
}

.eul-celda-sitio-web {
    width: 110px;
}

.eul-logo-empresa {
    width: 72px;
    height: 72px;
    object-fit: contain;
    display: inline-block;
    background: #fff;
}

.eul-tabla-empresas a {
    color: #1a1a1a;
}

.eul-icono-enlace {
    width: 28px;
    height: 28px;
    color: #6ea3c8;
    display: inline-block;
    vertical-align: middle;
}

.eul-estado-vacio {
    text-align: center;
    margin: 1.5rem 0 0;
    color: #444;
}

@media (max-width: 1024px) {
    .eul-grilla-subsectores {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .eul-titulo {
        font-size: 1.4rem;
    }

    .eul-grilla-subsectores {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .eul-formulario-busqueda {
        flex-direction: column;
    }

    .eul-campo-buscar {
        border-right: 1px solid #cfcfcf;
        margin-bottom: 8px;
    }
}
